@etherisc/gif-next 0.0.2-8d47fa1-080 → 0.0.2-8d681eb-812

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/README.md +305 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1652 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1279 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1333 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +502 -1599
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +915 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +627 -1971
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2338 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2698 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1161 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +295 -330
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → product/IRiskService.sol/IRiskService.json} +246 -146
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +349 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +103 -2
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +810 -171
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +561 -186
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1016 -148
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2127 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +625 -217
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2140 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1393 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  227. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +253 -161
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  242. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  244. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +82 -52
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  249. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +213 -8
  252. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  253. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  254. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +189 -179
  256. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  258. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  260. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  261. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  262. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  264. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  266. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  268. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  269. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  270. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +226 -8
  272. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  273. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  274. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  275. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +196 -199
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  280. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  282. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  284. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  290. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  292. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  294. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  296. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  298. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  300. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  362. package/contracts/accounting/AccountingService.sol +262 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +45 -0
  365. package/contracts/authorization/AccessAdmin.sol +789 -0
  366. package/contracts/authorization/AccessAdminLib.sol +387 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  368. package/contracts/authorization/Authorization.sol +174 -0
  369. package/contracts/authorization/IAccess.sol +67 -0
  370. package/contracts/authorization/IAccessAdmin.sol +137 -0
  371. package/contracts/authorization/IAuthorization.sol +27 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  374. package/contracts/distribution/BasicDistribution.sol +141 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +438 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +109 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IInstance.sol +132 -47
  396. package/contracts/instance/IInstanceService.sol +105 -0
  397. package/contracts/instance/Instance.sol +328 -72
  398. package/contracts/instance/InstanceAdmin.sol +355 -0
  399. package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
  400. package/contracts/instance/InstanceReader.sol +705 -0
  401. package/contracts/instance/InstanceService.sol +514 -0
  402. package/contracts/instance/InstanceServiceManager.sol +39 -0
  403. package/contracts/instance/InstanceStore.sol +298 -0
  404. package/contracts/instance/RiskSet.sol +118 -0
  405. package/contracts/instance/base/BalanceStore.sol +123 -0
  406. package/contracts/instance/base/Cloneable.sol +28 -0
  407. package/contracts/instance/base/ObjectCounter.sol +20 -0
  408. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  409. package/contracts/instance/base/ObjectSet.sol +77 -0
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +21 -0
  412. package/contracts/instance/module/IComponents.sol +62 -0
  413. package/contracts/instance/module/IDistribution.sol +54 -0
  414. package/contracts/instance/module/IPolicy.sol +105 -0
  415. package/contracts/instance/module/IRisk.sol +16 -0
  416. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  417. package/contracts/oracle/BasicOracle.sol +45 -0
  418. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  419. package/contracts/oracle/IOracle.sol +41 -0
  420. package/contracts/oracle/IOracleComponent.sol +33 -0
  421. package/contracts/oracle/IOracleService.sol +66 -0
  422. package/contracts/oracle/Oracle.sol +154 -0
  423. package/contracts/oracle/OracleService.sol +310 -0
  424. package/contracts/oracle/OracleServiceManager.sol +39 -0
  425. package/contracts/pool/BasicPool.sol +173 -0
  426. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  427. package/contracts/pool/BundleService.sol +395 -0
  428. package/contracts/pool/BundleServiceManager.sol +39 -0
  429. package/contracts/pool/IBundleService.sol +115 -0
  430. package/contracts/pool/IPoolComponent.sol +62 -0
  431. package/contracts/pool/IPoolService.sol +165 -0
  432. package/contracts/pool/Pool.sol +343 -0
  433. package/contracts/pool/PoolLib.sol +260 -0
  434. package/contracts/pool/PoolService.sol +733 -0
  435. package/contracts/pool/PoolServiceManager.sol +39 -0
  436. package/contracts/product/ApplicationService.sol +274 -0
  437. package/contracts/product/ApplicationServiceManager.sol +38 -0
  438. package/contracts/product/BasicProduct.sol +49 -0
  439. package/contracts/product/BasicProductAuthorization.sol +61 -0
  440. package/contracts/product/ClaimService.sol +630 -0
  441. package/contracts/product/ClaimServiceManager.sol +38 -0
  442. package/contracts/product/IApplicationService.sol +69 -0
  443. package/contracts/product/IClaimService.sol +135 -0
  444. package/contracts/product/IPolicyService.sol +95 -0
  445. package/contracts/product/IPricingService.sol +40 -0
  446. package/contracts/product/IProductComponent.sol +62 -0
  447. package/contracts/product/IRiskService.sol +33 -0
  448. package/contracts/product/PolicyService.sol +664 -0
  449. package/contracts/product/PolicyServiceLib.sol +86 -0
  450. package/contracts/product/PolicyServiceManager.sol +39 -0
  451. package/contracts/product/PricingService.sol +309 -0
  452. package/contracts/product/PricingServiceManager.sol +39 -0
  453. package/contracts/product/Product.sol +467 -0
  454. package/contracts/product/RiskService.sol +154 -0
  455. package/contracts/product/RiskServiceManager.sol +39 -0
  456. package/contracts/registry/ChainNft.sol +99 -37
  457. package/contracts/registry/IRegistry.sol +135 -40
  458. package/contracts/registry/IRegistryService.sol +49 -16
  459. package/contracts/registry/IRelease.sol +29 -0
  460. package/contracts/registry/ITransferInterceptor.sol +1 -1
  461. package/contracts/registry/Registry.sol +569 -344
  462. package/contracts/registry/RegistryAdmin.sol +188 -0
  463. package/contracts/registry/RegistryAuthorization.sol +277 -0
  464. package/contracts/registry/RegistryService.sol +147 -289
  465. package/contracts/registry/RegistryServiceManager.sol +53 -0
  466. package/contracts/registry/ReleaseAdmin.sol +195 -0
  467. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  468. package/contracts/registry/ReleaseRegistry.sol +520 -0
  469. package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
  470. package/contracts/registry/TokenRegistry.sol +314 -0
  471. package/contracts/shared/Component.sol +210 -0
  472. package/contracts/shared/ComponentService.sol +708 -0
  473. package/contracts/shared/ComponentServiceManager.sol +38 -0
  474. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  475. package/contracts/shared/ContractLib.sol +292 -0
  476. package/contracts/shared/IComponent.sol +58 -0
  477. package/contracts/shared/IComponentService.sol +112 -0
  478. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  479. package/contracts/shared/IKeyValueStore.sol +54 -0
  480. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  481. package/contracts/shared/INftOwnable.sol +25 -0
  482. package/contracts/shared/IPolicyHolder.sol +35 -0
  483. package/contracts/shared/IRegisterable.sol +24 -9
  484. package/contracts/shared/IRegistryLinked.sol +11 -0
  485. package/contracts/shared/IService.sol +23 -0
  486. package/contracts/shared/InitializableERC165.sol +35 -0
  487. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  488. package/contracts/shared/KeyValueStore.sol +131 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +127 -0
  492. package/contracts/shared/PolicyHolder.sol +62 -0
  493. package/contracts/shared/Registerable.sol +51 -62
  494. package/contracts/shared/RegistryLinked.sol +38 -0
  495. package/contracts/shared/Service.sol +67 -0
  496. package/contracts/shared/TokenHandler.sol +342 -0
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +179 -0
  499. package/contracts/staking/IStakingService.sol +172 -0
  500. package/contracts/staking/Staking.sol +546 -0
  501. package/contracts/staking/StakingLib.sol +281 -0
  502. package/contracts/staking/StakingLifecycle.sol +23 -0
  503. package/contracts/staking/StakingManager.sol +52 -0
  504. package/contracts/staking/StakingReader.sol +180 -0
  505. package/contracts/staking/StakingService.sol +464 -0
  506. package/contracts/staking/StakingServiceManager.sol +45 -0
  507. package/contracts/staking/StakingStore.sol +606 -0
  508. package/contracts/staking/TargetManagerLib.sol +211 -0
  509. package/contracts/{types → type}/AddressSet.sol +1 -1
  510. package/contracts/type/Amount.sol +150 -0
  511. package/contracts/{types → type}/Blocknumber.sol +27 -3
  512. package/contracts/type/ClaimId.sol +80 -0
  513. package/contracts/type/DistributorType.sol +55 -0
  514. package/contracts/type/Fee.sol +66 -0
  515. package/contracts/{types → type}/Key32.sol +10 -5
  516. package/contracts/type/Key32Set.sol +62 -0
  517. package/contracts/{types → type}/NftId.sol +28 -15
  518. package/contracts/type/NftIdSet.sol +62 -0
  519. package/contracts/type/ObjectType.sol +307 -0
  520. package/contracts/type/PayoutId.sol +82 -0
  521. package/contracts/type/Referral.sol +90 -0
  522. package/contracts/type/RequestId.sol +75 -0
  523. package/contracts/type/RiskId.sol +75 -0
  524. package/contracts/type/RoleId.sol +180 -0
  525. package/contracts/type/Seconds.sol +101 -0
  526. package/contracts/type/Selector.sol +107 -0
  527. package/contracts/{types → type}/StateId.sol +53 -5
  528. package/contracts/type/String.sol +53 -0
  529. package/contracts/{types → type}/Timestamp.sol +37 -19
  530. package/contracts/{types → type}/UFixed.sol +72 -19
  531. package/contracts/{types → type}/Version.sol +61 -6
  532. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  533. package/contracts/upgradeability/ProxyManager.sol +234 -0
  534. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +2 -4
  535. package/contracts/upgradeability/Versionable.sol +62 -0
  536. package/package.json +13 -8
  537. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -213
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -445
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -177
  543. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -343
  545. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -474
  547. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -373
  549. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  550. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -602
  551. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  552. package/artifacts/contracts/components/Product.sol/Product.json +0 -502
  553. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  555. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  557. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  559. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  561. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  563. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  567. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  569. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  571. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  573. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  577. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  579. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  583. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  585. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  587. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  591. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -344
  595. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  600. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  612. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  617. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  619. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  622. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  625. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  631. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  633. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  636. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  642. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  644. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  646. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -690
  648. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -526
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -369
  653. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -484
  655. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  657. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -649
  658. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
  660. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  661. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  662. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  663. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +0 -4
  664. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +0 -344
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  666. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  667. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  669. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  670. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  671. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -310
  672. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  673. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  674. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  675. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  676. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  678. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  680. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  682. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  684. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -191
  686. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  688. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -472
  690. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  692. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  694. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -270
  696. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  697. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  698. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  700. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  702. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  704. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  706. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  708. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  710. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  712. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  714. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  716. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  718. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  720. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  721. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  722. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  723. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  724. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  725. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  726. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  727. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  728. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  729. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  730. package/contracts/components/BaseComponent.sol +0 -79
  731. package/contracts/components/Distribution.sol +0 -155
  732. package/contracts/components/IBaseComponent.sol +0 -19
  733. package/contracts/components/IDistributionComponent.sol +0 -47
  734. package/contracts/components/IPoolComponent.sol +0 -65
  735. package/contracts/components/IProductComponent.sol +0 -39
  736. package/contracts/components/Pool.sol +0 -246
  737. package/contracts/components/Product.sol +0 -299
  738. package/contracts/experiment/errors/Require.sol +0 -38
  739. package/contracts/experiment/errors/Revert.sol +0 -44
  740. package/contracts/experiment/inheritance/A.sol +0 -53
  741. package/contracts/experiment/inheritance/B.sol +0 -28
  742. package/contracts/experiment/inheritance/C.sol +0 -34
  743. package/contracts/experiment/inheritance/IA.sol +0 -13
  744. package/contracts/experiment/inheritance/IB.sol +0 -10
  745. package/contracts/experiment/inheritance/IC.sol +0 -12
  746. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  747. package/contracts/experiment/statemachine/ISM.sol +0 -25
  748. package/contracts/experiment/statemachine/SM.sol +0 -57
  749. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  750. package/contracts/experiment/types/TypeA.sol +0 -47
  751. package/contracts/experiment/types/TypeB.sol +0 -29
  752. package/contracts/instance/IInstanceLinked.sol +0 -8
  753. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  754. package/contracts/instance/base/IInstanceBase.sol +0 -23
  755. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  756. package/contracts/instance/base/IService.sol +0 -15
  757. package/contracts/instance/base/InstanceBase.sol +0 -89
  758. package/contracts/instance/base/KeyValueStore.sol +0 -161
  759. package/contracts/instance/base/Lifecycle.sol +0 -100
  760. package/contracts/instance/base/ModuleBase.sol +0 -57
  761. package/contracts/instance/base/ServiceBase.sol +0 -43
  762. package/contracts/instance/module/access/Access.sol +0 -149
  763. package/contracts/instance/module/access/IAccess.sol +0 -53
  764. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  765. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  766. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  767. package/contracts/instance/module/component/IComponent.sol +0 -28
  768. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  769. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  770. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  771. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  772. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  773. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  774. package/contracts/instance/module/risk/IRisk.sol +0 -26
  775. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  776. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  777. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  778. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  779. package/contracts/instance/service/ComponentOwnerService.sol +0 -272
  780. package/contracts/instance/service/DistributionService.sol +0 -54
  781. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  782. package/contracts/instance/service/IDistributionService.sol +0 -12
  783. package/contracts/instance/service/IPoolService.sol +0 -37
  784. package/contracts/instance/service/IProductService.sol +0 -107
  785. package/contracts/instance/service/PoolService.sol +0 -149
  786. package/contracts/instance/service/ProductService.sol +0 -509
  787. package/contracts/registry/IChainNft.sol +0 -22
  788. package/contracts/registry/IRegistryLinked.sol +0 -8
  789. package/contracts/registry/RegistryInstaller.sol +0 -100
  790. package/contracts/shared/ERC165.sol +0 -21
  791. package/contracts/shared/IOwnable.sol +0 -6
  792. package/contracts/shared/ProxyManager.sol +0 -115
  793. package/contracts/shared/Versionable.sol +0 -147
  794. package/contracts/test/TestDistribution.sol +0 -22
  795. package/contracts/test/TestFee.sol +0 -25
  796. package/contracts/test/TestPool.sol +0 -27
  797. package/contracts/test/TestProduct.sol +0 -74
  798. package/contracts/test/TestRegisterable.sol +0 -18
  799. package/contracts/test/TestRoleId.sol +0 -14
  800. package/contracts/test/TestService.sol +0 -26
  801. package/contracts/test/TestVersion.sol +0 -44
  802. package/contracts/test/TestVersionable.sol +0 -17
  803. package/contracts/test/Usdc.sol +0 -26
  804. package/contracts/types/ChainId.sol +0 -38
  805. package/contracts/types/Fee.sol +0 -56
  806. package/contracts/types/NftIdSet.sol +0 -60
  807. package/contracts/types/ObjectType.sol +0 -131
  808. package/contracts/types/ReferralId.sol +0 -48
  809. package/contracts/types/RiskId.sol +0 -43
  810. package/contracts/types/RoleId.sol +0 -38
@@ -6,14 +6,14 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "address",
10
- "name": "protocolOwner",
9
+ "internalType": "contract RegistryAdmin",
10
+ "name": "admin",
11
11
  "type": "address"
12
12
  },
13
13
  {
14
- "internalType": "VersionPart",
15
- "name": "majorVersion",
16
- "type": "uint8"
14
+ "internalType": "address",
15
+ "name": "globalRegistry",
16
+ "type": "address"
17
17
  }
18
18
  ],
19
19
  "stateMutability": "nonpayable",
@@ -23,117 +23,324 @@
23
23
  "inputs": [
24
24
  {
25
25
  "internalType": "address",
26
- "name": "objectAddress",
26
+ "name": "authority",
27
27
  "type": "address"
28
28
  }
29
29
  ],
30
- "name": "ContractAlreadyRegistered",
30
+ "name": "AccessManagedInvalidAuthority",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
35
  {
36
- "internalType": "VersionPart",
37
- "name": "majorVersion",
38
- "type": "uint8"
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "uint32",
42
+ "name": "delay",
43
+ "type": "uint32"
44
+ }
45
+ ],
46
+ "name": "AccessManagedRequiredDelay",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "AccessManagedUnauthorized",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorRegistryCallerNotDeployer",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "nftId",
70
+ "type": "uint96"
71
+ },
72
+ {
73
+ "internalType": "uint256",
74
+ "name": "chainId",
75
+ "type": "uint256"
76
+ }
77
+ ],
78
+ "name": "ErrorRegistryChainRegistryAddressZero",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "nftId",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "uint256",
90
+ "name": "chainId",
91
+ "type": "uint256"
92
+ }
93
+ ],
94
+ "name": "ErrorRegistryChainRegistryAlreadyRegistered",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "nftId",
102
+ "type": "uint96"
103
+ }
104
+ ],
105
+ "name": "ErrorRegistryChainRegistryChainIdZero",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "NftId",
112
+ "name": "nftId",
113
+ "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "chainId",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorRegistryChainRegistryNftIdInvalid",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "objectAddress",
129
+ "type": "address"
39
130
  }
40
131
  ],
41
- "name": "InvalidServiceVersion",
132
+ "name": "ErrorRegistryContractAlreadyRegistered",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "ErrorRegistryCoreTypeRegistration",
42
138
  "type": "error"
43
139
  },
44
140
  {
45
141
  "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "objectAddress",
145
+ "type": "address"
146
+ },
46
147
  {
47
148
  "internalType": "ObjectType",
48
149
  "name": "objectType",
49
150
  "type": "uint8"
151
+ }
152
+ ],
153
+ "name": "ErrorRegistryGlobalRegistryAsParent",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "chainId",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "ErrorRegistryNotOnMainnet",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "service",
172
+ "type": "address"
50
173
  },
51
174
  {
52
175
  "internalType": "ObjectType",
53
- "name": "parentType",
176
+ "name": "objectType",
54
177
  "type": "uint8"
55
178
  }
56
179
  ],
57
- "name": "InvalidTypesCombination",
180
+ "name": "ErrorRegistryNotService",
58
181
  "type": "error"
59
182
  },
60
183
  {
61
184
  "inputs": [],
62
- "name": "NotOwner",
185
+ "name": "ErrorRegistryServiceAddressZero",
63
186
  "type": "error"
64
187
  },
65
188
  {
66
189
  "inputs": [
67
190
  {
68
- "internalType": "NftId",
69
- "name": "registrarNftId",
70
- "type": "uint96"
191
+ "internalType": "address",
192
+ "name": "service",
193
+ "type": "address"
194
+ },
195
+ {
196
+ "internalType": "VersionPart",
197
+ "name": "version",
198
+ "type": "uint8"
199
+ },
200
+ {
201
+ "internalType": "ObjectType",
202
+ "name": "domain",
203
+ "type": "uint8"
71
204
  }
72
205
  ],
73
- "name": "NotRegisteredContract",
206
+ "name": "ErrorRegistryServiceDomainAlreadyRegistered",
74
207
  "type": "error"
75
208
  },
76
209
  {
77
- "inputs": [],
78
- "name": "NotRegistryService",
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "service",
214
+ "type": "address"
215
+ },
216
+ {
217
+ "internalType": "VersionPart",
218
+ "name": "version",
219
+ "type": "uint8"
220
+ }
221
+ ],
222
+ "name": "ErrorRegistryServiceDomainZero",
79
223
  "type": "error"
80
224
  },
81
225
  {
82
226
  "inputs": [
227
+ {
228
+ "internalType": "address",
229
+ "name": "service",
230
+ "type": "address"
231
+ },
232
+ {
233
+ "internalType": "VersionPart",
234
+ "name": "version",
235
+ "type": "uint8"
236
+ },
83
237
  {
84
238
  "internalType": "NftId",
85
- "name": "registrarNftId",
239
+ "name": "parentNftId",
86
240
  "type": "uint96"
87
241
  }
88
242
  ],
89
- "name": "NotService",
243
+ "name": "ErrorRegistryServiceParentNotRegistry",
90
244
  "type": "error"
91
245
  },
92
246
  {
93
247
  "inputs": [
94
248
  {
95
- "internalType": "string",
96
- "name": "name",
97
- "type": "string"
249
+ "internalType": "address",
250
+ "name": "service",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "ErrorRegistryServiceVersionZero",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "address",
261
+ "name": "objectAddress",
262
+ "type": "address"
98
263
  },
99
264
  {
100
- "internalType": "VersionPart",
101
- "name": "majorVersion",
265
+ "internalType": "ObjectType",
266
+ "name": "objectType",
267
+ "type": "uint8"
268
+ },
269
+ {
270
+ "internalType": "ObjectType",
271
+ "name": "parentType",
102
272
  "type": "uint8"
103
273
  }
104
274
  ],
105
- "name": "ServiceNameAlreadyRegistered",
275
+ "name": "ErrorRegistryTypesCombinationInvalid",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "InvalidInitialization",
106
281
  "type": "error"
107
282
  },
108
283
  {
109
284
  "inputs": [],
110
- "name": "ZeroParentAddress",
285
+ "name": "NotInitializing",
111
286
  "type": "error"
112
287
  },
113
288
  {
114
289
  "anonymous": false,
115
290
  "inputs": [
116
291
  {
117
- "indexed": true,
292
+ "indexed": false,
293
+ "internalType": "address",
294
+ "name": "authority",
295
+ "type": "address"
296
+ }
297
+ ],
298
+ "name": "AuthorityUpdated",
299
+ "type": "event"
300
+ },
301
+ {
302
+ "anonymous": false,
303
+ "inputs": [
304
+ {
305
+ "indexed": false,
306
+ "internalType": "uint64",
307
+ "name": "version",
308
+ "type": "uint64"
309
+ }
310
+ ],
311
+ "name": "Initialized",
312
+ "type": "event"
313
+ },
314
+ {
315
+ "anonymous": false,
316
+ "inputs": [
317
+ {
318
+ "indexed": false,
118
319
  "internalType": "NftId",
119
320
  "name": "nftId",
120
321
  "type": "uint96"
121
322
  },
122
323
  {
123
324
  "indexed": false,
124
- "internalType": "ObjectType",
125
- "name": "objectType",
126
- "type": "uint8"
325
+ "internalType": "uint256",
326
+ "name": "chainId",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "indexed": false,
331
+ "internalType": "address",
332
+ "name": "chainRegistryAddress",
333
+ "type": "address"
127
334
  }
128
335
  ],
129
- "name": "LogApproval",
336
+ "name": "LogChainRegistryRegistration",
130
337
  "type": "event"
131
338
  },
132
339
  {
133
340
  "anonymous": false,
134
341
  "inputs": [
135
342
  {
136
- "indexed": true,
343
+ "indexed": false,
137
344
  "internalType": "NftId",
138
345
  "name": "nftId",
139
346
  "type": "uint96"
@@ -150,6 +357,12 @@
150
357
  "name": "objectType",
151
358
  "type": "uint8"
152
359
  },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "bool",
363
+ "name": "isInterceptor",
364
+ "type": "bool"
365
+ },
153
366
  {
154
367
  "indexed": false,
155
368
  "internalType": "address",
@@ -171,28 +384,28 @@
171
384
  "inputs": [
172
385
  {
173
386
  "indexed": false,
174
- "internalType": "string",
175
- "name": "serviceName",
176
- "type": "string"
387
+ "internalType": "VersionPart",
388
+ "name": "majorVersion",
389
+ "type": "uint8"
177
390
  },
178
391
  {
179
392
  "indexed": false,
180
- "internalType": "VersionPart",
181
- "name": "majorVersion",
393
+ "internalType": "ObjectType",
394
+ "name": "domain",
182
395
  "type": "uint8"
183
396
  }
184
397
  ],
185
- "name": "LogServiceNameRegistration",
398
+ "name": "LogServiceRegistration",
186
399
  "type": "event"
187
400
  },
188
401
  {
189
402
  "inputs": [],
190
- "name": "EMPTY_URI",
403
+ "name": "ADMIN",
191
404
  "outputs": [
192
405
  {
193
- "internalType": "string",
406
+ "internalType": "contract RegistryAdmin",
194
407
  "name": "",
195
- "type": "string"
408
+ "type": "address"
196
409
  }
197
410
  ],
198
411
  "stateMutability": "view",
@@ -200,12 +413,12 @@
200
413
  },
201
414
  {
202
415
  "inputs": [],
203
- "name": "MAJOR_VERSION_MIN",
416
+ "name": "CHAIN_NFT",
204
417
  "outputs": [
205
418
  {
206
- "internalType": "uint256",
419
+ "internalType": "contract ChainNft",
207
420
  "name": "",
208
- "type": "uint256"
421
+ "type": "address"
209
422
  }
210
423
  ],
211
424
  "stateMutability": "view",
@@ -213,7 +426,7 @@
213
426
  },
214
427
  {
215
428
  "inputs": [],
216
- "name": "NFT_LOCK_ADDRESS",
429
+ "name": "DEPLOYER",
217
430
  "outputs": [
218
431
  {
219
432
  "internalType": "address",
@@ -225,60 +438,227 @@
225
438
  "type": "function"
226
439
  },
227
440
  {
228
- "inputs": [
229
- {
230
- "internalType": "NftId",
231
- "name": "nftId",
232
- "type": "uint96"
233
- },
441
+ "inputs": [],
442
+ "name": "EMPTY_URI",
443
+ "outputs": [
234
444
  {
235
- "internalType": "ObjectType",
236
- "name": "object",
237
- "type": "uint8"
445
+ "internalType": "string",
446
+ "name": "",
447
+ "type": "string"
238
448
  }
239
449
  ],
240
- "name": "allowance",
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [],
455
+ "name": "GLOBAL_REGISTRY_ADDRESS",
241
456
  "outputs": [
242
457
  {
243
- "internalType": "bool",
458
+ "internalType": "address",
244
459
  "name": "",
245
- "type": "bool"
460
+ "type": "address"
246
461
  }
247
462
  ],
248
463
  "stateMutability": "view",
249
464
  "type": "function"
250
465
  },
251
466
  {
252
- "inputs": [
253
- {
467
+ "inputs": [],
468
+ "name": "GLOBAL_REGISTRY_NFT_ID",
469
+ "outputs": [
470
+ {
254
471
  "internalType": "NftId",
255
- "name": "serviceNftId",
472
+ "name": "",
256
473
  "type": "uint96"
257
- },
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "NFT_LOCK_ADDRESS",
482
+ "outputs": [
258
483
  {
259
- "internalType": "ObjectType",
260
- "name": "objectType",
484
+ "internalType": "address",
485
+ "name": "",
486
+ "type": "address"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "PROTOCOL_NFT_ID",
495
+ "outputs": [
496
+ {
497
+ "internalType": "NftId",
498
+ "name": "",
499
+ "type": "uint96"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "REGISTRY_NFT_ID",
508
+ "outputs": [
509
+ {
510
+ "internalType": "NftId",
511
+ "name": "",
512
+ "type": "uint96"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "REGISTRY_TOKEN_SEQUENCE_ID",
521
+ "outputs": [
522
+ {
523
+ "internalType": "uint256",
524
+ "name": "",
525
+ "type": "uint256"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "STAKING_TOKEN_SEQUENCE_ID",
534
+ "outputs": [
535
+ {
536
+ "internalType": "uint256",
537
+ "name": "",
538
+ "type": "uint256"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "authority",
547
+ "outputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "",
551
+ "type": "address"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "chainIds",
560
+ "outputs": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "",
564
+ "type": "uint256"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "getAuthority",
573
+ "outputs": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "",
577
+ "type": "address"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "idx",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "name": "getChainId",
592
+ "outputs": [
593
+ {
594
+ "internalType": "uint256",
595
+ "name": "",
596
+ "type": "uint256"
597
+ }
598
+ ],
599
+ "stateMutability": "view",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [],
604
+ "name": "getChainNftAddress",
605
+ "outputs": [
606
+ {
607
+ "internalType": "address",
608
+ "name": "",
609
+ "type": "address"
610
+ }
611
+ ],
612
+ "stateMutability": "view",
613
+ "type": "function"
614
+ },
615
+ {
616
+ "inputs": [],
617
+ "name": "getInitialVersion",
618
+ "outputs": [
619
+ {
620
+ "internalType": "VersionPart",
621
+ "name": "",
261
622
  "type": "uint8"
262
- },
623
+ }
624
+ ],
625
+ "stateMutability": "view",
626
+ "type": "function"
627
+ },
628
+ {
629
+ "inputs": [],
630
+ "name": "getLatestVersion",
631
+ "outputs": [
263
632
  {
264
- "internalType": "ObjectType",
265
- "name": "parentType",
633
+ "internalType": "VersionPart",
634
+ "name": "",
266
635
  "type": "uint8"
267
636
  }
268
637
  ],
269
- "name": "approve",
270
- "outputs": [],
271
- "stateMutability": "nonpayable",
638
+ "stateMutability": "view",
272
639
  "type": "function"
273
640
  },
274
641
  {
275
642
  "inputs": [],
276
- "name": "getChainNft",
643
+ "name": "getNextVersion",
277
644
  "outputs": [
278
645
  {
279
- "internalType": "contract IChainNft",
646
+ "internalType": "VersionPart",
280
647
  "name": "",
281
- "type": "address"
648
+ "type": "uint8"
649
+ }
650
+ ],
651
+ "stateMutability": "view",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [],
656
+ "name": "getNftId",
657
+ "outputs": [
658
+ {
659
+ "internalType": "NftId",
660
+ "name": "nftId",
661
+ "type": "uint96"
282
662
  }
283
663
  ],
284
664
  "stateMutability": "view",
@@ -292,7 +672,7 @@
292
672
  "type": "address"
293
673
  }
294
674
  ],
295
- "name": "getNftId",
675
+ "name": "getNftIdForAddress",
296
676
  "outputs": [
297
677
  {
298
678
  "internalType": "NftId",
@@ -303,6 +683,25 @@
303
683
  "stateMutability": "view",
304
684
  "type": "function"
305
685
  },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "NftId",
690
+ "name": "nftId",
691
+ "type": "uint96"
692
+ }
693
+ ],
694
+ "name": "getObjectAddress",
695
+ "outputs": [
696
+ {
697
+ "internalType": "address",
698
+ "name": "",
699
+ "type": "address"
700
+ }
701
+ ],
702
+ "stateMutability": "view",
703
+ "type": "function"
704
+ },
306
705
  {
307
706
  "inputs": [],
308
707
  "name": "getObjectCount",
@@ -429,26 +828,275 @@
429
828
  "type": "function"
430
829
  },
431
830
  {
432
- "inputs": [],
433
- "name": "getOwner",
434
- "outputs": [
831
+ "inputs": [],
832
+ "name": "getOwner",
833
+ "outputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "owner",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [
845
+ {
846
+ "internalType": "NftId",
847
+ "name": "nftId",
848
+ "type": "uint96"
849
+ }
850
+ ],
851
+ "name": "getParentNftId",
852
+ "outputs": [
853
+ {
854
+ "internalType": "NftId",
855
+ "name": "parentNftId",
856
+ "type": "uint96"
857
+ }
858
+ ],
859
+ "stateMutability": "view",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [],
864
+ "name": "getProtocolNftId",
865
+ "outputs": [
866
+ {
867
+ "internalType": "NftId",
868
+ "name": "nftId",
869
+ "type": "uint96"
870
+ }
871
+ ],
872
+ "stateMutability": "view",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [],
877
+ "name": "getRegistryAdminAddress",
878
+ "outputs": [
879
+ {
880
+ "internalType": "address",
881
+ "name": "",
882
+ "type": "address"
883
+ }
884
+ ],
885
+ "stateMutability": "view",
886
+ "type": "function"
887
+ },
888
+ {
889
+ "inputs": [
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "chainId",
893
+ "type": "uint256"
894
+ }
895
+ ],
896
+ "name": "getRegistryNftId",
897
+ "outputs": [
898
+ {
899
+ "internalType": "NftId",
900
+ "name": "nftId",
901
+ "type": "uint96"
902
+ }
903
+ ],
904
+ "stateMutability": "view",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [
909
+ {
910
+ "internalType": "VersionPart",
911
+ "name": "release",
912
+ "type": "uint8"
913
+ }
914
+ ],
915
+ "name": "getReleaseInfo",
916
+ "outputs": [
917
+ {
918
+ "components": [
919
+ {
920
+ "internalType": "address",
921
+ "name": "releaseAdmin",
922
+ "type": "address"
923
+ },
924
+ {
925
+ "internalType": "StateId",
926
+ "name": "state",
927
+ "type": "uint8"
928
+ },
929
+ {
930
+ "internalType": "VersionPart",
931
+ "name": "version",
932
+ "type": "uint8"
933
+ },
934
+ {
935
+ "internalType": "Timestamp",
936
+ "name": "activatedAt",
937
+ "type": "uint40"
938
+ },
939
+ {
940
+ "internalType": "Timestamp",
941
+ "name": "disabledAt",
942
+ "type": "uint40"
943
+ },
944
+ {
945
+ "internalType": "contract IServiceAuthorization",
946
+ "name": "auth",
947
+ "type": "address"
948
+ },
949
+ {
950
+ "internalType": "bytes32",
951
+ "name": "salt",
952
+ "type": "bytes32"
953
+ }
954
+ ],
955
+ "internalType": "struct IRelease.ReleaseInfo",
956
+ "name": "",
957
+ "type": "tuple"
958
+ }
959
+ ],
960
+ "stateMutability": "view",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "inputs": [],
965
+ "name": "getReleaseRegistryAddress",
966
+ "outputs": [
967
+ {
968
+ "internalType": "address",
969
+ "name": "",
970
+ "type": "address"
971
+ }
972
+ ],
973
+ "stateMutability": "view",
974
+ "type": "function"
975
+ },
976
+ {
977
+ "inputs": [
978
+ {
979
+ "internalType": "ObjectType",
980
+ "name": "serviceDomain",
981
+ "type": "uint8"
982
+ },
983
+ {
984
+ "internalType": "VersionPart",
985
+ "name": "releaseVersion",
986
+ "type": "uint8"
987
+ }
988
+ ],
989
+ "name": "getServiceAddress",
990
+ "outputs": [
991
+ {
992
+ "internalType": "address",
993
+ "name": "service",
994
+ "type": "address"
995
+ }
996
+ ],
997
+ "stateMutability": "view",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [],
1002
+ "name": "getStakingAddress",
1003
+ "outputs": [
1004
+ {
1005
+ "internalType": "address",
1006
+ "name": "staking",
1007
+ "type": "address"
1008
+ }
1009
+ ],
1010
+ "stateMutability": "view",
1011
+ "type": "function"
1012
+ },
1013
+ {
1014
+ "inputs": [],
1015
+ "name": "getTokenRegistryAddress",
1016
+ "outputs": [
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "tokenRegistry",
1020
+ "type": "address"
1021
+ }
1022
+ ],
1023
+ "stateMutability": "view",
1024
+ "type": "function"
1025
+ },
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "address",
1030
+ "name": "releaseRegistry",
1031
+ "type": "address"
1032
+ },
1033
+ {
1034
+ "internalType": "address",
1035
+ "name": "tokenRegistry",
1036
+ "type": "address"
1037
+ },
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "staking",
1041
+ "type": "address"
1042
+ }
1043
+ ],
1044
+ "name": "initialize",
1045
+ "outputs": [],
1046
+ "stateMutability": "nonpayable",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "VersionPart",
1053
+ "name": "version",
1054
+ "type": "uint8"
1055
+ }
1056
+ ],
1057
+ "name": "isActiveRelease",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "bool",
1061
+ "name": "",
1062
+ "type": "bool"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "view",
1066
+ "type": "function"
1067
+ },
1068
+ {
1069
+ "inputs": [],
1070
+ "name": "isConsumingScheduledOp",
1071
+ "outputs": [
1072
+ {
1073
+ "internalType": "bytes4",
1074
+ "name": "",
1075
+ "type": "bytes4"
1076
+ }
1077
+ ],
1078
+ "stateMutability": "view",
1079
+ "type": "function"
1080
+ },
1081
+ {
1082
+ "inputs": [
435
1083
  {
436
1084
  "internalType": "address",
437
- "name": "owner",
1085
+ "name": "contractAddress",
438
1086
  "type": "address"
1087
+ },
1088
+ {
1089
+ "internalType": "ObjectType",
1090
+ "name": "expectedObjectType",
1091
+ "type": "uint8"
439
1092
  }
440
1093
  ],
441
- "stateMutability": "view",
442
- "type": "function"
443
- },
444
- {
445
- "inputs": [],
446
- "name": "getProtocolOwner",
1094
+ "name": "isObjectType",
447
1095
  "outputs": [
448
1096
  {
449
- "internalType": "address",
1097
+ "internalType": "bool",
450
1098
  "name": "",
451
- "type": "address"
1099
+ "type": "bool"
452
1100
  }
453
1101
  ],
454
1102
  "stateMutability": "view",
@@ -457,22 +1105,22 @@
457
1105
  {
458
1106
  "inputs": [
459
1107
  {
460
- "internalType": "string",
461
- "name": "serviceName",
462
- "type": "string"
1108
+ "internalType": "NftId",
1109
+ "name": "nftId",
1110
+ "type": "uint96"
463
1111
  },
464
1112
  {
465
- "internalType": "VersionPart",
466
- "name": "majorVersion",
1113
+ "internalType": "ObjectType",
1114
+ "name": "expectedObjectType",
467
1115
  "type": "uint8"
468
1116
  }
469
1117
  ],
470
- "name": "getServiceAddress",
1118
+ "name": "isObjectType",
471
1119
  "outputs": [
472
1120
  {
473
- "internalType": "address",
1121
+ "internalType": "bool",
474
1122
  "name": "",
475
- "type": "address"
1123
+ "type": "bool"
476
1124
  }
477
1125
  ],
478
1126
  "stateMutability": "view",
@@ -484,14 +1132,19 @@
484
1132
  "internalType": "NftId",
485
1133
  "name": "nftId",
486
1134
  "type": "uint96"
1135
+ },
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "expectedOwner",
1139
+ "type": "address"
487
1140
  }
488
1141
  ],
489
- "name": "getServiceName",
1142
+ "name": "isOwnerOf",
490
1143
  "outputs": [
491
1144
  {
492
- "internalType": "string",
1145
+ "internalType": "bool",
493
1146
  "name": "",
494
- "type": "string"
1147
+ "type": "bool"
495
1148
  }
496
1149
  ],
497
1150
  "stateMutability": "view",
@@ -535,6 +1188,44 @@
535
1188
  "stateMutability": "view",
536
1189
  "type": "function"
537
1190
  },
1191
+ {
1192
+ "inputs": [
1193
+ {
1194
+ "internalType": "address",
1195
+ "name": "object",
1196
+ "type": "address"
1197
+ }
1198
+ ],
1199
+ "name": "isRegisteredComponent",
1200
+ "outputs": [
1201
+ {
1202
+ "internalType": "bool",
1203
+ "name": "",
1204
+ "type": "bool"
1205
+ }
1206
+ ],
1207
+ "stateMutability": "view",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [
1212
+ {
1213
+ "internalType": "address",
1214
+ "name": "object",
1215
+ "type": "address"
1216
+ }
1217
+ ],
1218
+ "name": "isRegisteredService",
1219
+ "outputs": [
1220
+ {
1221
+ "internalType": "bool",
1222
+ "name": "",
1223
+ "type": "bool"
1224
+ }
1225
+ ],
1226
+ "stateMutability": "view",
1227
+ "type": "function"
1228
+ },
538
1229
  {
539
1230
  "inputs": [
540
1231
  {
@@ -631,11 +1322,95 @@
631
1322
  },
632
1323
  {
633
1324
  "inputs": [
1325
+ {
1326
+ "internalType": "NftId",
1327
+ "name": "nftId",
1328
+ "type": "uint96"
1329
+ },
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "chainId",
1333
+ "type": "uint256"
1334
+ },
634
1335
  {
635
1336
  "internalType": "address",
636
- "name": "from",
1337
+ "name": "registryAddress",
637
1338
  "type": "address"
1339
+ }
1340
+ ],
1341
+ "name": "registerRegistry",
1342
+ "outputs": [],
1343
+ "stateMutability": "nonpayable",
1344
+ "type": "function"
1345
+ },
1346
+ {
1347
+ "inputs": [
1348
+ {
1349
+ "components": [
1350
+ {
1351
+ "internalType": "NftId",
1352
+ "name": "nftId",
1353
+ "type": "uint96"
1354
+ },
1355
+ {
1356
+ "internalType": "NftId",
1357
+ "name": "parentNftId",
1358
+ "type": "uint96"
1359
+ },
1360
+ {
1361
+ "internalType": "ObjectType",
1362
+ "name": "objectType",
1363
+ "type": "uint8"
1364
+ },
1365
+ {
1366
+ "internalType": "bool",
1367
+ "name": "isInterceptor",
1368
+ "type": "bool"
1369
+ },
1370
+ {
1371
+ "internalType": "address",
1372
+ "name": "objectAddress",
1373
+ "type": "address"
1374
+ },
1375
+ {
1376
+ "internalType": "address",
1377
+ "name": "initialOwner",
1378
+ "type": "address"
1379
+ },
1380
+ {
1381
+ "internalType": "bytes",
1382
+ "name": "data",
1383
+ "type": "bytes"
1384
+ }
1385
+ ],
1386
+ "internalType": "struct IRegistry.ObjectInfo",
1387
+ "name": "info",
1388
+ "type": "tuple"
1389
+ },
1390
+ {
1391
+ "internalType": "VersionPart",
1392
+ "name": "version",
1393
+ "type": "uint8"
638
1394
  },
1395
+ {
1396
+ "internalType": "ObjectType",
1397
+ "name": "domain",
1398
+ "type": "uint8"
1399
+ }
1400
+ ],
1401
+ "name": "registerService",
1402
+ "outputs": [
1403
+ {
1404
+ "internalType": "NftId",
1405
+ "name": "nftId",
1406
+ "type": "uint96"
1407
+ }
1408
+ ],
1409
+ "stateMutability": "nonpayable",
1410
+ "type": "function"
1411
+ },
1412
+ {
1413
+ "inputs": [
639
1414
  {
640
1415
  "components": [
641
1416
  {
@@ -679,7 +1454,7 @@
679
1454
  "type": "tuple"
680
1455
  }
681
1456
  ],
682
- "name": "registerFrom",
1457
+ "name": "registerWithCustomType",
683
1458
  "outputs": [
684
1459
  {
685
1460
  "internalType": "NftId",
@@ -690,6 +1465,19 @@
690
1465
  "stateMutability": "nonpayable",
691
1466
  "type": "function"
692
1467
  },
1468
+ {
1469
+ "inputs": [
1470
+ {
1471
+ "internalType": "address",
1472
+ "name": "newAuthority",
1473
+ "type": "address"
1474
+ }
1475
+ ],
1476
+ "name": "setAuthority",
1477
+ "outputs": [],
1478
+ "stateMutability": "nonpayable",
1479
+ "type": "function"
1480
+ },
693
1481
  {
694
1482
  "inputs": [
695
1483
  {
@@ -706,128 +1494,208 @@
706
1494
  "type": "bool"
707
1495
  }
708
1496
  ],
709
- "stateMutability": "view",
1497
+ "stateMutability": "pure",
710
1498
  "type": "function"
711
1499
  }
712
1500
  ],
713
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162004f9438038062004f9483398101604081905262000034916200114d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556001600160a01b038216620000cc5760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a2070726f746f636f6c206f776e6572206973203000000060448201526064015b60405180910390fd5b604051632b10f60d60e21b815260ff8216600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000148919062001192565b14620001d25760405162461bcd60e51b815260206004820152604c60248201527f52656769737472793a20696e697469616c206d616a6f722076657273696f6e2060448201527f6f662072656769737472792073657276696365206973206e6f74204d414a4f5260648201526b2fab22a929a4a7a72fa6a4a760a11b608482015260a401620000c3565b600b80546001600160a01b0319166001600160a01b0384161790556040513090620001fd9062001128565b6001600160a01b039091168152602001604051809103906000f0801580156200022a573d6000803e3d6000fd5b50600a80546001600160a01b03929092166001600160a01b031992831681179091556009805490921617905562000260620002f1565b6200026a62000512565b62000274620008c3565b6200027e62000c42565b5050600060208190527f40d1c530b0103c541e7c55cca915bc81ae774fbbc0354a9f496cf19e4c8cfdb08054600160ff199182168117909255631127a41d60e31b9092527f72e70588cffe6784860107cc1d0b0f0314bfad5fcc6347c1a115ea496042a0f2805490921617905562001392565b600a5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa1580156200033c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000362919062001192565b9050600081600a546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b158015620003b657600080fd5b505af1158015620003cb573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b03168152602001620003f962000f9c60201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c082015160038201906200050b908262001251565b5050505050565b600a54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa1580156200055d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000583919062001192565b600a5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620005d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005f9919062001192565b831462000688576200060a62000fa1565b600a5460408051632e85b1f360e01b8152905162000680926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000657573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200067d919062001192565b90565b9050620006d8565b600a5460408051632cc7144960e11b81529051620006d5926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801562000657573d6000803e3d6000fd5b90505b600a54600b546040516340c10f1960e01b81526001600160a01b039182166004820152602481018690529116906340c10f1990604401600060405180830381600087803b1580156200072957600080fd5b505af11580156200073e573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b031681526020016200077b6200111460201b60201c565b60ff90811682526000602080840182905230604080860191909152600b546001600160a01b03908116606080880191909152825180850184528581526080978801526001600160601b03808b16865260018086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b031990971693909216929092179490941792909216929092179390931783559284015190820180549184166001600160a01b031992831617905560a08401516002830180549190941691161790915560c0820151600382019062000884908262001251565b505030600090815260026020526040902080546001600160601b039094166001600160601b031994851681179091556008805490941617909255505050565b600a54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa1580156200090e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000934919062001192565b9050600081600a546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200098857600080fd5b505af11580156200099d573d6000803e3d6000fd5b50506040805160e0810182526001600160601b038581168083526008548216602080850191825260288587019081526000606087018181523360808901908152600160a08a018181528b518088018d5285815260c08c019081529885529581905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b0319918216179091559251600282018054919096169316929092179093559151909350909150600382019062000ab2908262001251565b505033600090815260026020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000b14918491016200131d565b60408051808303601f19018152828252805160209182012060008181526007909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000b8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000bb291906200136d565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526006909152902062000c08838262001251565b5050600880546001600160601b039093166c0100000000000000000000000002600160601b600160c01b0319909316929092179091555050565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d805460ff191660019081179091556028600090815260046020527f2b634da6ab875d88498f503820d9b51f6eb10d3d2f378c32aef2289b509f3def9062000ca8601490565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000cdc603290565b60ff1660ff168152602001908152602001600020600062000d026200111460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d36606e90565b60ff1660ff168152602001908152602001600020600062000d5c6200111960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d90607890565b60ff1660ff168152602001908152602001600020600062000db66200111960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000dea608290565b60ff1660ff168152602001908152602001600020600062000e106200111960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000e44608c90565b60ff1660ff168152602001908152602001600020600062000e6a6200111960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000e9e60d290565b60ff1660ff168152602001908152602001600020600062000ec46200111e60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000ef860dc90565b60ff1660ff168152602001908152602001600020600062000f1e6200112360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000f52603c90565b60ff1660ff168152602001908152602001600020600062000f786200112360201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600a5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000fec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001012919062001192565b600a546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200106157600080fd5b505af115801562001076573d6000803e3d6000fd5b5050505060006200108d826200067d60201b60201c565b90506040518060e00160405280826001600160601b0316815260200162001101600a60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000657573d6000803e3d6000fd5b6001600160601b031681526020016200040a5b601490565b603290565b606e90565b608c90565b611e7d806200311783390190565b805160ff811681146200114857600080fd5b919050565b600080604083850312156200116157600080fd5b82516001600160a01b03811681146200117957600080fd5b9150620011896020840162001136565b90509250929050565b600060208284031215620011a557600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620011d757607f821691505b602082108103620011f857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200124c57600081815260208120601f850160051c81016020861015620012275750805b601f850160051c820191505b81811015620012485782815560010162001233565b5050505b505050565b81516001600160401b038111156200126d576200126d620011ac565b62001285816200127e8454620011c2565b84620011fe565b602080601f831160018114620012bd5760008415620012a45750858301515b600019600386901b1c1916600185901b17855562001248565b600085815260208120601f198616915b82811015620012ee57888601518255948401946001909101908401620012cd565b50858210156200130d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b818110156200134c578581018301518582016040015282016200132e565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156200138057600080fd5b6200138b8262001136565b9392505050565b611d7580620013a26000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80638b09a5f0116100b8578063bb826b621161007c578063bb826b62146102ed578063bc36dc91146102f5578063c3c5a54714610306578063d272ac1e14610319578063e285c9c41461034b578063e74d052f1461035357600080fd5b80638b09a5f014610281578063a3bcd81d146102a1578063a48f42e0146102b4578063a5df9e4e146102c7578063b69b2e11146102da57600080fd5b806338bb429a116100ff57806338bb429a146101f25780633fe9300e146102055780634cd361ad146102285780635f1561511461023d578063893d20e81461027957600080fd5b8063015654ff1461013c57806301ffc9a71461016657806314afd79e146101a35780631a848cfb146101b657806321e18ac8146101cc575b600080fd5b600b546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610193610174366004611597565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161015d565b6101496101b13660046115f0565b610366565b6101be61047c565b60405190815260200161015d565b6101da610137366004611804565b6040516001600160601b03909116815260200161015d565b610149610200366004611854565b6104ef565b61021b6040518060200160405280600081525081565b60405161015d91906118c1565b61023b6102363660046118d4565b610545565b005b61019361024b36600461191f565b6001600160601b0391909116600090815260036020908152604080832060ff94851684529091529020541690565b61014961079c565b61029461028f3660046115f0565b6107a7565b60405161015d9190611958565b6101496102af3660046119db565b61090e565b6102946102c2366004611854565b610964565b6101da6102d5366004611a36565b610a36565b61021b6102e8366004611854565b6113bc565b6101be600381565b6009546001600160a01b0316610149565b6101936103143660046115f0565b611468565b6101da6103273660046115f0565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610149600181565b610193610361366004611854565b6114ff565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040e9190611a6b565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610452573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104769190611a88565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ea9190611aa5565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103cd565b61054d61079c565b6001600160a01b0316336001600160a01b03161461057e576040516330cd747160e01b815260040160405180910390fd5b6001600160601b038381166000908152600160208181526040808420909201546001600160a01b0316808452600290915291819020549051630a4d29dd60e31b8152921660048301529073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106289190611abe565b156106565760405163b9b633df60e01b81526001600160601b03851660048201526024015b60405180910390fd5b6001600160601b03841660009081526001602052604090205461069190600160c01b900460ff16610685602890565b60ff9081169116141590565b156106ba5760405163025b2d4960e41b81526001600160601b038516600482015260240161064d565b60ff8084166000908152600460209081526040808320868516845290915290205416158015610708575060ff8084166000908152600560209081526040808320868516845290915290205416155b1561073357604051638880f20760e01b815260ff80851660048301528316602482015260440161064d565b6001600160601b038416600081815260036020908152604080832060ff881680855290835292819020805460ff19166001179055519182527fe26cfba837db0d7c153ec866fbad0352b9052133ad3e374829bc342a828f19e3910160405180910390a250505050565b60006104ea30610366565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c08401919061088590611adb565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190611adb565b80156108fe5780601f106108d3576101008083540402835291602001916108fe565b820191906000526020600020905b8154815290600101906020018083116108e157829003601f168201915b5050505050815250509050919050565b6000808360405160200161092291906118c1565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061088590611adb565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b03163314610a83576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610b2690611adb565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5290611adb565b8015610b9f5780601f10610b7457610100808354040283529160200191610b9f565b820191906000526020600020905b815481529060010190602001808311610b8257829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610bde5760405163b0014c0760e01b815260040160405180910390fd5b6000610bf888606001518960800151866060015185611559565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610c43929091879190600401611b15565b6020604051808303816000875af1158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c869190611aa5565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610dd99190611b99565b50505060808901516001600160a01b0316156112d75760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610e4157604051638880f20760e01b815260ff80891660048301528516602482015260440161064d565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190611abe565b15610f065760405163fdcce17f60e01b81526001600160a01b038216600482015260240161064d565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610f5388610f48602890565b60ff90811691161490565b156112d1576000808b60c00151806020019051810190610f739190611c59565b91509150600082604051602001610f8a91906118c1565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610ff7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101b9190611aa5565b10806111d05750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611077573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109b9190611aa5565b1180156111d057506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111489190611aa5565b6111529190611cdc565b6040518263ffffffff1660e01b815260040161117091815260200190565b602060405180830381865af415801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190611cfd565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111f35760405163124574bd60e01b815260ff8316600482015260240161064d565b600081815260076020908152604080832060ff861684529091529020546001600160a01b03161561123b5782826040516361b38f9b60e01b815260040161064d929190611d1a565b6001600160601b038c16600090815260066020526040902061125d8482611b99565b50600081815260076020908152604080832060ff861684529091529081902080546001600160a01b0319166001600160a01b038716179055517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112c59085908590611d1a565b60405180910390a15050505b50611329565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361132957604051638880f20760e01b815260ff80891660048301528516602482015260440161064d565b876001600160601b03167f0143a802dbbc7e1f7d8ca58d46b81999d7187c7ae6430704da53cf553d791b698a602001518b604001518c608001518d60a001516040516113a894939291906001600160601b0394909416845260ff9290921660208401526001600160a01b03908116604084015216606082015260800190565b60405180910390a250505050505050919050565b6001600160601b03811660009081526006602052604090208054606091906113e390611adb565b80601f016020809104026020016040519081016040528092919081815260200182805461140f90611adb565b801561145c5780601f106114315761010080835404028352916020019161145c565b820191906000526020600020905b81548152906001019060200180831161143f57829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156114db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104769190611abe565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016114be565b60006001600160a01b03841661157e57821561157657508061158f565b50600061158f565b841561158b57508261158f565b5060005b949350505050565b6000602082840312156115a957600080fd5b81356001600160e01b0319811681146115c157600080fd5b9392505050565b6001600160a01b03811681146115dd57600080fd5b50565b80356115eb816115c8565b919050565b60006020828403121561160257600080fd5b81356115c1816115c8565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116465761164661160d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156116755761167561160d565b604052919050565b6001600160601b03811681146115dd57600080fd5b80356115eb8161167d565b60ff811681146115dd57600080fd5b80356115eb8161169d565b80151581146115dd57600080fd5b80356115eb816116b7565b600067ffffffffffffffff8211156116ea576116ea61160d565b50601f01601f191660200190565b600061170b611706846116d0565b61164c565b905082815283838301111561171f57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261174757600080fd5b6115c1838335602085016116f8565b600060e0828403121561176857600080fd5b611770611623565b905061177b82611692565b815261178960208301611692565b602082015261179a604083016116ac565b60408201526117ab606083016116c5565b60608201526117bc608083016115e0565b60808201526117cd60a083016115e0565b60a082015260c082013567ffffffffffffffff8111156117ec57600080fd5b6117f884828501611736565b60c08301525092915050565b6000806040838503121561181757600080fd5b8235611822816115c8565b9150602083013567ffffffffffffffff81111561183e57600080fd5b61184a85828601611756565b9150509250929050565b60006020828403121561186657600080fd5b81356115c18161167d565b60005b8381101561188c578181015183820152602001611874565b50506000910152565b600081518084526118ad816020860160208601611871565b601f01601f19169290920160200192915050565b6020815260006115c16020830184611895565b6000806000606084860312156118e957600080fd5b83356118f48161167d565b925060208401356119048161169d565b915060408401356119148161169d565b809150509250925092565b6000806040838503121561193257600080fd5b823561193d8161167d565b9150602083013561194d8161169d565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516119c160c08401826001600160a01b03169052565b5060c083015160e08084015261158f610100840182611895565b600080604083850312156119ee57600080fd5b823567ffffffffffffffff811115611a0557600080fd5b8301601f81018513611a1657600080fd5b611a25858235602084016116f8565b925050602083013561194d8161169d565b600060208284031215611a4857600080fd5b813567ffffffffffffffff811115611a5f57600080fd5b61158f84828501611756565b600060208284031215611a7d57600080fd5b81516115c18161167d565b600060208284031215611a9a57600080fd5b81516115c1816115c8565b600060208284031215611ab757600080fd5b5051919050565b600060208284031215611ad057600080fd5b81516115c1816116b7565b600181811c90821680611aef57607f821691505b602082108103611b0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090611b4190830184611895565b95945050505050565b601f821115611b9457600081815260208120601f850160051c81016020861015611b715750805b601f850160051c820191505b81811015611b9057828155600101611b7d565b5050505b505050565b815167ffffffffffffffff811115611bb357611bb361160d565b611bc781611bc18454611adb565b84611b4a565b602080601f831160018114611bfc5760008415611be45750858301515b600019600386901b1c1916600185901b178555611b90565b600085815260208120601f198616915b82811015611c2b57888601518255948401946001909101908401611c0c565b5085821015611c495787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c6c57600080fd5b825167ffffffffffffffff811115611c8357600080fd5b8301601f81018513611c9457600080fd5b8051611ca2611706826116d0565b818152866020838501011115611cb757600080fd5b611cc8826020830160208601611871565b809450505050602083015161194d8161169d565b8181038181111561047657634e487b7160e01b600052601160045260246000fd5b600060208284031215611d0f57600080fd5b81516115c18161169d565b604081526000611d2d6040830185611895565b905060ff83166020830152939250505056fea2646970667358221220dc99cc42fbd5900dd64e451799a02b1e67369939ecf54cf59cf62730a4991e2964736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e7d38038062001e7d833981016040819052620000349162000165565b60405180606001604052806029815260200162001e54602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d819055620001109062000131565b600e8190556200012290600a6200041d565b600f555060046010556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b6119da806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80634f6ccce7116100f9578063a2309ff811610097578063c87b56dd11610071578063c87b56dd146103a8578063e985e9c5146103bb578063f21de1e8146103ce578063f76f8d78146103df57600080fd5b8063a2309ff814610385578063a3f4df7e1461038d578063b88d4fde1461039557600080fd5b806370a08231116100d357806370a0823114610344578063862440e21461035757806395d89b411461036a578063a22cb4651461037257600080fd5b80634f6ccce714610315578063598e2892146103285780636352211e1461033157600080fd5b806323b872dd1161016657806340c10f191161014057806340c10f19146102b157806342842e0e146102c457806342966c68146102d75780634f558e79146102ea57600080fd5b806323b872dd146102825780632e85b1f3146102955780632f745c591461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd14610267578063221375a61461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d7366004611391565b610402565b60405190151581526020015b60405180910390f35b6102046101ff3660046113b5565b61042d565b6040519081526020016101e8565b61021a610462565b6040516101e89190611414565b61023a6102353660046113b5565b6104f4565b6040516001600160a01b0390911681526020016101e8565b610265610260366004611443565b61051d565b005b600854610204565b61020461027d366004611519565b61052c565b610265610290366004611577565b6105ea565b61020461083581565b6102046102ac366004611443565b610693565b6102656102bf366004611443565b6106f8565b6102656102d2366004611577565b610741565b6102656102e53660046113b5565b61075c565b6101dc6102f83660046113b5565b6000908152600260205260409020546001600160a01b0316151590565b6102046103233660046113b5565b6107b3565b61020461044d81565b61023a61033f3660046113b5565b61080c565b6102046103523660046115b3565b610817565b6102656103653660046115ce565b61085f565b61021a6108fc565b610265610380366004611615565b61090b565b601154610204565b61021a610916565b6102656103a3366004611651565b610932565b61021a6103b63660046113b5565b61094f565b6101dc6103c93660046116cd565b6109f9565b600c546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610427575061042782610a27565b92915050565b6000600e54600d54600f54846104439190611716565b61044d919061172d565b610458906064611716565b610427919061172d565b60606000805461047190611740565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611740565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610a77565b506000828152600460205260409020546001600160a01b0316610427565b610528828233610ab0565b5050565b600c546000906001600160a01b031633146105625760405162461bcd60e51b81526004016105599061177a565b60405180910390fd5b61056a610abd565b90506001600160a01b038316156105a3576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105c4576000818152600b602052604090206105c28382611809565b505b6105ce8482610ae4565b601180549060006105de836118c9565b91905055509392505050565b6105f5838383610afe565b6000818152600a60205260409020546001600160a01b03161561068e576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561067557600080fd5b505af1158015610689573d6000803e3d6000fd5b505050505b505050565b600061069e83610817565b82106106cf5760405163295f44f760e21b81526001600160a01b038416600482015260248101839052604401610559565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107225760405162461bcd60e51b81526004016105599061177a565b60118054906000610732836118c9565b91905055506105288282610ae4565b61068e83838360405180602001604052806000815250610932565b600c546001600160a01b031633146107865760405162461bcd60e51b81526004016105599061177a565b61078f81610a77565b5061079981610b83565b6000818152600b602052604081206107b09161132d565b50565b60006107be60085490565b82106107e75760405163295f44f760e21b81526000600482015260248101839052604401610559565b600882815481106107fa576107fa6118e2565b90600052602060002001549050919050565b600061042782610a77565b60006001600160a01b038216610843576040516322718ad960e21b815260006004820152602401610559565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108895760405162461bcd60e51b81526004016105599061177a565b60008151116108da5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d5054590000000000000000006044820152606401610559565b6108e382610a77565b506000828152600b6020526040902061068e8282611809565b60606001805461047190611740565b610528338383610bbe565b60405180606001604052806029815260200161197c6029913981565b61093d8484846105ea565b61094984848484610c5d565b50505050565b606061095a82610a77565b506000828152600b60205260409020805461097490611740565b80601f01602080910402602001604051908101604052809291908181526020018280546109a090611740565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610a5857506001600160e01b03198216635b5e139f60e01b145b8061042757506301ffc9a760e01b6001600160e01b0319831614610427565b6000818152600260205260408120546001600160a01b03168061042757604051637e27328960e01b815260048101849052602401610559565b61068e8383836001610d86565b6000610aca60105461042d565b601080549192506000610adc836118c9565b919050555090565b610528828260405180602001604052806000815250610e8c565b6001600160a01b038216610b2857604051633250574960e11b815260006004820152602401610559565b6000610b35838333610ea3565b9050836001600160a01b0316816001600160a01b031614610949576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610559565b6000610b926000836000610ea3565b90506001600160a01b03811661052857604051637e27328960e01b815260048101839052602401610559565b6001600160a01b038216610bf057604051630b61174360e31b81526001600160a01b0383166004820152602401610559565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561094957604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c9f9033908890879087906004016118f8565b6020604051808303816000875af1925050508015610cda575060408051601f3d908101601f19168201909252610cd791810190611935565b60015b610d43573d808015610d08576040519150601f19603f3d011682016040523d82523d6000602084013e610d0d565b606091505b508051600003610d3b57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d7f57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b5050505050565b8080610d9a57506001600160a01b03821615155b15610e5c576000610daa84610a77565b90506001600160a01b03831615801590610dd65750826001600160a01b0316816001600160a01b031614155b8015610de95750610de781846109f9565b155b15610e125760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610559565b8115610e5a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e968383610f78565b61068e6000848484610c5d565b600080610eb1858585610fdd565b90506001600160a01b038116610f0e57610f0984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f31565b846001600160a01b0316816001600160a01b031614610f3157610f3181856110d6565b6001600160a01b038516610f4d57610f4884611167565b610f70565b846001600160a01b0316816001600160a01b031614610f7057610f708585611216565b949350505050565b6001600160a01b038216610fa257604051633250574960e11b815260006004820152602401610559565b6000610fb083836000610ea3565b90506001600160a01b0381161561068e576040516339e3563760e11b815260006004820152602401610559565b6000828152600260205260408120546001600160a01b039081169083161561100a5761100a818486611266565b6001600160a01b0381161561104857611027600085600080610d86565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611077576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006110e183610817565b600083815260076020526040902054909150808214611134576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061117990600190611952565b600083815260096020526040812054600880549394509092849081106111a1576111a16118e2565b9060005260206000200154905080600883815481106111c2576111c26118e2565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806111fa576111fa611965565b6001900381819060005260206000200160009055905550505050565b6000600161122384610817565b61122d9190611952565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112718383836112ca565b61068e576001600160a01b03831661129f57604051637e27328960e01b815260048101829052602401610559565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610559565b60006001600160a01b03831615801590610f705750826001600160a01b0316846001600160a01b03161480611304575061130484846109f9565b80610f705750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461133990611740565b6000825580601f10611349575050565b601f0160209004906000526020600020908101906107b091905b808211156113775760008155600101611363565b5090565b6001600160e01b0319811681146107b057600080fd5b6000602082840312156113a357600080fd5b81356113ae8161137b565b9392505050565b6000602082840312156113c757600080fd5b5035919050565b6000815180845260005b818110156113f4576020818501810151868301820152016113d8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006113ae60208301846113ce565b80356001600160a01b038116811461143e57600080fd5b919050565b6000806040838503121561145657600080fd5b61145f83611427565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561149e5761149e61146d565b604051601f8501601f19908116603f011681019082821181831017156114c6576114c661146d565b816040528093508581528686860111156114df57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261150a57600080fd5b6113ae83833560208501611483565b60008060006060848603121561152e57600080fd5b61153784611427565b925061154560208501611427565b9150604084013567ffffffffffffffff81111561156157600080fd5b61156d868287016114f9565b9150509250925092565b60008060006060848603121561158c57600080fd5b61159584611427565b92506115a360208501611427565b9150604084013590509250925092565b6000602082840312156115c557600080fd5b6113ae82611427565b600080604083850312156115e157600080fd5b82359150602083013567ffffffffffffffff8111156115ff57600080fd5b61160b858286016114f9565b9150509250929050565b6000806040838503121561162857600080fd5b61163183611427565b91506020830135801515811461164657600080fd5b809150509250929050565b6000806000806080858703121561166757600080fd5b61167085611427565b935061167e60208601611427565b925060408501359150606085013567ffffffffffffffff8111156116a157600080fd5b8501601f810187136116b257600080fd5b6116c187823560208401611483565b91505092959194509250565b600080604083850312156116e057600080fd5b6116e983611427565b91506116f760208401611427565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042757610427611700565b8082018082111561042757610427611700565b600181811c9082168061175457607f821691505b60208210810361177457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b601f82111561068e57600081815260208120601f850160051c810160208610156117e25750805b601f850160051c820191505b81811015611801578281556001016117ee565b505050505050565b815167ffffffffffffffff8111156118235761182361146d565b611837816118318454611740565b846117bb565b602080601f83116001811461186c57600084156118545750858301515b600019600386901b1c1916600185901b178555611801565b600085815260208120601f198616915b8281101561189b5788860151825594840194600190910190840161187c565b50858210156118b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118db576118db611700565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192b908301846113ce565b9695505050505050565b60006020828403121561194757600080fd5b81516113ae8161137b565b8181038181111561042757610427611700565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220aa4ab71e5429c269fe81515c2906cdaaf8874f3b8f505fee48d0453385a68c9264736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
714
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80638b09a5f0116100b8578063bb826b621161007c578063bb826b62146102ed578063bc36dc91146102f5578063c3c5a54714610306578063d272ac1e14610319578063e285c9c41461034b578063e74d052f1461035357600080fd5b80638b09a5f014610281578063a3bcd81d146102a1578063a48f42e0146102b4578063a5df9e4e146102c7578063b69b2e11146102da57600080fd5b806338bb429a116100ff57806338bb429a146101f25780633fe9300e146102055780634cd361ad146102285780635f1561511461023d578063893d20e81461027957600080fd5b8063015654ff1461013c57806301ffc9a71461016657806314afd79e146101a35780631a848cfb146101b657806321e18ac8146101cc575b600080fd5b600b546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610193610174366004611597565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161015d565b6101496101b13660046115f0565b610366565b6101be61047c565b60405190815260200161015d565b6101da610137366004611804565b6040516001600160601b03909116815260200161015d565b610149610200366004611854565b6104ef565b61021b6040518060200160405280600081525081565b60405161015d91906118c1565b61023b6102363660046118d4565b610545565b005b61019361024b36600461191f565b6001600160601b0391909116600090815260036020908152604080832060ff94851684529091529020541690565b61014961079c565b61029461028f3660046115f0565b6107a7565b60405161015d9190611958565b6101496102af3660046119db565b61090e565b6102946102c2366004611854565b610964565b6101da6102d5366004611a36565b610a36565b61021b6102e8366004611854565b6113bc565b6101be600381565b6009546001600160a01b0316610149565b6101936103143660046115f0565b611468565b6101da6103273660046115f0565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610149600181565b610193610361366004611854565b6114ff565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040e9190611a6b565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610452573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104769190611a88565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ea9190611aa5565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103cd565b61054d61079c565b6001600160a01b0316336001600160a01b03161461057e576040516330cd747160e01b815260040160405180910390fd5b6001600160601b038381166000908152600160208181526040808420909201546001600160a01b0316808452600290915291819020549051630a4d29dd60e31b8152921660048301529073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106289190611abe565b156106565760405163b9b633df60e01b81526001600160601b03851660048201526024015b60405180910390fd5b6001600160601b03841660009081526001602052604090205461069190600160c01b900460ff16610685602890565b60ff9081169116141590565b156106ba5760405163025b2d4960e41b81526001600160601b038516600482015260240161064d565b60ff8084166000908152600460209081526040808320868516845290915290205416158015610708575060ff8084166000908152600560209081526040808320868516845290915290205416155b1561073357604051638880f20760e01b815260ff80851660048301528316602482015260440161064d565b6001600160601b038416600081815260036020908152604080832060ff881680855290835292819020805460ff19166001179055519182527fe26cfba837db0d7c153ec866fbad0352b9052133ad3e374829bc342a828f19e3910160405180910390a250505050565b60006104ea30610366565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c08401919061088590611adb565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190611adb565b80156108fe5780601f106108d3576101008083540402835291602001916108fe565b820191906000526020600020905b8154815290600101906020018083116108e157829003601f168201915b5050505050815250509050919050565b6000808360405160200161092291906118c1565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061088590611adb565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b03163314610a83576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610b2690611adb565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5290611adb565b8015610b9f5780601f10610b7457610100808354040283529160200191610b9f565b820191906000526020600020905b815481529060010190602001808311610b8257829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610bde5760405163b0014c0760e01b815260040160405180910390fd5b6000610bf888606001518960800151866060015185611559565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610c43929091879190600401611b15565b6020604051808303816000875af1158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c869190611aa5565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610dd99190611b99565b50505060808901516001600160a01b0316156112d75760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610e4157604051638880f20760e01b815260ff80891660048301528516602482015260440161064d565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190611abe565b15610f065760405163fdcce17f60e01b81526001600160a01b038216600482015260240161064d565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610f5388610f48602890565b60ff90811691161490565b156112d1576000808b60c00151806020019051810190610f739190611c59565b91509150600082604051602001610f8a91906118c1565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610ff7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101b9190611aa5565b10806111d05750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611077573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109b9190611aa5565b1180156111d057506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111489190611aa5565b6111529190611cdc565b6040518263ffffffff1660e01b815260040161117091815260200190565b602060405180830381865af415801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190611cfd565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111f35760405163124574bd60e01b815260ff8316600482015260240161064d565b600081815260076020908152604080832060ff861684529091529020546001600160a01b03161561123b5782826040516361b38f9b60e01b815260040161064d929190611d1a565b6001600160601b038c16600090815260066020526040902061125d8482611b99565b50600081815260076020908152604080832060ff861684529091529081902080546001600160a01b0319166001600160a01b038716179055517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112c59085908590611d1a565b60405180910390a15050505b50611329565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361132957604051638880f20760e01b815260ff80891660048301528516602482015260440161064d565b876001600160601b03167f0143a802dbbc7e1f7d8ca58d46b81999d7187c7ae6430704da53cf553d791b698a602001518b604001518c608001518d60a001516040516113a894939291906001600160601b0394909416845260ff9290921660208401526001600160a01b03908116604084015216606082015260800190565b60405180910390a250505050505050919050565b6001600160601b03811660009081526006602052604090208054606091906113e390611adb565b80601f016020809104026020016040519081016040528092919081815260200182805461140f90611adb565b801561145c5780601f106114315761010080835404028352916020019161145c565b820191906000526020600020905b81548152906001019060200180831161143f57829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156114db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104769190611abe565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016114be565b60006001600160a01b03841661157e57821561157657508061158f565b50600061158f565b841561158b57508261158f565b5060005b949350505050565b6000602082840312156115a957600080fd5b81356001600160e01b0319811681146115c157600080fd5b9392505050565b6001600160a01b03811681146115dd57600080fd5b50565b80356115eb816115c8565b919050565b60006020828403121561160257600080fd5b81356115c1816115c8565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116465761164661160d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156116755761167561160d565b604052919050565b6001600160601b03811681146115dd57600080fd5b80356115eb8161167d565b60ff811681146115dd57600080fd5b80356115eb8161169d565b80151581146115dd57600080fd5b80356115eb816116b7565b600067ffffffffffffffff8211156116ea576116ea61160d565b50601f01601f191660200190565b600061170b611706846116d0565b61164c565b905082815283838301111561171f57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261174757600080fd5b6115c1838335602085016116f8565b600060e0828403121561176857600080fd5b611770611623565b905061177b82611692565b815261178960208301611692565b602082015261179a604083016116ac565b60408201526117ab606083016116c5565b60608201526117bc608083016115e0565b60808201526117cd60a083016115e0565b60a082015260c082013567ffffffffffffffff8111156117ec57600080fd5b6117f884828501611736565b60c08301525092915050565b6000806040838503121561181757600080fd5b8235611822816115c8565b9150602083013567ffffffffffffffff81111561183e57600080fd5b61184a85828601611756565b9150509250929050565b60006020828403121561186657600080fd5b81356115c18161167d565b60005b8381101561188c578181015183820152602001611874565b50506000910152565b600081518084526118ad816020860160208601611871565b601f01601f19169290920160200192915050565b6020815260006115c16020830184611895565b6000806000606084860312156118e957600080fd5b83356118f48161167d565b925060208401356119048161169d565b915060408401356119148161169d565b809150509250925092565b6000806040838503121561193257600080fd5b823561193d8161167d565b9150602083013561194d8161169d565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516119c160c08401826001600160a01b03169052565b5060c083015160e08084015261158f610100840182611895565b600080604083850312156119ee57600080fd5b823567ffffffffffffffff811115611a0557600080fd5b8301601f81018513611a1657600080fd5b611a25858235602084016116f8565b925050602083013561194d8161169d565b600060208284031215611a4857600080fd5b813567ffffffffffffffff811115611a5f57600080fd5b61158f84828501611756565b600060208284031215611a7d57600080fd5b81516115c18161167d565b600060208284031215611a9a57600080fd5b81516115c1816115c8565b600060208284031215611ab757600080fd5b5051919050565b600060208284031215611ad057600080fd5b81516115c1816116b7565b600181811c90821680611aef57607f821691505b602082108103611b0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090611b4190830184611895565b95945050505050565b601f821115611b9457600081815260208120601f850160051c81016020861015611b715750805b601f850160051c820191505b81811015611b9057828155600101611b7d565b5050505b505050565b815167ffffffffffffffff811115611bb357611bb361160d565b611bc781611bc18454611adb565b84611b4a565b602080601f831160018114611bfc5760008415611be45750858301515b600019600386901b1c1916600185901b178555611b90565b600085815260208120601f198616915b82811015611c2b57888601518255948401946001909101908401611c0c565b5085821015611c495787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c6c57600080fd5b825167ffffffffffffffff811115611c8357600080fd5b8301601f81018513611c9457600080fd5b8051611ca2611706826116d0565b818152866020838501011115611cb757600080fd5b611cc8826020830160208601611871565b809450505050602083015161194d8161169d565b8181038181111561047657634e487b7160e01b600052601160045260246000fd5b600060208284031215611d0f57600080fd5b81516115c18161169d565b604081526000611d2d6040830185611895565b905060ff83166020830152939250505056fea2646970667358221220dc99cc42fbd5900dd64e451799a02b1e67369939ecf54cf59cf62730a4991e2964736f6c63430008140033",
1501
+ "bytecode": "0x610160604052348015610010575f80fd5b5060405161697138038061697183398101604081905261002f9161100e565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190611046565b61009881610230565b5033610100526001600160a01b038216610120526100b581610283565b6001600160a01b031660c05260405130906100cf90610fea565b6001600160a01b039091168152602001604051809103905ff0801580156100f8573d5f803e3d5ffd5b506001600160a01b0316610140816001600160a01b03168152505073__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101909190611068565b6040518263ffffffff1660e01b81526004016101ae91815260200190565b602060405180830381865af41580156101c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ed9190611093565b6001600160601b031660a052610201610297565b6001600160601b031660805261021561043e565b6001600160601b031660e05261022961063f565b505061121e565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f46600103610293575030919050565b5090565b5f80610140516001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102fc9190611068565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561034d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103719190611093565b91506102936040518060e00160405280846001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156103d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103fb9190611093565b6001600160601b03168152600160208083018290525f6040808501829052606085018290526080850184905280519283019052815260a090920191909152610bad565b60a0516040805160e0810182526001600160601b0380841682526080511660208201526104bf91600191908101600260ff1681526020015f1515815260200160c0516001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f81525081525046600114610da560201b60201c565b4660011461063c5773__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316630559ea4760026040518263ffffffff1660e01b815260040161051391815260200190565b602060405180830381865afa15801561052e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105529190611068565b6040518263ffffffff1660e01b815260040161057091815260200190565b602060405180830381865af415801561058b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105af9190611093565b905061063c466040518060e00160405280846001600160601b0316815260200160a0516001600160601b031681526020016105ee610da060201b60201c565b60ff1681526020015f15158152602001306001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152506001610da560201b60201c565b90565b7f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a318054600160ff1991821681179092557f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace2980548216831790557fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b80548216831790557f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98880548216831790557f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34780548216831790557ff130046d53bc87538ab17e4752ba5f5082985eecc06ccb932c5a55e8242dd50280548216831790557faca6cdb4b5fe0ec50731a73f714dd191dc1911bfeb3f9eeb9e94ed0f6065ef8d80548216831790557f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed80548216831790557f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a49980548216831790557feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f80548216831790557f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb80548216831790557f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d280548216831790557fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc1805490911682179055600a5f90815260076020527f3ed157e83ab1bb1f6b7b3760b3368106283d4e15d1f1b08e20d06576445a999490610891600290565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906108c3600c90565b60ff1660ff1681526020019081526020015f205f6108e5610ed460201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600790610917600e90565b60ff1660ff1681526020019081526020015f205f610939610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff19169215159290921790915560019060079061096b600d90565b60ff1660ff1681526020019081526020015f205f61098d610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906109bf600f90565b60ff1660ff1681526020019081526020015f205f6109e1610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a13601590565b60ff1660ff1681526020019081526020015f205f610a35610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a67601790565b60ff1660ff1681526020019081526020015f205f610a89610ee360201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610abb601690565b60ff1660ff1681526020019081526020015f205f610add610ede60201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b0f601e90565b60ff1660ff1681526020019081526020015f205f610b31610ba860201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b63601e90565b60ff1660ff1681526020019081526020015f205f610b85610ed460201b60201c565b60ff16815260208101919091526040015f20805460ff1916911515919091179055565b600190565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b199688166c01000000000000000000000000026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190610c869082611145565b509050508015610ca15781516080830151610ca19190610ee8565b6101405160a0830151835160405163046e44af60e11b81526001600160601b0390911660048201526001600160a01b03909216916340c10f19919073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015610d16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3a9190611093565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015610d86575f80fd5b505af1158015610d98573d5f803e3d5ffd5b505050505050565b600290565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f91906111ff565b610e66578151604051631832397b60e21b81526001600160601b039091166004820152602481018490526044015b60405180910390fd5b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01839055610ecf8282610bad565b505050565b600a90565b600c90565b600f90565b600e90565b6001600160a01b03811615610fe6576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8c91906111ff565b15610fb557604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610e5d565b6001600160a01b0381165f90815260046020526040902080546001600160601b0319166001600160601b0384161790555b5050565b611f86806149eb83390190565b6001600160a01b038116811461100b575f80fd5b50565b5f806040838503121561101f575f80fd5b825161102a81610ff7565b602084015190925061103b81610ff7565b809150509250929050565b5f60208284031215611056575f80fd5b815161106181610ff7565b9392505050565b5f60208284031215611078575f80fd5b5051919050565b6001600160601b038116811461100b575f80fd5b5f602082840312156110a3575f80fd5b81516110618161107f565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806110d657607f821691505b6020821081036110f457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ecf57805f5260205f20601f840160051c8101602085101561111f5750805b601f840160051c820191505b8181101561113e575f815560010161112b565b5050505050565b81516001600160401b0381111561115e5761115e6110ae565b6111728161116c84546110c2565b846110fa565b6020601f8211600181146111a4575f831561118d5750848201515b5f19600385901b1c1916600184901b17845561113e565b5f84815260208120601f198516915b828110156111d357878501518255602094850194600190920191016111b3565b50848210156111f057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561120f575f80fd5b81518015158114611061575f80fd5b60805160a05160c05160e0516101005161012051610140516136f76112f45f395f81816103c20152818161082f01528181610b0e01528181610c6201528181610d43015281816115580152818161179b0152818161215c01528181612431015281816127110152612ca801525f8181610419015281816104500152611d2501525f8181610703015261198701525f818161052e0152818161064401528181611378015281816116ed015261281001525f61059c01525f81816105e401526120ef01525f81816104ae015261088601526136f75ff3fe608060405234801561000f575f80fd5b5060043610610319575f3560e01c8063a48f42e0116101af578063caed9897116100fe578063e278c9241161009e578063e74d052f11610079578063e74d052f14610861578063f40d7c3014610874578063fbe4b7c01461087c578063fff74f6c14610884575f80fd5b8063e278c9241461082a578063e285c9c414610851578063e2b178a014610859575f80fd5b8063d2213b5b116100d9578063d2213b5b1461078e578063d39e6043146107ae578063d9247149146107ea578063dfca014214610812575f80fd5b8063caed989714610738578063cefa7fd614610749578063d1982d881461077b575f80fd5b8063b303aaf811610169578063bf8e179711610144578063bf8e1797146106b7578063c0c53b8b146106eb578063c1b8411a146106fe578063c3c5a54714610725575f80fd5b8063b303aaf814610681578063b624e2ba14610694578063bf7e214f146106a7575f80fd5b8063a48f42e014610606578063a5df9e4e14610619578063a7050a561461062c578063abbbbd0c1461063f578063ae8dfb7914610666578063b08c0b541461066e575f80fd5b806338bb429a1161026b5780637a9e5e4b116102255780638b09a5f0116102005780638b09a5f0146105775780638e7b3927146105975780638fb36037146105be57806396f4b69e146105df575f80fd5b80637a9e5e4b14610552578063839f700c14610567578063893d20e81461056f575f80fd5b806338bb429a146104745780633fe9300e14610487578063598e2892146104a95780635c0e6264146104e85780635e546bee146104fb578063644c45e01461052c575f80fd5b8063120726c3116102d65780631a848cfb116102b15780631a848cfb1461040c5780632a0acc6a146104145780632b91e0a91461043b5780632de837e01461044e575f80fd5b8063120726c3146103c057806314afd79e146103e657806317dc5e2a146103f9575f80fd5b806301f6b5a21461031d57806301ffc9a7146103435780630e41142e146103665780630e6d1de9146103805780630e9ed68b1461038857806311edceaa146103ad575b5f80fd5b61033061032b366004612d9b565b6108aa565b6040519081526020015b60405180910390f35b610356610351366004612db2565b6108ce565b604051901515815260200161033a565b61036e610912565b60405160ff909116815260200161033a565b61036e610a04565b600b546001600160a01b03165b6040516001600160a01b03909116815260200161033a565b6103566103bb366004612dfa565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b6103956103f4366004612e34565b610ad0565b610356610407366004612e34565b610bfa565b610330610c5f565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610449366004612e34565b610ce0565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b610395610482366004612e6e565b610d23565b61049c60405180602001604052805f81525081565b60405161033a9190612eb7565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161033a565b6103566104f6366004612ec9565b610d96565b6104d0610509366004612e34565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b610565610560366004612e34565b610dc9565b005b610330600381565b610395610e46565b61058a610585366004612e34565b610e50565b60405161033a9190612f00565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b6105c6610fb7565b6040516001600160e01b0319909116815260200161033a565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b61058a610614366004612e6e565b610fd9565b6104d0610627366004613117565b6110a9565b6104d061063a366004613149565b6111a1565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b610330600281565b61056561067c3660046131a9565b6114a9565b61035661068f3660046131dd565b61176f565b6103566106a2366004613209565b611899565b5f546001600160a01b0316610395565b6103956106c5366004612e6e565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b6105656106f9366004613225565b6118c5565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610733366004612e34565b611a8c565b600a546001600160a01b0316610395565b6104d0610757366004612e6e565b6001600160601b039081165f90815260036020526040902054600160601b90041690565b6104d0610789366004613117565b611b00565b6107a161079c366004612dfa565b611c79565b60405161033a9190613262565b6103956107bc3660046132e2565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104d06107f8366004612d9b565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b0316610395565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610395600181565b610395611d22565b61035661086f366004612e6e565b611da3565b61036e611dfc565b600254610330565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b5f600282815481106108be576108be6132fe565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108fe57506001600160e01b03198216630398724f60e11b145b1561090b57506001919050565b505f919050565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a29190613312565b6040518263ffffffff1660e01b81526004016109c091815260200190565b602060405180830381865af41580156109db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613329565b905090565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa158015610aa6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613344565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b94919061335f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610bd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca919061337a565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610c5890600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cbc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613312565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610aca90600160c01b900460ff166008610c4d565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610b55565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610dc18184611899565b949350505050565b5f5433906001600160a01b03168114610e045760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e39576040516361798f2f60e11b81526001600160a01b0383166004820152602401610dfb565b610e4282611e4e565b5050565b5f6109ff30610ad0565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610f3090613395565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5c90613395565b8015610fa75780601f10610f7e57610100808354040283529160200191610fa7565b820191905f5260205f20905b815481529060010190602001808311610f8a57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610fcd57505f90565b50638fb3603760e01b90565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610f3090613395565b5f6110b6335b5f36611ea1565b60808201516040808401516020808601516001600160601b03165f90815260039091529190912054600160c01b900460ff166001600160a01b0383166111455760ff8083165f90815260086020908152604080832085851684529091528120549091161515900361114057828282604051639c52edaf60e01b8152600401610dfb939291906133cd565b61118f565b60ff8083165f90815260076020908152604080832085851684529091528120549091161515900361118f57828282604051639c52edaf60e01b8152600401610dfb939291906133cd565b61119885611f97565b95945050505050565b5f6111ab336110af565b60808401516001600160a01b0381166111d757604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af4158015611227573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124b9190613344565b156112745760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610dfb565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156112c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e89190613344565b1561131a5760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610dfb565b611336856040015161132a600890565b60ff9081169116141590565b1561136e5760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610dfb565b61139c85602001517f00000000000000000000000000000000000000000000000000000000000000006124c9565b156113e3576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610dfb565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b03161561142f5780848460405163ed45a40f60e01b8152600401610dfb939291906133cd565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a161119885611f97565b6114b2336110af565b466001146114d55760405163e657d2e760e01b8152466004820152602401610dfb565b815f03611500576040516391b6b54560e01b81526001600160601b0384166004820152602401610dfb565b6001600160a01b0381166115395760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610dfb565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa1580156115a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c99190613312565b905061164c8473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b815260040161160891815260200190565b602060405180830381865af4158015611623573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611647919061335f565b6124c9565b1561167c57604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610dfb565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd0d9fccd0d257e9ea3515cef639e01478a9c16c8c046bd7216820ca8b26359529181900360600190a1611769836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001611722600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f61254e565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af41580156117fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611822919061335f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611888919061337a565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610c58565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561190a5750825b90505f8267ffffffffffffffff1660011480156119265750303b155b905081158015611934575080155b156119525760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197c57845460ff60401b1916600160401b1785555b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146119c5576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b805492891692909116919091179055611a1c612678565b600980546001600160601b0319166001600160601b03929092169190911790558315611a8257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610aa6573d5f803e3d5ffd5b5f611b0a336110af565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611b66576040516368f27c4360e11b815260040160405180910390fd5b611bd58273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d9190613329565b80611c265750611c268173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b80611c375750611c37816001610c4d565b80611c485750611c48816008610c4d565b15611c705783608001518282604051639c52edaf60e01b8152600401610dfb939291906133cd565b610dc184611f97565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613405565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff919061337a565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611ae5565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611ed4611eb75f546001600160a01b031690565b8630611ec660045f898b61349a565b611ecf916134c1565b6128f0565b9150915081611f905763ffffffff811615611f6d575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611f2e908890889088906004016134f9565b5f604051808303815f87803b158015611f45575f80fd5b505af1158015611f57573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611f909050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610dfb565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c084019161205890613395565b80601f016020809104026020016040519081016040528092919081815260200182805461208490613395565b80156120cf5780601f106120a6576101008083540402835291602001916120cf565b820191905f5260205f20905b8154815290600101906020018083116120b257829003601f168201915b5050509190925250505060808101519091506001461461214557612113837f00000000000000000000000000000000000000000000000000000000000000006129f8565b1561214557604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610dfb565b5f612157878988866060015186612a42565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121da9190613312565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561222b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224f919061335f565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081612394919061357c565b509050506123a28a88612a94565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a691612469918b91889190600401613637565b6020604051808303815f875af1158015612485573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124a99190613312565b90508181146124ba576124ba613662565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561252a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c589190613344565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125d89190613344565b61260a578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610dfb565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126738282612b97565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ee919061337a565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa158015612756573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277a9190613312565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef919061335f565b92506128896040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001612845600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612b97565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156128d5575f80fd5b505af11580156128e7573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161295e9190613676565b5f60405180830381855afa9150503d805f8114612996576040519150601f19603f3d011682016040523d82523d5f602084013e61299b565b606091505b509150915081156129ed5760408151106129cd57808060200190518101906129c3919061368c565b90945092506129ed565b60208151106129ed57808060200190518101906129ea9190613344565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d9060440161250f565b5f612a4e85601e610c4d565b15612a5a57505f611198565b6001600160a01b038416612a7c578215612a75575080611198565b505f611198565b8515612a89575082611198565b505f95945050505050565b6001600160a01b03811615610e42576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b389190613344565b15612b6157604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610dfb565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612c67908261357c565b509050508015612c8257612c82825f01518360800151612a94565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d35919061335f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612d81575f80fd5b505af1158015612d93573d5f803e3d5ffd5b505050505050565b5f60208284031215612dab575f80fd5b5035919050565b5f60208284031215612dc2575f80fd5b81356001600160e01b031981168114610c58575f80fd5b60ff81168114612de7575f80fd5b50565b8035612df581612dd9565b919050565b5f60208284031215612e0a575f80fd5b8135610c5881612dd9565b6001600160a01b0381168114612de7575f80fd5b8035612df581612e15565b5f60208284031215612e44575f80fd5b8135610c5881612e15565b6001600160601b0381168114612de7575f80fd5b8035612df581612e4f565b5f60208284031215612e7e575f80fd5b8135610c5881612e4f565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c586020830184612e89565b5f8060408385031215612eda575f80fd5b8235612ee581612e15565b91506020830135612ef581612dd9565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612f48608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610dc1610100840182612e89565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612fc357612fc3612f8c565b60405290565b8015158114612de7575f80fd5b8035612df581612fc9565b5f82601f830112612ff0575f80fd5b813567ffffffffffffffff81111561300a5761300a612f8c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561303957613039612f8c565b604052818152838201602001851015613050575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e0828403121561307c575f80fd5b613084612fa0565b905061308f82612e63565b815261309d60208301612e63565b60208201526130ae60408301612dea565b60408201526130bf60608301612fd6565b60608201526130d060808301612e29565b60808201526130e160a08301612e29565b60a082015260c082013567ffffffffffffffff8111156130ff575f80fd5b61310b84828501612fe1565b60c08301525092915050565b5f60208284031215613127575f80fd5b813567ffffffffffffffff81111561313d575f80fd5b610dc18482850161306c565b5f805f6060848603121561315b575f80fd5b833567ffffffffffffffff811115613171575f80fd5b61317d8682870161306c565b935050602084013561318e81612dd9565b9150604084013561319e81612dd9565b809150509250925092565b5f805f606084860312156131bb575f80fd5b83356131c681612e4f565b925060208401359150604084013561319e81612e15565b5f80604083850312156131ee575f80fd5b82356131f981612e4f565b91506020830135612ef581612e15565b5f806040838503121561321a575f80fd5b8235612ee581612e4f565b5f805f60608486031215613237575f80fd5b833561324281612e15565b9250602084013561325281612e15565b9150604084013561319e81612e15565b5f60e08201905060018060a01b03835116825260ff602084015116602083015260ff604084015116604083015264ffffffffff606084015116606083015260808301516132b8608084018264ffffffffff169052565b5060a08301516132d360a08401826001600160a01b03169052565b5060c092830151919092015290565b5f80604083850312156132f3575f80fd5b8235612ee581612dd9565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215613322575f80fd5b5051919050565b5f60208284031215613339575f80fd5b8151610c5881612dd9565b5f60208284031215613354575f80fd5b8151610c5881612fc9565b5f6020828403121561336f575f80fd5b8151610c5881612e4f565b5f6020828403121561338a575f80fd5b8151610c5881612e15565b600181811c908216806133a957607f821691505b6020821081036133c757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612df5575f80fd5b5f60e0828403128015613416575f80fd5b5061341f612fa0565b825161342a81612e15565b8152602083015161343a81612dd9565b6020820152604083015161344d81612dd9565b604082015261345e606084016133f1565b606082015261346f608084016133f1565b608082015260a083015161348281612e15565b60a082015260c0928301519281019290925250919050565b5f80858511156134a8575f80fd5b838611156134b4575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156134f2576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561267357805f5260205f20601f840160051c8101602085101561355d5750805b601f840160051c820191505b81811015611f90575f8155600101613569565b815167ffffffffffffffff81111561359657613596612f8c565b6135aa816135a48454613395565b84613538565b6020601f8211600181146135dc575f83156135c55750848201515b5f19600385901b1c1916600184901b178455611f90565b5f84815260208120601f198516915b8281101561360b57878501518255602094850194600190920191016135eb565b508482101561362857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f9061119890830184612e89565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f806040838503121561369d575f80fd5b82516136a881612fc9565b602084015190925063ffffffff81168114612ef5575f80fdfea26469706673582212201b25be5c7d42e831bc63a611aa20b04766e14bdf12251dce1f2c996a5837b68364736f6c634300081a0033608060405234801561000f575f80fd5b50604051611f86380380611f8683398101604081905261002e9161011d565b604051806060016040528060248152602001611f626024913960408051808201909152600681526511125413919560d21b60208201525f61006f83826101db565b50600161007c82826101db565b5050506001600160a01b0381166100a65760405163019aebf560e41b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790556100ca466100ec565b600d8190556100da90600a61038e565b600e55506004600f555f6010556103d0565b5f81815b8115610116578061010081610399565b915061010f9050600a836103b1565b91506100f0565b9392505050565b5f6020828403121561012d575f80fd5b81516001600160a01b0381168114610116575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016b57607f821691505b60208210810361018957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d657805f5260205f20601f840160051c810160208510156101b45750805b601f840160051c820191505b818110156101d3575f81556001016101c0565b50505b505050565b81516001600160401b038111156101f4576101f4610143565b610208816102028454610157565b8461018f565b6020601f82116001811461023a575f83156102235750848201515b5f19600385901b1c1916600184901b1784556101d3565b5f84815260208120601f198516915b828110156102695787850151825560209485019460019092019101610249565b508482101561028657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102e4578085048111156102c8576102c8610295565b60018416156102d657908102905b60019390931c9280026102ad565b935093915050565b5f826102fa57506001610388565b8161030657505f610388565b816001811461031c576002811461032657610342565b6001915050610388565b60ff84111561033757610337610295565b50506001821b610388565b5060208310610133831016604e8410600b8410161715610365575081810a610388565b6103715f1984846102a9565b805f190482111561038457610384610295565b0290505b92915050565b5f61011683836102ec565b5f600182016103aa576103aa610295565b5060010190565b5f826103cb57634e487b7160e01b5f52601260045260245ffd5b500490565b611b85806103dd5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80634f6ccce711610109578063a3f4df7e1161009e578063caa0f92a1161006e578063caa0f92a1461040c578063e985e9c514610414578063f21de1e814610427578063f76f8d7814610438575f80fd5b8063a3f4df7e146103cb578063b88d4fde146103d3578063c2c75839146103e6578063c87b56dd146103f9575f80fd5b8063862440e2116100d9578063862440e21461039557806395d89b41146103a8578063a22cb465146103b0578063a2309ff8146103c3575f80fd5b80634f6ccce714610353578063598e2892146103665780636352211e1461036f57806370a0823114610382575f80fd5b806323b872dd1161017f57806340c10f191161014f57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e7914610329575f80fd5b806323b872dd146102995780632e85b1f3146102ac5780632f745c59146102b5578063342ec443146102c8575f80fd5b8063081812fc116101ba578063081812fc1461023e578063095ea7b31461026957806318160ddd1461027e578063221375a614610286575f80fd5b806301ffc9a7146101e05780630559ea471461020857806306fdde0314610229575b5f80fd5b6101f36101ee3660046114af565b61045d565b60405190151581526020015b60405180910390f35b61021b6102163660046114ca565b610487565b6040519081526020016101ff565b6102316104b9565b6040516101ff919061150f565b61025161024c3660046114ca565b610548565b6040516001600160a01b0390911681526020016101ff565b61027c61027736600461153c565b61056f565b005b60085461021b565b61021b61029436600461160d565b61057e565b61027c6102a7366004611667565b610624565b61021b61083581565b61021b6102c336600461153c565b6106ce565b6102516102d63660046114ca565b5f908152600a60205260409020546001600160a01b031690565b61027c6102fe36600461153c565b610731565b61027c610311366004611667565b610769565b61027c6103243660046114ca565b610783565b6101f36103373660046114ca565b5f908152600260205260409020546001600160a01b0316151590565b61021b6103613660046114ca565b6107dc565b61021b61044d81565b61025161037d3660046114ca565b610831565b61021b6103903660046116a1565b61083b565b61027c6103a33660046116ba565b610880565b610231610928565b61027c6103be3660046116fe565b610937565b60105461021b565b610231610942565b61027c6103e1366004611737565b61095e565b61021b6103f43660046117ae565b61097b565b6102316104073660046114ca565b610a05565b61021b610aac565b6101f36104223660046117ce565b610abd565b600c546001600160a01b0316610251565b6102316040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610481575061048182610aea565b92915050565b5f600d5446600e548461049a9190611813565b6104a4919061182a565b6104af906064611813565b610481919061182a565b60605f80546104c79061183d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061183d565b801561053e5780601f106105155761010080835404028352916020019161053e565b820191905f5260205f20905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b5f61055282610b39565b505f828152600460205260409020546001600160a01b0316610481565b61057a828233610b71565b5050565b600c545f906001600160a01b031633146105b257604051636db0231160e11b81523360048201526024015b60405180910390fd5b6105ba610b7e565b90506001600160a01b038316156105f2575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b815115610612575f818152600b6020526040902061061083826118b9565b505b61061d848285610ba3565b9392505050565b61062f838383610c07565b5f818152600a60205260409020546001600160a01b0316156106c9575f818152600a602052604090819020549051630568956b60e51b81526001600160a01b038581166004830152848116602483015260448201849052336064830181905292169063ad12ad60906084015f604051808303815f87803b1580156106b1575f80fd5b505af11580156106c3573d5f803e3d5ffd5b50505050505b505050565b5f6106d88361083b565b82106107095760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a9565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075e57604051636db0231160e11b81523360048201526024016105a9565b61057a82825f610ba3565b6106c983838360405180602001604052805f81525061095e565b600c546001600160a01b031633146107b057604051636db0231160e11b81523360048201526024016105a9565b6107b981610b39565b506107c381610c8a565b5f818152600b602052604081206107d991611450565b50565b5f6107e660085490565b821061080e5760405163295f44f760e21b81525f6004820152602481018390526044016105a9565b6008828154811061082157610821611974565b905f5260205f2001549050919050565b5f61048182610b39565b5f6001600160a01b038216610865576040516322718ad960e21b81525f60048201526024016105a9565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b031633146108ad57604051636db0231160e11b81523360048201526024016105a9565b80515f036108ce57604051639827d56160e01b815260040160405180910390fd5b5f828152600b6020526040812080546108e69061183d565b90501115610907576040516310500e0d60e11b815260040160405180910390fd5b61091082610b39565b505f828152600b602052604090206106c982826118b9565b6060600180546104c79061183d565b61057a338383610cc2565b604051806060016040528060248152602001611b2c6024913981565b610969848484610624565b61097584848484610d60565b50505050565b5f4682036109bb57600d5482600e54856109959190611813565b61099f919061182a565b6109aa906064611813565b6109b4919061182a565b9050610481565b5f6109c583610e86565b905080836109d482600a611a6b565b6109de9087611813565b6109e8919061182a565b6109f3906064611813565b6109fd919061182a565b915050610481565b6060610a1082610b39565b505f828152600b602052604090208054610a299061183d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a559061183d565b8015610aa05780601f10610a7757610100808354040283529160200191610aa0565b820191905f5260205f20905b815481529060010190602001808311610a8357829003601f168201915b50505050509050919050565b5f610ab8600f54610487565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610b1a57506001600160e01b03198216635b5e139f60e01b145b8061048157506301ffc9a760e01b6001600160e01b0319831614610481565b5f818152600260205260408120546001600160a01b03168061048157604051637e27328960e01b8152600481018490526024016105a9565b6106c98383836001610eb0565b5f610b8a600f54610487565b600f80549192505f610b9b83611a76565b919050555090565b60108054905f610bb283611a76565b9190505550610bc18383610fb4565b604080518381526001600160a01b03831660208201527f453826441818dd705229212b6345c5fbc2094ee234f134ae2cb2bdf74dc1ccfe910160405180910390a1505050565b6001600160a01b038216610c3057604051633250574960e11b81525f60048201526024016105a9565b5f610c3c838333610fcd565b9050836001600160a01b0316816001600160a01b031614610975576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a9565b5f610c965f835f610fcd565b90506001600160a01b03811661057a57604051637e27328960e01b8152600481018390526024016105a9565b6001600160a01b038216610cf457604051630b61174360e31b81526001600160a01b03831660048201526024016105a9565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561097557604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610da2903390889087908790600401611a8e565b6020604051808303815f875af1925050508015610ddc575060408051601f3d908101601f19168201909252610dd991810190611aca565b60015b610e43573d808015610e09576040519150601f19603f3d011682016040523d82523d5f602084013e610e0e565b606091505b5080515f03610e3b57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e7f57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b5050505050565b5f81815b811561061d5780610e9a81611a76565b9150610ea99050600a83611ae5565b9150610e8a565b8080610ec457506001600160a01b03821615155b15610f85575f610ed384610b39565b90506001600160a01b03831615801590610eff5750826001600160a01b0316816001600160a01b031614155b8015610f125750610f108184610abd565b155b15610f3b5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a9565b8115610f835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61057a828260405180602001604052805f8152506110a0565b5f80610fda8585856110b6565b90506001600160a01b0381166110365761103184600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611059565b846001600160a01b0316816001600160a01b0316146110595761105981856111a8565b6001600160a01b0385166110755761107084611235565b611098565b846001600160a01b0316816001600160a01b0316146110985761109885856112dc565b949350505050565b6110aa838361132a565b6106c95f848484610d60565b5f828152600260205260408120546001600160a01b03908116908316156110e2576110e281848661138b565b6001600160a01b0381161561111c576110fd5f855f80610eb0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b0385161561114a576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f6111b28361083b565b5f83815260076020526040902054909150808214611203576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f9061124690600190611b04565b5f838152600960205260408120546008805493945090928490811061126d5761126d611974565b905f5260205f2001549050806008838154811061128c5761128c611974565b5f9182526020808320909101929092558281526009909152604080822084905585825281205560088054806112c3576112c3611b17565b600190038181905f5260205f20015f9055905550505050565b5f60016112e88461083b565b6112f29190611b04565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661135357604051633250574960e11b81525f60048201526024016105a9565b5f61135f83835f610fcd565b90506001600160a01b038116156106c9576040516339e3563760e11b81525f60048201526024016105a9565b6113968383836113ef565b6106c9576001600160a01b0383166113c457604051637e27328960e01b8152600481018290526024016105a9565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a9565b5f6001600160a01b038316158015906110985750826001600160a01b0316846001600160a01b0316148061142857506114288484610abd565b806110985750505f908152600460205260409020546001600160a01b03908116911614919050565b50805461145c9061183d565b5f825580601f1061146b575050565b601f0160209004905f5260205f20908101906107d991905b80821115611496575f8155600101611483565b5090565b6001600160e01b0319811681146107d9575f80fd5b5f602082840312156114bf575f80fd5b813561061d8161149a565b5f602082840312156114da575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61061d60208301846114e1565b80356001600160a01b0381168114611537575f80fd5b919050565b5f806040838503121561154d575f80fd5b61155683611521565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561159257611592611564565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156115c1576115c1611564565b6040528381529050808284018510156115d8575f80fd5b838360208301375f60208583010152509392505050565b5f82601f8301126115fe575f80fd5b61061d83833560208501611578565b5f805f6060848603121561161f575f80fd5b61162884611521565b925061163660208501611521565b9150604084013567ffffffffffffffff811115611651575f80fd5b61165d868287016115ef565b9150509250925092565b5f805f60608486031215611679575f80fd5b61168284611521565b925061169060208501611521565b929592945050506040919091013590565b5f602082840312156116b1575f80fd5b61061d82611521565b5f80604083850312156116cb575f80fd5b82359150602083013567ffffffffffffffff8111156116e8575f80fd5b6116f4858286016115ef565b9150509250929050565b5f806040838503121561170f575f80fd5b61171883611521565b91506020830135801515811461172c575f80fd5b809150509250929050565b5f805f806080858703121561174a575f80fd5b61175385611521565b935061176160208601611521565b925060408501359150606085013567ffffffffffffffff811115611783575f80fd5b8501601f81018713611793575f80fd5b6117a287823560208401611578565b91505092959194509250565b5f80604083850312156117bf575f80fd5b50508035926020909101359150565b5f80604083850312156117df575f80fd5b6117e883611521565b91506117f660208401611521565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610481576104816117ff565b80820180821115610481576104816117ff565b600181811c9082168061185157607f821691505b60208210810361186f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106c957805f5260205f20601f840160051c8101602085101561189a5750805b601f840160051c820191505b81811015610e7f575f81556001016118a6565b815167ffffffffffffffff8111156118d3576118d3611564565b6118e7816118e1845461183d565b84611875565b6020601f821160018114611919575f83156119025750848201515b5f19600385901b1c1916600184901b178455610e7f565b5f84815260208120601f198516915b828110156119485787850151825560209485019460019092019101611928565b508482101561196557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b6001815b60018411156119c3578085048111156119a7576119a76117ff565b60018416156119b557908102905b60019390931c92800261198c565b935093915050565b5f826119d957506001610481565b816119e557505f610481565b81600181146119fb5760028114611a0557611a21565b6001915050610481565b60ff841115611a1657611a166117ff565b50506001821b610481565b5060208310610133831016604e8410600b8410161715611a44575081810a610481565b611a505f198484611988565b805f1904821115611a6357611a636117ff565b029392505050565b5f61061d83836119cb565b5f60018201611a8757611a876117ff565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611ac0908301846114e1565b9695505050505050565b5f60208284031215611ada575f80fd5b815161061d8161149a565b5f82611aff57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610481576104816117ff565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201d31494400f2f6b1803c0ba290746b839b92f1ea950e7d4b79b95b462fe31cb464736f6c634300081a003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
1502
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610319575f3560e01c8063a48f42e0116101af578063caed9897116100fe578063e278c9241161009e578063e74d052f11610079578063e74d052f14610861578063f40d7c3014610874578063fbe4b7c01461087c578063fff74f6c14610884575f80fd5b8063e278c9241461082a578063e285c9c414610851578063e2b178a014610859575f80fd5b8063d2213b5b116100d9578063d2213b5b1461078e578063d39e6043146107ae578063d9247149146107ea578063dfca014214610812575f80fd5b8063caed989714610738578063cefa7fd614610749578063d1982d881461077b575f80fd5b8063b303aaf811610169578063bf8e179711610144578063bf8e1797146106b7578063c0c53b8b146106eb578063c1b8411a146106fe578063c3c5a54714610725575f80fd5b8063b303aaf814610681578063b624e2ba14610694578063bf7e214f146106a7575f80fd5b8063a48f42e014610606578063a5df9e4e14610619578063a7050a561461062c578063abbbbd0c1461063f578063ae8dfb7914610666578063b08c0b541461066e575f80fd5b806338bb429a1161026b5780637a9e5e4b116102255780638b09a5f0116102005780638b09a5f0146105775780638e7b3927146105975780638fb36037146105be57806396f4b69e146105df575f80fd5b80637a9e5e4b14610552578063839f700c14610567578063893d20e81461056f575f80fd5b806338bb429a146104745780633fe9300e14610487578063598e2892146104a95780635c0e6264146104e85780635e546bee146104fb578063644c45e01461052c575f80fd5b8063120726c3116102d65780631a848cfb116102b15780631a848cfb1461040c5780632a0acc6a146104145780632b91e0a91461043b5780632de837e01461044e575f80fd5b8063120726c3146103c057806314afd79e146103e657806317dc5e2a146103f9575f80fd5b806301f6b5a21461031d57806301ffc9a7146103435780630e41142e146103665780630e6d1de9146103805780630e9ed68b1461038857806311edceaa146103ad575b5f80fd5b61033061032b366004612d9b565b6108aa565b6040519081526020015b60405180910390f35b610356610351366004612db2565b6108ce565b604051901515815260200161033a565b61036e610912565b60405160ff909116815260200161033a565b61036e610a04565b600b546001600160a01b03165b6040516001600160a01b03909116815260200161033a565b6103566103bb366004612dfa565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b6103956103f4366004612e34565b610ad0565b610356610407366004612e34565b610bfa565b610330610c5f565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610449366004612e34565b610ce0565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b610395610482366004612e6e565b610d23565b61049c60405180602001604052805f81525081565b60405161033a9190612eb7565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161033a565b6103566104f6366004612ec9565b610d96565b6104d0610509366004612e34565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b610565610560366004612e34565b610dc9565b005b610330600381565b610395610e46565b61058a610585366004612e34565b610e50565b60405161033a9190612f00565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b6105c6610fb7565b6040516001600160e01b0319909116815260200161033a565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b61058a610614366004612e6e565b610fd9565b6104d0610627366004613117565b6110a9565b6104d061063a366004613149565b6111a1565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b610330600281565b61056561067c3660046131a9565b6114a9565b61035661068f3660046131dd565b61176f565b6103566106a2366004613209565b611899565b5f546001600160a01b0316610395565b6103956106c5366004612e6e565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b6105656106f9366004613225565b6118c5565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610733366004612e34565b611a8c565b600a546001600160a01b0316610395565b6104d0610757366004612e6e565b6001600160601b039081165f90815260036020526040902054600160601b90041690565b6104d0610789366004613117565b611b00565b6107a161079c366004612dfa565b611c79565b60405161033a9190613262565b6103956107bc3660046132e2565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104d06107f8366004612d9b565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b0316610395565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610395600181565b610395611d22565b61035661086f366004612e6e565b611da3565b61036e611dfc565b600254610330565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b5f600282815481106108be576108be6132fe565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108fe57506001600160e01b03198216630398724f60e11b145b1561090b57506001919050565b505f919050565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a29190613312565b6040518263ffffffff1660e01b81526004016109c091815260200190565b602060405180830381865af41580156109db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613329565b905090565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa158015610aa6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613344565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b94919061335f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610bd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca919061337a565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610c5890600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cbc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613312565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610aca90600160c01b900460ff166008610c4d565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610b55565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610dc18184611899565b949350505050565b5f5433906001600160a01b03168114610e045760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e39576040516361798f2f60e11b81526001600160a01b0383166004820152602401610dfb565b610e4282611e4e565b5050565b5f6109ff30610ad0565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610f3090613395565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5c90613395565b8015610fa75780601f10610f7e57610100808354040283529160200191610fa7565b820191905f5260205f20905b815481529060010190602001808311610f8a57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610fcd57505f90565b50638fb3603760e01b90565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610f3090613395565b5f6110b6335b5f36611ea1565b60808201516040808401516020808601516001600160601b03165f90815260039091529190912054600160c01b900460ff166001600160a01b0383166111455760ff8083165f90815260086020908152604080832085851684529091528120549091161515900361114057828282604051639c52edaf60e01b8152600401610dfb939291906133cd565b61118f565b60ff8083165f90815260076020908152604080832085851684529091528120549091161515900361118f57828282604051639c52edaf60e01b8152600401610dfb939291906133cd565b61119885611f97565b95945050505050565b5f6111ab336110af565b60808401516001600160a01b0381166111d757604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af4158015611227573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124b9190613344565b156112745760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610dfb565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156112c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e89190613344565b1561131a5760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610dfb565b611336856040015161132a600890565b60ff9081169116141590565b1561136e5760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610dfb565b61139c85602001517f00000000000000000000000000000000000000000000000000000000000000006124c9565b156113e3576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610dfb565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b03161561142f5780848460405163ed45a40f60e01b8152600401610dfb939291906133cd565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a161119885611f97565b6114b2336110af565b466001146114d55760405163e657d2e760e01b8152466004820152602401610dfb565b815f03611500576040516391b6b54560e01b81526001600160601b0384166004820152602401610dfb565b6001600160a01b0381166115395760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610dfb565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa1580156115a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c99190613312565b905061164c8473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b815260040161160891815260200190565b602060405180830381865af4158015611623573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611647919061335f565b6124c9565b1561167c57604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610dfb565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd0d9fccd0d257e9ea3515cef639e01478a9c16c8c046bd7216820ca8b26359529181900360600190a1611769836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001611722600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f61254e565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af41580156117fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611822919061335f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611888919061337a565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610c58565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561190a5750825b90505f8267ffffffffffffffff1660011480156119265750303b155b905081158015611934575080155b156119525760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197c57845460ff60401b1916600160401b1785555b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146119c5576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b805492891692909116919091179055611a1c612678565b600980546001600160601b0319166001600160601b03929092169190911790558315611a8257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610aa6573d5f803e3d5ffd5b5f611b0a336110af565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611b66576040516368f27c4360e11b815260040160405180910390fd5b611bd58273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d9190613329565b80611c265750611c268173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b80611c375750611c37816001610c4d565b80611c485750611c48816008610c4d565b15611c705783608001518282604051639c52edaf60e01b8152600401610dfb939291906133cd565b610dc184611f97565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613405565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff919061337a565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611ae5565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611ed4611eb75f546001600160a01b031690565b8630611ec660045f898b61349a565b611ecf916134c1565b6128f0565b9150915081611f905763ffffffff811615611f6d575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611f2e908890889088906004016134f9565b5f604051808303815f87803b158015611f45575f80fd5b505af1158015611f57573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611f909050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610dfb565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c084019161205890613395565b80601f016020809104026020016040519081016040528092919081815260200182805461208490613395565b80156120cf5780601f106120a6576101008083540402835291602001916120cf565b820191905f5260205f20905b8154815290600101906020018083116120b257829003601f168201915b5050509190925250505060808101519091506001461461214557612113837f00000000000000000000000000000000000000000000000000000000000000006129f8565b1561214557604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610dfb565b5f612157878988866060015186612a42565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121da9190613312565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561222b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224f919061335f565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081612394919061357c565b509050506123a28a88612a94565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a691612469918b91889190600401613637565b6020604051808303815f875af1158015612485573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124a99190613312565b90508181146124ba576124ba613662565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561252a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c589190613344565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125d89190613344565b61260a578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610dfb565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126738282612b97565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ee919061337a565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa158015612756573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277a9190613312565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef919061335f565b92506128896040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001612845600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612b97565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156128d5575f80fd5b505af11580156128e7573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161295e9190613676565b5f60405180830381855afa9150503d805f8114612996576040519150601f19603f3d011682016040523d82523d5f602084013e61299b565b606091505b509150915081156129ed5760408151106129cd57808060200190518101906129c3919061368c565b90945092506129ed565b60208151106129ed57808060200190518101906129ea9190613344565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d9060440161250f565b5f612a4e85601e610c4d565b15612a5a57505f611198565b6001600160a01b038416612a7c578215612a75575080611198565b505f611198565b8515612a89575082611198565b505f95945050505050565b6001600160a01b03811615610e42576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b389190613344565b15612b6157604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610dfb565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612c67908261357c565b509050508015612c8257612c82825f01518360800151612a94565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d35919061335f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612d81575f80fd5b505af1158015612d93573d5f803e3d5ffd5b505050505050565b5f60208284031215612dab575f80fd5b5035919050565b5f60208284031215612dc2575f80fd5b81356001600160e01b031981168114610c58575f80fd5b60ff81168114612de7575f80fd5b50565b8035612df581612dd9565b919050565b5f60208284031215612e0a575f80fd5b8135610c5881612dd9565b6001600160a01b0381168114612de7575f80fd5b8035612df581612e15565b5f60208284031215612e44575f80fd5b8135610c5881612e15565b6001600160601b0381168114612de7575f80fd5b8035612df581612e4f565b5f60208284031215612e7e575f80fd5b8135610c5881612e4f565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c586020830184612e89565b5f8060408385031215612eda575f80fd5b8235612ee581612e15565b91506020830135612ef581612dd9565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612f48608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610dc1610100840182612e89565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612fc357612fc3612f8c565b60405290565b8015158114612de7575f80fd5b8035612df581612fc9565b5f82601f830112612ff0575f80fd5b813567ffffffffffffffff81111561300a5761300a612f8c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561303957613039612f8c565b604052818152838201602001851015613050575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e0828403121561307c575f80fd5b613084612fa0565b905061308f82612e63565b815261309d60208301612e63565b60208201526130ae60408301612dea565b60408201526130bf60608301612fd6565b60608201526130d060808301612e29565b60808201526130e160a08301612e29565b60a082015260c082013567ffffffffffffffff8111156130ff575f80fd5b61310b84828501612fe1565b60c08301525092915050565b5f60208284031215613127575f80fd5b813567ffffffffffffffff81111561313d575f80fd5b610dc18482850161306c565b5f805f6060848603121561315b575f80fd5b833567ffffffffffffffff811115613171575f80fd5b61317d8682870161306c565b935050602084013561318e81612dd9565b9150604084013561319e81612dd9565b809150509250925092565b5f805f606084860312156131bb575f80fd5b83356131c681612e4f565b925060208401359150604084013561319e81612e15565b5f80604083850312156131ee575f80fd5b82356131f981612e4f565b91506020830135612ef581612e15565b5f806040838503121561321a575f80fd5b8235612ee581612e4f565b5f805f60608486031215613237575f80fd5b833561324281612e15565b9250602084013561325281612e15565b9150604084013561319e81612e15565b5f60e08201905060018060a01b03835116825260ff602084015116602083015260ff604084015116604083015264ffffffffff606084015116606083015260808301516132b8608084018264ffffffffff169052565b5060a08301516132d360a08401826001600160a01b03169052565b5060c092830151919092015290565b5f80604083850312156132f3575f80fd5b8235612ee581612dd9565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215613322575f80fd5b5051919050565b5f60208284031215613339575f80fd5b8151610c5881612dd9565b5f60208284031215613354575f80fd5b8151610c5881612fc9565b5f6020828403121561336f575f80fd5b8151610c5881612e4f565b5f6020828403121561338a575f80fd5b8151610c5881612e15565b600181811c908216806133a957607f821691505b6020821081036133c757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612df5575f80fd5b5f60e0828403128015613416575f80fd5b5061341f612fa0565b825161342a81612e15565b8152602083015161343a81612dd9565b6020820152604083015161344d81612dd9565b604082015261345e606084016133f1565b606082015261346f608084016133f1565b608082015260a083015161348281612e15565b60a082015260c0928301519281019290925250919050565b5f80858511156134a8575f80fd5b838611156134b4575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156134f2576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561267357805f5260205f20601f840160051c8101602085101561355d5750805b601f840160051c820191505b81811015611f90575f8155600101613569565b815167ffffffffffffffff81111561359657613596612f8c565b6135aa816135a48454613395565b84613538565b6020601f8211600181146135dc575f83156135c55750848201515b5f19600385901b1c1916600184901b178455611f90565b5f84815260208120601f198516915b8281101561360b57878501518255602094850194600190920191016135eb565b508482101561362857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f9061119890830184612e89565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f806040838503121561369d575f80fd5b82516136a881612fc9565b602084015190925063ffffffff81168114612ef5575f80fdfea26469706673582212201b25be5c7d42e831bc63a611aa20b04766e14bdf12251dce1f2c996a5837b68364736f6c634300081a0033",
715
1503
  "linkReferences": {
716
- "contracts/types/NftId.sol": {
1504
+ "contracts/type/NftId.sol": {
717
1505
  "NftIdLib": [
718
1506
  {
719
1507
  "length": 20,
720
- "start": 5969
1508
+ "start": 277
721
1509
  },
722
1510
  {
723
1511
  "length": 20,
724
- "start": 6341
1512
+ "start": 789
725
1513
  },
726
1514
  {
727
1515
  "length": 20,
728
- "start": 6508
1516
+ "start": 914
729
1517
  },
730
1518
  {
731
1519
  "length": 20,
732
- "start": 8737
1520
+ "start": 1225
733
1521
  },
734
1522
  {
735
1523
  "length": 20,
736
- "start": 10306
737
- }
738
- ]
739
- },
740
- "contracts/types/ObjectType.sol": {
741
- "ObjectTypeLib": [
1524
+ "start": 3294
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 3539
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 3888
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 7723
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 8296
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 10437
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 10938
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 11707
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 13543
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 14309
1561
+ },
1562
+ {
1563
+ "length": 20,
1564
+ "start": 14448
1565
+ },
1566
+ {
1567
+ "length": 20,
1568
+ "start": 14983
1569
+ },
1570
+ {
1571
+ "length": 20,
1572
+ "start": 15636
1573
+ },
742
1574
  {
743
1575
  "length": 20,
744
- "start": 10457
1576
+ "start": 15824
1577
+ },
1578
+ {
1579
+ "length": 20,
1580
+ "start": 16333
745
1581
  }
746
1582
  ]
747
1583
  },
748
- "contracts/types/Version.sol": {
749
- "VersionLib": [
1584
+ "contracts/type/ObjectType.sol": {
1585
+ "ObjectTypeLib": [
750
1586
  {
751
1587
  "length": 20,
752
- "start": 2897
1588
+ "start": 9600
753
1589
  },
754
1590
  {
755
1591
  "length": 20,
756
- "start": 9325
757
- }
758
- ],
759
- "VersionPartLib": [
1592
+ "start": 11872
1593
+ },
760
1594
  {
761
1595
  "length": 20,
762
- "start": 231
1596
+ "start": 11989
763
1597
  },
764
1598
  {
765
1599
  "length": 20,
766
- "start": 9055
767
- },
1600
+ "start": 12494
1601
+ }
1602
+ ]
1603
+ },
1604
+ "contracts/type/Version.sol": {
1605
+ "VersionPartLib": [
768
1606
  {
769
1607
  "length": 20,
770
- "start": 9183
1608
+ "start": 7177
771
1609
  },
772
1610
  {
773
1611
  "length": 20,
774
- "start": 9356
1612
+ "start": 9443
775
1613
  }
776
1614
  ]
777
1615
  }
778
1616
  },
779
1617
  "deployedLinkReferences": {
780
- "contracts/types/NftId.sol": {
1618
+ "contracts/type/NftId.sol": {
781
1619
  "NftIdLib": [
782
1620
  {
783
1621
  "length": 20,
784
- "start": 943
1622
+ "start": 2871
1623
+ },
1624
+ {
1625
+ "length": 20,
1626
+ "start": 3444
785
1627
  },
786
1628
  {
787
1629
  "length": 20,
788
- "start": 1315
1630
+ "start": 5585
789
1631
  },
790
1632
  {
791
1633
  "length": 20,
792
- "start": 1482
1634
+ "start": 6086
793
1635
  },
794
1636
  {
795
1637
  "length": 20,
796
- "start": 3711
1638
+ "start": 6855
797
1639
  },
798
1640
  {
799
1641
  "length": 20,
800
- "start": 5280
1642
+ "start": 8691
1643
+ },
1644
+ {
1645
+ "length": 20,
1646
+ "start": 9457
1647
+ },
1648
+ {
1649
+ "length": 20,
1650
+ "start": 9596
1651
+ },
1652
+ {
1653
+ "length": 20,
1654
+ "start": 10131
1655
+ },
1656
+ {
1657
+ "length": 20,
1658
+ "start": 10784
1659
+ },
1660
+ {
1661
+ "length": 20,
1662
+ "start": 10972
1663
+ },
1664
+ {
1665
+ "length": 20,
1666
+ "start": 11481
801
1667
  }
802
1668
  ]
803
1669
  },
804
- "contracts/types/ObjectType.sol": {
1670
+ "contracts/type/ObjectType.sol": {
805
1671
  "ObjectTypeLib": [
806
1672
  {
807
1673
  "length": 20,
808
- "start": 5431
809
- }
810
- ]
811
- },
812
- "contracts/types/Version.sol": {
813
- "VersionLib": [
1674
+ "start": 4748
1675
+ },
814
1676
  {
815
1677
  "length": 20,
816
- "start": 4299
817
- }
818
- ],
819
- "VersionPartLib": [
1678
+ "start": 7020
1679
+ },
820
1680
  {
821
1681
  "length": 20,
822
- "start": 4029
1682
+ "start": 7137
823
1683
  },
824
1684
  {
825
1685
  "length": 20,
826
- "start": 4157
1686
+ "start": 7642
1687
+ }
1688
+ ]
1689
+ },
1690
+ "contracts/type/Version.sol": {
1691
+ "VersionPartLib": [
1692
+ {
1693
+ "length": 20,
1694
+ "start": 2325
827
1695
  },
828
1696
  {
829
1697
  "length": 20,
830
- "start": 4330
1698
+ "start": 4591
831
1699
  }
832
1700
  ]
833
1701
  }