@etherisc/gif-next 0.0.2-f63e99e-607 → 0.0.2-f677999-878

Sign up to get free protection for your applications and to get access to all the features.
Files changed (745) hide show
  1. package/README.md +146 -22
  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 +1379 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +571 -523
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1539 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1030 -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 +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -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 +1523 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -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 +559 -559
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +440 -161
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +409 -3004
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1612 -561
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +495 -361
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -103
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3738 -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/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  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 +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +451 -322
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +287 -251
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +178 -185
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +628 -171
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +391 -201
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +958 -202
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +355 -323
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -130
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +182 -207
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +353 -167
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +137 -159
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +156 -171
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +689 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +337 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +143 -0
  364. package/contracts/authorization/IAuthorization.sol +74 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  369. package/contracts/distribution/Distribution.sol +289 -0
  370. package/contracts/distribution/DistributionService.sol +380 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +103 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +437 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +56 -25
  389. package/contracts/instance/IInstanceService.sol +59 -17
  390. package/contracts/instance/Instance.sol +172 -368
  391. package/contracts/instance/InstanceAdmin.sol +437 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  393. package/contracts/instance/InstanceReader.sol +409 -78
  394. package/contracts/instance/InstanceService.sol +348 -126
  395. package/contracts/instance/InstanceServiceManager.sol +14 -31
  396. package/contracts/instance/InstanceStore.sol +298 -0
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +8 -8
  405. package/contracts/instance/module/IComponents.sol +51 -0
  406. package/contracts/instance/module/IDistribution.sol +11 -6
  407. package/contracts/instance/module/IPolicy.sol +59 -19
  408. package/contracts/instance/module/IRisk.sol +4 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  420. package/contracts/pool/BundleService.sol +395 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +115 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +165 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolLib.sol +216 -0
  427. package/contracts/pool/PoolService.sol +757 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +259 -0
  430. package/contracts/product/ApplicationServiceManager.sol +38 -0
  431. package/contracts/product/BasicProduct.sol +51 -0
  432. package/contracts/product/BasicProductAuthorization.sol +56 -0
  433. package/contracts/product/ClaimService.sol +632 -0
  434. package/contracts/product/ClaimServiceManager.sol +38 -0
  435. package/contracts/product/IApplicationService.sol +66 -0
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +95 -0
  438. package/contracts/product/IPricingService.sol +39 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +30 -0
  441. package/contracts/product/PolicyService.sol +682 -0
  442. package/contracts/product/PolicyServiceLib.sol +65 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +304 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +469 -0
  447. package/contracts/product/RiskService.sol +144 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +82 -35
  450. package/contracts/registry/IRegistry.sol +122 -50
  451. package/contracts/registry/IRegistryService.sol +45 -16
  452. package/contracts/registry/IRelease.sol +26 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -1
  454. package/contracts/registry/Registry.sol +545 -304
  455. package/contracts/registry/RegistryAdmin.sol +354 -0
  456. package/contracts/registry/RegistryService.sol +126 -284
  457. package/contracts/registry/RegistryServiceManager.sol +26 -53
  458. package/contracts/registry/ReleaseAdmin.sol +245 -0
  459. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  460. package/contracts/registry/ReleaseRegistry.sol +511 -0
  461. package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
  462. package/contracts/registry/TokenRegistry.sol +261 -59
  463. package/contracts/shared/Component.sol +227 -0
  464. package/contracts/shared/ComponentService.sol +692 -0
  465. package/contracts/shared/ComponentServiceManager.sol +38 -0
  466. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  467. package/contracts/shared/ContractLib.sol +253 -0
  468. package/contracts/shared/IComponent.sol +61 -0
  469. package/contracts/shared/IComponentService.sol +112 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +15 -12
  474. package/contracts/shared/IPolicyHolder.sol +35 -0
  475. package/contracts/shared/IRegisterable.sol +25 -5
  476. package/contracts/shared/IRegistryLinked.sol +11 -0
  477. package/contracts/shared/IService.sol +13 -5
  478. package/contracts/shared/InitializableERC165.sol +27 -0
  479. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +75 -84
  484. package/contracts/shared/PolicyHolder.sol +62 -0
  485. package/contracts/shared/Registerable.sol +57 -38
  486. package/contracts/shared/RegistryLinked.sol +38 -0
  487. package/contracts/shared/Service.sol +44 -33
  488. package/contracts/shared/TokenHandler.sol +326 -12
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +165 -0
  491. package/contracts/staking/IStakingService.sol +165 -0
  492. package/contracts/staking/StakeManagerLib.sol +224 -0
  493. package/contracts/staking/Staking.sol +526 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +190 -0
  497. package/contracts/staking/StakingService.sol +430 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +605 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +27 -3
  504. package/contracts/type/ClaimId.sol +80 -0
  505. package/contracts/{types → type}/DistributorType.sol +2 -2
  506. package/contracts/{types → type}/Fee.sol +33 -23
  507. package/contracts/{types → type}/Key32.sol +2 -2
  508. package/contracts/type/Key32Set.sol +62 -0
  509. package/contracts/{types → type}/NftId.sol +28 -15
  510. package/contracts/type/NftIdSet.sol +62 -0
  511. package/contracts/type/ObjectType.sol +303 -0
  512. package/contracts/type/PayoutId.sol +82 -0
  513. package/contracts/{types → type}/Referral.sol +6 -1
  514. package/contracts/type/RequestId.sol +75 -0
  515. package/contracts/type/RiskId.sol +75 -0
  516. package/contracts/type/RoleId.sol +182 -0
  517. package/contracts/type/Seconds.sol +101 -0
  518. package/contracts/type/Selector.sol +107 -0
  519. package/contracts/{types → type}/StateId.sol +48 -4
  520. package/contracts/type/String.sol +53 -0
  521. package/contracts/{types → type}/Timestamp.sol +33 -19
  522. package/contracts/{types → type}/UFixed.sol +41 -121
  523. package/contracts/{types → type}/Version.sol +20 -7
  524. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  525. package/contracts/upgradeability/ProxyManager.sol +232 -0
  526. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  527. package/contracts/upgradeability/Versionable.sol +59 -0
  528. package/package.json +12 -8
  529. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  586. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  587. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  588. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  589. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  590. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  593. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  597. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  599. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  601. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  604. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  605. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  606. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -681
  607. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  608. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
  609. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  613. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -820
  615. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  617. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  618. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  619. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  620. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  621. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  622. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  623. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  624. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  625. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  626. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  627. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  628. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  629. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  630. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  631. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  632. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  633. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  634. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  635. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  636. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  637. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  638. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  639. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  640. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  641. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  642. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  643. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  644. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  645. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  646. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  647. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  648. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  649. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  651. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  653. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  655. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  657. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  659. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  661. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  662. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  663. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  665. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  667. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  669. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  671. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  673. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  675. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  677. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  679. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  681. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  683. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  685. package/contracts/components/BaseComponent.sol +0 -91
  686. package/contracts/components/Distribution.sol +0 -160
  687. package/contracts/components/IBaseComponent.sol +0 -25
  688. package/contracts/components/IDistributionComponent.sol +0 -44
  689. package/contracts/components/IPoolComponent.sol +0 -62
  690. package/contracts/components/IProductComponent.sol +0 -35
  691. package/contracts/components/Pool.sol +0 -243
  692. package/contracts/components/Product.sol +0 -297
  693. package/contracts/experiment/cloning/Cloner.sol +0 -47
  694. package/contracts/experiment/errors/Require.sol +0 -38
  695. package/contracts/experiment/errors/Revert.sol +0 -44
  696. package/contracts/experiment/inheritance/A.sol +0 -53
  697. package/contracts/experiment/inheritance/B.sol +0 -28
  698. package/contracts/experiment/inheritance/C.sol +0 -34
  699. package/contracts/experiment/inheritance/IA.sol +0 -13
  700. package/contracts/experiment/inheritance/IB.sol +0 -10
  701. package/contracts/experiment/inheritance/IC.sol +0 -12
  702. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  703. package/contracts/experiment/statemachine/ISM.sol +0 -25
  704. package/contracts/experiment/statemachine/SM.sol +0 -57
  705. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  706. package/contracts/experiment/types/TypeA.sol +0 -47
  707. package/contracts/experiment/types/TypeB.sol +0 -29
  708. package/contracts/instance/AccessManagedSimple.sol +0 -115
  709. package/contracts/instance/AccessManagerSimple.sol +0 -692
  710. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  711. package/contracts/instance/InstanceAccessManager.sol +0 -288
  712. package/contracts/instance/base/ComponentServiceBase.sol +0 -60
  713. package/contracts/instance/base/IInstanceBase.sol +0 -23
  714. package/contracts/instance/base/KeyValueStore.sol +0 -172
  715. package/contracts/instance/base/Lifecycle.sol +0 -100
  716. package/contracts/instance/module/IAccess.sol +0 -38
  717. package/contracts/instance/module/ISetup.sol +0 -44
  718. package/contracts/instance/module/ITreasury.sol +0 -23
  719. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  720. package/contracts/instance/service/DistributionService.sol +0 -102
  721. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  722. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  723. package/contracts/instance/service/IDistributionService.sol +0 -12
  724. package/contracts/instance/service/IPoolService.sol +0 -37
  725. package/contracts/instance/service/IProductService.sol +0 -107
  726. package/contracts/instance/service/PoolService.sol +0 -208
  727. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  728. package/contracts/shared/ContractDeployerLib.sol +0 -72
  729. package/contracts/shared/ERC165.sol +0 -25
  730. package/contracts/shared/ProxyManager.sol +0 -94
  731. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  732. package/contracts/shared/Versionable.sol +0 -147
  733. package/contracts/test/TestFee.sol +0 -25
  734. package/contracts/test/TestRegisterable.sol +0 -18
  735. package/contracts/test/TestRoleId.sol +0 -14
  736. package/contracts/test/TestService.sol +0 -24
  737. package/contracts/test/TestToken.sol +0 -26
  738. package/contracts/test/TestVersion.sol +0 -44
  739. package/contracts/test/TestVersionable.sol +0 -17
  740. package/contracts/types/ChainId.sol +0 -38
  741. package/contracts/types/NftIdSet.sol +0 -60
  742. package/contracts/types/NumberId.sol +0 -52
  743. package/contracts/types/ObjectType.sol +0 -152
  744. package/contracts/types/RiskId.sol +0 -43
  745. package/contracts/types/RoleId.sol +0 -89
@@ -6,14 +6,14 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "address",
10
- "name": "registryOwner",
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,222 +23,292 @@
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"
39
44
  }
40
45
  ],
41
- "name": "InvalidServiceVersion",
46
+ "name": "AccessManagedRequiredDelay",
42
47
  "type": "error"
43
48
  },
44
49
  {
45
50
  "inputs": [
46
51
  {
47
- "internalType": "ObjectType",
48
- "name": "objectType",
49
- "type": "uint8"
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"
50
71
  },
51
72
  {
52
- "internalType": "ObjectType",
53
- "name": "parentType",
54
- "type": "uint8"
73
+ "internalType": "uint256",
74
+ "name": "chainId",
75
+ "type": "uint256"
55
76
  }
56
77
  ],
57
- "name": "InvalidTypesCombination",
78
+ "name": "ErrorRegistryChainRegistryAddressZero",
58
79
  "type": "error"
59
80
  },
60
81
  {
61
82
  "inputs": [
62
83
  {
63
- "internalType": "VersionPart",
64
- "name": "newMajorVersionMax",
65
- "type": "uint8"
84
+ "internalType": "NftId",
85
+ "name": "nftId",
86
+ "type": "uint96"
66
87
  },
67
88
  {
68
- "internalType": "VersionPart",
69
- "name": "existingMaxMajorVersion",
70
- "type": "uint8"
89
+ "internalType": "uint256",
90
+ "name": "chainId",
91
+ "type": "uint256"
71
92
  }
72
93
  ],
73
- "name": "MajorVersionMaxIncreaseInvalid",
94
+ "name": "ErrorRegistryChainRegistryAlreadyRegistered",
74
95
  "type": "error"
75
96
  },
76
97
  {
77
98
  "inputs": [
78
99
  {
79
- "internalType": "address",
80
- "name": "account",
81
- "type": "address"
100
+ "internalType": "NftId",
101
+ "name": "nftId",
102
+ "type": "uint96"
82
103
  }
83
104
  ],
84
- "name": "NotOwner",
105
+ "name": "ErrorRegistryChainRegistryChainIdZero",
85
106
  "type": "error"
86
107
  },
87
108
  {
88
109
  "inputs": [
89
110
  {
90
111
  "internalType": "NftId",
91
- "name": "registrarNftId",
112
+ "name": "nftId",
92
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"
93
130
  }
94
131
  ],
95
- "name": "NotRegisteredContract",
132
+ "name": "ErrorRegistryContractAlreadyRegistered",
96
133
  "type": "error"
97
134
  },
98
135
  {
99
136
  "inputs": [],
100
- "name": "NotRegistryService",
137
+ "name": "ErrorRegistryCoreTypeRegistration",
101
138
  "type": "error"
102
139
  },
103
140
  {
104
141
  "inputs": [
105
142
  {
106
- "internalType": "NftId",
107
- "name": "registrarNftId",
108
- "type": "uint96"
143
+ "internalType": "address",
144
+ "name": "objectAddress",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "ObjectType",
149
+ "name": "objectType",
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"
109
162
  }
110
163
  ],
111
- "name": "NotService",
164
+ "name": "ErrorRegistryNotOnMainnet",
112
165
  "type": "error"
113
166
  },
114
167
  {
115
168
  "inputs": [
116
169
  {
117
170
  "internalType": "address",
118
- "name": "token",
171
+ "name": "service",
119
172
  "type": "address"
173
+ },
174
+ {
175
+ "internalType": "ObjectType",
176
+ "name": "objectType",
177
+ "type": "uint8"
120
178
  }
121
179
  ],
122
- "name": "NotToken",
180
+ "name": "ErrorRegistryNotService",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "ErrorRegistryServiceAddressZero",
123
186
  "type": "error"
124
187
  },
125
188
  {
126
189
  "inputs": [
127
190
  {
128
- "internalType": "string",
129
- "name": "name",
130
- "type": "string"
191
+ "internalType": "address",
192
+ "name": "service",
193
+ "type": "address"
131
194
  },
132
195
  {
133
196
  "internalType": "VersionPart",
134
- "name": "majorVersion",
197
+ "name": "version",
198
+ "type": "uint8"
199
+ },
200
+ {
201
+ "internalType": "ObjectType",
202
+ "name": "domain",
135
203
  "type": "uint8"
136
204
  }
137
205
  ],
138
- "name": "ServiceNameAlreadyRegistered",
206
+ "name": "ErrorRegistryServiceDomainAlreadyRegistered",
139
207
  "type": "error"
140
208
  },
141
209
  {
142
210
  "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "service",
214
+ "type": "address"
215
+ },
143
216
  {
144
217
  "internalType": "VersionPart",
145
- "name": "majorVersion",
218
+ "name": "version",
146
219
  "type": "uint8"
147
220
  }
148
221
  ],
149
- "name": "TokenMajorVersionInvalid",
222
+ "name": "ErrorRegistryServiceDomainZero",
150
223
  "type": "error"
151
224
  },
152
225
  {
153
226
  "inputs": [
154
227
  {
155
228
  "internalType": "address",
156
- "name": "token",
229
+ "name": "service",
157
230
  "type": "address"
231
+ },
232
+ {
233
+ "internalType": "VersionPart",
234
+ "name": "version",
235
+ "type": "uint8"
236
+ },
237
+ {
238
+ "internalType": "NftId",
239
+ "name": "parentNftId",
240
+ "type": "uint96"
158
241
  }
159
242
  ],
160
- "name": "TokenNotRegistered",
243
+ "name": "ErrorRegistryServiceParentNotRegistry",
161
244
  "type": "error"
162
245
  },
163
246
  {
164
- "inputs": [],
165
- "name": "ZeroParentAddress",
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "service",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "ErrorRegistryServiceVersionZero",
166
255
  "type": "error"
167
256
  },
168
257
  {
169
- "anonymous": false,
170
258
  "inputs": [
171
259
  {
172
- "indexed": false,
173
- "internalType": "VersionPart",
174
- "name": "majorVersion",
260
+ "internalType": "address",
261
+ "name": "objectAddress",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "internalType": "ObjectType",
266
+ "name": "objectType",
267
+ "type": "uint8"
268
+ },
269
+ {
270
+ "internalType": "ObjectType",
271
+ "name": "parentType",
175
272
  "type": "uint8"
176
273
  }
177
274
  ],
178
- "name": "LogInitialMajorVersionSet",
179
- "type": "event"
275
+ "name": "ErrorRegistryTypesCombinationInvalid",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "InvalidInitialization",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "NotInitializing",
286
+ "type": "error"
180
287
  },
181
288
  {
182
289
  "anonymous": false,
183
290
  "inputs": [
184
291
  {
185
292
  "indexed": false,
186
- "internalType": "VersionPart",
187
- "name": "majorVersionMax",
188
- "type": "uint8"
293
+ "internalType": "address",
294
+ "name": "authority",
295
+ "type": "address"
189
296
  }
190
297
  ],
191
- "name": "LogMajorVersionSet",
298
+ "name": "AuthorityUpdated",
192
299
  "type": "event"
193
300
  },
194
301
  {
195
302
  "anonymous": false,
196
303
  "inputs": [
197
304
  {
198
- "components": [
199
- {
200
- "internalType": "NftId",
201
- "name": "nftId",
202
- "type": "uint96"
203
- },
204
- {
205
- "internalType": "NftId",
206
- "name": "parentNftId",
207
- "type": "uint96"
208
- },
209
- {
210
- "internalType": "ObjectType",
211
- "name": "objectType",
212
- "type": "uint8"
213
- },
214
- {
215
- "internalType": "bool",
216
- "name": "isInterceptor",
217
- "type": "bool"
218
- },
219
- {
220
- "internalType": "address",
221
- "name": "objectAddress",
222
- "type": "address"
223
- },
224
- {
225
- "internalType": "address",
226
- "name": "initialOwner",
227
- "type": "address"
228
- },
229
- {
230
- "internalType": "bytes",
231
- "name": "data",
232
- "type": "bytes"
233
- }
234
- ],
235
305
  "indexed": false,
236
- "internalType": "struct IRegistry.ObjectInfo",
237
- "name": "info",
238
- "type": "tuple"
306
+ "internalType": "uint64",
307
+ "name": "version",
308
+ "type": "uint64"
239
309
  }
240
310
  ],
241
- "name": "LogRegistration",
311
+ "name": "Initialized",
242
312
  "type": "event"
243
313
  },
244
314
  {
@@ -246,29 +316,72 @@
246
316
  "inputs": [
247
317
  {
248
318
  "indexed": false,
249
- "internalType": "string",
250
- "name": "serviceName",
251
- "type": "string"
319
+ "internalType": "NftId",
320
+ "name": "nftId",
321
+ "type": "uint96"
252
322
  },
253
323
  {
254
324
  "indexed": false,
255
- "internalType": "VersionPart",
256
- "name": "majorVersion",
257
- "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"
258
334
  }
259
335
  ],
260
- "name": "LogServiceNameRegistration",
336
+ "name": "LogChainRegistryRegistration",
261
337
  "type": "event"
262
338
  },
263
339
  {
264
340
  "anonymous": false,
265
341
  "inputs": [
342
+ {
343
+ "indexed": false,
344
+ "internalType": "NftId",
345
+ "name": "nftId",
346
+ "type": "uint96"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "NftId",
351
+ "name": "parentNftId",
352
+ "type": "uint96"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "ObjectType",
357
+ "name": "objectType",
358
+ "type": "uint8"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "bool",
363
+ "name": "isInterceptor",
364
+ "type": "bool"
365
+ },
266
366
  {
267
367
  "indexed": false,
268
368
  "internalType": "address",
269
- "name": "token",
369
+ "name": "objectAddress",
270
370
  "type": "address"
271
371
  },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "address",
375
+ "name": "initialOwner",
376
+ "type": "address"
377
+ }
378
+ ],
379
+ "name": "LogRegistration",
380
+ "type": "event"
381
+ },
382
+ {
383
+ "anonymous": false,
384
+ "inputs": [
272
385
  {
273
386
  "indexed": false,
274
387
  "internalType": "VersionPart",
@@ -277,14 +390,53 @@
277
390
  },
278
391
  {
279
392
  "indexed": false,
280
- "internalType": "bool",
281
- "name": "active",
282
- "type": "bool"
393
+ "internalType": "ObjectType",
394
+ "name": "domain",
395
+ "type": "uint8"
283
396
  }
284
397
  ],
285
- "name": "LogTokenStateSet",
398
+ "name": "LogServiceRegistration",
286
399
  "type": "event"
287
400
  },
401
+ {
402
+ "inputs": [],
403
+ "name": "ADMIN",
404
+ "outputs": [
405
+ {
406
+ "internalType": "contract RegistryAdmin",
407
+ "name": "",
408
+ "type": "address"
409
+ }
410
+ ],
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "CHAIN_NFT",
417
+ "outputs": [
418
+ {
419
+ "internalType": "contract ChainNft",
420
+ "name": "",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [],
429
+ "name": "DEPLOYER",
430
+ "outputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "stateMutability": "view",
438
+ "type": "function"
439
+ },
288
440
  {
289
441
  "inputs": [],
290
442
  "name": "EMPTY_URI",
@@ -292,7 +444,111 @@
292
444
  {
293
445
  "internalType": "string",
294
446
  "name": "",
295
- "type": "string"
447
+ "type": "string"
448
+ }
449
+ ],
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [],
455
+ "name": "GLOBAL_REGISTRY_ADDRESS",
456
+ "outputs": [
457
+ {
458
+ "internalType": "address",
459
+ "name": "",
460
+ "type": "address"
461
+ }
462
+ ],
463
+ "stateMutability": "view",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [],
468
+ "name": "GLOBAL_REGISTRY_NFT_ID",
469
+ "outputs": [
470
+ {
471
+ "internalType": "NftId",
472
+ "name": "",
473
+ "type": "uint96"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "NFT_LOCK_ADDRESS",
482
+ "outputs": [
483
+ {
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"
296
552
  }
297
553
  ],
298
554
  "stateMutability": "view",
@@ -300,7 +556,7 @@
300
556
  },
301
557
  {
302
558
  "inputs": [],
303
- "name": "GIF_MAJOR_VERSION_AT_DEPLOYMENT",
559
+ "name": "chainIds",
304
560
  "outputs": [
305
561
  {
306
562
  "internalType": "uint256",
@@ -313,7 +569,7 @@
313
569
  },
314
570
  {
315
571
  "inputs": [],
316
- "name": "NFT_LOCK_ADDRESS",
572
+ "name": "getAuthority",
317
573
  "outputs": [
318
574
  {
319
575
  "internalType": "address",
@@ -325,8 +581,14 @@
325
581
  "type": "function"
326
582
  },
327
583
  {
328
- "inputs": [],
329
- "name": "REGISTRY_SERVICE_TOKEN_SEQUENCE_ID",
584
+ "inputs": [
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "idx",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "name": "getChainId",
330
592
  "outputs": [
331
593
  {
332
594
  "internalType": "uint256",
@@ -339,10 +601,10 @@
339
601
  },
340
602
  {
341
603
  "inputs": [],
342
- "name": "getChainNft",
604
+ "name": "getChainNftAddress",
343
605
  "outputs": [
344
606
  {
345
- "internalType": "contract ChainNft",
607
+ "internalType": "address",
346
608
  "name": "",
347
609
  "type": "address"
348
610
  }
@@ -352,7 +614,7 @@
352
614
  },
353
615
  {
354
616
  "inputs": [],
355
- "name": "getMajorVersion",
617
+ "name": "getInitialVersion",
356
618
  "outputs": [
357
619
  {
358
620
  "internalType": "VersionPart",
@@ -365,7 +627,7 @@
365
627
  },
366
628
  {
367
629
  "inputs": [],
368
- "name": "getMajorVersionMax",
630
+ "name": "getLatestVersion",
369
631
  "outputs": [
370
632
  {
371
633
  "internalType": "VersionPart",
@@ -378,7 +640,7 @@
378
640
  },
379
641
  {
380
642
  "inputs": [],
381
- "name": "getMajorVersionMin",
643
+ "name": "getNextVersion",
382
644
  "outputs": [
383
645
  {
384
646
  "internalType": "VersionPart",
@@ -410,7 +672,7 @@
410
672
  "type": "address"
411
673
  }
412
674
  ],
413
- "name": "getNftId",
675
+ "name": "getNftIdForAddress",
414
676
  "outputs": [
415
677
  {
416
678
  "internalType": "NftId",
@@ -421,6 +683,25 @@
421
683
  "stateMutability": "view",
422
684
  "type": "function"
423
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
+ },
424
705
  {
425
706
  "inputs": [],
426
707
  "name": "getObjectCount",
@@ -562,22 +843,284 @@
562
843
  {
563
844
  "inputs": [
564
845
  {
565
- "internalType": "string",
566
- "name": "serviceName",
567
- "type": "string"
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": "StateId",
921
+ "name": "state",
922
+ "type": "uint8"
923
+ },
924
+ {
925
+ "internalType": "VersionPart",
926
+ "name": "version",
927
+ "type": "uint8"
928
+ },
929
+ {
930
+ "internalType": "bytes32",
931
+ "name": "salt",
932
+ "type": "bytes32"
933
+ },
934
+ {
935
+ "internalType": "contract IServiceAuthorization",
936
+ "name": "auth",
937
+ "type": "address"
938
+ },
939
+ {
940
+ "internalType": "address",
941
+ "name": "releaseAdmin",
942
+ "type": "address"
943
+ },
944
+ {
945
+ "internalType": "Timestamp",
946
+ "name": "activatedAt",
947
+ "type": "uint40"
948
+ },
949
+ {
950
+ "internalType": "Timestamp",
951
+ "name": "disabledAt",
952
+ "type": "uint40"
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"
568
982
  },
569
983
  {
570
984
  "internalType": "VersionPart",
571
- "name": "majorVersion",
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": [
1083
+ {
1084
+ "internalType": "address",
1085
+ "name": "contractAddress",
1086
+ "type": "address"
1087
+ },
1088
+ {
1089
+ "internalType": "ObjectType",
1090
+ "name": "expectedObjectType",
1091
+ "type": "uint8"
1092
+ }
1093
+ ],
1094
+ "name": "isObjectType",
1095
+ "outputs": [
1096
+ {
1097
+ "internalType": "bool",
1098
+ "name": "",
1099
+ "type": "bool"
1100
+ }
1101
+ ],
1102
+ "stateMutability": "view",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [
1107
+ {
1108
+ "internalType": "NftId",
1109
+ "name": "nftId",
1110
+ "type": "uint96"
1111
+ },
1112
+ {
1113
+ "internalType": "ObjectType",
1114
+ "name": "expectedObjectType",
572
1115
  "type": "uint8"
573
1116
  }
574
1117
  ],
575
- "name": "getServiceAddress",
1118
+ "name": "isObjectType",
576
1119
  "outputs": [
577
1120
  {
578
- "internalType": "address",
1121
+ "internalType": "bool",
579
1122
  "name": "",
580
- "type": "address"
1123
+ "type": "bool"
581
1124
  }
582
1125
  ],
583
1126
  "stateMutability": "view",
@@ -589,14 +1132,19 @@
589
1132
  "internalType": "NftId",
590
1133
  "name": "nftId",
591
1134
  "type": "uint96"
1135
+ },
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "expectedOwner",
1139
+ "type": "address"
592
1140
  }
593
1141
  ],
594
- "name": "getServiceName",
1142
+ "name": "isOwnerOf",
595
1143
  "outputs": [
596
1144
  {
597
- "internalType": "string",
1145
+ "internalType": "bool",
598
1146
  "name": "",
599
- "type": "string"
1147
+ "type": "bool"
600
1148
  }
601
1149
  ],
602
1150
  "stateMutability": "view",
@@ -644,16 +1192,30 @@
644
1192
  "inputs": [
645
1193
  {
646
1194
  "internalType": "address",
647
- "name": "token",
1195
+ "name": "object",
648
1196
  "type": "address"
649
- },
1197
+ }
1198
+ ],
1199
+ "name": "isRegisteredComponent",
1200
+ "outputs": [
650
1201
  {
651
- "internalType": "VersionPart",
652
- "name": "majorVersion",
653
- "type": "uint8"
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"
654
1216
  }
655
1217
  ],
656
- "name": "isTokenActive",
1218
+ "name": "isRegisteredService",
657
1219
  "outputs": [
658
1220
  {
659
1221
  "internalType": "bool",
@@ -761,12 +1323,22 @@
761
1323
  {
762
1324
  "inputs": [
763
1325
  {
764
- "internalType": "VersionPart",
765
- "name": "newMajorVersion",
766
- "type": "uint8"
1326
+ "internalType": "NftId",
1327
+ "name": "nftId",
1328
+ "type": "uint96"
1329
+ },
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "chainId",
1333
+ "type": "uint256"
1334
+ },
1335
+ {
1336
+ "internalType": "address",
1337
+ "name": "registryAddress",
1338
+ "type": "address"
767
1339
  }
768
1340
  ],
769
- "name": "setMajorVersion",
1341
+ "name": "registerRegistry",
770
1342
  "outputs": [],
771
1343
  "stateMutability": "nonpayable",
772
1344
  "type": "function"
@@ -774,22 +1346,134 @@
774
1346
  {
775
1347
  "inputs": [
776
1348
  {
777
- "internalType": "address",
778
- "name": "token",
779
- "type": "address"
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"
780
1389
  },
781
1390
  {
782
1391
  "internalType": "VersionPart",
783
- "name": "majorVersion",
1392
+ "name": "version",
784
1393
  "type": "uint8"
785
1394
  },
786
1395
  {
787
- "internalType": "bool",
788
- "name": "active",
789
- "type": "bool"
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": [
1414
+ {
1415
+ "components": [
1416
+ {
1417
+ "internalType": "NftId",
1418
+ "name": "nftId",
1419
+ "type": "uint96"
1420
+ },
1421
+ {
1422
+ "internalType": "NftId",
1423
+ "name": "parentNftId",
1424
+ "type": "uint96"
1425
+ },
1426
+ {
1427
+ "internalType": "ObjectType",
1428
+ "name": "objectType",
1429
+ "type": "uint8"
1430
+ },
1431
+ {
1432
+ "internalType": "bool",
1433
+ "name": "isInterceptor",
1434
+ "type": "bool"
1435
+ },
1436
+ {
1437
+ "internalType": "address",
1438
+ "name": "objectAddress",
1439
+ "type": "address"
1440
+ },
1441
+ {
1442
+ "internalType": "address",
1443
+ "name": "initialOwner",
1444
+ "type": "address"
1445
+ },
1446
+ {
1447
+ "internalType": "bytes",
1448
+ "name": "data",
1449
+ "type": "bytes"
1450
+ }
1451
+ ],
1452
+ "internalType": "struct IRegistry.ObjectInfo",
1453
+ "name": "info",
1454
+ "type": "tuple"
1455
+ }
1456
+ ],
1457
+ "name": "registerWithCustomType",
1458
+ "outputs": [
1459
+ {
1460
+ "internalType": "NftId",
1461
+ "name": "nftId",
1462
+ "type": "uint96"
1463
+ }
1464
+ ],
1465
+ "stateMutability": "nonpayable",
1466
+ "type": "function"
1467
+ },
1468
+ {
1469
+ "inputs": [
1470
+ {
1471
+ "internalType": "address",
1472
+ "name": "newAuthority",
1473
+ "type": "address"
790
1474
  }
791
1475
  ],
792
- "name": "setTokenActive",
1476
+ "name": "setAuthority",
793
1477
  "outputs": [],
794
1478
  "stateMutability": "nonpayable",
795
1479
  "type": "function"
@@ -810,136 +1494,208 @@
810
1494
  "type": "bool"
811
1495
  }
812
1496
  ],
813
- "stateMutability": "view",
1497
+ "stateMutability": "pure",
814
1498
  "type": "function"
815
1499
  }
816
1500
  ],
817
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162005070380380620050708339810160408190526200003491620010b6565b620000766301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e65722069732030000000604482015260640160405180910390fd5b604051632392b61b60e21b81526003600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620010fb565b6001805460ff191660ff9290921691821790556040519081527ff5fb08b0be3b39e7b690d5444a6da718afcc193591667aec8d057e23cbe3f98f9060200160405180910390a1306040516200019d9062001091565b6001600160a01b039091168152602001604051809103906000f080158015620001ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055620001f562000259565b620002008262000479565b6200020b8262000826565b6200021562000bab565b63e14a543960e01b60009081526020527f55ee1a05a13edf710bfa198906ddef66d1a7e1374fb385d26fbb3ace1a097fe6805460ff191660011790555050620012fb565b600b5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620002a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ca919062001120565b9050600081600b546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200031e57600080fd5b505af115801562000333573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b031681526020016200036162000f0560201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03898116865260028086529584902089518154968b0151958b0151938b01519083166001600160c01b0319909716969096176c0100000000000000000000000095909216949094021761ffff60c01b1916600160c01b919096160260ff60c81b191694909417600160c81b921515929092029190911781559284015191830180546001600160a01b03199081166001600160a01b039485161790915560a085015191840180549091169190921617905560c08201516003820190620004729082620011df565b5050505050565b600b54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620004c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ea919062001120565b600b5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000560919062001120565b8314620005ef576200057162000f0a565b600b5460408051632e85b1f360e01b81529051620005e7926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620005be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062001120565b90565b90506200063f565b600b5460408051632cc7144960e11b815290516200063c926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620005be573d6000803e3d6000fd5b90505b600b546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b1580156200068e57600080fd5b505af1158015620006a3573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b03168152602001620006e06200107d60201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260028086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b03199097169390921692909217949094179290921692909217939093178355928401516001830180549185166001600160a01b031992831617905560a085015191830180549290941691161790915560c08201516003820190620007e69082620011df565b505030600090815260036020526040902080546001600160601b039094166001600160601b03199485168117909155600a80549094161790925550505050565b600b54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa15801562000871573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000897919062001120565b9050600081600b546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b158015620008ed57600080fd5b505af115801562000902573d6000803e3d6000fd5b50506040805160e0810182526001600160601b03858116808352600a5482166020808501918252603c85870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526002968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a1617969096179390931696909617959095178355516001830180549186166001600160a01b0319928316179055955190820180549190941695169490941790915551909350909150600382019062000a1a9082620011df565b505033600090815260036020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000a7c91849101620012ab565b60408051808303601f19018152828252805160209182012060008181526009909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000af4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b1a9190620010fb565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526008909152902062000b708382620011df565b5050600a80546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f39c85350cb25aa1fda4cd5e9139db6eb90aeebc6c2b5bffd11d297ac50f9a32b805460ff19166001908117909155603c600090815260056020527f251d9ec284fd981039307083734139a5137ee1b6185374514892855fcbc5bd9d9062000c11602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c45604690565b60ff1660ff168152602001908152602001600020600062000c6b6200107d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c9f606e90565b60ff1660ff168152602001908152602001600020600062000cc56200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000cf9607890565b60ff1660ff168152602001908152602001600020600062000d1f6200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000d53608290565b60ff1660ff168152602001908152602001600020600062000d796200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000dad608c90565b60ff1660ff168152602001908152602001600020600062000dd36200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e0760d290565b60ff1660ff168152602001908152602001600020600062000e2d6200108760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e6160dc90565b60ff1660ff168152602001908152602001600020600062000e876200108c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000ebb605090565b60ff1660ff168152602001908152602001600020600062000ee16200108c60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600b5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000f55573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f7b919062001120565b600b546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b15801562000fca57600080fd5b505af115801562000fdf573d6000803e3d6000fd5b50505050600062000ff682620005e460201b60201c565b90506040518060e00160405280826001600160601b031681526020016200106a600b60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005be573d6000803e3d6000fd5b6001600160601b03168152602001620003725b602890565b604690565b606e90565b608c90565b611e3d806200323383390190565b805160ff81168114620010b157600080fd5b919050565b60008060408385031215620010ca57600080fd5b82516001600160a01b0381168114620010e257600080fd5b9150620010f2602084016200109f565b90509250929050565b6000602082840312156200110e57600080fd5b62001119826200109f565b9392505050565b6000602082840312156200113357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200116557607f821691505b6020821081036200118657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620011da57600081815260208120601f850160051c81016020861015620011b55750805b601f850160051c820191505b81811015620011d657828155600101620011c1565b5050505b505050565b81516001600160401b03811115620011fb57620011fb6200113a565b62001213816200120c845462001150565b846200118c565b602080601f8311600181146200124b5760008415620012325750858301515b600019600386901b1c1916600185901b178555620011d6565b600085815260208120601f198616915b828110156200127c578886015182559484019460019091019084016200125b565b50858210156200129b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620012da57858101830151858201604001528201620012bc565b506000604082860101526040601f19601f8301168501019250505092915050565b611f28806200130b6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063a3bcd81d116100de578063c3c5a54711610097578063dd32047b11610071578063dd32047b146101ba578063e285c9c41461039e578063e74d052f146103a6578063feef0c9b146103b957600080fd5b8063c3c5a54714610359578063cde749f41461028d578063d272ac1e1461036c57600080fd5b8063a3bcd81d146102c0578063a48f42e0146102d3578063a5df9e4e146102e6578063b69b2e11146102f9578063bc36dc911461030c578063bfcdd7361461031d57600080fd5b806338e19a751161013057806338e19a751461022b5780633fe9300e14610245578063644c45e0146102685780637374162b1461028d578063893d20e8146102985780638b09a5f0146102a057600080fd5b806301ffc9a7146101785780630dab67c5146101ba57806314afd79e146101d05780631a848cfb146101fb5780632849697c1461020357806338bb429a14610218575b600080fd5b6101a561018636600461178d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2600381565b6040519081526020016101b1565b6101e36101de3660046117e6565b6103cc565b6040516001600160a01b0390911681526020016101b1565b6101c26104e2565b610216610211366004611836565b610555565b005b6101e36102263660046118a1565b610956565b6102336109ac565b60405160ff90911681526020016101b1565b61025b6040518060200160405280600081525081565b6040516101b1919061190e565b600a546001600160601b03165b6040516001600160601b0390911681526020016101b1565b60015460ff16610233565b6101e3610a23565b6102b36102ae3660046117e6565b610a2e565b6040516101b19190611921565b6101e36102ce366004611a7a565b610b94565b6102b36102e13660046118a1565b610bea565b6102756102f4366004611b00565b610cbd565b61025b6103073660046118a1565b611285565b600b546001600160a01b03166101e3565b6101a561032b366004611bd3565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b6101a56103673660046117e6565b611331565b61027561037a3660046117e6565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101e3600181565b6101a56103b43660046118a1565b6113c8565b6102166103c7366004611c01565b611422565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611c1e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611c3b565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611c58565b905090565b61055d610a23565b6001600160a01b0316336001600160a01b0316146105955760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061063b90611c71565b80601f016020809104026020016040519081016040528092919081815260200182805461066790611c71565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611cab565b156107695760405163ddef98d760e01b81526001600160a01b038516600482015260240161058c565b6107858160400151610779603290565b60ff9081169116141590565b156107ad57604051629fd8a560e11b81526001600160a01b038516600482015260240161058c565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c58565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c58565b905060038210806108b657508082115b156108d95760405163374a659160e21b815260ff8616600482015260240161058c565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610433565b604051632392b61b60e21b81526003600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611cc8565b6000610550306103cc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610b0b90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611c71565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050815250509050919050565b60008083604051602001610ba8919061190e565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610b0b90611c71565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610d0a576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610daf90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90611c71565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e675760405163b0014c0760e01b815260040160405180910390fd5b6000610e81886060015189608001518660600151856115ea565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610ecc929091879190600401611ce5565b6020604051808303816000875af1158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f9190611c58565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110629190611d69565b50505060808901516001600160a01b0316156111f05760ff80881660009081526005602090815260408083208885168452909152812054909116151590036110ca57604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190611cab565b1561118f5760405163fdcce17f60e01b81526001600160a01b038216600482015260240161058c565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b161790556111dc886111d1603c90565b60ff90811691161490565b156111ea576111ea8a611628565b50611242565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361124257604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516112719190611921565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906112ac90611c71565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890611c71565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611cab565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611387565b61142a610a23565b6001600160a01b0316336001600160a01b03161461145d5760405163245aecd360e01b815233600482015260240161058c565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da9190611c58565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220c02111bfc1745238d5ed0c2884c130c5bf93d8ad7a5e25aae3575fdca7d43f7564736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
818
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063a3bcd81d116100de578063c3c5a54711610097578063dd32047b11610071578063dd32047b146101ba578063e285c9c41461039e578063e74d052f146103a6578063feef0c9b146103b957600080fd5b8063c3c5a54714610359578063cde749f41461028d578063d272ac1e1461036c57600080fd5b8063a3bcd81d146102c0578063a48f42e0146102d3578063a5df9e4e146102e6578063b69b2e11146102f9578063bc36dc911461030c578063bfcdd7361461031d57600080fd5b806338e19a751161013057806338e19a751461022b5780633fe9300e14610245578063644c45e0146102685780637374162b1461028d578063893d20e8146102985780638b09a5f0146102a057600080fd5b806301ffc9a7146101785780630dab67c5146101ba57806314afd79e146101d05780631a848cfb146101fb5780632849697c1461020357806338bb429a14610218575b600080fd5b6101a561018636600461178d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2600381565b6040519081526020016101b1565b6101e36101de3660046117e6565b6103cc565b6040516001600160a01b0390911681526020016101b1565b6101c26104e2565b610216610211366004611836565b610555565b005b6101e36102263660046118a1565b610956565b6102336109ac565b60405160ff90911681526020016101b1565b61025b6040518060200160405280600081525081565b6040516101b1919061190e565b600a546001600160601b03165b6040516001600160601b0390911681526020016101b1565b60015460ff16610233565b6101e3610a23565b6102b36102ae3660046117e6565b610a2e565b6040516101b19190611921565b6101e36102ce366004611a7a565b610b94565b6102b36102e13660046118a1565b610bea565b6102756102f4366004611b00565b610cbd565b61025b6103073660046118a1565b611285565b600b546001600160a01b03166101e3565b6101a561032b366004611bd3565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b6101a56103673660046117e6565b611331565b61027561037a3660046117e6565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101e3600181565b6101a56103b43660046118a1565b6113c8565b6102166103c7366004611c01565b611422565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611c1e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611c3b565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611c58565b905090565b61055d610a23565b6001600160a01b0316336001600160a01b0316146105955760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061063b90611c71565b80601f016020809104026020016040519081016040528092919081815260200182805461066790611c71565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611cab565b156107695760405163ddef98d760e01b81526001600160a01b038516600482015260240161058c565b6107858160400151610779603290565b60ff9081169116141590565b156107ad57604051629fd8a560e11b81526001600160a01b038516600482015260240161058c565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c58565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c58565b905060038210806108b657508082115b156108d95760405163374a659160e21b815260ff8616600482015260240161058c565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610433565b604051632392b61b60e21b81526003600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611cc8565b6000610550306103cc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610b0b90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611c71565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050815250509050919050565b60008083604051602001610ba8919061190e565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610b0b90611c71565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610d0a576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610daf90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90611c71565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e675760405163b0014c0760e01b815260040160405180910390fd5b6000610e81886060015189608001518660600151856115ea565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610ecc929091879190600401611ce5565b6020604051808303816000875af1158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f9190611c58565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110629190611d69565b50505060808901516001600160a01b0316156111f05760ff80881660009081526005602090815260408083208885168452909152812054909116151590036110ca57604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190611cab565b1561118f5760405163fdcce17f60e01b81526001600160a01b038216600482015260240161058c565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b161790556111dc886111d1603c90565b60ff90811691161490565b156111ea576111ea8a611628565b50611242565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361124257604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516112719190611921565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906112ac90611c71565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890611c71565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611cab565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611387565b61142a610a23565b6001600160a01b0316336001600160a01b03161461145d5760405163245aecd360e01b815233600482015260240161058c565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da9190611c58565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c63430008140033",
1501
+ "bytecode": "0x610160604052348015610010575f80fd5b5060405161697538038061697583398101604081905261002f9161100e565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190611046565b61009881610230565b5033610100526001600160a01b038216610120526100b581610283565b6001600160a01b031660c05260405130906100cf90610fea565b6001600160a01b039091168152602001604051809103905ff0801580156100f8573d5f803e3d5ffd5b506001600160a01b0316610140816001600160a01b03168152505073__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101909190611068565b6040518263ffffffff1660e01b81526004016101ae91815260200190565b602060405180830381865af41580156101c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ed9190611093565b6001600160601b031660a052610201610297565b6001600160601b031660805261021561043e565b6001600160601b031660e05261022961063f565b505061121e565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f46600103610293575030919050565b5090565b5f80610140516001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102fc9190611068565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561034d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103719190611093565b91506102936040518060e00160405280846001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156103d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103fb9190611093565b6001600160601b03168152600160208083018290525f6040808501829052606085018290526080850184905280519283019052815260a090920191909152610bad565b60a0516040805160e0810182526001600160601b0380841682526080511660208201526104bf91600191908101600260ff1681526020015f1515815260200160c0516001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f81525081525046600114610da560201b60201c565b4660011461063c5773__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316630559ea4760026040518263ffffffff1660e01b815260040161051391815260200190565b602060405180830381865afa15801561052e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105529190611068565b6040518263ffffffff1660e01b815260040161057091815260200190565b602060405180830381865af415801561058b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105af9190611093565b905061063c466040518060e00160405280846001600160601b0316815260200160a0516001600160601b031681526020016105ee610da060201b60201c565b60ff1681526020015f15158152602001306001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152506001610da560201b60201c565b90565b7f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a318054600160ff1991821681179092557f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace2980548216831790557fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b80548216831790557f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98880548216831790557f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34780548216831790557ff130046d53bc87538ab17e4752ba5f5082985eecc06ccb932c5a55e8242dd50280548216831790557faca6cdb4b5fe0ec50731a73f714dd191dc1911bfeb3f9eeb9e94ed0f6065ef8d80548216831790557f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed80548216831790557f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a49980548216831790557feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f80548216831790557f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb80548216831790557f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d280548216831790557fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc1805490911682179055600a5f90815260076020527f3ed157e83ab1bb1f6b7b3760b3368106283d4e15d1f1b08e20d06576445a999490610891600290565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906108c3600c90565b60ff1660ff1681526020019081526020015f205f6108e5610ed460201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600790610917600e90565b60ff1660ff1681526020019081526020015f205f610939610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff19169215159290921790915560019060079061096b600d90565b60ff1660ff1681526020019081526020015f205f61098d610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906109bf600f90565b60ff1660ff1681526020019081526020015f205f6109e1610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a13601590565b60ff1660ff1681526020019081526020015f205f610a35610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a67601790565b60ff1660ff1681526020019081526020015f205f610a89610ee360201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610abb601690565b60ff1660ff1681526020019081526020015f205f610add610ede60201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b0f601e90565b60ff1660ff1681526020019081526020015f205f610b31610ba860201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b63601e90565b60ff1660ff1681526020019081526020015f205f610b85610ed460201b60201c565b60ff16815260208101919091526040015f20805460ff1916911515919091179055565b600190565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b199688166c01000000000000000000000000026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190610c869082611145565b509050508015610ca15781516080830151610ca19190610ee8565b6101405160a0830151835160405163046e44af60e11b81526001600160601b0390911660048201526001600160a01b03909216916340c10f19919073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015610d16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3a9190611093565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015610d86575f80fd5b505af1158015610d98573d5f803e3d5ffd5b505050505050565b600290565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f91906111ff565b610e66578151604051631832397b60e21b81526001600160601b039091166004820152602481018490526044015b60405180910390fd5b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01839055610ecf8282610bad565b505050565b600a90565b600c90565b600f90565b600e90565b6001600160a01b03811615610fe6576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8c91906111ff565b15610fb557604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610e5d565b6001600160a01b0381165f90815260046020526040902080546001600160601b0319166001600160601b0384161790555b5050565b611f86806149ef83390190565b6001600160a01b038116811461100b575f80fd5b50565b5f806040838503121561101f575f80fd5b825161102a81610ff7565b602084015190925061103b81610ff7565b809150509250929050565b5f60208284031215611056575f80fd5b815161106181610ff7565b9392505050565b5f60208284031215611078575f80fd5b5051919050565b6001600160601b038116811461100b575f80fd5b5f602082840312156110a3575f80fd5b81516110618161107f565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806110d657607f821691505b6020821081036110f457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ecf57805f5260205f20601f840160051c8101602085101561111f5750805b601f840160051c820191505b8181101561113e575f815560010161112b565b5050505050565b81516001600160401b0381111561115e5761115e6110ae565b6111728161116c84546110c2565b846110fa565b6020601f8211600181146111a4575f831561118d5750848201515b5f19600385901b1c1916600184901b17845561113e565b5f84815260208120601f198516915b828110156111d357878501518255602094850194600190920191016111b3565b50848210156111f057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561120f575f80fd5b81518015158114611061575f80fd5b60805160a05160c05160e0516101005161012051610140516136fb6112f45f395f81816103c20152818161082f01528181610b0e01528181610c6201528181610d43015281816115580152818161179b0152818161215c01528181612431015281816127110152612ca801525f8181610419015281816104500152611d2501525f8181610703015261198701525f818161052e0152818161064401528181611378015281816116ed015261281001525f61059c01525f81816105e401526120ef01525f81816104ae015261088601526136fb5ff3fe608060405234801561000f575f80fd5b5060043610610319575f3560e01c8063a48f42e0116101af578063caed9897116100fe578063e278c9241161009e578063e74d052f11610079578063e74d052f14610861578063f40d7c3014610874578063fbe4b7c01461087c578063fff74f6c14610884575f80fd5b8063e278c9241461082a578063e285c9c414610851578063e2b178a014610859575f80fd5b8063d2213b5b116100d9578063d2213b5b1461078e578063d39e6043146107ae578063d9247149146107ea578063dfca014214610812575f80fd5b8063caed989714610738578063cefa7fd614610749578063d1982d881461077b575f80fd5b8063b303aaf811610169578063bf8e179711610144578063bf8e1797146106b7578063c0c53b8b146106eb578063c1b8411a146106fe578063c3c5a54714610725575f80fd5b8063b303aaf814610681578063b624e2ba14610694578063bf7e214f146106a7575f80fd5b8063a48f42e014610606578063a5df9e4e14610619578063a7050a561461062c578063abbbbd0c1461063f578063ae8dfb7914610666578063b08c0b541461066e575f80fd5b806338bb429a1161026b5780637a9e5e4b116102255780638b09a5f0116102005780638b09a5f0146105775780638e7b3927146105975780638fb36037146105be57806396f4b69e146105df575f80fd5b80637a9e5e4b14610552578063839f700c14610567578063893d20e81461056f575f80fd5b806338bb429a146104745780633fe9300e14610487578063598e2892146104a95780635c0e6264146104e85780635e546bee146104fb578063644c45e01461052c575f80fd5b8063120726c3116102d65780631a848cfb116102b15780631a848cfb1461040c5780632a0acc6a146104145780632b91e0a91461043b5780632de837e01461044e575f80fd5b8063120726c3146103c057806314afd79e146103e657806317dc5e2a146103f9575f80fd5b806301f6b5a21461031d57806301ffc9a7146103435780630e41142e146103665780630e6d1de9146103805780630e9ed68b1461038857806311edceaa146103ad575b5f80fd5b61033061032b366004612d9b565b6108aa565b6040519081526020015b60405180910390f35b610356610351366004612db2565b6108ce565b604051901515815260200161033a565b61036e610912565b60405160ff909116815260200161033a565b61036e610a04565b600b546001600160a01b03165b6040516001600160a01b03909116815260200161033a565b6103566103bb366004612dfa565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b6103956103f4366004612e34565b610ad0565b610356610407366004612e34565b610bfa565b610330610c5f565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610449366004612e34565b610ce0565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b610395610482366004612e6e565b610d23565b61049c60405180602001604052805f81525081565b60405161033a9190612eb7565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161033a565b6103566104f6366004612ec9565b610d96565b6104d0610509366004612e34565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b610565610560366004612e34565b610dc9565b005b610330600381565b610395610e46565b61058a610585366004612e34565b610e50565b60405161033a9190612f00565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b6105c6610fb7565b6040516001600160e01b0319909116815260200161033a565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b61058a610614366004612e6e565b610fd9565b6104d0610627366004613117565b6110a9565b6104d061063a366004613149565b6111a1565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b610330600281565b61056561067c3660046131a9565b6114a9565b61035661068f3660046131dd565b61176f565b6103566106a2366004613209565b611899565b5f546001600160a01b0316610395565b6103956106c5366004612e6e565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b6105656106f9366004613225565b6118c5565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610733366004612e34565b611a8c565b600a546001600160a01b0316610395565b6104d0610757366004612e6e565b6001600160601b039081165f90815260036020526040902054600160601b90041690565b6104d0610789366004613117565b611b00565b6107a161079c366004612dfa565b611c79565b60405161033a9190613262565b6103956107bc3660046132e3565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104d06107f8366004612d9b565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b0316610395565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610395600181565b610395611d22565b61035661086f366004612e6e565b611da3565b61036e611dfc565b600254610330565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b5f600282815481106108be576108be6132ff565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108fe57506001600160e01b03198216630398724f60e11b145b1561090b57506001919050565b505f919050565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a29190613313565b6040518263ffffffff1660e01b81526004016109c091815260200190565b602060405180830381865af41580156109db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff919061332a565b905090565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa158015610aa6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613345565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b949190613360565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610bd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613386565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610c5890600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cbc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613313565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610aca90600160c01b900460ff166008610c4d565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610b55565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610dc18184611899565b949350505050565b5f5433906001600160a01b03168114610e045760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e39576040516361798f2f60e11b81526001600160a01b0383166004820152602401610dfb565b610e4282611e4e565b5050565b5f6109ff30610ad0565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610f30906133a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5c906133a1565b8015610fa75780601f10610f7e57610100808354040283529160200191610fa7565b820191905f5260205f20905b815481529060010190602001808311610f8a57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610fcd57505f90565b50638fb3603760e01b90565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610f30906133a1565b5f6110b6335b5f36611ea1565b60808201516040808401516020808601516001600160601b03165f90815260039091529190912054600160c01b900460ff166001600160a01b0383166111455760ff8083165f90815260086020908152604080832085851684529091528120549091161515900361114057828282604051639c52edaf60e01b8152600401610dfb939291906133d9565b61118f565b60ff8083165f90815260076020908152604080832085851684529091528120549091161515900361118f57828282604051639c52edaf60e01b8152600401610dfb939291906133d9565b61119885611f97565b95945050505050565b5f6111ab336110af565b60808401516001600160a01b0381166111d757604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af4158015611227573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124b9190613345565b156112745760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610dfb565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156112c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e89190613345565b1561131a5760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610dfb565b611336856040015161132a600890565b60ff9081169116141590565b1561136e5760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610dfb565b61139c85602001517f00000000000000000000000000000000000000000000000000000000000000006124c9565b156113e3576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610dfb565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b03161561142f5780848460405163ed45a40f60e01b8152600401610dfb939291906133d9565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a161119885611f97565b6114b2336110af565b466001146114d55760405163e657d2e760e01b8152466004820152602401610dfb565b815f03611500576040516391b6b54560e01b81526001600160601b0384166004820152602401610dfb565b6001600160a01b0381166115395760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610dfb565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa1580156115a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c99190613313565b905061164c8473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b815260040161160891815260200190565b602060405180830381865af4158015611623573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116479190613360565b6124c9565b1561167c57604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610dfb565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd0d9fccd0d257e9ea3515cef639e01478a9c16c8c046bd7216820ca8b26359529181900360600190a1611769836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001611722600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f61254e565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af41580156117fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118229190613360565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118889190613386565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610c58565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561190a5750825b90505f8267ffffffffffffffff1660011480156119265750303b155b905081158015611934575080155b156119525760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197c57845460ff60401b1916600160401b1785555b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146119c5576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b805492891692909116919091179055611a1c612678565b600980546001600160601b0319166001600160601b03929092169190911790558315611a8257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610aa6573d5f803e3d5ffd5b5f611b0a336110af565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611b66576040516368f27c4360e11b815260040160405180910390fd5b611bd58273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d919061332a565b80611c265750611c268173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b80611c375750611c37816001610c4d565b80611c485750611c48816008610c4d565b15611c705783608001518282604051639c52edaf60e01b8152600401610dfb939291906133d9565b610dc184611f97565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613411565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613386565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611ae5565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611ed4611eb75f546001600160a01b031690565b8630611ec660045f898b6134a0565b611ecf916134c7565b6128f0565b9150915081611f905763ffffffff811615611f6d575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611f2e908890889088906004016134fd565b5f604051808303815f87803b158015611f45575f80fd5b505af1158015611f57573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611f909050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610dfb565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c0840191612058906133a1565b80601f0160208091040260200160405190810160405280929190818152602001828054612084906133a1565b80156120cf5780601f106120a6576101008083540402835291602001916120cf565b820191905f5260205f20905b8154815290600101906020018083116120b257829003601f168201915b5050509190925250505060808101519091506001461461214557612113837f00000000000000000000000000000000000000000000000000000000000000006129f8565b1561214557604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610dfb565b5f612157878988866060015186612a42565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121da9190613313565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561222b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224f9190613360565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816123949190613580565b509050506123a28a88612a94565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a691612469918b9188919060040161363b565b6020604051808303815f875af1158015612485573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124a99190613313565b90508181146124ba576124ba613666565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561252a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c589190613345565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125d89190613345565b61260a578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610dfb565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126738282612b97565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ee9190613386565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa158015612756573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277a9190613313565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef9190613360565b92506128896040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001612845600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612b97565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156128d5575f80fd5b505af11580156128e7573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161295e919061367a565b5f60405180830381855afa9150503d805f8114612996576040519150601f19603f3d011682016040523d82523d5f602084013e61299b565b606091505b509150915081156129ed5760408151106129cd57808060200190518101906129c39190613690565b90945092506129ed565b60208151106129ed57808060200190518101906129ea9190613345565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d9060440161250f565b5f612a4e85601e610c4d565b15612a5a57505f611198565b6001600160a01b038416612a7c578215612a75575080611198565b505f611198565b8515612a89575082611198565b505f95945050505050565b6001600160a01b03811615610e42576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b389190613345565b15612b6157604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610dfb565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612c679082613580565b509050508015612c8257612c82825f01518360800151612a94565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d359190613360565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612d81575f80fd5b505af1158015612d93573d5f803e3d5ffd5b505050505050565b5f60208284031215612dab575f80fd5b5035919050565b5f60208284031215612dc2575f80fd5b81356001600160e01b031981168114610c58575f80fd5b60ff81168114612de7575f80fd5b50565b8035612df581612dd9565b919050565b5f60208284031215612e0a575f80fd5b8135610c5881612dd9565b6001600160a01b0381168114612de7575f80fd5b8035612df581612e15565b5f60208284031215612e44575f80fd5b8135610c5881612e15565b6001600160601b0381168114612de7575f80fd5b8035612df581612e4f565b5f60208284031215612e7e575f80fd5b8135610c5881612e4f565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c586020830184612e89565b5f8060408385031215612eda575f80fd5b8235612ee581612e15565b91506020830135612ef581612dd9565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612f48608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610dc1610100840182612e89565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612fc357612fc3612f8c565b60405290565b8015158114612de7575f80fd5b8035612df581612fc9565b5f82601f830112612ff0575f80fd5b813567ffffffffffffffff81111561300a5761300a612f8c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561303957613039612f8c565b604052818152838201602001851015613050575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e0828403121561307c575f80fd5b613084612fa0565b905061308f82612e63565b815261309d60208301612e63565b60208201526130ae60408301612dea565b60408201526130bf60608301612fd6565b60608201526130d060808301612e29565b60808201526130e160a08301612e29565b60a082015260c082013567ffffffffffffffff8111156130ff575f80fd5b61310b84828501612fe1565b60c08301525092915050565b5f60208284031215613127575f80fd5b813567ffffffffffffffff81111561313d575f80fd5b610dc18482850161306c565b5f805f6060848603121561315b575f80fd5b833567ffffffffffffffff811115613171575f80fd5b61317d8682870161306c565b935050602084013561318e81612dd9565b9150604084013561319e81612dd9565b809150509250925092565b5f805f606084860312156131bb575f80fd5b83356131c681612e4f565b925060208401359150604084013561319e81612e15565b5f80604083850312156131ee575f80fd5b82356131f981612e4f565b91506020830135612ef581612e15565b5f806040838503121561321a575f80fd5b8235612ee581612e4f565b5f805f60608486031215613237575f80fd5b833561324281612e15565b9250602084013561325281612e15565b9150604084013561319e81612e15565b5f60e08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015260018060a01b03608084015116608083015260a08301516132c360a084018264ffffffffff169052565b5060c08301516132dc60c084018264ffffffffff169052565b5092915050565b5f80604083850312156132f4575f80fd5b8235612ee581612dd9565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215613323575f80fd5b5051919050565b5f6020828403121561333a575f80fd5b8151610c5881612dd9565b5f60208284031215613355575f80fd5b8151610c5881612fc9565b5f60208284031215613370575f80fd5b8151610c5881612e4f565b8051612df581612e15565b5f60208284031215613396575f80fd5b8151610c5881612e15565b600181811c908216806133b557607f821691505b6020821081036133d357634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612df5575f80fd5b5f60e0828403128015613422575f80fd5b5061342b612fa0565b825161343681612dd9565b8152602083015161344681612dd9565b6020820152604083810151908201526134616060840161337b565b60608201526134726080840161337b565b608082015261348360a084016133fd565b60a082015261349460c084016133fd565b60c08201529392505050565b5f80858511156134ae575f80fd5b838611156134ba575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156132dc576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561267357805f5260205f20601f840160051c810160208510156135615750805b601f840160051c820191505b81811015611f90575f815560010161356d565b815167ffffffffffffffff81111561359a5761359a612f8c565b6135ae816135a884546133a1565b8461353c565b6020601f8211600181146135e0575f83156135c95750848201515b5f19600385901b1c1916600184901b178455611f90565b5f84815260208120601f198516915b8281101561360f57878501518255602094850194600190920191016135ef565b508482101561362c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f9061119890830184612e89565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f80604083850312156136a1575f80fd5b82516136ac81612fc9565b602084015190925063ffffffff81168114612ef5575f80fdfea26469706673582212204c465800c0b27d3343d73a962dd765e264fcb57eaeb1f33b8644234749fe2e7764736f6c634300081a0033608060405234801561000f575f80fd5b50604051611f86380380611f8683398101604081905261002e9161011d565b604051806060016040528060248152602001611f626024913960408051808201909152600681526511125413919560d21b60208201525f61006f83826101db565b50600161007c82826101db565b5050506001600160a01b0381166100a65760405163019aebf560e41b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790556100ca466100ec565b600d8190556100da90600a61038e565b600e55506004600f555f6010556103d0565b5f81815b8115610116578061010081610399565b915061010f9050600a836103b1565b91506100f0565b9392505050565b5f6020828403121561012d575f80fd5b81516001600160a01b0381168114610116575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016b57607f821691505b60208210810361018957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d657805f5260205f20601f840160051c810160208510156101b45750805b601f840160051c820191505b818110156101d3575f81556001016101c0565b50505b505050565b81516001600160401b038111156101f4576101f4610143565b610208816102028454610157565b8461018f565b6020601f82116001811461023a575f83156102235750848201515b5f19600385901b1c1916600184901b1784556101d3565b5f84815260208120601f198516915b828110156102695787850151825560209485019460019092019101610249565b508482101561028657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102e4578085048111156102c8576102c8610295565b60018416156102d657908102905b60019390931c9280026102ad565b935093915050565b5f826102fa57506001610388565b8161030657505f610388565b816001811461031c576002811461032657610342565b6001915050610388565b60ff84111561033757610337610295565b50506001821b610388565b5060208310610133831016604e8410600b8410161715610365575081810a610388565b6103715f1984846102a9565b805f190482111561038457610384610295565b0290505b92915050565b5f61011683836102ec565b5f600182016103aa576103aa610295565b5060010190565b5f826103cb57634e487b7160e01b5f52601260045260245ffd5b500490565b611b85806103dd5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80634f6ccce711610109578063a3f4df7e1161009e578063caa0f92a1161006e578063caa0f92a1461040c578063e985e9c514610414578063f21de1e814610427578063f76f8d7814610438575f80fd5b8063a3f4df7e146103cb578063b88d4fde146103d3578063c2c75839146103e6578063c87b56dd146103f9575f80fd5b8063862440e2116100d9578063862440e21461039557806395d89b41146103a8578063a22cb465146103b0578063a2309ff8146103c3575f80fd5b80634f6ccce714610353578063598e2892146103665780636352211e1461036f57806370a0823114610382575f80fd5b806323b872dd1161017f57806340c10f191161014f57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e7914610329575f80fd5b806323b872dd146102995780632e85b1f3146102ac5780632f745c59146102b5578063342ec443146102c8575f80fd5b8063081812fc116101ba578063081812fc1461023e578063095ea7b31461026957806318160ddd1461027e578063221375a614610286575f80fd5b806301ffc9a7146101e05780630559ea471461020857806306fdde0314610229575b5f80fd5b6101f36101ee3660046114af565b61045d565b60405190151581526020015b60405180910390f35b61021b6102163660046114ca565b610487565b6040519081526020016101ff565b6102316104b9565b6040516101ff919061150f565b61025161024c3660046114ca565b610548565b6040516001600160a01b0390911681526020016101ff565b61027c61027736600461153c565b61056f565b005b60085461021b565b61021b61029436600461160d565b61057e565b61027c6102a7366004611667565b610624565b61021b61083581565b61021b6102c336600461153c565b6106ce565b6102516102d63660046114ca565b5f908152600a60205260409020546001600160a01b031690565b61027c6102fe36600461153c565b610731565b61027c610311366004611667565b610769565b61027c6103243660046114ca565b610783565b6101f36103373660046114ca565b5f908152600260205260409020546001600160a01b0316151590565b61021b6103613660046114ca565b6107dc565b61021b61044d81565b61025161037d3660046114ca565b610831565b61021b6103903660046116a1565b61083b565b61027c6103a33660046116ba565b610880565b610231610928565b61027c6103be3660046116fe565b610937565b60105461021b565b610231610942565b61027c6103e1366004611737565b61095e565b61021b6103f43660046117ae565b61097b565b6102316104073660046114ca565b610a05565b61021b610aac565b6101f36104223660046117ce565b610abd565b600c546001600160a01b0316610251565b6102316040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610481575061048182610aea565b92915050565b5f600d5446600e548461049a9190611813565b6104a4919061182a565b6104af906064611813565b610481919061182a565b60605f80546104c79061183d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061183d565b801561053e5780601f106105155761010080835404028352916020019161053e565b820191905f5260205f20905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b5f61055282610b39565b505f828152600460205260409020546001600160a01b0316610481565b61057a828233610b71565b5050565b600c545f906001600160a01b031633146105b257604051636db0231160e11b81523360048201526024015b60405180910390fd5b6105ba610b7e565b90506001600160a01b038316156105f2575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b815115610612575f818152600b6020526040902061061083826118b9565b505b61061d848285610ba3565b9392505050565b61062f838383610c07565b5f818152600a60205260409020546001600160a01b0316156106c9575f818152600a602052604090819020549051630568956b60e51b81526001600160a01b038581166004830152848116602483015260448201849052336064830181905292169063ad12ad60906084015f604051808303815f87803b1580156106b1575f80fd5b505af11580156106c3573d5f803e3d5ffd5b50505050505b505050565b5f6106d88361083b565b82106107095760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a9565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075e57604051636db0231160e11b81523360048201526024016105a9565b61057a82825f610ba3565b6106c983838360405180602001604052805f81525061095e565b600c546001600160a01b031633146107b057604051636db0231160e11b81523360048201526024016105a9565b6107b981610b39565b506107c381610c8a565b5f818152600b602052604081206107d991611450565b50565b5f6107e660085490565b821061080e5760405163295f44f760e21b81525f6004820152602481018390526044016105a9565b6008828154811061082157610821611974565b905f5260205f2001549050919050565b5f61048182610b39565b5f6001600160a01b038216610865576040516322718ad960e21b81525f60048201526024016105a9565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b031633146108ad57604051636db0231160e11b81523360048201526024016105a9565b80515f036108ce57604051639827d56160e01b815260040160405180910390fd5b5f828152600b6020526040812080546108e69061183d565b90501115610907576040516310500e0d60e11b815260040160405180910390fd5b61091082610b39565b505f828152600b602052604090206106c982826118b9565b6060600180546104c79061183d565b61057a338383610cc2565b604051806060016040528060248152602001611b2c6024913981565b610969848484610624565b61097584848484610d60565b50505050565b5f4682036109bb57600d5482600e54856109959190611813565b61099f919061182a565b6109aa906064611813565b6109b4919061182a565b9050610481565b5f6109c583610e86565b905080836109d482600a611a6b565b6109de9087611813565b6109e8919061182a565b6109f3906064611813565b6109fd919061182a565b915050610481565b6060610a1082610b39565b505f828152600b602052604090208054610a299061183d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a559061183d565b8015610aa05780601f10610a7757610100808354040283529160200191610aa0565b820191905f5260205f20905b815481529060010190602001808311610a8357829003601f168201915b50505050509050919050565b5f610ab8600f54610487565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610b1a57506001600160e01b03198216635b5e139f60e01b145b8061048157506301ffc9a760e01b6001600160e01b0319831614610481565b5f818152600260205260408120546001600160a01b03168061048157604051637e27328960e01b8152600481018490526024016105a9565b6106c98383836001610eb0565b5f610b8a600f54610487565b600f80549192505f610b9b83611a76565b919050555090565b60108054905f610bb283611a76565b9190505550610bc18383610fb4565b604080518381526001600160a01b03831660208201527f453826441818dd705229212b6345c5fbc2094ee234f134ae2cb2bdf74dc1ccfe910160405180910390a1505050565b6001600160a01b038216610c3057604051633250574960e11b81525f60048201526024016105a9565b5f610c3c838333610fcd565b9050836001600160a01b0316816001600160a01b031614610975576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a9565b5f610c965f835f610fcd565b90506001600160a01b03811661057a57604051637e27328960e01b8152600481018390526024016105a9565b6001600160a01b038216610cf457604051630b61174360e31b81526001600160a01b03831660048201526024016105a9565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561097557604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610da2903390889087908790600401611a8e565b6020604051808303815f875af1925050508015610ddc575060408051601f3d908101601f19168201909252610dd991810190611aca565b60015b610e43573d808015610e09576040519150601f19603f3d011682016040523d82523d5f602084013e610e0e565b606091505b5080515f03610e3b57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e7f57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b5050505050565b5f81815b811561061d5780610e9a81611a76565b9150610ea99050600a83611ae5565b9150610e8a565b8080610ec457506001600160a01b03821615155b15610f85575f610ed384610b39565b90506001600160a01b03831615801590610eff5750826001600160a01b0316816001600160a01b031614155b8015610f125750610f108184610abd565b155b15610f3b5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a9565b8115610f835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61057a828260405180602001604052805f8152506110a0565b5f80610fda8585856110b6565b90506001600160a01b0381166110365761103184600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611059565b846001600160a01b0316816001600160a01b0316146110595761105981856111a8565b6001600160a01b0385166110755761107084611235565b611098565b846001600160a01b0316816001600160a01b0316146110985761109885856112dc565b949350505050565b6110aa838361132a565b6106c95f848484610d60565b5f828152600260205260408120546001600160a01b03908116908316156110e2576110e281848661138b565b6001600160a01b0381161561111c576110fd5f855f80610eb0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b0385161561114a576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f6111b28361083b565b5f83815260076020526040902054909150808214611203576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f9061124690600190611b04565b5f838152600960205260408120546008805493945090928490811061126d5761126d611974565b905f5260205f2001549050806008838154811061128c5761128c611974565b5f9182526020808320909101929092558281526009909152604080822084905585825281205560088054806112c3576112c3611b17565b600190038181905f5260205f20015f9055905550505050565b5f60016112e88461083b565b6112f29190611b04565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661135357604051633250574960e11b81525f60048201526024016105a9565b5f61135f83835f610fcd565b90506001600160a01b038116156106c9576040516339e3563760e11b81525f60048201526024016105a9565b6113968383836113ef565b6106c9576001600160a01b0383166113c457604051637e27328960e01b8152600481018290526024016105a9565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a9565b5f6001600160a01b038316158015906110985750826001600160a01b0316846001600160a01b0316148061142857506114288484610abd565b806110985750505f908152600460205260409020546001600160a01b03908116911614919050565b50805461145c9061183d565b5f825580601f1061146b575050565b601f0160209004905f5260205f20908101906107d991905b80821115611496575f8155600101611483565b5090565b6001600160e01b0319811681146107d9575f80fd5b5f602082840312156114bf575f80fd5b813561061d8161149a565b5f602082840312156114da575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61061d60208301846114e1565b80356001600160a01b0381168114611537575f80fd5b919050565b5f806040838503121561154d575f80fd5b61155683611521565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561159257611592611564565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156115c1576115c1611564565b6040528381529050808284018510156115d8575f80fd5b838360208301375f60208583010152509392505050565b5f82601f8301126115fe575f80fd5b61061d83833560208501611578565b5f805f6060848603121561161f575f80fd5b61162884611521565b925061163660208501611521565b9150604084013567ffffffffffffffff811115611651575f80fd5b61165d868287016115ef565b9150509250925092565b5f805f60608486031215611679575f80fd5b61168284611521565b925061169060208501611521565b929592945050506040919091013590565b5f602082840312156116b1575f80fd5b61061d82611521565b5f80604083850312156116cb575f80fd5b82359150602083013567ffffffffffffffff8111156116e8575f80fd5b6116f4858286016115ef565b9150509250929050565b5f806040838503121561170f575f80fd5b61171883611521565b91506020830135801515811461172c575f80fd5b809150509250929050565b5f805f806080858703121561174a575f80fd5b61175385611521565b935061176160208601611521565b925060408501359150606085013567ffffffffffffffff811115611783575f80fd5b8501601f81018713611793575f80fd5b6117a287823560208401611578565b91505092959194509250565b5f80604083850312156117bf575f80fd5b50508035926020909101359150565b5f80604083850312156117df575f80fd5b6117e883611521565b91506117f660208401611521565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610481576104816117ff565b80820180821115610481576104816117ff565b600181811c9082168061185157607f821691505b60208210810361186f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106c957805f5260205f20601f840160051c8101602085101561189a5750805b601f840160051c820191505b81811015610e7f575f81556001016118a6565b815167ffffffffffffffff8111156118d3576118d3611564565b6118e7816118e1845461183d565b84611875565b6020601f821160018114611919575f83156119025750848201515b5f19600385901b1c1916600184901b178455610e7f565b5f84815260208120601f198516915b828110156119485787850151825560209485019460019092019101611928565b508482101561196557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b6001815b60018411156119c3578085048111156119a7576119a76117ff565b60018416156119b557908102905b60019390931c92800261198c565b935093915050565b5f826119d957506001610481565b816119e557505f610481565b81600181146119fb5760028114611a0557611a21565b6001915050610481565b60ff841115611a1657611a166117ff565b50506001821b610481565b5060208310610133831016604e8410600b8410161715611a44575081810a610481565b611a505f198484611988565b805f1904821115611a6357611a636117ff565b029392505050565b5f61061d83836119cb565b5f60018201611a8757611a876117ff565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611ac0908301846114e1565b9695505050505050565b5f60208284031215611ada575f80fd5b815161061d8161149a565b5f82611aff57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610481576104816117ff565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201d31494400f2f6b1803c0ba290746b839b92f1ea950e7d4b79b95b462fe31cb464736f6c634300081a003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
1502
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610319575f3560e01c8063a48f42e0116101af578063caed9897116100fe578063e278c9241161009e578063e74d052f11610079578063e74d052f14610861578063f40d7c3014610874578063fbe4b7c01461087c578063fff74f6c14610884575f80fd5b8063e278c9241461082a578063e285c9c414610851578063e2b178a014610859575f80fd5b8063d2213b5b116100d9578063d2213b5b1461078e578063d39e6043146107ae578063d9247149146107ea578063dfca014214610812575f80fd5b8063caed989714610738578063cefa7fd614610749578063d1982d881461077b575f80fd5b8063b303aaf811610169578063bf8e179711610144578063bf8e1797146106b7578063c0c53b8b146106eb578063c1b8411a146106fe578063c3c5a54714610725575f80fd5b8063b303aaf814610681578063b624e2ba14610694578063bf7e214f146106a7575f80fd5b8063a48f42e014610606578063a5df9e4e14610619578063a7050a561461062c578063abbbbd0c1461063f578063ae8dfb7914610666578063b08c0b541461066e575f80fd5b806338bb429a1161026b5780637a9e5e4b116102255780638b09a5f0116102005780638b09a5f0146105775780638e7b3927146105975780638fb36037146105be57806396f4b69e146105df575f80fd5b80637a9e5e4b14610552578063839f700c14610567578063893d20e81461056f575f80fd5b806338bb429a146104745780633fe9300e14610487578063598e2892146104a95780635c0e6264146104e85780635e546bee146104fb578063644c45e01461052c575f80fd5b8063120726c3116102d65780631a848cfb116102b15780631a848cfb1461040c5780632a0acc6a146104145780632b91e0a91461043b5780632de837e01461044e575f80fd5b8063120726c3146103c057806314afd79e146103e657806317dc5e2a146103f9575f80fd5b806301f6b5a21461031d57806301ffc9a7146103435780630e41142e146103665780630e6d1de9146103805780630e9ed68b1461038857806311edceaa146103ad575b5f80fd5b61033061032b366004612d9b565b6108aa565b6040519081526020015b60405180910390f35b610356610351366004612db2565b6108ce565b604051901515815260200161033a565b61036e610912565b60405160ff909116815260200161033a565b61036e610a04565b600b546001600160a01b03165b6040516001600160a01b03909116815260200161033a565b6103566103bb366004612dfa565b610a56565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b6103956103f4366004612e34565b610ad0565b610356610407366004612e34565b610bfa565b610330610c5f565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610449366004612e34565b610ce0565b7f0000000000000000000000000000000000000000000000000000000000000000610395565b610395610482366004612e6e565b610d23565b61049c60405180602001604052805f81525081565b60405161033a9190612eb7565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161033a565b6103566104f6366004612ec9565b610d96565b6104d0610509366004612e34565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b610565610560366004612e34565b610dc9565b005b610330600381565b610395610e46565b61058a610585366004612e34565b610e50565b60405161033a9190612f00565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b6105c6610fb7565b6040516001600160e01b0319909116815260200161033a565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b61058a610614366004612e6e565b610fd9565b6104d0610627366004613117565b6110a9565b6104d061063a366004613149565b6111a1565b6104d07f000000000000000000000000000000000000000000000000000000000000000081565b610330600281565b61056561067c3660046131a9565b6114a9565b61035661068f3660046131dd565b61176f565b6103566106a2366004613209565b611899565b5f546001600160a01b0316610395565b6103956106c5366004612e6e565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b6105656106f9366004613225565b6118c5565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610356610733366004612e34565b611a8c565b600a546001600160a01b0316610395565b6104d0610757366004612e6e565b6001600160601b039081165f90815260036020526040902054600160601b90041690565b6104d0610789366004613117565b611b00565b6107a161079c366004612dfa565b611c79565b60405161033a9190613262565b6103956107bc3660046132e3565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104d06107f8366004612d9b565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b0316610395565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b610395600181565b610395611d22565b61035661086f366004612e6e565b611da3565b61036e611dfc565b600254610330565b7f00000000000000000000000000000000000000000000000000000000000000006104d0565b5f600282815481106108be576108be6132ff565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108fe57506001600160e01b03198216630398724f60e11b145b1561090b57506001919050565b505f919050565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a29190613313565b6040518263ffffffff1660e01b81526004016109c091815260200190565b602060405180830381865af41580156109db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff919061332a565b905090565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa158015610aa6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613345565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b949190613360565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610bd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613386565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610c5890600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cbc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613313565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610aca90600160c01b900460ff166008610c4d565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610b55565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610dc18184611899565b949350505050565b5f5433906001600160a01b03168114610e045760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e39576040516361798f2f60e11b81526001600160a01b0383166004820152602401610dfb565b610e4282611e4e565b5050565b5f6109ff30610ad0565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610f30906133a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5c906133a1565b8015610fa75780601f10610f7e57610100808354040283529160200191610fa7565b820191905f5260205f20905b815481529060010190602001808311610f8a57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610fcd57505f90565b50638fb3603760e01b90565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610f30906133a1565b5f6110b6335b5f36611ea1565b60808201516040808401516020808601516001600160601b03165f90815260039091529190912054600160c01b900460ff166001600160a01b0383166111455760ff8083165f90815260086020908152604080832085851684529091528120549091161515900361114057828282604051639c52edaf60e01b8152600401610dfb939291906133d9565b61118f565b60ff8083165f90815260076020908152604080832085851684529091528120549091161515900361118f57828282604051639c52edaf60e01b8152600401610dfb939291906133d9565b61119885611f97565b95945050505050565b5f6111ab336110af565b60808401516001600160a01b0381166111d757604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af4158015611227573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124b9190613345565b156112745760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610dfb565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156112c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e89190613345565b1561131a5760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610dfb565b611336856040015161132a600890565b60ff9081169116141590565b1561136e5760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610dfb565b61139c85602001517f00000000000000000000000000000000000000000000000000000000000000006124c9565b156113e3576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610dfb565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b03161561142f5780848460405163ed45a40f60e01b8152600401610dfb939291906133d9565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a161119885611f97565b6114b2336110af565b466001146114d55760405163e657d2e760e01b8152466004820152602401610dfb565b815f03611500576040516391b6b54560e01b81526001600160601b0384166004820152602401610dfb565b6001600160a01b0381166115395760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610dfb565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa1580156115a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c99190613313565b905061164c8473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b815260040161160891815260200190565b602060405180830381865af4158015611623573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116479190613360565b6124c9565b1561167c57604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610dfb565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd0d9fccd0d257e9ea3515cef639e01478a9c16c8c046bd7216820ca8b26359529181900360600190a1611769836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001611722600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f61254e565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af41580156117fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118229190613360565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118889190613386565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610c58565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561190a5750825b90505f8267ffffffffffffffff1660011480156119265750303b155b905081158015611934575080155b156119525760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197c57845460ff60401b1916600160401b1785555b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146119c5576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b805492891692909116919091179055611a1c612678565b600980546001600160601b0319166001600160601b03929092169190911790558315611a8257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610aa6573d5f803e3d5ffd5b5f611b0a336110af565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611b66576040516368f27c4360e11b815260040160405180910390fd5b611bd58273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4d919061332a565b80611c265750611c268173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bb1573d5f803e3d5ffd5b80611c375750611c37816001610c4d565b80611c485750611c48816008610c4d565b15611c705783608001518282604051639c52edaf60e01b8152600401610dfb939291906133d9565b610dc184611f97565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca9190613411565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ff9190613386565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611ae5565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109db573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611ed4611eb75f546001600160a01b031690565b8630611ec660045f898b6134a0565b611ecf916134c7565b6128f0565b9150915081611f905763ffffffff811615611f6d575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611f2e908890889088906004016134fd565b5f604051808303815f87803b158015611f45575f80fd5b505af1158015611f57573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611f909050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610dfb565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c0840191612058906133a1565b80601f0160208091040260200160405190810160405280929190818152602001828054612084906133a1565b80156120cf5780601f106120a6576101008083540402835291602001916120cf565b820191905f5260205f20905b8154815290600101906020018083116120b257829003601f168201915b5050509190925250505060808101519091506001461461214557612113837f00000000000000000000000000000000000000000000000000000000000000006129f8565b1561214557604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610dfb565b5f612157878988866060015186612a42565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121da9190613313565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561222b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224f9190613360565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816123949190613580565b509050506123a28a88612a94565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a691612469918b9188919060040161363b565b6020604051808303815f875af1158015612485573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124a99190613313565b90508181146124ba576124ba613666565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561252a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c589190613345565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125d89190613345565b61260a578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610dfb565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126738282612b97565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ee9190613386565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa158015612756573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277a9190613313565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef9190613360565b92506128896040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b03168152602001612845600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612b97565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156128d5575f80fd5b505af11580156128e7573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161295e919061367a565b5f60405180830381855afa9150503d805f8114612996576040519150601f19603f3d011682016040523d82523d5f602084013e61299b565b606091505b509150915081156129ed5760408151106129cd57808060200190518101906129c39190613690565b90945092506129ed565b60208151106129ed57808060200190518101906129ea9190613345565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d9060440161250f565b5f612a4e85601e610c4d565b15612a5a57505f611198565b6001600160a01b038416612a7c578215612a75575080611198565b505f611198565b8515612a89575082611198565b505f95945050505050565b6001600160a01b03811615610e42576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b389190613345565b15612b6157604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610dfb565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612c679082613580565b509050508015612c8257612c82825f01518360800151612a94565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d359190613360565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612d81575f80fd5b505af1158015612d93573d5f803e3d5ffd5b505050505050565b5f60208284031215612dab575f80fd5b5035919050565b5f60208284031215612dc2575f80fd5b81356001600160e01b031981168114610c58575f80fd5b60ff81168114612de7575f80fd5b50565b8035612df581612dd9565b919050565b5f60208284031215612e0a575f80fd5b8135610c5881612dd9565b6001600160a01b0381168114612de7575f80fd5b8035612df581612e15565b5f60208284031215612e44575f80fd5b8135610c5881612e15565b6001600160601b0381168114612de7575f80fd5b8035612df581612e4f565b5f60208284031215612e7e575f80fd5b8135610c5881612e4f565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c586020830184612e89565b5f8060408385031215612eda575f80fd5b8235612ee581612e15565b91506020830135612ef581612dd9565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612f48608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610dc1610100840182612e89565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612fc357612fc3612f8c565b60405290565b8015158114612de7575f80fd5b8035612df581612fc9565b5f82601f830112612ff0575f80fd5b813567ffffffffffffffff81111561300a5761300a612f8c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561303957613039612f8c565b604052818152838201602001851015613050575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e0828403121561307c575f80fd5b613084612fa0565b905061308f82612e63565b815261309d60208301612e63565b60208201526130ae60408301612dea565b60408201526130bf60608301612fd6565b60608201526130d060808301612e29565b60808201526130e160a08301612e29565b60a082015260c082013567ffffffffffffffff8111156130ff575f80fd5b61310b84828501612fe1565b60c08301525092915050565b5f60208284031215613127575f80fd5b813567ffffffffffffffff81111561313d575f80fd5b610dc18482850161306c565b5f805f6060848603121561315b575f80fd5b833567ffffffffffffffff811115613171575f80fd5b61317d8682870161306c565b935050602084013561318e81612dd9565b9150604084013561319e81612dd9565b809150509250925092565b5f805f606084860312156131bb575f80fd5b83356131c681612e4f565b925060208401359150604084013561319e81612e15565b5f80604083850312156131ee575f80fd5b82356131f981612e4f565b91506020830135612ef581612e15565b5f806040838503121561321a575f80fd5b8235612ee581612e4f565b5f805f60608486031215613237575f80fd5b833561324281612e15565b9250602084013561325281612e15565b9150604084013561319e81612e15565b5f60e08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015260018060a01b03608084015116608083015260a08301516132c360a084018264ffffffffff169052565b5060c08301516132dc60c084018264ffffffffff169052565b5092915050565b5f80604083850312156132f4575f80fd5b8235612ee581612dd9565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215613323575f80fd5b5051919050565b5f6020828403121561333a575f80fd5b8151610c5881612dd9565b5f60208284031215613355575f80fd5b8151610c5881612fc9565b5f60208284031215613370575f80fd5b8151610c5881612e4f565b8051612df581612e15565b5f60208284031215613396575f80fd5b8151610c5881612e15565b600181811c908216806133b557607f821691505b6020821081036133d357634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612df5575f80fd5b5f60e0828403128015613422575f80fd5b5061342b612fa0565b825161343681612dd9565b8152602083015161344681612dd9565b6020820152604083810151908201526134616060840161337b565b60608201526134726080840161337b565b608082015261348360a084016133fd565b60a082015261349460c084016133fd565b60c08201529392505050565b5f80858511156134ae575f80fd5b838611156134ba575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156132dc576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561267357805f5260205f20601f840160051c810160208510156135615750805b601f840160051c820191505b81811015611f90575f815560010161356d565b815167ffffffffffffffff81111561359a5761359a612f8c565b6135ae816135a884546133a1565b8461353c565b6020601f8211600181146135e0575f83156135c95750848201515b5f19600385901b1c1916600184901b178455611f90565b5f84815260208120601f198516915b8281101561360f57878501518255602094850194600190920191016135ef565b508482101561362c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f9061119890830184612e89565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f80604083850312156136a1575f80fd5b82516136ac81612fc9565b602084015190925063ffffffff81168114612ef5575f80fdfea26469706673582212204c465800c0b27d3343d73a962dd765e264fcb57eaeb1f33b8644234749fe2e7764736f6c634300081a0033",
819
1503
  "linkReferences": {
820
- "contracts/types/NftId.sol": {
1504
+ "contracts/type/NftId.sol": {
821
1505
  "NftIdLib": [
822
1506
  {
823
1507
  "length": 20,
824
- "start": 5920
1508
+ "start": 277
825
1509
  },
826
1510
  {
827
1511
  "length": 20,
828
- "start": 6636
1512
+ "start": 789
829
1513
  },
830
1514
  {
831
1515
  "length": 20,
832
- "start": 7317
1516
+ "start": 914
833
1517
  },
834
1518
  {
835
1519
  "length": 20,
836
- "start": 9235
1520
+ "start": 1225
837
1521
  },
838
1522
  {
839
1523
  "length": 20,
840
- "start": 9844
841
- }
842
- ]
843
- },
844
- "contracts/types/ObjectType.sol": {
845
- "ObjectTypeLib": [
1524
+ "start": 3294
1525
+ },
846
1526
  {
847
1527
  "length": 20,
848
- "start": 9995
849
- }
850
- ]
851
- },
852
- "contracts/types/Version.sol": {
853
- "VersionLib": [
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
+ },
854
1570
  {
855
1571
  "length": 20,
856
- "start": 231
1572
+ "start": 15636
857
1573
  },
858
1574
  {
859
1575
  "length": 20,
860
- "start": 2745
1576
+ "start": 15824
861
1577
  },
862
1578
  {
863
1579
  "length": 20,
864
- "start": 7376
1580
+ "start": 16333
865
1581
  }
866
- ],
867
- "VersionPartLib": [
1582
+ ]
1583
+ },
1584
+ "contracts/type/ObjectType.sol": {
1585
+ "ObjectTypeLib": [
1586
+ {
1587
+ "length": 20,
1588
+ "start": 9600
1589
+ },
868
1590
  {
869
1591
  "length": 20,
870
- "start": 6867
1592
+ "start": 11872
871
1593
  },
872
1594
  {
873
1595
  "length": 20,
874
- "start": 6995
1596
+ "start": 11989
875
1597
  },
876
1598
  {
877
1599
  "length": 20,
878
- "start": 10119
1600
+ "start": 12494
1601
+ }
1602
+ ]
1603
+ },
1604
+ "contracts/type/Version.sol": {
1605
+ "VersionPartLib": [
1606
+ {
1607
+ "length": 20,
1608
+ "start": 7177
879
1609
  },
880
1610
  {
881
1611
  "length": 20,
882
- "start": 10243
1612
+ "start": 9443
883
1613
  }
884
1614
  ]
885
1615
  }
886
1616
  },
887
1617
  "deployedLinkReferences": {
888
- "contracts/types/NftId.sol": {
1618
+ "contracts/type/NftId.sol": {
889
1619
  "NftIdLib": [
890
1620
  {
891
1621
  "length": 20,
892
- "start": 1045
1622
+ "start": 2871
893
1623
  },
894
1624
  {
895
1625
  "length": 20,
896
- "start": 1761
1626
+ "start": 3444
897
1627
  },
898
1628
  {
899
1629
  "length": 20,
900
- "start": 2442
1630
+ "start": 5585
901
1631
  },
902
1632
  {
903
1633
  "length": 20,
904
- "start": 4360
1634
+ "start": 6086
905
1635
  },
906
1636
  {
907
1637
  "length": 20,
908
- "start": 4969
909
- }
910
- ]
911
- },
912
- "contracts/types/ObjectType.sol": {
913
- "ObjectTypeLib": [
1638
+ "start": 6855
1639
+ },
1640
+ {
1641
+ "length": 20,
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
+ },
914
1664
  {
915
1665
  "length": 20,
916
- "start": 5120
1666
+ "start": 11481
917
1667
  }
918
1668
  ]
919
1669
  },
920
- "contracts/types/Version.sol": {
921
- "VersionLib": [
1670
+ "contracts/type/ObjectType.sol": {
1671
+ "ObjectTypeLib": [
922
1672
  {
923
1673
  "length": 20,
924
- "start": 2501
925
- }
926
- ],
927
- "VersionPartLib": [
1674
+ "start": 4748
1675
+ },
928
1676
  {
929
1677
  "length": 20,
930
- "start": 1992
1678
+ "start": 7020
931
1679
  },
932
1680
  {
933
1681
  "length": 20,
934
- "start": 2120
1682
+ "start": 7137
935
1683
  },
936
1684
  {
937
1685
  "length": 20,
938
- "start": 5244
1686
+ "start": 7642
1687
+ }
1688
+ ]
1689
+ },
1690
+ "contracts/type/Version.sol": {
1691
+ "VersionPartLib": [
1692
+ {
1693
+ "length": 20,
1694
+ "start": 2325
939
1695
  },
940
1696
  {
941
1697
  "length": 20,
942
- "start": 5368
1698
+ "start": 4591
943
1699
  }
944
1700
  ]
945
1701
  }