@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d2f2474-604

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