@etherisc/gif-next 0.0.2-eb13b47-989 → 0.0.2-eb4b6ab-521

Sign up to get free protection for your applications and to get access to all the features.
Files changed (727) 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 +1341 -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 +414 -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} +550 -540
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -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 +470 -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 +1501 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +860 -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 +1008 -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 +502 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2040 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -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 +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -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 +502 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2408 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -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 +616 -246
  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 +378 -2982
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1800 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1630 -574
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +532 -262
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +389 -77
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -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} +31 -8
  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/IAccess.sol/IAccess.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  104. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  105. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  108. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  109. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  119. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleService.sol/IOracleService.json} +347 -365
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +820 -0
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +946 -0
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1309 -0
  140. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  141. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1626 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +792 -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 +470 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1538 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +860 -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 +1082 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +968 -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} +172 -185
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1320 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  179. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +632 -168
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +381 -210
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +973 -200
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +345 -337
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +349 -122
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1325 -0
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  213. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1597 -0
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +824 -0
  218. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +188 -184
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  228. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  229. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +353 -167
  230. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1221 -0
  232. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  234. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  236. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  238. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  240. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  242. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  244. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  245. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +137 -159
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +156 -171
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +734 -8
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1067 -0
  278. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  279. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  282. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1272 -0
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +199 -0
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  342. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  346. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  352. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  354. package/contracts/accounting/AccountingService.sol +262 -0
  355. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  356. package/contracts/accounting/IAccountingService.sol +45 -0
  357. package/contracts/authorization/AccessAdmin.sol +659 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  359. package/contracts/authorization/Authorization.sol +289 -0
  360. package/contracts/authorization/IAccess.sol +49 -0
  361. package/contracts/authorization/IAccessAdmin.sol +140 -0
  362. package/contracts/authorization/IAuthorization.sol +60 -0
  363. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  364. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  365. package/contracts/distribution/BasicDistribution.sol +139 -0
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  367. package/contracts/distribution/Distribution.sol +287 -0
  368. package/contracts/distribution/DistributionService.sol +357 -0
  369. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  370. package/contracts/distribution/IDistributionComponent.sol +52 -0
  371. package/contracts/distribution/IDistributionService.sol +100 -0
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +90 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +438 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +370 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +55 -17
  387. package/contracts/instance/IInstanceService.sol +59 -17
  388. package/contracts/instance/Instance.sol +165 -372
  389. package/contracts/instance/InstanceAdmin.sol +326 -0
  390. package/contracts/instance/InstanceAuthorizationV3.sol +225 -0
  391. package/contracts/instance/InstanceReader.sol +379 -73
  392. package/contracts/instance/InstanceService.sol +352 -86
  393. package/contracts/instance/InstanceServiceManager.sol +14 -31
  394. package/contracts/instance/InstanceStore.sol +298 -0
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/BalanceStore.sol +123 -0
  397. package/contracts/instance/base/Cloneable.sol +28 -0
  398. package/contracts/instance/base/ObjectCounter.sol +20 -0
  399. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  400. package/contracts/instance/base/ObjectSet.sol +77 -0
  401. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  402. package/contracts/instance/module/IAccess.sol +29 -21
  403. package/contracts/instance/module/IBundle.sol +8 -7
  404. package/contracts/instance/module/IComponents.sol +51 -0
  405. package/contracts/instance/module/IDistribution.sol +6 -4
  406. package/contracts/instance/module/IPolicy.sol +59 -19
  407. package/contracts/instance/module/IRisk.sol +4 -1
  408. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  409. package/contracts/oracle/BasicOracle.sol +47 -0
  410. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  411. package/contracts/oracle/IOracle.sol +36 -0
  412. package/contracts/oracle/IOracleComponent.sol +33 -0
  413. package/contracts/oracle/IOracleService.sol +66 -0
  414. package/contracts/oracle/Oracle.sol +156 -0
  415. package/contracts/oracle/OracleService.sol +310 -0
  416. package/contracts/oracle/OracleServiceManager.sol +39 -0
  417. package/contracts/pool/BasicPool.sol +175 -0
  418. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  419. package/contracts/pool/BundleService.sol +425 -0
  420. package/contracts/pool/BundleServiceManager.sol +39 -0
  421. package/contracts/pool/IBundleService.sol +121 -0
  422. package/contracts/pool/IPoolComponent.sol +62 -0
  423. package/contracts/pool/IPoolService.sol +153 -0
  424. package/contracts/pool/Pool.sol +345 -0
  425. package/contracts/pool/PoolService.sol +615 -0
  426. package/contracts/pool/PoolServiceManager.sol +39 -0
  427. package/contracts/product/ApplicationService.sol +259 -0
  428. package/contracts/product/ApplicationServiceManager.sol +38 -0
  429. package/contracts/product/BasicProduct.sol +51 -0
  430. package/contracts/product/BasicProductAuthorization.sol +41 -0
  431. package/contracts/product/ClaimService.sol +708 -0
  432. package/contracts/product/ClaimServiceManager.sol +38 -0
  433. package/contracts/product/IApplicationService.sol +66 -0
  434. package/contracts/product/IClaimService.sol +136 -0
  435. package/contracts/product/IPolicyService.sol +90 -0
  436. package/contracts/product/IPricingService.sol +39 -0
  437. package/contracts/product/IProductComponent.sol +62 -0
  438. package/contracts/product/IRiskService.sol +33 -0
  439. package/contracts/product/PolicyService.sol +736 -0
  440. package/contracts/product/PolicyServiceManager.sol +39 -0
  441. package/contracts/product/PricingService.sol +304 -0
  442. package/contracts/product/PricingServiceManager.sol +39 -0
  443. package/contracts/product/Product.sol +463 -0
  444. package/contracts/product/RiskService.sol +151 -0
  445. package/contracts/product/RiskServiceManager.sol +39 -0
  446. package/contracts/registry/ChainNft.sol +82 -35
  447. package/contracts/registry/IRegistry.sol +122 -48
  448. package/contracts/registry/IRegistryService.sol +44 -17
  449. package/contracts/registry/IRelease.sol +26 -0
  450. package/contracts/registry/ITransferInterceptor.sol +1 -1
  451. package/contracts/registry/Registry.sol +546 -288
  452. package/contracts/registry/RegistryAdmin.sol +344 -0
  453. package/contracts/registry/RegistryService.sol +123 -326
  454. package/contracts/registry/RegistryServiceManager.sol +27 -38
  455. package/contracts/registry/ReleaseAdmin.sol +245 -0
  456. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  457. package/contracts/registry/ReleaseRegistry.sol +511 -0
  458. package/contracts/registry/ServiceAuthorizationV3.sol +242 -0
  459. package/contracts/registry/TokenRegistry.sol +313 -0
  460. package/contracts/shared/Component.sol +226 -0
  461. package/contracts/shared/ComponentService.sol +700 -0
  462. package/contracts/shared/ComponentServiceManager.sol +38 -0
  463. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  464. package/contracts/shared/ContractLib.sol +252 -0
  465. package/contracts/shared/IComponent.sol +61 -0
  466. package/contracts/shared/IComponentService.sol +116 -0
  467. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  468. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  469. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  470. package/contracts/shared/INftOwnable.sol +15 -12
  471. package/contracts/shared/IPolicyHolder.sol +35 -0
  472. package/contracts/shared/IRegisterable.sol +25 -5
  473. package/contracts/shared/IRegistryLinked.sol +11 -0
  474. package/contracts/shared/IService.sol +13 -5
  475. package/contracts/shared/InitializableERC165.sol +27 -0
  476. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  477. package/contracts/shared/KeyValueStore.sol +131 -0
  478. package/contracts/shared/Lifecycle.sol +88 -0
  479. package/contracts/shared/NftIdSet.sol +65 -0
  480. package/contracts/shared/NftOwnable.sol +75 -84
  481. package/contracts/shared/PolicyHolder.sol +62 -0
  482. package/contracts/shared/Registerable.sol +57 -37
  483. package/contracts/shared/RegistryLinked.sol +38 -0
  484. package/contracts/shared/Service.sol +44 -33
  485. package/contracts/shared/TokenHandler.sol +374 -12
  486. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  487. package/contracts/staking/IStaking.sol +173 -0
  488. package/contracts/staking/IStakingService.sol +157 -0
  489. package/contracts/staking/StakeManagerLib.sol +224 -0
  490. package/contracts/staking/Staking.sol +526 -0
  491. package/contracts/staking/StakingLifecycle.sol +23 -0
  492. package/contracts/staking/StakingManager.sol +52 -0
  493. package/contracts/staking/StakingReader.sol +190 -0
  494. package/contracts/staking/StakingService.sol +439 -0
  495. package/contracts/staking/StakingServiceManager.sol +44 -0
  496. package/contracts/staking/StakingStore.sol +605 -0
  497. package/contracts/staking/TargetManagerLib.sol +211 -0
  498. package/contracts/{types → type}/AddressSet.sol +1 -1
  499. package/contracts/type/Amount.sol +150 -0
  500. package/contracts/{types → type}/Blocknumber.sol +27 -3
  501. package/contracts/type/ClaimId.sol +80 -0
  502. package/contracts/{types → type}/DistributorType.sol +2 -2
  503. package/contracts/{types → type}/Fee.sol +33 -23
  504. package/contracts/{types → type}/Key32.sol +2 -2
  505. package/contracts/type/Key32Set.sol +62 -0
  506. package/contracts/{types → type}/NftId.sol +28 -15
  507. package/contracts/type/NftIdSet.sol +62 -0
  508. package/contracts/type/ObjectType.sol +290 -0
  509. package/contracts/type/PayoutId.sol +82 -0
  510. package/contracts/{types → type}/Referral.sol +6 -1
  511. package/contracts/type/RequestId.sol +75 -0
  512. package/contracts/type/RiskId.sol +74 -0
  513. package/contracts/type/RoleId.sol +165 -0
  514. package/contracts/type/Seconds.sol +101 -0
  515. package/contracts/type/Selector.sol +102 -0
  516. package/contracts/{types → type}/StateId.sol +52 -4
  517. package/contracts/type/String.sol +53 -0
  518. package/contracts/{types → type}/Timestamp.sol +33 -19
  519. package/contracts/{types → type}/UFixed.sol +41 -121
  520. package/contracts/{types → type}/Version.sol +20 -7
  521. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  522. package/contracts/upgradeability/ProxyManager.sol +232 -0
  523. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  524. package/contracts/upgradeability/Versionable.sol +59 -0
  525. package/package.json +11 -7
  526. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  527. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  528. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -610
  530. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  532. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  534. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  536. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  538. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  539. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -774
  540. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  541. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  542. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  544. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  548. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  550. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  552. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  554. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  556. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  558. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  560. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  565. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  567. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  569. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  573. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  575. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  577. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  579. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  581. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  582. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  583. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  584. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  585. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  586. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -930
  587. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  590. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  594. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  596. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  598. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  599. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  600. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  602. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  604. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  605. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  606. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  607. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  608. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  609. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  610. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  612. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  614. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  615. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  616. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  617. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  618. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  620. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  622. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  624. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  626. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  628. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  630. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  632. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  633. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  634. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  635. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  636. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  638. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  640. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  642. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  644. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  645. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  646. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  648. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  649. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  650. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  652. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  653. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  654. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  656. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  658. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  660. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  662. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  664. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  666. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  668. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  670. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  672. package/contracts/components/BaseComponent.sol +0 -86
  673. package/contracts/components/Distribution.sol +0 -166
  674. package/contracts/components/IBaseComponent.sol +0 -24
  675. package/contracts/components/IDistributionComponent.sol +0 -43
  676. package/contracts/components/IPoolComponent.sol +0 -62
  677. package/contracts/components/IProductComponent.sol +0 -35
  678. package/contracts/components/Pool.sol +0 -259
  679. package/contracts/components/Product.sol +0 -297
  680. package/contracts/experiment/cloning/Cloner.sol +0 -47
  681. package/contracts/experiment/errors/Require.sol +0 -38
  682. package/contracts/experiment/errors/Revert.sol +0 -44
  683. package/contracts/experiment/inheritance/A.sol +0 -53
  684. package/contracts/experiment/inheritance/B.sol +0 -28
  685. package/contracts/experiment/inheritance/C.sol +0 -34
  686. package/contracts/experiment/inheritance/IA.sol +0 -13
  687. package/contracts/experiment/inheritance/IB.sol +0 -10
  688. package/contracts/experiment/inheritance/IC.sol +0 -12
  689. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  690. package/contracts/experiment/statemachine/ISM.sol +0 -25
  691. package/contracts/experiment/statemachine/SM.sol +0 -57
  692. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  693. package/contracts/experiment/types/TypeA.sol +0 -47
  694. package/contracts/experiment/types/TypeB.sol +0 -29
  695. package/contracts/instance/AccessManagedSimple.sol +0 -122
  696. package/contracts/instance/AccessManagerSimple.sol +0 -692
  697. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  698. package/contracts/instance/InstanceAccessManager.sol +0 -288
  699. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  700. package/contracts/instance/base/IInstanceBase.sol +0 -23
  701. package/contracts/instance/base/KeyValueStore.sol +0 -172
  702. package/contracts/instance/base/Lifecycle.sol +0 -100
  703. package/contracts/instance/module/ISetup.sol +0 -43
  704. package/contracts/instance/module/ITreasury.sol +0 -23
  705. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  706. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  707. package/contracts/instance/service/IDistributionService.sol +0 -12
  708. package/contracts/instance/service/IPoolService.sol +0 -37
  709. package/contracts/instance/service/IProductService.sol +0 -107
  710. package/contracts/shared/ContractDeployerLib.sol +0 -72
  711. package/contracts/shared/ERC165.sol +0 -21
  712. package/contracts/shared/ProxyManager.sol +0 -94
  713. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  714. package/contracts/shared/Versionable.sol +0 -147
  715. package/contracts/test/TestFee.sol +0 -25
  716. package/contracts/test/TestRegisterable.sol +0 -18
  717. package/contracts/test/TestRoleId.sol +0 -14
  718. package/contracts/test/TestService.sol +0 -24
  719. package/contracts/test/TestToken.sol +0 -26
  720. package/contracts/test/TestVersion.sol +0 -44
  721. package/contracts/test/TestVersionable.sol +0 -17
  722. package/contracts/types/ChainId.sol +0 -38
  723. package/contracts/types/NftIdSet.sol +0 -60
  724. package/contracts/types/NumberId.sol +0 -52
  725. package/contracts/types/ObjectType.sol +0 -152
  726. package/contracts/types/RiskId.sol +0 -43
  727. package/contracts/types/RoleId.sol +0 -82
@@ -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"
93
119
  }
94
120
  ],
95
- "name": "NotRegisteredContract",
121
+ "name": "ErrorRegistryChainRegistryNftIdInvalid",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "objectAddress",
129
+ "type": "address"
130
+ }
131
+ ],
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"
109
151
  }
110
152
  ],
111
- "name": "NotService",
153
+ "name": "ErrorRegistryGlobalRegistryAsParent",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "chainId",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "ErrorRegistryNotOnMainnet",
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",
@@ -276,31 +389,206 @@
276
389
  "type": "uint8"
277
390
  },
278
391
  {
279
- "indexed": false,
280
- "internalType": "bool",
281
- "name": "active",
282
- "type": "bool"
392
+ "indexed": false,
393
+ "internalType": "ObjectType",
394
+ "name": "domain",
395
+ "type": "uint8"
396
+ }
397
+ ],
398
+ "name": "LogServiceRegistration",
399
+ "type": "event"
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
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "EMPTY_URI",
443
+ "outputs": [
444
+ {
445
+ "internalType": "string",
446
+ "name": "",
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"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "chainIds",
560
+ "outputs": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "",
564
+ "type": "uint256"
283
565
  }
284
566
  ],
285
- "name": "LogTokenStateSet",
286
- "type": "event"
567
+ "stateMutability": "view",
568
+ "type": "function"
287
569
  },
288
570
  {
289
571
  "inputs": [],
290
- "name": "EMPTY_URI",
572
+ "name": "getAuthority",
291
573
  "outputs": [
292
574
  {
293
- "internalType": "string",
575
+ "internalType": "address",
294
576
  "name": "",
295
- "type": "string"
577
+ "type": "address"
296
578
  }
297
579
  ],
298
580
  "stateMutability": "view",
299
581
  "type": "function"
300
582
  },
301
583
  {
302
- "inputs": [],
303
- "name": "GIF_MAJOR_VERSION_AT_DEPLOYMENT",
584
+ "inputs": [
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "idx",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "name": "getChainId",
304
592
  "outputs": [
305
593
  {
306
594
  "internalType": "uint256",
@@ -313,7 +601,7 @@
313
601
  },
314
602
  {
315
603
  "inputs": [],
316
- "name": "NFT_LOCK_ADDRESS",
604
+ "name": "getChainNftAddress",
317
605
  "outputs": [
318
606
  {
319
607
  "internalType": "address",
@@ -326,12 +614,12 @@
326
614
  },
327
615
  {
328
616
  "inputs": [],
329
- "name": "REGISTRY_SERVICE_TOKEN_SEQUENCE_ID",
617
+ "name": "getInitialVersion",
330
618
  "outputs": [
331
619
  {
332
- "internalType": "uint256",
620
+ "internalType": "VersionPart",
333
621
  "name": "",
334
- "type": "uint256"
622
+ "type": "uint8"
335
623
  }
336
624
  ],
337
625
  "stateMutability": "view",
@@ -339,12 +627,12 @@
339
627
  },
340
628
  {
341
629
  "inputs": [],
342
- "name": "getChainNft",
630
+ "name": "getLatestVersion",
343
631
  "outputs": [
344
632
  {
345
- "internalType": "contract ChainNft",
633
+ "internalType": "VersionPart",
346
634
  "name": "",
347
- "type": "address"
635
+ "type": "uint8"
348
636
  }
349
637
  ],
350
638
  "stateMutability": "view",
@@ -352,7 +640,7 @@
352
640
  },
353
641
  {
354
642
  "inputs": [],
355
- "name": "getMajorVersion",
643
+ "name": "getNextVersion",
356
644
  "outputs": [
357
645
  {
358
646
  "internalType": "VersionPart",
@@ -384,7 +672,7 @@
384
672
  "type": "address"
385
673
  }
386
674
  ],
387
- "name": "getNftId",
675
+ "name": "getNftIdForAddress",
388
676
  "outputs": [
389
677
  {
390
678
  "internalType": "NftId",
@@ -395,6 +683,25 @@
395
683
  "stateMutability": "view",
396
684
  "type": "function"
397
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
+ },
398
705
  {
399
706
  "inputs": [],
400
707
  "name": "getObjectCount",
@@ -533,25 +840,268 @@
533
840
  "stateMutability": "view",
534
841
  "type": "function"
535
842
  },
843
+ {
844
+ "inputs": [],
845
+ "name": "getProtocolNftId",
846
+ "outputs": [
847
+ {
848
+ "internalType": "NftId",
849
+ "name": "nftId",
850
+ "type": "uint96"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [],
858
+ "name": "getRegistryAdminAddress",
859
+ "outputs": [
860
+ {
861
+ "internalType": "address",
862
+ "name": "",
863
+ "type": "address"
864
+ }
865
+ ],
866
+ "stateMutability": "view",
867
+ "type": "function"
868
+ },
536
869
  {
537
870
  "inputs": [
538
871
  {
539
- "internalType": "string",
540
- "name": "serviceName",
541
- "type": "string"
872
+ "internalType": "uint256",
873
+ "name": "chainId",
874
+ "type": "uint256"
875
+ }
876
+ ],
877
+ "name": "getRegistryNftId",
878
+ "outputs": [
879
+ {
880
+ "internalType": "NftId",
881
+ "name": "nftId",
882
+ "type": "uint96"
883
+ }
884
+ ],
885
+ "stateMutability": "view",
886
+ "type": "function"
887
+ },
888
+ {
889
+ "inputs": [
890
+ {
891
+ "internalType": "VersionPart",
892
+ "name": "release",
893
+ "type": "uint8"
894
+ }
895
+ ],
896
+ "name": "getReleaseInfo",
897
+ "outputs": [
898
+ {
899
+ "components": [
900
+ {
901
+ "internalType": "StateId",
902
+ "name": "state",
903
+ "type": "uint8"
904
+ },
905
+ {
906
+ "internalType": "VersionPart",
907
+ "name": "version",
908
+ "type": "uint8"
909
+ },
910
+ {
911
+ "internalType": "bytes32",
912
+ "name": "salt",
913
+ "type": "bytes32"
914
+ },
915
+ {
916
+ "internalType": "contract IServiceAuthorization",
917
+ "name": "auth",
918
+ "type": "address"
919
+ },
920
+ {
921
+ "internalType": "address",
922
+ "name": "releaseAdmin",
923
+ "type": "address"
924
+ },
925
+ {
926
+ "internalType": "Timestamp",
927
+ "name": "activatedAt",
928
+ "type": "uint40"
929
+ },
930
+ {
931
+ "internalType": "Timestamp",
932
+ "name": "disabledAt",
933
+ "type": "uint40"
934
+ }
935
+ ],
936
+ "internalType": "struct IRelease.ReleaseInfo",
937
+ "name": "",
938
+ "type": "tuple"
939
+ }
940
+ ],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "getReleaseRegistryAddress",
947
+ "outputs": [
948
+ {
949
+ "internalType": "address",
950
+ "name": "",
951
+ "type": "address"
952
+ }
953
+ ],
954
+ "stateMutability": "view",
955
+ "type": "function"
956
+ },
957
+ {
958
+ "inputs": [
959
+ {
960
+ "internalType": "ObjectType",
961
+ "name": "serviceDomain",
962
+ "type": "uint8"
542
963
  },
543
964
  {
544
965
  "internalType": "VersionPart",
545
- "name": "majorVersion",
966
+ "name": "releaseVersion",
967
+ "type": "uint8"
968
+ }
969
+ ],
970
+ "name": "getServiceAddress",
971
+ "outputs": [
972
+ {
973
+ "internalType": "address",
974
+ "name": "service",
975
+ "type": "address"
976
+ }
977
+ ],
978
+ "stateMutability": "view",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [],
983
+ "name": "getStakingAddress",
984
+ "outputs": [
985
+ {
986
+ "internalType": "address",
987
+ "name": "staking",
988
+ "type": "address"
989
+ }
990
+ ],
991
+ "stateMutability": "view",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [],
996
+ "name": "getTokenRegistryAddress",
997
+ "outputs": [
998
+ {
999
+ "internalType": "address",
1000
+ "name": "tokenRegistry",
1001
+ "type": "address"
1002
+ }
1003
+ ],
1004
+ "stateMutability": "view",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "address",
1011
+ "name": "releaseRegistry",
1012
+ "type": "address"
1013
+ },
1014
+ {
1015
+ "internalType": "address",
1016
+ "name": "tokenRegistry",
1017
+ "type": "address"
1018
+ },
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "staking",
1022
+ "type": "address"
1023
+ }
1024
+ ],
1025
+ "name": "initialize",
1026
+ "outputs": [],
1027
+ "stateMutability": "nonpayable",
1028
+ "type": "function"
1029
+ },
1030
+ {
1031
+ "inputs": [
1032
+ {
1033
+ "internalType": "VersionPart",
1034
+ "name": "version",
1035
+ "type": "uint8"
1036
+ }
1037
+ ],
1038
+ "name": "isActiveRelease",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "bool",
1042
+ "name": "",
1043
+ "type": "bool"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [],
1051
+ "name": "isConsumingScheduledOp",
1052
+ "outputs": [
1053
+ {
1054
+ "internalType": "bytes4",
1055
+ "name": "",
1056
+ "type": "bytes4"
1057
+ }
1058
+ ],
1059
+ "stateMutability": "view",
1060
+ "type": "function"
1061
+ },
1062
+ {
1063
+ "inputs": [
1064
+ {
1065
+ "internalType": "address",
1066
+ "name": "contractAddress",
1067
+ "type": "address"
1068
+ },
1069
+ {
1070
+ "internalType": "ObjectType",
1071
+ "name": "expectedObjectType",
1072
+ "type": "uint8"
1073
+ }
1074
+ ],
1075
+ "name": "isObjectType",
1076
+ "outputs": [
1077
+ {
1078
+ "internalType": "bool",
1079
+ "name": "",
1080
+ "type": "bool"
1081
+ }
1082
+ ],
1083
+ "stateMutability": "view",
1084
+ "type": "function"
1085
+ },
1086
+ {
1087
+ "inputs": [
1088
+ {
1089
+ "internalType": "NftId",
1090
+ "name": "nftId",
1091
+ "type": "uint96"
1092
+ },
1093
+ {
1094
+ "internalType": "ObjectType",
1095
+ "name": "expectedObjectType",
546
1096
  "type": "uint8"
547
1097
  }
548
1098
  ],
549
- "name": "getServiceAddress",
1099
+ "name": "isObjectType",
550
1100
  "outputs": [
551
1101
  {
552
- "internalType": "address",
1102
+ "internalType": "bool",
553
1103
  "name": "",
554
- "type": "address"
1104
+ "type": "bool"
555
1105
  }
556
1106
  ],
557
1107
  "stateMutability": "view",
@@ -563,14 +1113,19 @@
563
1113
  "internalType": "NftId",
564
1114
  "name": "nftId",
565
1115
  "type": "uint96"
1116
+ },
1117
+ {
1118
+ "internalType": "address",
1119
+ "name": "expectedOwner",
1120
+ "type": "address"
566
1121
  }
567
1122
  ],
568
- "name": "getServiceName",
1123
+ "name": "isOwnerOf",
569
1124
  "outputs": [
570
1125
  {
571
- "internalType": "string",
1126
+ "internalType": "bool",
572
1127
  "name": "",
573
- "type": "string"
1128
+ "type": "bool"
574
1129
  }
575
1130
  ],
576
1131
  "stateMutability": "view",
@@ -618,16 +1173,30 @@
618
1173
  "inputs": [
619
1174
  {
620
1175
  "internalType": "address",
621
- "name": "token",
1176
+ "name": "object",
622
1177
  "type": "address"
623
- },
1178
+ }
1179
+ ],
1180
+ "name": "isRegisteredComponent",
1181
+ "outputs": [
624
1182
  {
625
- "internalType": "VersionPart",
626
- "name": "majorVersion",
627
- "type": "uint8"
1183
+ "internalType": "bool",
1184
+ "name": "",
1185
+ "type": "bool"
1186
+ }
1187
+ ],
1188
+ "stateMutability": "view",
1189
+ "type": "function"
1190
+ },
1191
+ {
1192
+ "inputs": [
1193
+ {
1194
+ "internalType": "address",
1195
+ "name": "object",
1196
+ "type": "address"
628
1197
  }
629
1198
  ],
630
- "name": "isTokenActive",
1199
+ "name": "isRegisteredService",
631
1200
  "outputs": [
632
1201
  {
633
1202
  "internalType": "bool",
@@ -735,12 +1304,22 @@
735
1304
  {
736
1305
  "inputs": [
737
1306
  {
738
- "internalType": "VersionPart",
739
- "name": "newMajorVersion",
740
- "type": "uint8"
1307
+ "internalType": "NftId",
1308
+ "name": "nftId",
1309
+ "type": "uint96"
1310
+ },
1311
+ {
1312
+ "internalType": "uint256",
1313
+ "name": "chainId",
1314
+ "type": "uint256"
1315
+ },
1316
+ {
1317
+ "internalType": "address",
1318
+ "name": "registryAddress",
1319
+ "type": "address"
741
1320
  }
742
1321
  ],
743
- "name": "setMajorVersion",
1322
+ "name": "registerRegistry",
744
1323
  "outputs": [],
745
1324
  "stateMutability": "nonpayable",
746
1325
  "type": "function"
@@ -748,22 +1327,134 @@
748
1327
  {
749
1328
  "inputs": [
750
1329
  {
751
- "internalType": "address",
752
- "name": "token",
753
- "type": "address"
1330
+ "components": [
1331
+ {
1332
+ "internalType": "NftId",
1333
+ "name": "nftId",
1334
+ "type": "uint96"
1335
+ },
1336
+ {
1337
+ "internalType": "NftId",
1338
+ "name": "parentNftId",
1339
+ "type": "uint96"
1340
+ },
1341
+ {
1342
+ "internalType": "ObjectType",
1343
+ "name": "objectType",
1344
+ "type": "uint8"
1345
+ },
1346
+ {
1347
+ "internalType": "bool",
1348
+ "name": "isInterceptor",
1349
+ "type": "bool"
1350
+ },
1351
+ {
1352
+ "internalType": "address",
1353
+ "name": "objectAddress",
1354
+ "type": "address"
1355
+ },
1356
+ {
1357
+ "internalType": "address",
1358
+ "name": "initialOwner",
1359
+ "type": "address"
1360
+ },
1361
+ {
1362
+ "internalType": "bytes",
1363
+ "name": "data",
1364
+ "type": "bytes"
1365
+ }
1366
+ ],
1367
+ "internalType": "struct IRegistry.ObjectInfo",
1368
+ "name": "info",
1369
+ "type": "tuple"
754
1370
  },
755
1371
  {
756
1372
  "internalType": "VersionPart",
757
- "name": "majorVersion",
1373
+ "name": "version",
758
1374
  "type": "uint8"
759
1375
  },
760
1376
  {
761
- "internalType": "bool",
762
- "name": "active",
763
- "type": "bool"
1377
+ "internalType": "ObjectType",
1378
+ "name": "domain",
1379
+ "type": "uint8"
1380
+ }
1381
+ ],
1382
+ "name": "registerService",
1383
+ "outputs": [
1384
+ {
1385
+ "internalType": "NftId",
1386
+ "name": "nftId",
1387
+ "type": "uint96"
1388
+ }
1389
+ ],
1390
+ "stateMutability": "nonpayable",
1391
+ "type": "function"
1392
+ },
1393
+ {
1394
+ "inputs": [
1395
+ {
1396
+ "components": [
1397
+ {
1398
+ "internalType": "NftId",
1399
+ "name": "nftId",
1400
+ "type": "uint96"
1401
+ },
1402
+ {
1403
+ "internalType": "NftId",
1404
+ "name": "parentNftId",
1405
+ "type": "uint96"
1406
+ },
1407
+ {
1408
+ "internalType": "ObjectType",
1409
+ "name": "objectType",
1410
+ "type": "uint8"
1411
+ },
1412
+ {
1413
+ "internalType": "bool",
1414
+ "name": "isInterceptor",
1415
+ "type": "bool"
1416
+ },
1417
+ {
1418
+ "internalType": "address",
1419
+ "name": "objectAddress",
1420
+ "type": "address"
1421
+ },
1422
+ {
1423
+ "internalType": "address",
1424
+ "name": "initialOwner",
1425
+ "type": "address"
1426
+ },
1427
+ {
1428
+ "internalType": "bytes",
1429
+ "name": "data",
1430
+ "type": "bytes"
1431
+ }
1432
+ ],
1433
+ "internalType": "struct IRegistry.ObjectInfo",
1434
+ "name": "info",
1435
+ "type": "tuple"
1436
+ }
1437
+ ],
1438
+ "name": "registerWithCustomType",
1439
+ "outputs": [
1440
+ {
1441
+ "internalType": "NftId",
1442
+ "name": "nftId",
1443
+ "type": "uint96"
1444
+ }
1445
+ ],
1446
+ "stateMutability": "nonpayable",
1447
+ "type": "function"
1448
+ },
1449
+ {
1450
+ "inputs": [
1451
+ {
1452
+ "internalType": "address",
1453
+ "name": "newAuthority",
1454
+ "type": "address"
764
1455
  }
765
1456
  ],
766
- "name": "setTokenActive",
1457
+ "name": "setAuthority",
767
1458
  "outputs": [],
768
1459
  "stateMutability": "nonpayable",
769
1460
  "type": "function"
@@ -784,126 +1475,208 @@
784
1475
  "type": "bool"
785
1476
  }
786
1477
  ],
787
- "stateMutability": "view",
1478
+ "stateMutability": "pure",
788
1479
  "type": "function"
789
1480
  }
790
1481
  ],
791
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162004fa038038062004fa08339810160408190526200003491620010b0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556001600160a01b038216620000cb5760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e65722069732030000000604482015260640160405180910390fd5b604051632392b61b60e21b81526003600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156200011c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001429190620010f5565b6001805460ff191660ff9290921691821790556040519081527ff5fb08b0be3b39e7b690d5444a6da718afcc193591667aec8d057e23cbe3f98f9060200160405180910390a13060405162000197906200108b565b6001600160a01b039091168152602001604051809103906000f080158015620001c4573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055620001ef62000253565b620001fa8262000473565b620002058262000820565b6200020f62000ba5565b63aadfd86760e01b60009081526020527f38af1b4c69412a2ba1856d7da6a2ba7f0b7bdf77b5280b47d2fa9f02fa6c2929805460ff191660011790555050620012f5565b600b5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa1580156200029e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c491906200111a565b9050600081600b546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200031857600080fd5b505af11580156200032d573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b031681526020016200035b62000eff60201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03898116865260028086529584902089518154968b0151958b0151938b01519083166001600160c01b0319909716969096176c0100000000000000000000000095909216949094021761ffff60c01b1916600160c01b919096160260ff60c81b191694909417600160c81b921515929092029190911781559284015191830180546001600160a01b03199081166001600160a01b039485161790915560a085015191840180549091169190921617905560c082015160038201906200046c9082620011d9565b5050505050565b600b54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620004be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e491906200111a565b600b5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200055a91906200111a565b8314620005e9576200056b62000f04565b600b5460408051632e85b1f360e01b81529051620005e1926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620005b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005de91906200111a565b90565b905062000639565b600b5460408051632cc7144960e11b8152905162000636926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620005b8573d6000803e3d6000fd5b90505b600b546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b1580156200068857600080fd5b505af11580156200069d573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b03168152602001620006da6200107760201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260028086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b03199097169390921692909217949094179290921692909217939093178355928401516001830180549185166001600160a01b031992831617905560a085015191830180549290941691161790915560c08201516003820190620007e09082620011d9565b505030600090815260036020526040902080546001600160601b039094166001600160601b03199485168117909155600a80549094161790925550505050565b600b54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa1580156200086b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200089191906200111a565b9050600081600b546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b158015620008e757600080fd5b505af1158015620008fc573d6000803e3d6000fd5b50506040805160e0810182526001600160601b03858116808352600a5482166020808501918252603c85870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526002968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a1617969096179390931696909617959095178355516001830180549186166001600160a01b0319928316179055955190820180549190941695169490941790915551909350909150600382019062000a149082620011d9565b505033600090815260036020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000a7691849101620012a5565b60408051808303601f19018152828252805160209182012060008181526009909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000aee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b149190620010f5565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526008909152902062000b6a8382620011d9565b5050600a80546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f39c85350cb25aa1fda4cd5e9139db6eb90aeebc6c2b5bffd11d297ac50f9a32b805460ff19166001908117909155603c600090815260056020527f251d9ec284fd981039307083734139a5137ee1b6185374514892855fcbc5bd9d9062000c0b602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c3f604690565b60ff1660ff168152602001908152602001600020600062000c656200107760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c99606e90565b60ff1660ff168152602001908152602001600020600062000cbf6200107c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000cf3607890565b60ff1660ff168152602001908152602001600020600062000d196200107c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000d4d608290565b60ff1660ff168152602001908152602001600020600062000d736200107c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000da7608c90565b60ff1660ff168152602001908152602001600020600062000dcd6200107c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e0160d290565b60ff1660ff168152602001908152602001600020600062000e276200108160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e5b60dc90565b60ff1660ff168152602001908152602001600020600062000e816200108660201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000eb5605090565b60ff1660ff168152602001908152602001600020600062000edb6200108660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600b5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000f4f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f7591906200111a565b600b546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b15801562000fc457600080fd5b505af115801562000fd9573d6000803e3d6000fd5b50505050600062000ff082620005de60201b60201c565b90506040518060e00160405280826001600160601b0316815260200162001064600b60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005b8573d6000803e3d6000fd5b6001600160601b031681526020016200036c5b602890565b604690565b606e90565b608c90565b611e3d806200316383390190565b805160ff81168114620010ab57600080fd5b919050565b60008060408385031215620010c457600080fd5b82516001600160a01b0381168114620010dc57600080fd5b9150620010ec6020840162001099565b90509250929050565b6000602082840312156200110857600080fd5b620011138262001099565b9392505050565b6000602082840312156200112d57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200115f57607f821691505b6020821081036200118057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620011d457600081815260208120601f850160051c81016020861015620011af5750805b601f850160051c820191505b81811015620011d057828155600101620011bb565b5050505b505050565b81516001600160401b03811115620011f557620011f562001134565b6200120d816200120684546200114a565b8462001186565b602080601f8311600181146200124557600084156200122c5750858301515b600019600386901b1c1916600185901b178555620011d0565b600085815260208120601f198616915b82811015620012765788860151825594840194600190910190840162001255565b5085821015620012955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620012d457858101830151858201604001528201620012b6565b506000604082860101526040601f19601f8301168501019250505092915050565b611e5e80620013056000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f414610321578063d272ac1e14610336578063dd32047b14610194578063e285c9c414610368578063e74d052f14610370578063feef0c9b1461038357600080fd5b8063a48f42e014610288578063a5df9e4e1461029b578063b69b2e11146102ae578063bc36dc91146102c1578063bfcdd736146102d2578063c3c5a5471461030e57600080fd5b806338bb429a1161011557806338bb429a146101f25780633fe9300e14610205578063644c45e014610228578063893d20e81461024d5780638b09a5f014610255578063a3bcd81d1461027557600080fd5b806301ffc9a7146101525780630dab67c51461019457806314afd79e146101aa5780631a848cfb146101d55780632849697c146101dd575b600080fd5b61017f6101603660046116e0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c600381565b60405190815260200161018b565b6101bd6101b8366004611739565b610396565b6040516001600160a01b03909116815260200161018b565b61019c6104ac565b6101f06101eb366004611789565b61051f565b005b6101bd6102003660046117f4565b610920565b61021b6040518060200160405280600081525081565b60405161018b9190611861565b600a546001600160601b03165b6040516001600160601b03909116815260200161018b565b6101bd610976565b610268610263366004611739565b610981565b60405161018b9190611874565b6101bd6102833660046119cd565b610ae7565b6102686102963660046117f4565b610b3d565b6102356102a9366004611a53565b610c10565b61021b6102bc3660046117f4565b6111d8565b600b546001600160a01b03166101bd565b61017f6102e0366004611b26565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b61017f61031c366004611739565b611284565b60015460405160ff909116815260200161018b565b610235610344366004611739565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101bd600181565b61017f61037e3660046117f4565b61131b565b6101f0610391366004611b54565b611375565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af415801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190611b71565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a69190611b8e565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051a9190611bab565b905090565b610527610976565b6001600160a01b0316336001600160a01b03161461055f5760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061060590611bc4565b80601f016020809104026020016040519081016040528092919081815260200182805461063190611bc4565b801561067e5780601f106106535761010080835404028352916020019161067e565b820191906000526020600020905b81548152906001019060200180831161066157829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af41580156106e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070a9190611bfe565b156107335760405163ddef98d760e01b81526001600160a01b0385166004820152602401610556565b61074f8160400151610743603290565b60ff9081169116141590565b1561077757604051629fd8a560e11b81526001600160a01b0385166004820152602401610556565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f09190611bab565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801561084c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108709190611bab565b9050600382108061088057508082115b156108a35760405163374a659160e21b815260ff86166004820152602401610556565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103fd565b600061051a30610396565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610a5e90611bc4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8a90611bc4565b8015610ad75780601f10610aac57610100808354040283529160200191610ad7565b820191906000526020600020905b815481529060010190602001808311610aba57829003601f168201915b5050505050815250509050919050565b60008083604051602001610afb9190611861565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610a5e90611bc4565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610c5d576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610d0290611bc4565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2e90611bc4565b8015610d7b5780601f10610d5057610100808354040283529160200191610d7b565b820191906000526020600020905b815481529060010190602001808311610d5e57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610dba5760405163b0014c0760e01b815260040160405180910390fd5b6000610dd48860600151896080015186606001518561153d565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610e1f929091879190600401611c1b565b6020604051808303816000875af1158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190611bab565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610fb59190611c9f565b50505060808901516001600160a01b0316156111435760ff808816600090815260056020908152604080832088851684529091528120549091161515900361101d57604051638880f20760e01b815260ff808916600483015285166024820152604401610556565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b99190611bfe565b156110e25760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610556565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b1617905561112f88611124603c90565b60ff90811691161490565b1561113d5761113d8a61157b565b50611195565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361119557604051638880f20760e01b815260ff808916600483015285166024820152604401610556565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516111c49190611874565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906111ff90611bc4565b80601f016020809104026020016040519081016040528092919081815260200182805461122b90611bc4565b80156112785780601f1061124d57610100808354040283529160200191611278565b820191906000526020600020905b81548152906001019060200180831161125b57829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a69190611bfe565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112da565b61137d610976565b6001600160a01b0316336001600160a01b0316146113b05760405163245aecd360e01b8152336004820152602401610556565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142d9190611bab565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a99190611bab565b905081811115806114c457506114bf8282611d5f565b600114155b156114f357600154604051633988b95f60e11b815260ff80861660048301529091166024820152604401610556565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661156257821561155a575080611573565b506000611573565b841561156f575082611573565b5060005b949350505050565b6000808260c001518060200190518101906115969190611d80565b915091506000826040516020016115ad9190611861565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146115f55760405163124574bd60e01b815260ff83166004820152602401610556565b600081815260096020908152604080832060ff861684529091529020546001600160a01b03161561163d5782826040516361b38f9b60e01b8152600401610556929190611e03565b83516001600160601b031660009081526008602052604090206116608482611c9f565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906116d29085908590611e03565b60405180910390a150505050565b6000602082840312156116f257600080fd5b81356001600160e01b03198116811461170a57600080fd5b9392505050565b6001600160a01b038116811461172657600080fd5b50565b803561173481611711565b919050565b60006020828403121561174b57600080fd5b813561170a81611711565b60ff8116811461172657600080fd5b803561173481611756565b801515811461172657600080fd5b803561173481611770565b60008060006060848603121561179e57600080fd5b83356117a981611711565b925060208401356117b981611756565b915060408401356117c981611770565b809150509250925092565b6001600160601b038116811461172657600080fd5b8035611734816117d4565b60006020828403121561180657600080fd5b813561170a816117d4565b60005b8381101561182c578181015183820152602001611814565b50506000910152565b6000815180845261184d816020860160208601611811565b601f01601f19169290920160200192915050565b60208152600061170a6020830184611835565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516118dd60c08401826001600160a01b03169052565b5060c083015160e080840152611573610100840182611835565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715611930576119306118f7565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561195f5761195f6118f7565b604052919050565b600067ffffffffffffffff821115611981576119816118f7565b50601f01601f191660200190565b60006119a261199d84611967565b611936565b90508281528383830111156119b657600080fd5b828260208301376000602084830101529392505050565b600080604083850312156119e057600080fd5b823567ffffffffffffffff8111156119f757600080fd5b8301601f81018513611a0857600080fd5b611a178582356020840161198f565b9250506020830135611a2881611756565b809150509250929050565b600082601f830112611a4457600080fd5b61170a8383356020850161198f565b600060208284031215611a6557600080fd5b813567ffffffffffffffff80821115611a7d57600080fd5b9083019060e08286031215611a9157600080fd5b611a9961190d565b611aa2836117e9565b8152611ab0602084016117e9565b6020820152611ac160408401611765565b6040820152611ad26060840161177e565b6060820152611ae360808401611729565b6080820152611af460a08401611729565b60a082015260c083013582811115611b0b57600080fd5b611b1787828601611a33565b60c08301525095945050505050565b60008060408385031215611b3957600080fd5b8235611b4481611711565b91506020830135611a2881611756565b600060208284031215611b6657600080fd5b813561170a81611756565b600060208284031215611b8357600080fd5b815161170a816117d4565b600060208284031215611ba057600080fd5b815161170a81611711565b600060208284031215611bbd57600080fd5b5051919050565b600181811c90821680611bd857607f821691505b602082108103611bf857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611c1057600080fd5b815161170a81611770565b6001600160a01b03848116825283166020820152606060408201819052600090611c4790830184611835565b95945050505050565b601f821115611c9a57600081815260208120601f850160051c81016020861015611c775750805b601f850160051c820191505b81811015611c9657828155600101611c83565b5050505b505050565b815167ffffffffffffffff811115611cb957611cb96118f7565b611ccd81611cc78454611bc4565b84611c50565b602080601f831160018114611d025760008415611cea5750858301515b600019600386901b1c1916600185901b178555611c96565b600085815260208120601f198616915b82811015611d3157888601518255948401946001909101908401611d12565b5085821015611d4f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104a657634e487b7160e01b600052601160045260246000fd5b60008060408385031215611d9357600080fd5b825167ffffffffffffffff811115611daa57600080fd5b8301601f81018513611dbb57600080fd5b8051611dc961199d82611967565b818152866020838501011115611dde57600080fd5b611def826020830160208601611811565b8094505050506020830151611a2881611756565b604081526000611e166040830185611835565b905060ff83166020830152939250505056fea264697066735822122070f9ca9862894e9a1c742a56f1a1fe2370fe740caf2642808e7d01b25bbdbe7064736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220c02111bfc1745238d5ed0c2884c130c5bf93d8ad7a5e25aae3575fdca7d43f7564736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
792
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f414610321578063d272ac1e14610336578063dd32047b14610194578063e285c9c414610368578063e74d052f14610370578063feef0c9b1461038357600080fd5b8063a48f42e014610288578063a5df9e4e1461029b578063b69b2e11146102ae578063bc36dc91146102c1578063bfcdd736146102d2578063c3c5a5471461030e57600080fd5b806338bb429a1161011557806338bb429a146101f25780633fe9300e14610205578063644c45e014610228578063893d20e81461024d5780638b09a5f014610255578063a3bcd81d1461027557600080fd5b806301ffc9a7146101525780630dab67c51461019457806314afd79e146101aa5780631a848cfb146101d55780632849697c146101dd575b600080fd5b61017f6101603660046116e0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c600381565b60405190815260200161018b565b6101bd6101b8366004611739565b610396565b6040516001600160a01b03909116815260200161018b565b61019c6104ac565b6101f06101eb366004611789565b61051f565b005b6101bd6102003660046117f4565b610920565b61021b6040518060200160405280600081525081565b60405161018b9190611861565b600a546001600160601b03165b6040516001600160601b03909116815260200161018b565b6101bd610976565b610268610263366004611739565b610981565b60405161018b9190611874565b6101bd6102833660046119cd565b610ae7565b6102686102963660046117f4565b610b3d565b6102356102a9366004611a53565b610c10565b61021b6102bc3660046117f4565b6111d8565b600b546001600160a01b03166101bd565b61017f6102e0366004611b26565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b61017f61031c366004611739565b611284565b60015460405160ff909116815260200161018b565b610235610344366004611739565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101bd600181565b61017f61037e3660046117f4565b61131b565b6101f0610391366004611b54565b611375565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af415801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190611b71565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a69190611b8e565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051a9190611bab565b905090565b610527610976565b6001600160a01b0316336001600160a01b03161461055f5760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061060590611bc4565b80601f016020809104026020016040519081016040528092919081815260200182805461063190611bc4565b801561067e5780601f106106535761010080835404028352916020019161067e565b820191906000526020600020905b81548152906001019060200180831161066157829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af41580156106e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070a9190611bfe565b156107335760405163ddef98d760e01b81526001600160a01b0385166004820152602401610556565b61074f8160400151610743603290565b60ff9081169116141590565b1561077757604051629fd8a560e11b81526001600160a01b0385166004820152602401610556565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f09190611bab565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801561084c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108709190611bab565b9050600382108061088057508082115b156108a35760405163374a659160e21b815260ff86166004820152602401610556565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103fd565b600061051a30610396565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610a5e90611bc4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8a90611bc4565b8015610ad75780601f10610aac57610100808354040283529160200191610ad7565b820191906000526020600020905b815481529060010190602001808311610aba57829003601f168201915b5050505050815250509050919050565b60008083604051602001610afb9190611861565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610a5e90611bc4565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610c5d576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610d0290611bc4565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2e90611bc4565b8015610d7b5780601f10610d5057610100808354040283529160200191610d7b565b820191906000526020600020905b815481529060010190602001808311610d5e57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610dba5760405163b0014c0760e01b815260040160405180910390fd5b6000610dd48860600151896080015186606001518561153d565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610e1f929091879190600401611c1b565b6020604051808303816000875af1158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190611bab565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610fb59190611c9f565b50505060808901516001600160a01b0316156111435760ff808816600090815260056020908152604080832088851684529091528120549091161515900361101d57604051638880f20760e01b815260ff808916600483015285166024820152604401610556565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b99190611bfe565b156110e25760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610556565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b1617905561112f88611124603c90565b60ff90811691161490565b1561113d5761113d8a61157b565b50611195565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361119557604051638880f20760e01b815260ff808916600483015285166024820152604401610556565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516111c49190611874565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906111ff90611bc4565b80601f016020809104026020016040519081016040528092919081815260200182805461122b90611bc4565b80156112785780601f1061124d57610100808354040283529160200191611278565b820191906000526020600020905b81548152906001019060200180831161125b57829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a69190611bfe565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112da565b61137d610976565b6001600160a01b0316336001600160a01b0316146113b05760405163245aecd360e01b8152336004820152602401610556565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142d9190611bab565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a99190611bab565b905081811115806114c457506114bf8282611d5f565b600114155b156114f357600154604051633988b95f60e11b815260ff80861660048301529091166024820152604401610556565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661156257821561155a575080611573565b506000611573565b841561156f575082611573565b5060005b949350505050565b6000808260c001518060200190518101906115969190611d80565b915091506000826040516020016115ad9190611861565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146115f55760405163124574bd60e01b815260ff83166004820152602401610556565b600081815260096020908152604080832060ff861684529091529020546001600160a01b03161561163d5782826040516361b38f9b60e01b8152600401610556929190611e03565b83516001600160601b031660009081526008602052604090206116608482611c9f565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906116d29085908590611e03565b60405180910390a150505050565b6000602082840312156116f257600080fd5b81356001600160e01b03198116811461170a57600080fd5b9392505050565b6001600160a01b038116811461172657600080fd5b50565b803561173481611711565b919050565b60006020828403121561174b57600080fd5b813561170a81611711565b60ff8116811461172657600080fd5b803561173481611756565b801515811461172657600080fd5b803561173481611770565b60008060006060848603121561179e57600080fd5b83356117a981611711565b925060208401356117b981611756565b915060408401356117c981611770565b809150509250925092565b6001600160601b038116811461172657600080fd5b8035611734816117d4565b60006020828403121561180657600080fd5b813561170a816117d4565b60005b8381101561182c578181015183820152602001611814565b50506000910152565b6000815180845261184d816020860160208601611811565b601f01601f19169290920160200192915050565b60208152600061170a6020830184611835565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516118dd60c08401826001600160a01b03169052565b5060c083015160e080840152611573610100840182611835565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715611930576119306118f7565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561195f5761195f6118f7565b604052919050565b600067ffffffffffffffff821115611981576119816118f7565b50601f01601f191660200190565b60006119a261199d84611967565b611936565b90508281528383830111156119b657600080fd5b828260208301376000602084830101529392505050565b600080604083850312156119e057600080fd5b823567ffffffffffffffff8111156119f757600080fd5b8301601f81018513611a0857600080fd5b611a178582356020840161198f565b9250506020830135611a2881611756565b809150509250929050565b600082601f830112611a4457600080fd5b61170a8383356020850161198f565b600060208284031215611a6557600080fd5b813567ffffffffffffffff80821115611a7d57600080fd5b9083019060e08286031215611a9157600080fd5b611a9961190d565b611aa2836117e9565b8152611ab0602084016117e9565b6020820152611ac160408401611765565b6040820152611ad26060840161177e565b6060820152611ae360808401611729565b6080820152611af460a08401611729565b60a082015260c083013582811115611b0b57600080fd5b611b1787828601611a33565b60c08301525095945050505050565b60008060408385031215611b3957600080fd5b8235611b4481611711565b91506020830135611a2881611756565b600060208284031215611b6657600080fd5b813561170a81611756565b600060208284031215611b8357600080fd5b815161170a816117d4565b600060208284031215611ba057600080fd5b815161170a81611711565b600060208284031215611bbd57600080fd5b5051919050565b600181811c90821680611bd857607f821691505b602082108103611bf857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611c1057600080fd5b815161170a81611770565b6001600160a01b03848116825283166020820152606060408201819052600090611c4790830184611835565b95945050505050565b601f821115611c9a57600081815260208120601f850160051c81016020861015611c775750805b601f850160051c820191505b81811015611c9657828155600101611c83565b5050505b505050565b815167ffffffffffffffff811115611cb957611cb96118f7565b611ccd81611cc78454611bc4565b84611c50565b602080601f831160018114611d025760008415611cea5750858301515b600019600386901b1c1916600185901b178555611c96565b600085815260208120601f198616915b82811015611d3157888601518255948401946001909101908401611d12565b5085821015611d4f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104a657634e487b7160e01b600052601160045260246000fd5b60008060408385031215611d9357600080fd5b825167ffffffffffffffff811115611daa57600080fd5b8301601f81018513611dbb57600080fd5b8051611dc961199d82611967565b818152866020838501011115611dde57600080fd5b611def826020830160208601611811565b8094505050506020830151611a2881611756565b604081526000611e166040830185611835565b905060ff83166020830152939250505056fea264697066735822122070f9ca9862894e9a1c742a56f1a1fe2370fe740caf2642808e7d01b25bbdbe7064736f6c63430008140033",
1482
+ "bytecode": "0x610160604052348015610010575f80fd5b5060405161692938038061692983398101604081905261002f9161100e565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190611046565b61009881610230565b5033610100526001600160a01b038216610120526100b581610283565b6001600160a01b031660c05260405130906100cf90610fea565b6001600160a01b039091168152602001604051809103905ff0801580156100f8573d5f803e3d5ffd5b506001600160a01b0316610140816001600160a01b03168152505073__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101909190611068565b6040518263ffffffff1660e01b81526004016101ae91815260200190565b602060405180830381865af41580156101c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ed9190611093565b6001600160601b031660a052610201610297565b6001600160601b031660805261021561043e565b6001600160601b031660e05261022961063f565b505061121e565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f46600103610293575030919050565b5090565b5f80610140516001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102fc9190611068565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561034d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103719190611093565b91506102936040518060e00160405280846001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156103d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103fb9190611093565b6001600160601b03168152600160208083018290525f6040808501829052606085018290526080850184905280519283019052815260a090920191909152610bad565b60a0516040805160e0810182526001600160601b0380841682526080511660208201526104bf91600191908101600260ff1681526020015f1515815260200160c0516001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f81525081525046600114610da560201b60201c565b4660011461063c5773__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf610140516001600160a01b0316630559ea4760026040518263ffffffff1660e01b815260040161051391815260200190565b602060405180830381865afa15801561052e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105529190611068565b6040518263ffffffff1660e01b815260040161057091815260200190565b602060405180830381865af415801561058b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105af9190611093565b905061063c466040518060e00160405280846001600160601b0316815260200160a0516001600160601b031681526020016105ee610da060201b60201c565b60ff1681526020015f15158152602001306001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152506001610da560201b60201c565b90565b7f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a318054600160ff1991821681179092557f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace2980548216831790557fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b80548216831790557f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98880548216831790557f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a49980548216831790557f84a4048ee77615560f9afb39551a46e123dd0dd6c928af241dc565271d03256980548216831790557f6fac4587033fa036e2426ad0134940d3a683633cc2b2b7862f39195344f163d180548216831790557f394d598d1fcded9c4097f7e0c482e53467cd63c2a9019859406e3f926032276380548216831790557ff130046d53bc87538ab17e4752ba5f5082985eecc06ccb932c5a55e8242dd50280548216831790557fb72a5233413dd9985e70abb239a7ba917e489fbf2ece87f523c6e26971cc821f80548216831790557fc695a062ea1c0f75fd266ccc34c407f7d5229534fc96b1932c122008903fa35380548216831790557f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d280548216831790557fe0f48684da2738819afc60049d8a627ffa250d5e1c7f8a7fedb1ce999915baf6805490911682179055600a5f90815260076020527f3ed157e83ab1bb1f6b7b3760b3368106283d4e15d1f1b08e20d06576445a999490610891600290565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906108c3600d90565b60ff1660ff1681526020019081526020015f205f6108e5610ed460201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600790610917601090565b60ff1660ff1681526020019081526020015f205f610939610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff19169215159290921790915560019060079061096b600f90565b60ff1660ff1681526020019081526020015f205f61098d610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff1916921515929092179091556001906007906109bf601190565b60ff1660ff1681526020019081526020015f205f6109e1610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a13601390565b60ff1660ff1681526020019081526020015f205f610a35610ed960201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610a67601b90565b60ff1660ff1681526020019081526020015f205f610a89610ee360201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610abb601d90565b60ff1660ff1681526020019081526020015f205f610add610ede60201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b0f601f90565b60ff1660ff1681526020019081526020015f205f610b31610ba860201b60201c565b60ff16815260208101919091526040015f908120805460ff191692151592909217909155600190600890610b63601f90565b60ff1660ff1681526020019081526020015f205f610b85610ed460201b60201c565b60ff16815260208101919091526040015f20805460ff1916911515919091179055565b600190565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b199688166c01000000000000000000000000026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190610c869082611145565b509050508015610ca15781516080830151610ca19190610ee8565b6101405160a0830151835160405163046e44af60e11b81526001600160601b0390911660048201526001600160a01b03909216916340c10f19919073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015610d16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3a9190611093565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015610d86575f80fd5b505af1158015610d98573d5f803e3d5ffd5b505050505050565b600290565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f91906111ff565b610e66578151604051631832397b60e21b81526001600160601b039091166004820152602481018490526044015b60405180910390fd5b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01839055610ecf8282610bad565b505050565b600a90565b600d90565b601190565b601090565b6001600160a01b03811615610fe6576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8c91906111ff565b15610fb557604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610e5d565b6001600160a01b0381165f90815260046020526040902080546001600160601b0319166001600160601b0384161790555b5050565b611f86806149a383390190565b6001600160a01b038116811461100b575f80fd5b50565b5f806040838503121561101f575f80fd5b825161102a81610ff7565b602084015190925061103b81610ff7565b809150509250929050565b5f60208284031215611056575f80fd5b815161106181610ff7565b9392505050565b5f60208284031215611078575f80fd5b5051919050565b6001600160601b038116811461100b575f80fd5b5f602082840312156110a3575f80fd5b81516110618161107f565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806110d657607f821691505b6020821081036110f457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ecf57805f5260205f20601f840160051c8101602085101561111f5750805b601f840160051c820191505b8181101561113e575f815560010161112b565b5050505050565b81516001600160401b0381111561115e5761115e6110ae565b6111728161116c84546110c2565b846110fa565b6020601f8211600181146111a4575f831561118d5750848201515b5f19600385901b1c1916600184901b17845561113e565b5f84815260208120601f198516915b828110156111d357878501518255602094850194600190920191016111b3565b50848210156111f057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561120f575f80fd5b81518015158114611061575f80fd5b60805160a05160c05160e0516101005161012051610140516136af6112f45f395f81816103a8015281816107e301528181610ac201528181610c1601528181610cf70152818161150c0152818161174f01528181612110015281816123e5015281816126c50152612c5c01525f81816103ff015281816104360152611cd901525f81816106e9015261193b01525f81816105140152818161062a0152818161132c015281816116a101526127c401525f61058201525f81816105ca01526120a301525f8181610494015261083a01526136af5ff3fe608060405234801561000f575f80fd5b50600436106102ff575f3560e01c8063a48f42e011610195578063caed9897116100e4578063e278c9241161009e578063e74d052f11610079578063e74d052f14610815578063f40d7c3014610828578063fbe4b7c014610830578063fff74f6c14610838575f80fd5b8063e278c924146107de578063e285c9c414610805578063e2b178a01461080d575f80fd5b8063caed98971461071e578063d1982d881461072f578063d2213b5b14610742578063d39e604314610762578063d92471491461079e578063dfca0142146107c6575f80fd5b8063b303aaf81161014f578063bf8e17971161012a578063bf8e17971461069d578063c0c53b8b146106d1578063c1b8411a146106e4578063c3c5a5471461070b575f80fd5b8063b303aaf814610667578063b624e2ba1461067a578063bf7e214f1461068d575f80fd5b8063a48f42e0146105ec578063a5df9e4e146105ff578063a7050a5614610612578063abbbbd0c14610625578063ae8dfb791461064c578063b08c0b5414610654575f80fd5b806338bb429a116102515780637a9e5e4b1161020b5780638b09a5f0116101e65780638b09a5f01461055d5780638e7b39271461057d5780638fb36037146105a457806396f4b69e146105c5575f80fd5b80637a9e5e4b14610538578063839f700c1461054d578063893d20e814610555575f80fd5b806338bb429a1461045a5780633fe9300e1461046d578063598e28921461048f5780635c0e6264146104ce5780635e546bee146104e1578063644c45e014610512575f80fd5b8063120726c3116102bc5780631a848cfb116102975780631a848cfb146103f25780632a0acc6a146103fa5780632b91e0a9146104215780632de837e014610434575f80fd5b8063120726c3146103a657806314afd79e146103cc57806317dc5e2a146103df575f80fd5b806301f6b5a21461030357806301ffc9a7146103295780630e41142e1461034c5780630e6d1de9146103665780630e9ed68b1461036e57806311edceaa14610393575b5f80fd5b610316610311366004612d4f565b61085e565b6040519081526020015b60405180910390f35b61033c610337366004612d66565b610882565b6040519015158152602001610320565b6103546108c6565b60405160ff9091168152602001610320565b6103546109b8565b600b546001600160a01b03165b6040516001600160a01b039091168152602001610320565b61033c6103a1366004612dae565b610a0a565b7f000000000000000000000000000000000000000000000000000000000000000061037b565b61037b6103da366004612de8565b610a84565b61033c6103ed366004612de8565b610bae565b610316610c13565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b61033c61042f366004612de8565b610c94565b7f000000000000000000000000000000000000000000000000000000000000000061037b565b61037b610468366004612e22565b610cd7565b61048260405180602001604052805f81525081565b6040516103209190612e6b565b6104b67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b039091168152602001610320565b61033c6104dc366004612e7d565b610d4a565b6104b66104ef366004612de8565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104b6565b61054b610546366004612de8565b610d7d565b005b610316600381565b61037b610dfa565b61057061056b366004612de8565b610e04565b6040516103209190612eb4565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b6105ac610f6b565b6040516001600160e01b03199091168152602001610320565b6104b67f000000000000000000000000000000000000000000000000000000000000000081565b6105706105fa366004612e22565b610f8d565b6104b661060d3660046130cb565b61105d565b6104b66106203660046130fd565b611155565b6104b67f000000000000000000000000000000000000000000000000000000000000000081565b610316600281565b61054b61066236600461315d565b61145d565b61033c610675366004613191565b611723565b61033c6106883660046131bd565b61184d565b5f546001600160a01b031661037b565b61037b6106ab366004612e22565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b61054b6106df3660046131d9565b611879565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b61033c610719366004612de8565b611a40565b600a546001600160a01b031661037b565b6104b661073d3660046130cb565b611ab4565b610755610750366004612dae565b611c2d565b6040516103209190613216565b61037b610770366004613297565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104b66107ac366004612d4f565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b031661037b565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b61037b600181565b61037b611cd6565b61033c610823366004612e22565b611d57565b610354611db0565b600254610316565b7f00000000000000000000000000000000000000000000000000000000000000006104b6565b5f60028281548110610872576108726132b3565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108b257506001600160e01b03198216631939536960e31b145b156108bf57506001919050565b505f919050565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610932573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095691906132c7565b6040518263ffffffff1660e01b815260040161097491815260200190565b602060405180830381865af415801561098f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b391906132de565b905090565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098f573d5f803e3d5ffd5b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa158015610a5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7e91906132f9565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b489190613314565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610b8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7e919061333a565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610c0c90600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c70573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b391906132c7565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610a7e90600160c01b900460ff166008610c01565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610b09565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610d75818461184d565b949350505050565b5f5433906001600160a01b03168114610db85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ded576040516361798f2f60e11b81526001600160a01b0383166004820152602401610daf565b610df682611e02565b5050565b5f6109b330610a84565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610ee490613355565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1090613355565b8015610f5b5780601f10610f3257610100808354040283529160200191610f5b565b820191905f5260205f20905b815481529060010190602001808311610f3e57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610f8157505f90565b50638fb3603760e01b90565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610ee490613355565b5f61106a335b5f36611e55565b60808201516040808401516020808601516001600160601b03165f90815260039091529190912054600160c01b900460ff166001600160a01b0383166110f95760ff8083165f9081526008602090815260408083208585168452909152812054909116151590036110f457828282604051639c52edaf60e01b8152600401610daf9392919061338d565b611143565b60ff8083165f90815260076020908152604080832085851684529091528120549091161515900361114357828282604051639c52edaf60e01b8152600401610daf9392919061338d565b61114c85611f4b565b95945050505050565b5f61115f33611063565b60808401516001600160a01b03811661118b57604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af41580156111db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ff91906132f9565b156112285760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610daf565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611278573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129c91906132f9565b156112ce5760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610daf565b6112ea85604001516112de600890565b60ff9081169116141590565b156113225760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610daf565b61135085602001517f000000000000000000000000000000000000000000000000000000000000000061247d565b15611397576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610daf565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b0316156113e35780848460405163ed45a40f60e01b8152600401610daf9392919061338d565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a161114c85611f4b565b61146633611063565b466001146114895760405163e657d2e760e01b8152466004820152602401610daf565b815f036114b4576040516391b6b54560e01b81526001600160601b0384166004820152602401610daf565b6001600160a01b0381166114ed5760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610daf565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa158015611559573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157d91906132c7565b90506116008473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b81526004016115bc91815260200190565b602060405180830381865af41580156115d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115fb9190613314565b61247d565b1561163057604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610daf565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd0d9fccd0d257e9ea3515cef639e01478a9c16c8c046bd7216820ca8b26359529181900360600190a161171d836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b031681526020016116d6600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f612502565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af41580156117b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d69190613314565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c919061333a565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610c0c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156118be5750825b90505f8267ffffffffffffffff1660011480156118da5750303b155b9050811580156118e8575080155b156119065760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561193057845460ff60401b1916600160401b1785555b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611979576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b8054928916929091169190911790556119d061262c565b600980546001600160601b0319166001600160601b03929092169190911790558315611a3657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610a5a573d5f803e3d5ffd5b5f611abe33611063565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611b1a576040516368f27c4360e11b815260040160405180910390fd5b611b898273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0191906132de565b80611bda5750611bda8173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b65573d5f803e3d5ffd5b80611beb5750611beb816001610c01565b80611bfc5750611bfc816008610c01565b15611c245783608001518282604051639c52edaf60e01b8152600401610daf9392919061338d565b610d7584611f4b565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611cb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7e91906133c5565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d33573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b3919061333a565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611a99565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098f573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611e88611e6b5f546001600160a01b031690565b8630611e7a60045f898b613454565b611e839161347b565b6128a4565b9150915081611f445763ffffffff811615611f21575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611ee2908890889088906004016134b1565b5f604051808303815f87803b158015611ef9575f80fd5b505af1158015611f0b573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611f449050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610daf565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c084019161200c90613355565b80601f016020809104026020016040519081016040528092919081815260200182805461203890613355565b80156120835780601f1061205a57610100808354040283529160200191612083565b820191905f5260205f20905b81548152906001019060200180831161206657829003601f168201915b505050919092525050506080810151909150600146146120f9576120c7837f00000000000000000000000000000000000000000000000000000000000000006129ac565b156120f957604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610daf565b5f61210b8789888660600151866129f6565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561216a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218e91906132c7565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156121df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122039190613314565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816123489190613534565b509050506123568a88612a48565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a69161241d918b918891906004016135ef565b6020604051808303815f875af1158015612439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245d91906132c7565b905081811461246e5761246e61361a565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af41580156124de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0c91906132f9565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612568573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061258c91906132f9565b6125be578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610daf565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126278282612b4b565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561267e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a2919061333a565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa15801561270a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272e91906132c7565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561277f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127a39190613314565b925061283d6040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b031681526020016127f9600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612b4b565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612889575f80fd5b505af115801561289b573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612912919061362e565b5f60405180830381855afa9150503d805f811461294a576040519150601f19603f3d011682016040523d82523d5f602084013e61294f565b606091505b509150915081156129a157604081511061298157808060200190518101906129779190613644565b90945092506129a1565b60208151106129a1578080602001905181019061299e91906132f9565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d906044016124c3565b5f612a0285601f610c01565b15612a0e57505f61114c565b6001600160a01b038416612a30578215612a2957508061114c565b505f61114c565b8515612a3d57508261114c565b505f95945050505050565b6001600160a01b03811615610df6576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612ac8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aec91906132f9565b15612b1557604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610daf565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612c1b9082613534565b509050508015612c3657612c36825f01518360800151612a48565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ce99190613314565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612d35575f80fd5b505af1158015612d47573d5f803e3d5ffd5b505050505050565b5f60208284031215612d5f575f80fd5b5035919050565b5f60208284031215612d76575f80fd5b81356001600160e01b031981168114610c0c575f80fd5b60ff81168114612d9b575f80fd5b50565b8035612da981612d8d565b919050565b5f60208284031215612dbe575f80fd5b8135610c0c81612d8d565b6001600160a01b0381168114612d9b575f80fd5b8035612da981612dc9565b5f60208284031215612df8575f80fd5b8135610c0c81612dc9565b6001600160601b0381168114612d9b575f80fd5b8035612da981612e03565b5f60208284031215612e32575f80fd5b8135610c0c81612e03565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c0c6020830184612e3d565b5f8060408385031215612e8e575f80fd5b8235612e9981612dc9565b91506020830135612ea981612d8d565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612efc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610d75610100840182612e3d565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612f7757612f77612f40565b60405290565b8015158114612d9b575f80fd5b8035612da981612f7d565b5f82601f830112612fa4575f80fd5b813567ffffffffffffffff811115612fbe57612fbe612f40565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715612fed57612fed612f40565b604052818152838201602001851015613004575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e08284031215613030575f80fd5b613038612f54565b905061304382612e17565b815261305160208301612e17565b602082015261306260408301612d9e565b604082015261307360608301612f8a565b606082015261308460808301612ddd565b608082015261309560a08301612ddd565b60a082015260c082013567ffffffffffffffff8111156130b3575f80fd5b6130bf84828501612f95565b60c08301525092915050565b5f602082840312156130db575f80fd5b813567ffffffffffffffff8111156130f1575f80fd5b610d7584828501613020565b5f805f6060848603121561310f575f80fd5b833567ffffffffffffffff811115613125575f80fd5b61313186828701613020565b935050602084013561314281612d8d565b9150604084013561315281612d8d565b809150509250925092565b5f805f6060848603121561316f575f80fd5b833561317a81612e03565b925060208401359150604084013561315281612dc9565b5f80604083850312156131a2575f80fd5b82356131ad81612e03565b91506020830135612ea981612dc9565b5f80604083850312156131ce575f80fd5b8235612e9981612e03565b5f805f606084860312156131eb575f80fd5b83356131f681612dc9565b9250602084013561320681612dc9565b9150604084013561315281612dc9565b5f60e08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015260018060a01b03608084015116608083015260a083015161327760a084018264ffffffffff169052565b5060c083015161329060c084018264ffffffffff169052565b5092915050565b5f80604083850312156132a8575f80fd5b8235612e9981612d8d565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156132d7575f80fd5b5051919050565b5f602082840312156132ee575f80fd5b8151610c0c81612d8d565b5f60208284031215613309575f80fd5b8151610c0c81612f7d565b5f60208284031215613324575f80fd5b8151610c0c81612e03565b8051612da981612dc9565b5f6020828403121561334a575f80fd5b8151610c0c81612dc9565b600181811c9082168061336957607f821691505b60208210810361338757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612da9575f80fd5b5f60e08284031280156133d6575f80fd5b506133df612f54565b82516133ea81612d8d565b815260208301516133fa81612d8d565b6020820152604083810151908201526134156060840161332f565b60608201526134266080840161332f565b608082015261343760a084016133b1565b60a082015261344860c084016133b1565b60c08201529392505050565b5f8085851115613462575f80fd5b8386111561346e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613290576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561262757805f5260205f20601f840160051c810160208510156135155750805b601f840160051c820191505b81811015611f44575f8155600101613521565b815167ffffffffffffffff81111561354e5761354e612f40565b6135628161355c8454613355565b846134f0565b6020601f821160018114613594575f831561357d5750848201515b5f19600385901b1c1916600184901b178455611f44565b5f84815260208120601f198516915b828110156135c357878501518255602094850194600190920191016135a3565b50848210156135e057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f9061114c90830184612e3d565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f8060408385031215613655575f80fd5b825161366081612f7d565b602084015190925063ffffffff81168114612ea9575f80fdfea2646970667358221220db58a6d332490ae2325335cf5282ccfc17ebd8f169abb5ab0537f7b578dc57b164736f6c634300081a0033608060405234801561000f575f80fd5b50604051611f86380380611f8683398101604081905261002e9161011d565b604051806060016040528060248152602001611f626024913960408051808201909152600681526511125413919560d21b60208201525f61006f83826101db565b50600161007c82826101db565b5050506001600160a01b0381166100a65760405163019aebf560e41b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790556100ca466100ec565b600d8190556100da90600a61038e565b600e55506004600f555f6010556103d0565b5f81815b8115610116578061010081610399565b915061010f9050600a836103b1565b91506100f0565b9392505050565b5f6020828403121561012d575f80fd5b81516001600160a01b0381168114610116575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016b57607f821691505b60208210810361018957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d657805f5260205f20601f840160051c810160208510156101b45750805b601f840160051c820191505b818110156101d3575f81556001016101c0565b50505b505050565b81516001600160401b038111156101f4576101f4610143565b610208816102028454610157565b8461018f565b6020601f82116001811461023a575f83156102235750848201515b5f19600385901b1c1916600184901b1784556101d3565b5f84815260208120601f198516915b828110156102695787850151825560209485019460019092019101610249565b508482101561028657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102e4578085048111156102c8576102c8610295565b60018416156102d657908102905b60019390931c9280026102ad565b935093915050565b5f826102fa57506001610388565b8161030657505f610388565b816001811461031c576002811461032657610342565b6001915050610388565b60ff84111561033757610337610295565b50506001821b610388565b5060208310610133831016604e8410600b8410161715610365575081810a610388565b6103715f1984846102a9565b805f190482111561038457610384610295565b0290505b92915050565b5f61011683836102ec565b5f600182016103aa576103aa610295565b5060010190565b5f826103cb57634e487b7160e01b5f52601260045260245ffd5b500490565b611b85806103dd5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80634f6ccce711610109578063a3f4df7e1161009e578063caa0f92a1161006e578063caa0f92a1461040c578063e985e9c514610414578063f21de1e814610427578063f76f8d7814610438575f80fd5b8063a3f4df7e146103cb578063b88d4fde146103d3578063c2c75839146103e6578063c87b56dd146103f9575f80fd5b8063862440e2116100d9578063862440e21461039557806395d89b41146103a8578063a22cb465146103b0578063a2309ff8146103c3575f80fd5b80634f6ccce714610353578063598e2892146103665780636352211e1461036f57806370a0823114610382575f80fd5b806323b872dd1161017f57806340c10f191161014f57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e7914610329575f80fd5b806323b872dd146102995780632e85b1f3146102ac5780632f745c59146102b5578063342ec443146102c8575f80fd5b8063081812fc116101ba578063081812fc1461023e578063095ea7b31461026957806318160ddd1461027e578063221375a614610286575f80fd5b806301ffc9a7146101e05780630559ea471461020857806306fdde0314610229575b5f80fd5b6101f36101ee3660046114af565b61045d565b60405190151581526020015b60405180910390f35b61021b6102163660046114ca565b610487565b6040519081526020016101ff565b6102316104b9565b6040516101ff919061150f565b61025161024c3660046114ca565b610548565b6040516001600160a01b0390911681526020016101ff565b61027c61027736600461153c565b61056f565b005b60085461021b565b61021b61029436600461160d565b61057e565b61027c6102a7366004611667565b610624565b61021b61083581565b61021b6102c336600461153c565b6106ce565b6102516102d63660046114ca565b5f908152600a60205260409020546001600160a01b031690565b61027c6102fe36600461153c565b610731565b61027c610311366004611667565b610769565b61027c6103243660046114ca565b610783565b6101f36103373660046114ca565b5f908152600260205260409020546001600160a01b0316151590565b61021b6103613660046114ca565b6107dc565b61021b61044d81565b61025161037d3660046114ca565b610831565b61021b6103903660046116a1565b61083b565b61027c6103a33660046116ba565b610880565b610231610928565b61027c6103be3660046116fe565b610937565b60105461021b565b610231610942565b61027c6103e1366004611737565b61095e565b61021b6103f43660046117ae565b61097b565b6102316104073660046114ca565b610a05565b61021b610aac565b6101f36104223660046117ce565b610abd565b600c546001600160a01b0316610251565b6102316040518060400160405280600681526020016511125413919560d21b81525081565b5f6001600160e01b0319821663780e9d6360e01b1480610481575061048182610aea565b92915050565b5f600d5446600e548461049a9190611813565b6104a4919061182a565b6104af906064611813565b610481919061182a565b60605f80546104c79061183d565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061183d565b801561053e5780601f106105155761010080835404028352916020019161053e565b820191905f5260205f20905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b5f61055282610b39565b505f828152600460205260409020546001600160a01b0316610481565b61057a828233610b71565b5050565b600c545f906001600160a01b031633146105b257604051636db0231160e11b81523360048201526024015b60405180910390fd5b6105ba610b7e565b90506001600160a01b038316156105f2575f818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b815115610612575f818152600b6020526040902061061083826118b9565b505b61061d848285610ba3565b9392505050565b61062f838383610c07565b5f818152600a60205260409020546001600160a01b0316156106c9575f818152600a602052604090819020549051630568956b60e51b81526001600160a01b038581166004830152848116602483015260448201849052336064830181905292169063ad12ad60906084015f604051808303815f87803b1580156106b1575f80fd5b505af11580156106c3573d5f803e3d5ffd5b50505050505b505050565b5f6106d88361083b565b82106107095760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a9565b506001600160a01b03919091165f908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075e57604051636db0231160e11b81523360048201526024016105a9565b61057a82825f610ba3565b6106c983838360405180602001604052805f81525061095e565b600c546001600160a01b031633146107b057604051636db0231160e11b81523360048201526024016105a9565b6107b981610b39565b506107c381610c8a565b5f818152600b602052604081206107d991611450565b50565b5f6107e660085490565b821061080e5760405163295f44f760e21b81525f6004820152602481018390526044016105a9565b6008828154811061082157610821611974565b905f5260205f2001549050919050565b5f61048182610b39565b5f6001600160a01b038216610865576040516322718ad960e21b81525f60048201526024016105a9565b506001600160a01b03165f9081526003602052604090205490565b600c546001600160a01b031633146108ad57604051636db0231160e11b81523360048201526024016105a9565b80515f036108ce57604051639827d56160e01b815260040160405180910390fd5b5f828152600b6020526040812080546108e69061183d565b90501115610907576040516310500e0d60e11b815260040160405180910390fd5b61091082610b39565b505f828152600b602052604090206106c982826118b9565b6060600180546104c79061183d565b61057a338383610cc2565b604051806060016040528060248152602001611b2c6024913981565b610969848484610624565b61097584848484610d60565b50505050565b5f4682036109bb57600d5482600e54856109959190611813565b61099f919061182a565b6109aa906064611813565b6109b4919061182a565b9050610481565b5f6109c583610e86565b905080836109d482600a611a6b565b6109de9087611813565b6109e8919061182a565b6109f3906064611813565b6109fd919061182a565b915050610481565b6060610a1082610b39565b505f828152600b602052604090208054610a299061183d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a559061183d565b8015610aa05780601f10610a7757610100808354040283529160200191610aa0565b820191905f5260205f20905b815481529060010190602001808311610a8357829003601f168201915b50505050509050919050565b5f610ab8600f54610487565b905090565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f6001600160e01b031982166380ac58cd60e01b1480610b1a57506001600160e01b03198216635b5e139f60e01b145b8061048157506301ffc9a760e01b6001600160e01b0319831614610481565b5f818152600260205260408120546001600160a01b03168061048157604051637e27328960e01b8152600481018490526024016105a9565b6106c98383836001610eb0565b5f610b8a600f54610487565b600f80549192505f610b9b83611a76565b919050555090565b60108054905f610bb283611a76565b9190505550610bc18383610fb4565b604080518381526001600160a01b03831660208201527f453826441818dd705229212b6345c5fbc2094ee234f134ae2cb2bdf74dc1ccfe910160405180910390a1505050565b6001600160a01b038216610c3057604051633250574960e11b81525f60048201526024016105a9565b5f610c3c838333610fcd565b9050836001600160a01b0316816001600160a01b031614610975576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a9565b5f610c965f835f610fcd565b90506001600160a01b03811661057a57604051637e27328960e01b8152600481018390526024016105a9565b6001600160a01b038216610cf457604051630b61174360e31b81526001600160a01b03831660048201526024016105a9565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561097557604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610da2903390889087908790600401611a8e565b6020604051808303815f875af1925050508015610ddc575060408051601f3d908101601f19168201909252610dd991810190611aca565b60015b610e43573d808015610e09576040519150601f19603f3d011682016040523d82523d5f602084013e610e0e565b606091505b5080515f03610e3b57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e7f57604051633250574960e11b81526001600160a01b03851660048201526024016105a9565b5050505050565b5f81815b811561061d5780610e9a81611a76565b9150610ea99050600a83611ae5565b9150610e8a565b8080610ec457506001600160a01b03821615155b15610f85575f610ed384610b39565b90506001600160a01b03831615801590610eff5750826001600160a01b0316816001600160a01b031614155b8015610f125750610f108184610abd565b155b15610f3b5760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a9565b8115610f835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61057a828260405180602001604052805f8152506110a0565b5f80610fda8585856110b6565b90506001600160a01b0381166110365761103184600880545f838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611059565b846001600160a01b0316816001600160a01b0316146110595761105981856111a8565b6001600160a01b0385166110755761107084611235565b611098565b846001600160a01b0316816001600160a01b0316146110985761109885856112dc565b949350505050565b6110aa838361132a565b6106c95f848484610d60565b5f828152600260205260408120546001600160a01b03908116908316156110e2576110e281848661138b565b6001600160a01b0381161561111c576110fd5f855f80610eb0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b0385161561114a576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f6111b28361083b565b5f83815260076020526040902054909150808214611203576001600160a01b0384165f9081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b505f9182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008545f9061124690600190611b04565b5f838152600960205260408120546008805493945090928490811061126d5761126d611974565b905f5260205f2001549050806008838154811061128c5761128c611974565b5f9182526020808320909101929092558281526009909152604080822084905585825281205560088054806112c3576112c3611b17565b600190038181905f5260205f20015f9055905550505050565b5f60016112e88461083b565b6112f29190611b04565b6001600160a01b039093165f908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661135357604051633250574960e11b81525f60048201526024016105a9565b5f61135f83835f610fcd565b90506001600160a01b038116156106c9576040516339e3563760e11b81525f60048201526024016105a9565b6113968383836113ef565b6106c9576001600160a01b0383166113c457604051637e27328960e01b8152600481018290526024016105a9565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a9565b5f6001600160a01b038316158015906110985750826001600160a01b0316846001600160a01b0316148061142857506114288484610abd565b806110985750505f908152600460205260409020546001600160a01b03908116911614919050565b50805461145c9061183d565b5f825580601f1061146b575050565b601f0160209004905f5260205f20908101906107d991905b80821115611496575f8155600101611483565b5090565b6001600160e01b0319811681146107d9575f80fd5b5f602082840312156114bf575f80fd5b813561061d8161149a565b5f602082840312156114da575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61061d60208301846114e1565b80356001600160a01b0381168114611537575f80fd5b919050565b5f806040838503121561154d575f80fd5b61155683611521565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561159257611592611564565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156115c1576115c1611564565b6040528381529050808284018510156115d8575f80fd5b838360208301375f60208583010152509392505050565b5f82601f8301126115fe575f80fd5b61061d83833560208501611578565b5f805f6060848603121561161f575f80fd5b61162884611521565b925061163660208501611521565b9150604084013567ffffffffffffffff811115611651575f80fd5b61165d868287016115ef565b9150509250925092565b5f805f60608486031215611679575f80fd5b61168284611521565b925061169060208501611521565b929592945050506040919091013590565b5f602082840312156116b1575f80fd5b61061d82611521565b5f80604083850312156116cb575f80fd5b82359150602083013567ffffffffffffffff8111156116e8575f80fd5b6116f4858286016115ef565b9150509250929050565b5f806040838503121561170f575f80fd5b61171883611521565b91506020830135801515811461172c575f80fd5b809150509250929050565b5f805f806080858703121561174a575f80fd5b61175385611521565b935061176160208601611521565b925060408501359150606085013567ffffffffffffffff811115611783575f80fd5b8501601f81018713611793575f80fd5b6117a287823560208401611578565b91505092959194509250565b5f80604083850312156117bf575f80fd5b50508035926020909101359150565b5f80604083850312156117df575f80fd5b6117e883611521565b91506117f660208401611521565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610481576104816117ff565b80820180821115610481576104816117ff565b600181811c9082168061185157607f821691505b60208210810361186f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106c957805f5260205f20601f840160051c8101602085101561189a5750805b601f840160051c820191505b81811015610e7f575f81556001016118a6565b815167ffffffffffffffff8111156118d3576118d3611564565b6118e7816118e1845461183d565b84611875565b6020601f821160018114611919575f83156119025750848201515b5f19600385901b1c1916600184901b178455610e7f565b5f84815260208120601f198516915b828110156119485787850151825560209485019460019092019101611928565b508482101561196557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b6001815b60018411156119c3578085048111156119a7576119a76117ff565b60018416156119b557908102905b60019390931c92800261198c565b935093915050565b5f826119d957506001610481565b816119e557505f610481565b81600181146119fb5760028114611a0557611a21565b6001915050610481565b60ff841115611a1657611a166117ff565b50506001821b610481565b5060208310610133831016604e8410600b8410161715611a44575081810a610481565b611a505f198484611988565b805f1904821115611a6357611a636117ff565b029392505050565b5f61061d83836119cb565b5f60018201611a8757611a876117ff565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611ac0908301846114e1565b9695505050505050565b5f60208284031215611ada575f80fd5b815161061d8161149a565b5f82611aff57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610481576104816117ff565b634e487b7160e01b5f52603160045260245ffdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201d31494400f2f6b1803c0ba290746b839b92f1ea950e7d4b79b95b462fe31cb464736f6c634300081a003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
1483
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102ff575f3560e01c8063a48f42e011610195578063caed9897116100e4578063e278c9241161009e578063e74d052f11610079578063e74d052f14610815578063f40d7c3014610828578063fbe4b7c014610830578063fff74f6c14610838575f80fd5b8063e278c924146107de578063e285c9c414610805578063e2b178a01461080d575f80fd5b8063caed98971461071e578063d1982d881461072f578063d2213b5b14610742578063d39e604314610762578063d92471491461079e578063dfca0142146107c6575f80fd5b8063b303aaf81161014f578063bf8e17971161012a578063bf8e17971461069d578063c0c53b8b146106d1578063c1b8411a146106e4578063c3c5a5471461070b575f80fd5b8063b303aaf814610667578063b624e2ba1461067a578063bf7e214f1461068d575f80fd5b8063a48f42e0146105ec578063a5df9e4e146105ff578063a7050a5614610612578063abbbbd0c14610625578063ae8dfb791461064c578063b08c0b5414610654575f80fd5b806338bb429a116102515780637a9e5e4b1161020b5780638b09a5f0116101e65780638b09a5f01461055d5780638e7b39271461057d5780638fb36037146105a457806396f4b69e146105c5575f80fd5b80637a9e5e4b14610538578063839f700c1461054d578063893d20e814610555575f80fd5b806338bb429a1461045a5780633fe9300e1461046d578063598e28921461048f5780635c0e6264146104ce5780635e546bee146104e1578063644c45e014610512575f80fd5b8063120726c3116102bc5780631a848cfb116102975780631a848cfb146103f25780632a0acc6a146103fa5780632b91e0a9146104215780632de837e014610434575f80fd5b8063120726c3146103a657806314afd79e146103cc57806317dc5e2a146103df575f80fd5b806301f6b5a21461030357806301ffc9a7146103295780630e41142e1461034c5780630e6d1de9146103665780630e9ed68b1461036e57806311edceaa14610393575b5f80fd5b610316610311366004612d4f565b61085e565b6040519081526020015b60405180910390f35b61033c610337366004612d66565b610882565b6040519015158152602001610320565b6103546108c6565b60405160ff9091168152602001610320565b6103546109b8565b600b546001600160a01b03165b6040516001600160a01b039091168152602001610320565b61033c6103a1366004612dae565b610a0a565b7f000000000000000000000000000000000000000000000000000000000000000061037b565b61037b6103da366004612de8565b610a84565b61033c6103ed366004612de8565b610bae565b610316610c13565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b61033c61042f366004612de8565b610c94565b7f000000000000000000000000000000000000000000000000000000000000000061037b565b61037b610468366004612e22565b610cd7565b61048260405180602001604052805f81525081565b6040516103209190612e6b565b6104b67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b039091168152602001610320565b61033c6104dc366004612e7d565b610d4a565b6104b66104ef366004612de8565b6001600160a01b03165f908152600460205260409020546001600160601b031690565b7f00000000000000000000000000000000000000000000000000000000000000006104b6565b61054b610546366004612de8565b610d7d565b005b610316600381565b61037b610dfa565b61057061056b366004612de8565b610e04565b6040516103209190612eb4565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b6105ac610f6b565b6040516001600160e01b03199091168152602001610320565b6104b67f000000000000000000000000000000000000000000000000000000000000000081565b6105706105fa366004612e22565b610f8d565b6104b661060d3660046130cb565b61105d565b6104b66106203660046130fd565b611155565b6104b67f000000000000000000000000000000000000000000000000000000000000000081565b610316600281565b61054b61066236600461315d565b61145d565b61033c610675366004613191565b611723565b61033c6106883660046131bd565b61184d565b5f546001600160a01b031661037b565b61037b6106ab366004612e22565b6001600160601b03165f908152600360205260409020600101546001600160a01b031690565b61054b6106df3660046131d9565b611879565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b61033c610719366004612de8565b611a40565b600a546001600160a01b031661037b565b6104b661073d3660046130cb565b611ab4565b610755610750366004612dae565b611c2d565b6040516103209190613216565b61037b610770366004613297565b60ff9081165f908152600560209081526040808320949093168252929092529020546001600160a01b031690565b6104b66107ac366004612d4f565b5f908152600160205260409020546001600160601b031690565b600954600160601b90046001600160a01b031661037b565b61037b7f000000000000000000000000000000000000000000000000000000000000000081565b61037b600181565b61037b611cd6565b61033c610823366004612e22565b611d57565b610354611db0565b600254610316565b7f00000000000000000000000000000000000000000000000000000000000000006104b6565b5f60028281548110610872576108726132b3565b905f5260205f2001549050919050565b5f6001600160e01b031982166301ffc9a760e01b14806108b257506001600160e01b03198216631939536960e31b145b156108bf57506001919050565b505f919050565b5f73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c6009600c9054906101000a90046001600160a01b03166001600160a01b03166399a228e56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610932573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095691906132c7565b6040518263ffffffff1660e01b815260040161097491815260200190565b602060405180830381865af415801561098f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b391906132de565b905090565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b0316630e6d1de96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098f573d5f803e3d5ffd5b6009546040516308f6e75560e11b815260ff831660048201525f91600160601b90046001600160a01b0316906311edceaa90602401602060405180830381865afa158015610a5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7e91906132f9565b92915050565b6001600160a01b038181165f90815260046020819052604080832054905163046e44af60e11b81526001600160601b039091169181019190915290917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af4158015610b24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b489190613314565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610b8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7e919061333a565b6001600160a01b0381165f908152600460209081526040808320546001600160601b039081168452600390925280832054600160601b900490911680835290822054610c0c90600160c01b900460ff16600a5b60ff90811691161490565b9392505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c70573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b391906132c7565b6001600160a01b0381165f908152600460209081526040808320546001600160601b031683526003909152812054610a7e90600160c01b900460ff166008610c01565b60405163046e44af60e11b81526001600160601b03821660048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610b09565b6001600160a01b0382165f908152600460205260408120546001600160601b0316610d75818461184d565b949350505050565b5f5433906001600160a01b03168114610db85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ded576040516361798f2f60e11b81526001600160a01b0383166004820152602401610daf565b610df682611e02565b5050565b5f6109b330610a84565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083165f908152600460209081526040808320546001600160601b039081168452600380845293829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b90910490911615156060830152600181015484166080830152600281015490931660a0820152908201805491929160c084019190610ee490613355565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1090613355565b8015610f5b5780601f10610f3257610100808354040283529160200191610f5b565b820191905f5260205f20905b815481529060010190602001808311610f3e57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff16610f8157505f90565b50638fb3603760e01b90565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b038083165f90815260036020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b03908116608084015260028401541660a08301528201805491929160c084019190610ee490613355565b5f61106a335b5f36611e55565b60808201516040808401516020808601516001600160601b03165f90815260039091529190912054600160c01b900460ff166001600160a01b0383166110f95760ff8083165f9081526008602090815260408083208585168452909152812054909116151590036110f457828282604051639c52edaf60e01b8152600401610daf9392919061338d565b611143565b60ff8083165f90815260076020908152604080832085851684529091528120549091161515900361114357828282604051639c52edaf60e01b8152600401610daf9392919061338d565b61114c85611f4b565b95945050505050565b5f61115f33611063565b60808401516001600160a01b03811661118b57604051633eebb91d60e21b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90636f91962090602401602060405180830381865af41580156111db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ff91906132f9565b156112285760405163ed0967fb60e01b81526001600160a01b0382166004820152602401610daf565b60405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611278573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129c91906132f9565b156112ce5760405163e3d112c960e01b81526001600160a01b038216600482015260ff85166024820152604401610daf565b6112ea85604001516112de600890565b60ff9081169116141590565b156113225760408086015190516369be9a4f60e01b81526001600160a01b038316600482015260ff9091166024820152604401610daf565b61135085602001517f000000000000000000000000000000000000000000000000000000000000000061247d565b15611397576020850151604051635b3eb3df60e11b81526001600160a01b038316600482015260ff861660248201526001600160601b039091166044820152606401610daf565b60ff8085165f908152600560209081526040808320938716835292905220546001600160a01b0316156113e35780848460405163ed45a40f60e01b8152600401610daf9392919061338d565b60ff8481165f8181526005602090815260408083209488168084529482529182902080546001600160a01b0319166001600160a01b03871617905581519283528201929092527fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a161114c85611f4b565b61146633611063565b466001146114895760405163e657d2e760e01b8152466004820152602401610daf565b815f036114b4576040516391b6b54560e01b81526001600160601b0384166004820152602401610daf565b6001600160a01b0381166114ed5760405163d608eeb560e01b81526001600160601b038416600482015260248101839052604401610daf565b60405163c2c7583960e01b815260026004820152602481018390525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c2c7583990604401602060405180830381865afa158015611559573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157d91906132c7565b90506116008473__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf846040518263ffffffff1660e01b81526004016115bc91815260200190565b602060405180830381865af41580156115d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115fb9190613314565b61247d565b1561163057604051636a5a213360e01b81526001600160601b038516600482015260248101849052604401610daf565b604080516001600160601b0386168152602081018590526001600160a01b0384168183015290517fd0d9fccd0d257e9ea3515cef639e01478a9c16c8c046bd7216820ca8b26359529181900360600190a161171d836040518060e00160405280876001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b031681526020016116d6600290565b60ff1681526020015f15158152602001856001600160a01b0316815260200160016001600160a01b0316815260200160405180602001604052805f8152508152505f612502565b50505050565b60405163046e44af60e11b81526001600160601b03831660048201525f906001600160a01b03808416917f000000000000000000000000000000000000000000000000000000000000000090911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af41580156117b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d69190613314565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c919061333a565b6001600160a01b0316149392505050565b6001600160601b0382165f9081526003602052604081205460ff838116600160c01b9092041614610c0c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156118be5750825b90505f8267ffffffffffffffff1660011480156118da5750303b155b9050811580156118e8575080155b156119065760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561193057845460ff60401b1916600160401b1785555b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611979576040516348fa508b60e01b815260040160405180910390fd5b600980546001600160a01b03808b16600160601b026001600160601b0390921691909117909155600a80548983166001600160a01b031991821617909155600b8054928916929091169190911790556119d061262c565b600980546001600160601b0319166001600160601b03929092169190911790558315611a3657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6001600160a01b0381165f9081526004602081905260408083205490516330b8415f60e01b81526001600160601b039091169181019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610a5a573d5f803e3d5ffd5b5f611abe33611063565b6040808301516020808501516001600160601b03165f908152600382528381205460ff80851683526006909352939020549192600160c01b90048116911615611b1a576040516368f27c4360e11b815260040160405180910390fd5b611b898273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0191906132de565b80611bda5750611bda8173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b65573d5f803e3d5ffd5b80611beb5750611beb816001610c01565b80611bfc5750611bfc816008610c01565b15611c245783608001518282604051639c52edaf60e01b8152600401610daf9392919061338d565b610d7584611f4b565b6040805160e0810182525f80825260208201819052818301819052606082018190526080820181905260a0820181905260c0820152600954915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03600160601b909104169063d2213b5b9060240160e060405180830381865afa158015611cb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7e91906133c5565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d33573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b3919061333a565b6001600160601b0381165f9081526003602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401611a99565b5f6009600c9054906101000a90046001600160a01b03166001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098f573d5f803e3d5ffd5b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f80611e88611e6b5f546001600160a01b031690565b8630611e7a60045f898b613454565b611e839161347b565b6128a4565b9150915081611f445763ffffffff811615611f21575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90611ee2908890889088906004016134b1565b5f604051808303815f87803b158015611ef9575f80fd5b505af1158015611f0b573d5f803e3d5ffd5b50505f805460ff60a01b1916905550611f449050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610daf565b5050505050565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b038082165f90815260038085528c82208d5160e081018f5281548086168252600160601b81049095169681019690965260ff600160c01b850481169e87019e909e52600160c81b909304909c1615159984019990995260018101546001600160a01b039081169784019790975260028101549096169382019390935297840180549698959693959194929389939160c084019161200c90613355565b80601f016020809104026020016040519081016040528092919081815260200182805461203890613355565b80156120835780601f1061205a57610100808354040283529160200191612083565b820191905f5260205f20905b81548152906001019060200180831161206657829003601f168201915b505050919092525050506080810151909150600146146120f9576120c7837f00000000000000000000000000000000000000000000000000000000000000006129ac565b156120f957604051633bf96e3760e01b81526001600160a01b038616600482015260ff88166024820152604401610daf565b5f61210b8789888660600151866129f6565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561216a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218e91906132c7565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156121df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122039190613314565b9950898b5f01906001600160601b031690816001600160601b0316815250508a60035f8c6001600160601b03166001600160601b031681526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a81548160ff021916908360ff1602179055506060820151815f0160196101000a81548160ff0219169083151502179055506080820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816123489190613534565b509050506123568a88612a48565b604080516001600160601b038c811682528716602082015260ff8b168183015289151560608201526001600160a01b038981166080830152881660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a1604080516020810182525f8082529151631109bad360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163221375a69161241d918b918891906004016135ef565b6020604051808303815f875af1158015612439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245d91906132c7565b905081811461246e5761246e61361a565b50505050505050505050919050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af41580156124de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0c91906132f9565b5f8381526001602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612568573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061258c91906132f9565b6125be578151604051631832397b60e21b81526001600160601b03909116600482015260248101849052604401610daf565b81515f848152600160208190526040822080546001600160601b0319166001600160601b039094169390931790925560028054928301815590527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018390556126278282612b4b565b505050565b5f80600b5f9054906101000a90046001600160a01b03166001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561267e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126a2919061333a565b604051630559ea4760e01b8152600360048201529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630559ea4790602401602060405180830381865afa15801561270a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272e91906132c7565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561277f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127a39190613314565b925061283d6040518060e00160405280856001600160601b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160601b031681526020016127f9600390565b60ff1681525f6020808301829052600b546001600160a01b039081166040808601919091529088166060850152805191820190529081526080909101526001612b4b565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166309980bfd6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612889575f80fd5b505af115801561289b573d5f803e3d5ffd5b50505050505090565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612912919061362e565b5f60405180830381855afa9150503d805f811461294a576040519150601f19603f3d011682016040523d82523d5f602084013e61294f565b606091505b509150915081156129a157604081511061298157808060200190518101906129779190613644565b90945092506129a1565b60208151106129a1578080602001905181019061299e91906132f9565b93505b505094509492505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d906044016124c3565b5f612a0285601f610c01565b15612a0e57505f61114c565b6001600160a01b038416612a30578215612a2957508061114c565b505f61114c565b8515612a3d57508261114c565b505f95945050505050565b6001600160a01b03811615610df6576001600160a01b0381165f908152600460208190526040918290205491516330b8415f60e01b81526001600160601b039092169082015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612ac8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aec91906132f9565b15612b1557604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610daf565b6001600160a01b0381165f90815260046020526040902080546001600160601b0384166001600160601b03199091161790555050565b81516001600160601b039081165f9081526003602081815260409283902086518154928801519488015160608901511515600160c81b0260ff60c81b1960ff909216600160c01b029190911661ffff60c01b19968816600160601b026001600160c01b0319909516929097169190911792909217939093169390931792909217815560808401516001820180546001600160a01b039283166001600160a01b03199182161790915560a086015160028401805491909316911617905560c08401518492820190612c1b9082613534565b509050508015612c3657612c36825f01518360800151612a48565b60a0820151825160405163046e44af60e11b81526001600160601b0390911660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340c10f199173__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401602060405180830381865af4158015612cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ce99190613314565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526001600160601b031660248201526044015f604051808303815f87803b158015612d35575f80fd5b505af1158015612d47573d5f803e3d5ffd5b505050505050565b5f60208284031215612d5f575f80fd5b5035919050565b5f60208284031215612d76575f80fd5b81356001600160e01b031981168114610c0c575f80fd5b60ff81168114612d9b575f80fd5b50565b8035612da981612d8d565b919050565b5f60208284031215612dbe575f80fd5b8135610c0c81612d8d565b6001600160a01b0381168114612d9b575f80fd5b8035612da981612dc9565b5f60208284031215612df8575f80fd5b8135610c0c81612dc9565b6001600160601b0381168114612d9b575f80fd5b8035612da981612e03565b5f60208284031215612e32575f80fd5b8135610c0c81612e03565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c0c6020830184612e3d565b5f8060408385031215612e8e575f80fd5b8235612e9981612dc9565b91506020830135612ea981612d8d565b809150509250929050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612efc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610d75610100840182612e3d565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612f7757612f77612f40565b60405290565b8015158114612d9b575f80fd5b8035612da981612f7d565b5f82601f830112612fa4575f80fd5b813567ffffffffffffffff811115612fbe57612fbe612f40565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715612fed57612fed612f40565b604052818152838201602001851015613004575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60e08284031215613030575f80fd5b613038612f54565b905061304382612e17565b815261305160208301612e17565b602082015261306260408301612d9e565b604082015261307360608301612f8a565b606082015261308460808301612ddd565b608082015261309560a08301612ddd565b60a082015260c082013567ffffffffffffffff8111156130b3575f80fd5b6130bf84828501612f95565b60c08301525092915050565b5f602082840312156130db575f80fd5b813567ffffffffffffffff8111156130f1575f80fd5b610d7584828501613020565b5f805f6060848603121561310f575f80fd5b833567ffffffffffffffff811115613125575f80fd5b61313186828701613020565b935050602084013561314281612d8d565b9150604084013561315281612d8d565b809150509250925092565b5f805f6060848603121561316f575f80fd5b833561317a81612e03565b925060208401359150604084013561315281612dc9565b5f80604083850312156131a2575f80fd5b82356131ad81612e03565b91506020830135612ea981612dc9565b5f80604083850312156131ce575f80fd5b8235612e9981612e03565b5f805f606084860312156131eb575f80fd5b83356131f681612dc9565b9250602084013561320681612dc9565b9150604084013561315281612dc9565b5f60e08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015260018060a01b03608084015116608083015260a083015161327760a084018264ffffffffff169052565b5060c083015161329060c084018264ffffffffff169052565b5092915050565b5f80604083850312156132a8575f80fd5b8235612e9981612d8d565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156132d7575f80fd5b5051919050565b5f602082840312156132ee575f80fd5b8151610c0c81612d8d565b5f60208284031215613309575f80fd5b8151610c0c81612f7d565b5f60208284031215613324575f80fd5b8151610c0c81612e03565b8051612da981612dc9565b5f6020828403121561334a575f80fd5b8151610c0c81612dc9565b600181811c9082168061336957607f821691505b60208210810361338757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b805164ffffffffff81168114612da9575f80fd5b5f60e08284031280156133d6575f80fd5b506133df612f54565b82516133ea81612d8d565b815260208301516133fa81612d8d565b6020820152604083810151908201526134156060840161332f565b60608201526134266080840161332f565b608082015261343760a084016133b1565b60a082015261344860c084016133b1565b60c08201529392505050565b5f8085851115613462575f80fd5b8386111561346e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613290576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561262757805f5260205f20601f840160051c810160208510156135155750805b601f840160051c820191505b81811015611f44575f8155600101613521565b815167ffffffffffffffff81111561354e5761354e612f40565b6135628161355c8454613355565b846134f0565b6020601f821160018114613594575f831561357d5750848201515b5f19600385901b1c1916600184901b178455611f44565b5f84815260208120601f198516915b828110156135c357878501518255602094850194600190920191016135a3565b50848210156135e057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b038481168252831660208201526060604082018190525f9061114c90830184612e3d565b634e487b7160e01b5f52600160045260245ffd5b5f82518060208501845e5f920191825250919050565b5f8060408385031215613655575f80fd5b825161366081612f7d565b602084015190925063ffffffff81168114612ea9575f80fdfea2646970667358221220db58a6d332490ae2325335cf5282ccfc17ebd8f169abb5ab0537f7b578dc57b164736f6c634300081a0033",
793
1484
  "linkReferences": {
794
- "contracts/types/NftId.sol": {
1485
+ "contracts/type/NftId.sol": {
795
1486
  "NftIdLib": [
796
1487
  {
797
1488
  "length": 20,
798
- "start": 5860
1489
+ "start": 277
799
1490
  },
800
1491
  {
801
1492
  "length": 20,
802
- "start": 6576
1493
+ "start": 789
803
1494
  },
804
1495
  {
805
1496
  "length": 20,
806
- "start": 7257
1497
+ "start": 914
807
1498
  },
808
1499
  {
809
1500
  "length": 20,
810
- "start": 9056
1501
+ "start": 1225
811
1502
  },
812
1503
  {
813
1504
  "length": 20,
814
- "start": 9665
815
- }
816
- ]
817
- },
818
- "contracts/types/ObjectType.sol": {
819
- "ObjectTypeLib": [
1505
+ "start": 3294
1506
+ },
1507
+ {
1508
+ "length": 20,
1509
+ "start": 3539
1510
+ },
1511
+ {
1512
+ "length": 20,
1513
+ "start": 3888
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 7647
1518
+ },
1519
+ {
1520
+ "length": 20,
1521
+ "start": 8220
1522
+ },
1523
+ {
1524
+ "length": 20,
1525
+ "start": 10361
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 10862
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 11631
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 13467
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 14233
1542
+ },
1543
+ {
1544
+ "length": 20,
1545
+ "start": 14372
1546
+ },
1547
+ {
1548
+ "length": 20,
1549
+ "start": 14907
1550
+ },
820
1551
  {
821
1552
  "length": 20,
822
- "start": 9816
1553
+ "start": 15560
1554
+ },
1555
+ {
1556
+ "length": 20,
1557
+ "start": 15748
1558
+ },
1559
+ {
1560
+ "length": 20,
1561
+ "start": 16257
823
1562
  }
824
1563
  ]
825
1564
  },
826
- "contracts/types/Version.sol": {
827
- "VersionLib": [
1565
+ "contracts/type/ObjectType.sol": {
1566
+ "ObjectTypeLib": [
828
1567
  {
829
1568
  "length": 20,
830
- "start": 225
1569
+ "start": 9524
831
1570
  },
832
1571
  {
833
1572
  "length": 20,
834
- "start": 2739
835
- }
836
- ],
837
- "VersionPartLib": [
1573
+ "start": 11796
1574
+ },
838
1575
  {
839
1576
  "length": 20,
840
- "start": 6807
1577
+ "start": 11913
841
1578
  },
842
1579
  {
843
1580
  "length": 20,
844
- "start": 6935
845
- },
1581
+ "start": 12418
1582
+ }
1583
+ ]
1584
+ },
1585
+ "contracts/type/Version.sol": {
1586
+ "VersionPartLib": [
846
1587
  {
847
1588
  "length": 20,
848
- "start": 9940
1589
+ "start": 7101
849
1590
  },
850
1591
  {
851
1592
  "length": 20,
852
- "start": 10064
1593
+ "start": 9367
853
1594
  }
854
1595
  ]
855
1596
  }
856
1597
  },
857
1598
  "deployedLinkReferences": {
858
- "contracts/types/NftId.sol": {
1599
+ "contracts/type/NftId.sol": {
859
1600
  "NftIdLib": [
860
1601
  {
861
1602
  "length": 20,
862
- "start": 991
1603
+ "start": 2795
863
1604
  },
864
1605
  {
865
1606
  "length": 20,
866
- "start": 1707
1607
+ "start": 3368
867
1608
  },
868
1609
  {
869
1610
  "length": 20,
870
- "start": 2388
1611
+ "start": 5509
871
1612
  },
872
1613
  {
873
1614
  "length": 20,
874
- "start": 4187
1615
+ "start": 6010
875
1616
  },
876
1617
  {
877
1618
  "length": 20,
878
- "start": 4796
1619
+ "start": 6779
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 8615
1624
+ },
1625
+ {
1626
+ "length": 20,
1627
+ "start": 9381
1628
+ },
1629
+ {
1630
+ "length": 20,
1631
+ "start": 9520
1632
+ },
1633
+ {
1634
+ "length": 20,
1635
+ "start": 10055
1636
+ },
1637
+ {
1638
+ "length": 20,
1639
+ "start": 10708
1640
+ },
1641
+ {
1642
+ "length": 20,
1643
+ "start": 10896
1644
+ },
1645
+ {
1646
+ "length": 20,
1647
+ "start": 11405
879
1648
  }
880
1649
  ]
881
1650
  },
882
- "contracts/types/ObjectType.sol": {
1651
+ "contracts/type/ObjectType.sol": {
883
1652
  "ObjectTypeLib": [
884
1653
  {
885
1654
  "length": 20,
886
- "start": 4947
887
- }
888
- ]
889
- },
890
- "contracts/types/Version.sol": {
891
- "VersionPartLib": [
1655
+ "start": 4672
1656
+ },
892
1657
  {
893
1658
  "length": 20,
894
- "start": 1938
1659
+ "start": 6944
895
1660
  },
896
1661
  {
897
1662
  "length": 20,
898
- "start": 2066
1663
+ "start": 7061
899
1664
  },
900
1665
  {
901
1666
  "length": 20,
902
- "start": 5071
1667
+ "start": 7566
1668
+ }
1669
+ ]
1670
+ },
1671
+ "contracts/type/Version.sol": {
1672
+ "VersionPartLib": [
1673
+ {
1674
+ "length": 20,
1675
+ "start": 2249
903
1676
  },
904
1677
  {
905
1678
  "length": 20,
906
- "start": 5195
1679
+ "start": 4515
907
1680
  }
908
1681
  ]
909
1682
  }