@etherisc/gif-next 0.0.2-ce87da3-250 → 0.0.2-ce8fb44-591

Sign up to get free protection for your applications and to get access to all the features.
Files changed (606) hide show
  1. package/README.md +26 -86
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1248 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1505 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +257 -412
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +286 -286
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +287 -83
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +61 -122
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +292 -2124
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +315 -67
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +397 -2881
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1621 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +663 -314
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +376 -262
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +115 -74
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3591 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1477 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  95. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +283 -213
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +398 -326
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +397 -450
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1299 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +129 -90
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +271 -134
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +401 -241
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +80 -64
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/{components → product}/Product.sol/Product.json +378 -367
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +144 -19
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -77
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  158. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.json +381 -34
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1741 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +373 -98
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  169. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +703 -91
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +209 -166
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +101 -114
  182. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  184. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  185. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +222 -104
  186. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  188. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  189. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  190. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  192. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  193. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  194. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  195. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  196. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  198. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  200. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  202. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IService.sol/IService.json +96 -19
  204. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  206. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  207. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  208. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
  209. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  210. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  211. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  212. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  213. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  214. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  215. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  217. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  218. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  219. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  221. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  222. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -23
  223. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  224. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  225. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  226. package/artifacts/contracts/shared/Service.sol/Service.json +104 -22
  227. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  228. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  229. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  230. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  231. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  232. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  234. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  235. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  236. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  238. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  239. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  240. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  242. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  244. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  246. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  248. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  250. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  252. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  254. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  255. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  256. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  258. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  260. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  262. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  263. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  264. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  266. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  267. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  268. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  270. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  271. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  272. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  274. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  276. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  278. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  280. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  282. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  284. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  286. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  290. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  292. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  294. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
  296. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  297. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  298. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
  300. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  301. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  303. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  304. package/contracts/authorization/AccessAdmin.sol +588 -0
  305. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  306. package/contracts/authorization/Authorization.sol +218 -0
  307. package/contracts/authorization/IAccess.sol +48 -0
  308. package/contracts/authorization/IAccessAdmin.sol +136 -0
  309. package/contracts/authorization/IAuthorization.sol +54 -0
  310. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  311. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  312. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  313. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  314. package/contracts/distribution/BasicDistribution.sol +149 -0
  315. package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
  316. package/contracts/{components → distribution}/Distribution.sol +163 -167
  317. package/contracts/distribution/DistributionService.sol +302 -0
  318. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  319. package/contracts/distribution/IDistributionComponent.sol +48 -0
  320. package/contracts/{instance/service → distribution}/IDistributionService.sol +29 -25
  321. package/contracts/instance/BundleManager.sol +15 -14
  322. package/contracts/instance/IInstance.sol +58 -64
  323. package/contracts/instance/IInstanceService.sol +54 -21
  324. package/contracts/instance/Instance.sol +174 -211
  325. package/contracts/instance/InstanceAdmin.sol +266 -0
  326. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  327. package/contracts/instance/InstanceReader.sol +173 -61
  328. package/contracts/instance/InstanceService.sol +304 -337
  329. package/contracts/instance/InstanceServiceManager.sol +11 -21
  330. package/contracts/instance/InstanceStore.sol +276 -0
  331. package/contracts/instance/base/BalanceStore.sol +123 -0
  332. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  333. package/contracts/instance/base/ObjectCounter.sol +21 -0
  334. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  335. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +13 -18
  336. package/contracts/instance/module/IAccess.sol +19 -20
  337. package/contracts/instance/module/IBundle.sol +8 -8
  338. package/contracts/instance/module/{ISetup.sol → IComponents.sol} +24 -20
  339. package/contracts/instance/module/IDistribution.sol +7 -5
  340. package/contracts/instance/module/IPolicy.sol +53 -16
  341. package/contracts/instance/module/IRisk.sol +1 -1
  342. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  343. package/contracts/oracle/BasicOracle.sol +48 -0
  344. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  345. package/contracts/oracle/IOracle.sol +36 -0
  346. package/contracts/oracle/IOracleComponent.sol +32 -0
  347. package/contracts/oracle/IOracleService.sol +65 -0
  348. package/contracts/oracle/Oracle.sol +157 -0
  349. package/contracts/oracle/OracleService.sol +278 -0
  350. package/contracts/oracle/OracleServiceManager.sol +42 -0
  351. package/contracts/pool/BasicPool.sol +164 -0
  352. package/contracts/pool/BasicPoolAuthorization.sol +49 -0
  353. package/contracts/pool/BundleService.sol +296 -0
  354. package/contracts/pool/BundleServiceManager.sol +42 -0
  355. package/contracts/pool/IBundleService.sol +106 -0
  356. package/contracts/pool/IPoolComponent.sol +52 -0
  357. package/contracts/pool/IPoolService.sol +150 -0
  358. package/contracts/pool/Pool.sol +311 -0
  359. package/contracts/pool/PoolService.sol +452 -0
  360. package/contracts/pool/PoolServiceManager.sol +42 -0
  361. package/contracts/product/ApplicationService.sol +254 -0
  362. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  363. package/contracts/product/BasicProduct.sol +82 -0
  364. package/contracts/product/BasicProductAuthorization.sol +40 -0
  365. package/contracts/product/ClaimService.sol +442 -0
  366. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  367. package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
  368. package/contracts/product/IClaimService.sol +99 -0
  369. package/contracts/{instance/service → product}/IPolicyService.sol +37 -48
  370. package/contracts/product/IPricingService.sol +39 -0
  371. package/contracts/product/IProductComponent.sol +39 -0
  372. package/contracts/product/IProductService.sol +33 -0
  373. package/contracts/product/PolicyService.sol +475 -0
  374. package/contracts/product/PolicyServiceManager.sol +42 -0
  375. package/contracts/product/PricingService.sol +300 -0
  376. package/contracts/product/PricingServiceManager.sol +42 -0
  377. package/contracts/product/Product.sol +392 -0
  378. package/contracts/product/ProductService.sol +124 -0
  379. package/contracts/product/ProductServiceManager.sol +42 -0
  380. package/contracts/registry/ChainNft.sol +16 -1
  381. package/contracts/registry/IRegistry.sol +43 -21
  382. package/contracts/registry/IRegistryService.sol +39 -37
  383. package/contracts/registry/ITransferInterceptor.sol +1 -0
  384. package/contracts/registry/Registry.sol +211 -97
  385. package/contracts/registry/RegistryAdmin.sol +365 -0
  386. package/contracts/registry/RegistryService.sol +73 -90
  387. package/contracts/registry/RegistryServiceManager.sol +21 -30
  388. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  389. package/contracts/registry/ReleaseManager.sol +356 -191
  390. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  391. package/contracts/registry/TokenRegistry.sol +261 -62
  392. package/contracts/shared/Component.sol +281 -0
  393. package/contracts/shared/ComponentService.sol +581 -0
  394. package/contracts/shared/ComponentServiceManager.sol +35 -0
  395. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  396. package/contracts/shared/ERC165.sol +1 -1
  397. package/contracts/shared/IComponent.sol +70 -0
  398. package/contracts/shared/IComponentService.sol +102 -0
  399. package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
  400. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  401. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  402. package/contracts/shared/INftOwnable.sol +2 -2
  403. package/contracts/shared/IPolicyHolder.sol +29 -10
  404. package/contracts/shared/IRegistryLinked.sol +0 -1
  405. package/contracts/shared/IService.sol +14 -7
  406. package/contracts/shared/IVersionable.sol +1 -1
  407. package/contracts/shared/InitializableCustom.sol +177 -0
  408. package/contracts/shared/InstanceLinkedComponent.sol +151 -0
  409. package/contracts/shared/KeyValueStore.sol +131 -0
  410. package/contracts/shared/Lifecycle.sol +77 -0
  411. package/contracts/shared/NftIdSetManager.sol +65 -0
  412. package/contracts/shared/NftOwnable.sol +3 -16
  413. package/contracts/shared/PolicyHolder.sol +40 -19
  414. package/contracts/shared/ProxyManager.sol +34 -4
  415. package/contracts/shared/Registerable.sol +15 -14
  416. package/contracts/shared/RegistryLinked.sol +0 -5
  417. package/contracts/shared/Service.sol +47 -22
  418. package/contracts/shared/TokenHandler.sol +37 -6
  419. package/contracts/shared/Versionable.sol +1 -1
  420. package/contracts/staking/IStaking.sol +168 -0
  421. package/contracts/staking/IStakingService.sol +153 -0
  422. package/contracts/staking/StakeManagerLib.sol +231 -0
  423. package/contracts/staking/Staking.sol +513 -0
  424. package/contracts/staking/StakingLifecycle.sol +23 -0
  425. package/contracts/staking/StakingManager.sol +54 -0
  426. package/contracts/staking/StakingReader.sol +187 -0
  427. package/contracts/staking/StakingService.sol +411 -0
  428. package/contracts/staking/StakingServiceManager.sol +44 -0
  429. package/contracts/staking/StakingStore.sol +615 -0
  430. package/contracts/staking/TargetManagerLib.sol +207 -0
  431. package/contracts/{types → type}/AddressSet.sol +1 -1
  432. package/contracts/type/Amount.sol +128 -0
  433. package/contracts/{types → type}/Blocknumber.sol +21 -3
  434. package/contracts/{types → type}/ClaimId.sol +25 -2
  435. package/contracts/{types → type}/Fee.sol +33 -23
  436. package/contracts/{types → type}/NftId.sol +21 -15
  437. package/contracts/{types → type}/NftIdSet.sol +2 -2
  438. package/contracts/type/ObjectType.sol +275 -0
  439. package/contracts/{types → type}/PayoutId.sol +33 -5
  440. package/contracts/{types → type}/Referral.sol +5 -1
  441. package/contracts/type/RequestId.sol +75 -0
  442. package/contracts/{types → type}/RiskId.sol +1 -1
  443. package/contracts/type/RoleId.sol +174 -0
  444. package/contracts/type/Seconds.sol +81 -0
  445. package/contracts/type/Selector.sol +102 -0
  446. package/contracts/{types → type}/StateId.sol +34 -4
  447. package/contracts/type/String.sol +53 -0
  448. package/contracts/{types → type}/Timestamp.sol +23 -14
  449. package/contracts/{types → type}/UFixed.sol +7 -0
  450. package/contracts/{types → type}/Version.sol +2 -1
  451. package/package.json +6 -3
  452. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  453. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  454. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  455. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  456. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  457. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  458. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  459. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  460. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  461. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  462. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  463. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  465. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  468. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  469. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  470. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  472. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  473. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  474. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -869
  476. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
  478. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
  480. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  481. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  482. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  483. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  484. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  485. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  486. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  487. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1254
  488. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  489. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -753
  490. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  491. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  493. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
  494. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
  498. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1120
  501. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
  503. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  505. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  507. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  509. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  511. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  512. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  513. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  514. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  515. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  516. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  517. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  518. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  519. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  520. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  521. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  522. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  523. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  524. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  525. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  526. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  527. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  528. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  529. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  530. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  531. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  532. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  533. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  534. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  535. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  536. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  537. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  538. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  539. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  540. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  541. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  542. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  544. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  545. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  546. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  547. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  548. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  549. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  550. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  551. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  553. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  555. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  556. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  557. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  559. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  562. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  564. package/contracts/components/Component.sol +0 -241
  565. package/contracts/components/IComponent.sol +0 -54
  566. package/contracts/components/IDistributionComponent.sol +0 -92
  567. package/contracts/components/IPoolComponent.sol +0 -87
  568. package/contracts/components/IProductComponent.sol +0 -39
  569. package/contracts/components/Pool.sol +0 -254
  570. package/contracts/components/Product.sol +0 -285
  571. package/contracts/instance/InstanceAccessManager.sol +0 -297
  572. package/contracts/instance/base/ComponentService.sol +0 -134
  573. package/contracts/instance/base/KeyValueStore.sol +0 -172
  574. package/contracts/instance/base/Lifecycle.sol +0 -100
  575. package/contracts/instance/module/ITreasury.sol +0 -23
  576. package/contracts/instance/service/ApplicationService.sol +0 -268
  577. package/contracts/instance/service/BundleService.sol +0 -298
  578. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  579. package/contracts/instance/service/ClaimService.sol +0 -151
  580. package/contracts/instance/service/DistributionService.sol +0 -366
  581. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  582. package/contracts/instance/service/IBundleService.sol +0 -54
  583. package/contracts/instance/service/IClaimService.sol +0 -61
  584. package/contracts/instance/service/IPoolService.sol +0 -20
  585. package/contracts/instance/service/IProductService.sol +0 -40
  586. package/contracts/instance/service/PolicyService.sol +0 -476
  587. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  588. package/contracts/instance/service/PoolService.sol +0 -109
  589. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  590. package/contracts/instance/service/ProductService.sol +0 -233
  591. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  592. package/contracts/registry/RegistryAccessManager.sol +0 -216
  593. package/contracts/shared/ContractDeployerLib.sol +0 -72
  594. package/contracts/test/TestFee.sol +0 -25
  595. package/contracts/test/TestRegisterable.sol +0 -18
  596. package/contracts/test/TestRoleId.sol +0 -14
  597. package/contracts/test/TestService.sol +0 -25
  598. package/contracts/test/TestVersion.sol +0 -44
  599. package/contracts/test/TestVersionable.sol +0 -17
  600. package/contracts/test/Usdc.sol +0 -26
  601. package/contracts/types/ChainId.sol +0 -38
  602. package/contracts/types/NumberId.sol +0 -52
  603. package/contracts/types/ObjectType.sol +0 -156
  604. package/contracts/types/RoleId.sol +0 -90
  605. /package/contracts/{types → type}/DistributorType.sol +0 -0
  606. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -6,14 +6,9 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "contract RegistryAccessManager",
10
- "name": "accessManager",
9
+ "internalType": "contract Registry",
10
+ "name": "registry",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "VersionPart",
15
- "name": "initialVersion",
16
- "type": "uint8"
17
12
  }
18
13
  ],
19
14
  "stateMutability": "nonpayable",
@@ -58,71 +53,154 @@
58
53
  "type": "error"
59
54
  },
60
55
  {
61
- "inputs": [],
62
- "name": "ConfigMissing",
56
+ "inputs": [
57
+ {
58
+ "internalType": "ObjectType",
59
+ "name": "objectType",
60
+ "type": "uint8"
61
+ },
62
+ {
63
+ "internalType": "StateId",
64
+ "name": "fromStateId",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "StateId",
69
+ "name": "toStateId",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorInvalidStateTransition",
63
74
  "type": "error"
64
75
  },
65
76
  {
66
77
  "inputs": [
67
78
  {
68
- "internalType": "uint256",
69
- "name": "configArrayIndex",
70
- "type": "uint256"
79
+ "internalType": "ObjectType",
80
+ "name": "objectType",
81
+ "type": "uint8"
71
82
  }
72
83
  ],
73
- "name": "ConfigSelectorZero",
84
+ "name": "ErrorNoLifecycle",
74
85
  "type": "error"
75
86
  },
76
87
  {
77
88
  "inputs": [
78
89
  {
79
- "internalType": "uint256",
80
- "name": "configArrayIndex",
81
- "type": "uint256"
82
- },
90
+ "internalType": "address",
91
+ "name": "registryAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNotRegistry",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
83
100
  {
84
- "internalType": "ObjectType",
85
- "name": "domain",
101
+ "internalType": "VersionPart",
102
+ "name": "version",
86
103
  "type": "uint8"
87
104
  }
88
105
  ],
89
- "name": "ConfigServiceDomainInvalid",
106
+ "name": "ErrorReleaseManagerNoDomains",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorReleaseManagerNoServiceRegistrationExpected",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "contract Registry",
118
+ "name": "registry",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorReleaseManagerNotRegistry",
90
123
  "type": "error"
91
124
  },
92
125
  {
93
126
  "inputs": [
94
127
  {
95
128
  "internalType": "address",
96
- "name": "notOwner",
129
+ "name": "notService",
97
130
  "type": "address"
98
131
  }
99
132
  ],
100
- "name": "NotRegisterableOwner",
133
+ "name": "ErrorReleaseManagerNotService",
101
134
  "type": "error"
102
135
  },
103
136
  {
104
- "inputs": [],
105
- "name": "NotRegistryService",
137
+ "inputs": [
138
+ {
139
+ "internalType": "VersionPart",
140
+ "name": "releaseVersion",
141
+ "type": "uint8"
142
+ },
143
+ {
144
+ "internalType": "StateId",
145
+ "name": "currentStateId",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "ErrorReleaseManagerReleaseActivationDisallowed",
106
150
  "type": "error"
107
151
  },
108
152
  {
109
- "inputs": [],
110
- "name": "NotService",
153
+ "inputs": [
154
+ {
155
+ "internalType": "VersionPart",
156
+ "name": "releaseVersion",
157
+ "type": "uint8"
158
+ }
159
+ ],
160
+ "name": "ErrorReleaseManagerReleaseAlreadyActivated",
111
161
  "type": "error"
112
162
  },
113
163
  {
114
- "inputs": [],
115
- "name": "RegisterableOwnerIsRegistered",
164
+ "inputs": [
165
+ {
166
+ "internalType": "VersionPart",
167
+ "name": "releaseVersion",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "name": "ErrorReleaseManagerReleaseAlreadyDisabled",
116
172
  "type": "error"
117
173
  },
118
174
  {
119
- "inputs": [],
120
- "name": "ReleaseNotCreated",
175
+ "inputs": [
176
+ {
177
+ "internalType": "VersionPart",
178
+ "name": "version",
179
+ "type": "uint8"
180
+ },
181
+ {
182
+ "internalType": "StateId",
183
+ "name": "currentStateId",
184
+ "type": "uint8"
185
+ }
186
+ ],
187
+ "name": "ErrorReleaseManagerReleaseAlreadyPrepared",
121
188
  "type": "error"
122
189
  },
123
190
  {
124
- "inputs": [],
125
- "name": "ReleaseRegistrationNotFinished",
191
+ "inputs": [
192
+ {
193
+ "internalType": "VersionPart",
194
+ "name": "version",
195
+ "type": "uint8"
196
+ },
197
+ {
198
+ "internalType": "StateId",
199
+ "name": "currentStateId",
200
+ "type": "uint8"
201
+ }
202
+ ],
203
+ "name": "ErrorReleaseManagerReleaseCreationDisallowed",
126
204
  "type": "error"
127
205
  },
128
206
  {
@@ -131,39 +209,125 @@
131
209
  "internalType": "VersionPart",
132
210
  "name": "releaseVersion",
133
211
  "type": "uint8"
212
+ }
213
+ ],
214
+ "name": "ErrorReleaseManagerReleaseNotActivated",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "internalType": "VersionPart",
221
+ "name": "releaseVersion",
222
+ "type": "uint8"
223
+ }
224
+ ],
225
+ "name": "ErrorReleaseManagerReleaseNotCreated",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "VersionPart",
232
+ "name": "version",
233
+ "type": "uint8"
134
234
  },
135
235
  {
136
- "internalType": "ObjectType",
137
- "name": "serviceDomain",
236
+ "internalType": "StateId",
237
+ "name": "currentStateId",
138
238
  "type": "uint8"
139
239
  }
140
240
  ],
141
- "name": "SelectorAlreadyExists",
241
+ "name": "ErrorReleaseManagerReleasePreparationDisallowed",
142
242
  "type": "error"
143
243
  },
144
244
  {
145
- "inputs": [],
146
- "name": "SelfRegistration",
245
+ "inputs": [
246
+ {
247
+ "internalType": "VersionPart",
248
+ "name": "releaseVersion",
249
+ "type": "uint8"
250
+ },
251
+ {
252
+ "internalType": "uint256",
253
+ "name": "awaitingRegistration",
254
+ "type": "uint256"
255
+ }
256
+ ],
257
+ "name": "ErrorReleaseManagerReleaseRegistrationNotFinished",
147
258
  "type": "error"
148
259
  },
149
260
  {
150
261
  "inputs": [
151
262
  {
152
- "internalType": "ObjectType",
263
+ "internalType": "address",
153
264
  "name": "expected",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "internalType": "address",
269
+ "name": "actual",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "ErrorReleaseManagerServiceAddressMismatch",
274
+ "type": "error"
275
+ },
276
+ {
277
+ "inputs": [
278
+ {
279
+ "internalType": "ObjectType",
280
+ "name": "expectedDomain",
154
281
  "type": "uint8"
155
282
  },
156
283
  {
157
284
  "internalType": "ObjectType",
158
- "name": "found",
285
+ "name": "actualDomain",
159
286
  "type": "uint8"
160
287
  }
161
288
  ],
162
- "name": "UnexpectedRegisterableType",
289
+ "name": "ErrorReleaseManagerServiceDomainMismatch",
290
+ "type": "error"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "internalType": "contract IService",
296
+ "name": "service",
297
+ "type": "address"
298
+ },
299
+ {
300
+ "internalType": "address",
301
+ "name": "expected",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "name": "ErrorReleaseManagerServiceInfoAddressInvalid",
306
+ "type": "error"
307
+ },
308
+ {
309
+ "inputs": [
310
+ {
311
+ "internalType": "contract IService",
312
+ "name": "service",
313
+ "type": "address"
314
+ },
315
+ {
316
+ "internalType": "bool",
317
+ "name": "isInterceptor",
318
+ "type": "bool"
319
+ }
320
+ ],
321
+ "name": "ErrorReleaseManagerServiceInfoInterceptorInvalid",
163
322
  "type": "error"
164
323
  },
165
324
  {
166
325
  "inputs": [
326
+ {
327
+ "internalType": "contract IService",
328
+ "name": "service",
329
+ "type": "address"
330
+ },
167
331
  {
168
332
  "internalType": "address",
169
333
  "name": "expected",
@@ -175,11 +339,16 @@
175
339
  "type": "address"
176
340
  }
177
341
  ],
178
- "name": "UnexpectedServiceAuthority",
342
+ "name": "ErrorReleaseManagerServiceInfoOwnerInvalid",
179
343
  "type": "error"
180
344
  },
181
345
  {
182
346
  "inputs": [
347
+ {
348
+ "internalType": "contract IService",
349
+ "name": "service",
350
+ "type": "address"
351
+ },
183
352
  {
184
353
  "internalType": "ObjectType",
185
354
  "name": "expected",
@@ -191,7 +360,87 @@
191
360
  "type": "uint8"
192
361
  }
193
362
  ],
194
- "name": "UnexpectedServiceDomain",
363
+ "name": "ErrorReleaseManagerServiceInfoTypeInvalid",
364
+ "type": "error"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "contract IService",
370
+ "name": "service",
371
+ "type": "address"
372
+ },
373
+ {
374
+ "internalType": "address",
375
+ "name": "owner",
376
+ "type": "address"
377
+ }
378
+ ],
379
+ "name": "ErrorReleaseManagerServiceOwnerRegistered",
380
+ "type": "error"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "StateId",
386
+ "name": "currentStateId",
387
+ "type": "uint8"
388
+ }
389
+ ],
390
+ "name": "ErrorReleaseManagerServiceRegistrationDisallowed",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "inputs": [
395
+ {
396
+ "internalType": "contract IService",
397
+ "name": "service",
398
+ "type": "address"
399
+ },
400
+ {
401
+ "internalType": "address",
402
+ "name": "serviceAuthority",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "internalType": "address",
407
+ "name": "releaseAuthority",
408
+ "type": "address"
409
+ }
410
+ ],
411
+ "name": "ErrorReleaseManagerServiceReleaseAuthorityMismatch",
412
+ "type": "error"
413
+ },
414
+ {
415
+ "inputs": [
416
+ {
417
+ "internalType": "contract IService",
418
+ "name": "service",
419
+ "type": "address"
420
+ },
421
+ {
422
+ "internalType": "VersionPart",
423
+ "name": "serviceVersion",
424
+ "type": "uint8"
425
+ },
426
+ {
427
+ "internalType": "VersionPart",
428
+ "name": "releaseVersion",
429
+ "type": "uint8"
430
+ }
431
+ ],
432
+ "name": "ErrorReleaseManagerServiceReleaseVersionMismatch",
433
+ "type": "error"
434
+ },
435
+ {
436
+ "inputs": [
437
+ {
438
+ "internalType": "contract IService",
439
+ "name": "service",
440
+ "type": "address"
441
+ }
442
+ ],
443
+ "name": "ErrorReleaseManagerServiceSelfRegistration",
195
444
  "type": "error"
196
445
  },
197
446
  {
@@ -203,11 +452,11 @@
203
452
  },
204
453
  {
205
454
  "internalType": "VersionPart",
206
- "name": "found",
455
+ "name": "actual",
207
456
  "type": "uint8"
208
457
  }
209
458
  ],
210
- "name": "UnexpectedServiceVersion",
459
+ "name": "ErrorReleaseManagerVersionMismatch",
211
460
  "type": "error"
212
461
  },
213
462
  {
@@ -240,14 +489,98 @@
240
489
  "anonymous": false,
241
490
  "inputs": [
242
491
  {
243
- "indexed": false,
244
- "internalType": "VersionPart",
245
- "name": "version",
246
- "type": "uint8"
492
+ "indexed": false,
493
+ "internalType": "VersionPart",
494
+ "name": "version",
495
+ "type": "uint8"
496
+ },
497
+ {
498
+ "indexed": false,
499
+ "internalType": "bytes32",
500
+ "name": "salt",
501
+ "type": "bytes32"
502
+ }
503
+ ],
504
+ "name": "LogReleaseCreation",
505
+ "type": "event"
506
+ },
507
+ {
508
+ "anonymous": false,
509
+ "inputs": [
510
+ {
511
+ "indexed": false,
512
+ "internalType": "VersionPart",
513
+ "name": "version",
514
+ "type": "uint8"
515
+ }
516
+ ],
517
+ "name": "LogReleaseDisabled",
518
+ "type": "event"
519
+ },
520
+ {
521
+ "anonymous": false,
522
+ "inputs": [
523
+ {
524
+ "indexed": false,
525
+ "internalType": "VersionPart",
526
+ "name": "version",
527
+ "type": "uint8"
528
+ }
529
+ ],
530
+ "name": "LogReleaseEnabled",
531
+ "type": "event"
532
+ },
533
+ {
534
+ "inputs": [],
535
+ "name": "INITIAL_GIF_VERSION",
536
+ "outputs": [
537
+ {
538
+ "internalType": "uint256",
539
+ "name": "",
540
+ "type": "uint256"
541
+ }
542
+ ],
543
+ "stateMutability": "view",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [],
548
+ "name": "MIN_DISABLE_DELAY",
549
+ "outputs": [
550
+ {
551
+ "internalType": "Seconds",
552
+ "name": "",
553
+ "type": "uint40"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [],
561
+ "name": "_admin",
562
+ "outputs": [
563
+ {
564
+ "internalType": "contract RegistryAdmin",
565
+ "name": "",
566
+ "type": "address"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [],
574
+ "name": "_registry",
575
+ "outputs": [
576
+ {
577
+ "internalType": "contract Registry",
578
+ "name": "",
579
+ "type": "address"
247
580
  }
248
581
  ],
249
- "name": "LogReleaseCreation",
250
- "type": "event"
582
+ "stateMutability": "view",
583
+ "type": "function"
251
584
  },
252
585
  {
253
586
  "inputs": [],
@@ -269,13 +602,61 @@
269
602
  "stateMutability": "view",
270
603
  "type": "function"
271
604
  },
605
+ {
606
+ "inputs": [
607
+ {
608
+ "internalType": "ObjectType",
609
+ "name": "objectType",
610
+ "type": "uint8"
611
+ },
612
+ {
613
+ "internalType": "StateId",
614
+ "name": "fromId",
615
+ "type": "uint8"
616
+ },
617
+ {
618
+ "internalType": "StateId",
619
+ "name": "toId",
620
+ "type": "uint8"
621
+ }
622
+ ],
623
+ "name": "checkTransition",
624
+ "outputs": [],
625
+ "stateMutability": "view",
626
+ "type": "function"
627
+ },
272
628
  {
273
629
  "inputs": [],
274
630
  "name": "createNextRelease",
275
- "outputs": [],
631
+ "outputs": [
632
+ {
633
+ "internalType": "VersionPart",
634
+ "name": "",
635
+ "type": "uint8"
636
+ }
637
+ ],
276
638
  "stateMutability": "nonpayable",
277
639
  "type": "function"
278
640
  },
641
+ {
642
+ "inputs": [
643
+ {
644
+ "internalType": "ObjectType",
645
+ "name": "objectType",
646
+ "type": "uint8"
647
+ }
648
+ ],
649
+ "name": "getInitialState",
650
+ "outputs": [
651
+ {
652
+ "internalType": "StateId",
653
+ "name": "",
654
+ "type": "uint8"
655
+ }
656
+ ],
657
+ "stateMutability": "view",
658
+ "type": "function"
659
+ },
279
660
  {
280
661
  "inputs": [],
281
662
  "name": "getInitialVersion",
@@ -318,6 +699,19 @@
318
699
  {
319
700
  "inputs": [],
320
701
  "name": "getRegistry",
702
+ "outputs": [
703
+ {
704
+ "internalType": "contract IRegistry",
705
+ "name": "",
706
+ "type": "address"
707
+ }
708
+ ],
709
+ "stateMutability": "view",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [],
714
+ "name": "getRegistryAdmin",
321
715
  "outputs": [
322
716
  {
323
717
  "internalType": "address",
@@ -340,6 +734,26 @@
340
734
  "outputs": [
341
735
  {
342
736
  "components": [
737
+ {
738
+ "internalType": "VersionPart",
739
+ "name": "version",
740
+ "type": "uint8"
741
+ },
742
+ {
743
+ "internalType": "bytes32",
744
+ "name": "salt",
745
+ "type": "bytes32"
746
+ },
747
+ {
748
+ "internalType": "address[]",
749
+ "name": "addresses",
750
+ "type": "address[]"
751
+ },
752
+ {
753
+ "internalType": "string[]",
754
+ "name": "names",
755
+ "type": "string[]"
756
+ },
343
757
  {
344
758
  "internalType": "ObjectType[]",
345
759
  "name": "domains",
@@ -347,7 +761,12 @@
347
761
  },
348
762
  {
349
763
  "internalType": "Timestamp",
350
- "name": "createdAt",
764
+ "name": "activatedAt",
765
+ "type": "uint40"
766
+ },
767
+ {
768
+ "internalType": "Timestamp",
769
+ "name": "disabledAt",
351
770
  "type": "uint40"
352
771
  }
353
772
  ],
@@ -359,6 +778,76 @@
359
778
  "stateMutability": "view",
360
779
  "type": "function"
361
780
  },
781
+ {
782
+ "inputs": [],
783
+ "name": "getRemainingServicesToRegister",
784
+ "outputs": [
785
+ {
786
+ "internalType": "uint256",
787
+ "name": "services",
788
+ "type": "uint256"
789
+ }
790
+ ],
791
+ "stateMutability": "view",
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [
796
+ {
797
+ "internalType": "VersionPart",
798
+ "name": "version",
799
+ "type": "uint8"
800
+ }
801
+ ],
802
+ "name": "getServiceAuthorization",
803
+ "outputs": [
804
+ {
805
+ "internalType": "contract IServiceAuthorization",
806
+ "name": "serviceAuthorization",
807
+ "type": "address"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [
815
+ {
816
+ "internalType": "VersionPart",
817
+ "name": "version",
818
+ "type": "uint8"
819
+ }
820
+ ],
821
+ "name": "getState",
822
+ "outputs": [
823
+ {
824
+ "internalType": "StateId",
825
+ "name": "stateId",
826
+ "type": "uint8"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "ObjectType",
836
+ "name": "objectType",
837
+ "type": "uint8"
838
+ }
839
+ ],
840
+ "name": "hasLifecycle",
841
+ "outputs": [
842
+ {
843
+ "internalType": "bool",
844
+ "name": "",
845
+ "type": "bool"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ },
362
851
  {
363
852
  "inputs": [
364
853
  {
@@ -378,6 +867,25 @@
378
867
  "stateMutability": "view",
379
868
  "type": "function"
380
869
  },
870
+ {
871
+ "inputs": [
872
+ {
873
+ "internalType": "VersionPart",
874
+ "name": "version",
875
+ "type": "uint8"
876
+ }
877
+ ],
878
+ "name": "isActiveRelease",
879
+ "outputs": [
880
+ {
881
+ "internalType": "bool",
882
+ "name": "",
883
+ "type": "bool"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
381
889
  {
382
890
  "inputs": [],
383
891
  "name": "isConsumingScheduledOp",
@@ -394,12 +902,22 @@
394
902
  {
395
903
  "inputs": [
396
904
  {
397
- "internalType": "VersionPart",
398
- "name": "version",
905
+ "internalType": "ObjectType",
906
+ "name": "objectType",
907
+ "type": "uint8"
908
+ },
909
+ {
910
+ "internalType": "StateId",
911
+ "name": "fromId",
912
+ "type": "uint8"
913
+ },
914
+ {
915
+ "internalType": "StateId",
916
+ "name": "toId",
399
917
  "type": "uint8"
400
918
  }
401
919
  ],
402
- "name": "isValidRelease",
920
+ "name": "isValidTransition",
403
921
  "outputs": [
404
922
  {
405
923
  "internalType": "bool",
@@ -413,17 +931,74 @@
413
931
  {
414
932
  "inputs": [
415
933
  {
416
- "internalType": "contract IRegistryService",
417
- "name": "service",
934
+ "internalType": "VersionPart",
935
+ "name": "version",
936
+ "type": "uint8"
937
+ }
938
+ ],
939
+ "name": "pauseRelease",
940
+ "outputs": [],
941
+ "stateMutability": "nonpayable",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [
946
+ {
947
+ "internalType": "address",
948
+ "name": "implementation",
949
+ "type": "address"
950
+ },
951
+ {
952
+ "internalType": "bytes32",
953
+ "name": "salt",
954
+ "type": "bytes32"
955
+ },
956
+ {
957
+ "internalType": "address",
958
+ "name": "deployer",
418
959
  "type": "address"
419
960
  }
420
961
  ],
421
- "name": "registerRegistryService",
962
+ "name": "predictDeterministicAddress",
422
963
  "outputs": [
423
964
  {
424
- "internalType": "NftId",
425
- "name": "nftId",
426
- "type": "uint96"
965
+ "internalType": "address",
966
+ "name": "predicted",
967
+ "type": "address"
968
+ }
969
+ ],
970
+ "stateMutability": "pure",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "contract IServiceAuthorization",
977
+ "name": "serviceAuthorization",
978
+ "type": "address"
979
+ },
980
+ {
981
+ "internalType": "bytes32",
982
+ "name": "salt",
983
+ "type": "bytes32"
984
+ }
985
+ ],
986
+ "name": "prepareNextRelease",
987
+ "outputs": [
988
+ {
989
+ "internalType": "address",
990
+ "name": "authority",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "VersionPart",
995
+ "name": "version",
996
+ "type": "uint8"
997
+ },
998
+ {
999
+ "internalType": "bytes32",
1000
+ "name": "releaseSalt",
1001
+ "type": "bytes32"
427
1002
  }
428
1003
  ],
429
1004
  "stateMutability": "nonpayable",
@@ -460,86 +1035,123 @@
460
1035
  "outputs": [],
461
1036
  "stateMutability": "nonpayable",
462
1037
  "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [
1041
+ {
1042
+ "internalType": "VersionPart",
1043
+ "name": "version",
1044
+ "type": "uint8"
1045
+ }
1046
+ ],
1047
+ "name": "unpauseRelease",
1048
+ "outputs": [],
1049
+ "stateMutability": "nonpayable",
1050
+ "type": "function"
463
1051
  }
464
1052
  ],
465
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162006d3538038062006d3583398101604081905262000034916200026a565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000073573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000999190620002ae565b620000a481620001ef565b50604051632b10f60d60e21b815260ff8216600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620000fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001219190620002d5565b116200017f5760405162461bcd60e51b8152602060048201526024808201527f52656c656173654d616e616765723a20696e697469616c2076657273696f6e206044820152630697320360e41b606482015260840160405180910390fd5b6001600160a01b03821660805260ff811660c08190526000805460ff60b01b1916600160b01b909202919091179055604051620001bc9062000243565b604051809103906000f080158015620001d9573d6000803e3d6000fd5b506001600160a01b031660a05250620002ef9050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6149c1806200237483390190565b6001600160a01b03811681146200026757600080fd5b50565b600080604083850312156200027e57600080fd5b82516200028b8162000251565b602084015190925060ff81168114620002a357600080fd5b809150509250929050565b600060208284031215620002c157600080fd5b8151620002ce8162000251565b9392505050565b600060208284031215620002e857600080fd5b5051919050565b60805160a05160c05161203362000341600039600060fb015260008181610171015281816105fd0152818161078f01528181610b6b01528181610cd5015261103701526000610c2b01526120336000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639ef6ddc91161008c578063bf7e214f11610066578063bf7e214f14610247578063d2213b5b14610258578063f40d7c3014610278578063fdd9ec7d1461028a57600080fd5b80639ef6ddc9146101dd578063a284482414610219578063a52ec5291461022157600080fd5b806310d6ccbf116100c857806310d6ccbf146101445780635ab1bd531461016f5780637a9e5e4b146101a95780638fb36037146101bc57600080fd5b80630af43fe1146100ef5780630e41142e146100f95780630e6d1de914610132575b600080fd5b6100f761029d565b005b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff1661011b565b610157610152366004611807565b6103e4565b6040516001600160601b039091168152602001610129565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610129565b6100f76101b7366004611807565b6106d7565b6101c4610751565b6040516001600160e01b03199091168152602001610129565b6102096101eb366004611807565b6001600160a01b031660009081526004602052604090205460ff1690565b6040519015158152602001610129565b6100f7610775565b61020961022f36600461183a565b60ff9081166000908152600560205260409020541690565b6000546001600160a01b0316610191565b61026b61026636600461183a565b610905565b6040516101299190611857565b600054600160b01b900460ff1661011b565b610157610298366004611807565b6109b6565b6102aa335b600036610db0565b600054604051632b10f60d60e21b8152600160b01b90910460ff16600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90829063ac43d83490602401602060405180830381865af415801561030e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033291906118bd565b61033d9060016118ec565b6040518263ffffffff1660e01b815260040161035b91815260200190565b602060405180830381865af4158015610378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039c919061190f565b506000600381905554604051600160b01b90910460ff1681527f8e36898247ead43d33f80846e30363425f7dc687d2642c1f1daf5b6ac137ed239060200160405180910390a1565b60006103ef336102a2565b6040516301ffc9a760e01b815263aa745bc360e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa15801561043a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045e919061193c565b61047b576040516395d3b24b60e01b815260040160405180910390fd5b6000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104df9190611962565b90506104f36000546001600160a01b031690565b6001600160a01b0316816001600160a01b03161461054057600054604051630f93ce7d60e41b81526001600160a01b03918216600482015290821660248201526044015b60405180910390fd5b600061054f84603c5b33610eb0565b60008054919250600160b01b90910460ff169061056a602890565b90506105778683836110c8565b506105e6866001600160a01b031663c13de9976040518163ffffffff1660e01b8152600401600060405180830381865afa1580156105b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e19190810190611a36565b6112c3565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a569061063690869086908690600401611bf4565b6020604051808303816000875af1158015610655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190611cb2565b9450856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156106b657600080fd5b505af11580156106ca573d6000803e3d6000fd5b5050505050505050919050565b60005433906001600160a01b0316811461070e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610537565b816001600160a01b03163b600003610744576040516361798f2f60e11b81526001600160a01b0383166004820152602401610537565b61074d826115bd565b5050565b60008054600160a01b900460ff166107695750600090565b50638fb3603760e01b90565b61077e336102a2565b60008054600160b01b900460ff16907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e60436107c4602890565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa15801561080a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082e9190611962565b90506001600160a01b03811661085757604051631fbcf44f60e21b815260040160405180910390fd5b60035415610878576040516399afebf360e01b815260040160405180910390fd5b6000805460ff60a81b1916600160a81b60ff85169081029190911782556001600160a01b0383168252600460209081526040808420805460ff199081166001908117909255848652600584529482902080549095161790935591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15050565b60408051808201825260608082526000602080840182905260ff8616825260018152908490208451815492830281018401865294850182815293949390928492849184018282801561099457602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109655790505b50505091835250506001919091015464ffffffffff1660209091015292915050565b60006109c1336102a2565b6040516301ffc9a760e01b8152637b6a51fd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610a0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a30919061193c565b610a4d57604051635458064d60e11b815260040160405180910390fd5b6000610a5a83603c610549565b90506000610a7260005460ff600160b01b9091041690565b60ff81166000908152600160205260408120600354815493945091929091908110610a9f57610a9f611ccd565b90600052602060002090602091828204019190069054906101000a900460ff169050610acc8583836110c8565b5060ff8083166000908152600260209081526040808320938516835292815282822080548451818402810184019095528085529293929091830182828015610b6057602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b03191681526020019060040190602082600301049283019260010382029150808411610b225790505b5050505050905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e6043610ba0602890565b6040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190611962565b825190915015610ca9576040516361bc3b4160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361bc3b4190610c64908a9085908790600401611ce3565b6020604051808303816000875af1158015610c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca79190611d4f565b505b60038054906000610cb983611d79565b9091555050604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a5690610d0e90889088908890600401611bf4565b6020604051808303816000875af1158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d519190611cb2565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610d8e57600080fd5b505af1158015610da2573d6000803e3d6000fd5b505050505050505050919050565b600080610de6610dc86000546001600160a01b031690565b8630610dd860046000898b611d90565b610de191611dba565b611611565b9150915081610ea95763ffffffff811615610e86576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610e4190889088908890600401611dea565b600060405180830381600087803b158015610e5b57600080fd5b505af1158015610e6f573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610ea99050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610537565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f519190810190611e8e565b6001600160a01b0385166080820152600060608201526040810151909150610f79908461171d565b15610faa576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610537565b60a08101516001600160a01b0380821690841614610fe65760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610537565b846001600160a01b0316816001600160a01b031603611018576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa15801561107e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a2919061193c565b156110c057604051637142ceb360e11b815260040160405180910390fd5b509392505050565b6000611135846001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561110b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112f919061190f565b8461171d565b156111c35782846001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119d919061190f565b604051632ac811e560e01b815260ff928316600482015291166024820152604401610537565b61122e846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611204573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611228919061190f565b8361171d565b156112bc5781846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611272573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611296919061190f565b60405163344254bf60e11b815260ff928316600482015291166024820152604401610537565b5092915050565b60008054600160b01b900460ff16905081516000036112f55760405163b3327ef160e01b815260040160405180910390fd5b60ff818116600090815260016020818152604083208054928301815583528083209082040180546028601f9093166101000a9283029290940219909316179091555b825181101561151857600083828151811061135457611354611ccd565b60200260200101516000015190506113798161136e602890565b60ff90811691161490565b806113f5575060405163037c8cb160e51b815260ff8216600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__90636f91962090602401602060405180830381865af41580156113d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f5919061193c565b1561141f57604051633c04bbaf60e01b81526004810183905260ff82166024820152604401610537565b600084838151811061143357611433611ccd565b60209081029190910181015181015160ff8087166000908152600284526040808220928716825291909352909120549091501561149057604051632d4af7a360e01b815260ff808616600483015283166024820152604401610537565b60ff8085166000908152600260209081526040808320938616835292815291902082516114bf9284019061172e565b505060ff83811660009081526001602081815260408320805492830181558352918290209181049091018054601f9092166101000a8084021990921693909216029190911790558061151081611f61565b915050611337565b5073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115869190611f7a565b60ff91909116600090815260016020819052604090912001805464ffffffffff191664ffffffffff90921691909117905551600355565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516116809190611fa1565b600060405180830381855afa9150503d80600081146116bb576040519150601f19603f3d011682016040523d82523d6000602084013e6116c0565b606091505b509150915081156117125760408151106116f257808060200190518101906116e89190611fbd565b9094509250611712565b6020815110611712578080602001905181019061170f919061193c565b93505b505094509492505050565b60ff82811690821614155b92915050565b828054828255906000526020600020906007016008900481019282156117ca5791602002820160005b8382111561179857835183826101000a81548163ffffffff021916908360e01c02179055509260200192600401602081600301049283019260010302611757565b80156117c85782816101000a81549063ffffffff0219169055600401602081600301049283019260010302611798565b505b506117d69291506117da565b5090565b5b808211156117d657600081556001016117db565b6001600160a01b038116811461180457600080fd5b50565b60006020828403121561181957600080fd5b8135611824816117ef565b9392505050565b60ff8116811461180457600080fd5b60006020828403121561184c57600080fd5b81356118248161182b565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561189f57835160ff16825292840192600192909201919084019061187c565b5064ffffffffff848801511660408701528094505050505092915050565b6000602082840312156118cf57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611728576117286118d6565b805161190a8161182b565b919050565b60006020828403121561192157600080fd5b81516118248161182b565b8051801515811461190a57600080fd5b60006020828403121561194e57600080fd5b6118248261192c565b805161190a816117ef565b60006020828403121561197457600080fd5b8151611824816117ef565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156119b8576119b861197f565b60405290565b60405160e0810167ffffffffffffffff811182821017156119b8576119b861197f565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0a57611a0a61197f565b604052919050565b600067ffffffffffffffff821115611a2c57611a2c61197f565b5060051b60200190565b60006020808385031215611a4957600080fd5b825167ffffffffffffffff80821115611a6157600080fd5b818501915085601f830112611a7557600080fd5b8151611a88611a8382611a12565b6119e1565b81815260059190911b83018401908481019088831115611aa757600080fd5b8585015b83811015611b9757805185811115611ac35760008081fd5b86016040818c03601f1901811315611adb5760008081fd5b611ae3611995565b89830151611af08161182b565b81528282015188811115611b045760008081fd5b8084019350508c603f840112611b1a5760008081fd5b89830151611b2a611a8382611a12565b81815260059190911b84018301908b8101908f831115611b4a5760008081fd5b948401945b82861015611b8257855194506001600160e01b031985168514611b725760008081fd5b848252948c0194908c0190611b4f565b838d0152505085525050918601918601611aab565b5098975050505050505050565b60005b83811015611bbf578181015183820152602001611ba7565b50506000910152565b60008151808452611be0816020860160208601611ba4565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e0610120840152611c77610140840182611bc8565b915050611c89602083018560ff169052565b60ff831660408301525b949350505050565b80516001600160601b038116811461190a57600080fd5b600060208284031215611cc457600080fd5b61182482611c9b565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b81811015611d415784516001600160e01b03191684529382019392820192600101611d1b565b509198975050505050505050565b600060208284031215611d6157600080fd5b815167ffffffffffffffff8116811461182457600080fd5b600081611d8857611d886118d6565b506000190190565b60008085851115611da057600080fd5b83861115611dad57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611de25780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112611e3b57600080fd5b815167ffffffffffffffff811115611e5557611e5561197f565b611e68601f8201601f19166020016119e1565b818152846020838601011115611e7d57600080fd5b611c93826020830160208701611ba4565b600060208284031215611ea057600080fd5b815167ffffffffffffffff80821115611eb857600080fd5b9083019060e08286031215611ecc57600080fd5b611ed46119be565b611edd83611c9b565b8152611eeb60208401611c9b565b6020820152611efc604084016118ff565b6040820152611f0d6060840161192c565b6060820152611f1e60808401611957565b6080820152611f2f60a08401611957565b60a082015260c083015182811115611f4657600080fd5b611f5287828601611e2a565b60c08301525095945050505050565b600060018201611f7357611f736118d6565b5060010190565b600060208284031215611f8c57600080fd5b815164ffffffffff8116811461182457600080fd5b60008251611fb3818460208701611ba4565b9190910192915050565b60008060408385031215611fd057600080fd5b611fd98361192c565b9150602083015163ffffffff81168114611ff257600080fd5b80915050925092905056fea26469706673582212203d171151190a1c108f05e143e0e8a17f419862fdc50bac4af63a19a628acac5a64736f6c6343000814003360806040523480156200001157600080fd5b50600780546001600160a01b031916331790556040513090620000349062000ce0565b6001600160a01b039091168152602001604051809103906000f08015801562000061573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b039092169190911790556200009c620000b6565b620000a6620002d8565b620000b062000698565b62000e75565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200010c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000132919062000cee565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528585529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c082015160038201906200025b908262000da9565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620002bb57600080fd5b505af1158015620002d0573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000333573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000359919062000cee565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003dc919062000cee565b83146200047657620003ed62000bbf565b6200046e6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200046b919062000cee565b90565b9050620004d1565b620004ce6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529584905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b03199182161790915592516002820180549190961693169290921790935591519091906003820190620005df908262000da9565b50503060009081526001602081905260409182902080546001600160601b0387166001600160601b03199182168117909255600680549091169091179081905591516340c10f1960e01b81526004810191909152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200067a57600080fd5b505af11580156200068f573d6000803e3d6000fd5b50505050505050565b7ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce400338054600160ff1991821681179092557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557fdd629e5d55690c61d87bb2283f8033a4ed0c9727f0b3cc897e051f7afda800a580548216831790557f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c516992680548216831790557f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a3880548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa80548216831790557fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f80548216831790557fe7defe1a9ee2663e7f593684ebe15b56452e1fa833a7efa12070ad6443b108198054909116821790556032600090815260046020527feaa72e3626d79eea854e214b64a34b95d0c9348f5b8df0b074d774f7dba83c659062000871602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008a5604690565b60ff1660ff1681526020019081526020016000206000620008cb62000cc760201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008ff606e90565b60ff1660ff16815260200190815260200160002060006200092562000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000959607890565b60ff1660ff16815260200190815260200160002060006200097f62000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620009b3608290565b60ff1660ff1681526020019081526020016000206000620009d962000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000a0d608c90565b60ff1660ff168152602001908152602001600020600062000a3362000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a67607a90565b60ff1660ff168152602001908152602001600020600062000a8d62000cdb60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000ac160d390565b60ff1660ff168152602001908152602001600020600062000ae762000cd160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000b1b60dc90565b60ff1660ff168152602001908152602001600020600062000b4162000cd660201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000b75605090565b60ff1660ff168152602001908152602001600020600062000b9b62000cd660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c15573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c3b919062000cee565b905060008190506040518060e00160405280826001600160601b0316815260200162000cb46006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b6001600160601b031681526020016200015a5b602890565b604690565b606e90565b608c90565b607890565b611e3d8062002b8483390190565b60006020828403121562000d0157600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000d3357607f821691505b60208210810362000d5457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000da457600081815260208120601f850160051c8101602086101562000d835750805b601f850160051c820191505b81811015620002d05782815560010162000d8f565b505050565b81516001600160401b0381111562000dc55762000dc562000d08565b62000ddd8162000dd6845462000d1e565b8462000d5a565b602080601f83116001811462000e15576000841562000dfc5750858301515b600019600386901b1c1916600185901b178555620002d0565b600085815260208120601f198616915b8281101562000e465788860151825594840194600190910190840162000e25565b508582101562000e655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611cff8062000e856000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063a52ec529116100de578063d2213b5b11610097578063e285c9c411610071578063e285c9c4146103d1578063e74d052f146103d9578063f40d7c30146103ec578063fee11aaf146103f457600080fd5b8063d2213b5b14610342578063d272ac1e14610362578063d39e60431461039457600080fd5b8063a52ec529146102db578063a5df9e4e146102ee578063a7050a5614610301578063ae8dfb7914610314578063c3c5a5471461031c578063d1982d881461032f57600080fd5b80632b91e0a91161014b578063644c45e011610125578063644c45e01461027b578063893d20e8146102a05780638b09a5f0146102a8578063a48f42e0146102c857600080fd5b80632b91e0a91461023257806338bb429a146102455780633fe9300e1461025857600080fd5b806301ffc9a7146101935780630e41142e146101bb5780630e6d1de9146101d5578063120726c3146101dd57806314afd79e146102095780631a848cfb1461021c575b600080fd5b6101a66101a13660046114f1565b610405565b60405190151581526020015b60405180910390f35b6101c361044b565b60405160ff90911681526020016101b2565b6101c36104be565b600654600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020016101b2565b6101f161021736600461154a565b610508565b610224610624565b6040519081526020016101b2565b6101a661024036600461154a565b61069d565b6101f1610253366004611587565b6106ec565b61026e6040518060200160405280600081525081565b6040516101b291906115ea565b6006546001600160601b03165b6040516001600160601b0390911681526020016101b2565b6101f1610749565b6102bb6102b636600461154a565b610754565b6040516101b291906115fd565b6102bb6102d6366004611587565b6108b8565b6101a66102e936600461169a565b61098a565b6102886102fc366004611881565b6109fa565b61028861030f3660046118b6565b610bac565b610224600281565b6101a661032a36600461154a565b610cc3565b61028861033d366004611881565b610d36565b61035561035036600461169a565b610e85565b6040516101b2919061191a565b61028861037036600461154a565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6101f16103a2366004611980565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b6101f1600181565b6101a66103e7366004611587565b610f0b565b6101c3610f65565b6007546001600160a01b03166101f1565b60006001600160e01b031982166301ffc9a760e01b148061043657506001600160e01b0319821663230c0c8160e11b145b1561044357506001919050565b506000919050565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa158015610495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b991906119b9565b905090565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa158015610495573d6000803e3d6000fd5b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b691906119d6565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e91906119f3565b92915050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610679573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b99190611a10565b6001600160a01b0381166000908152600160209081526040808320546001600160601b031683529082905281205461061e90600160c01b900460ff166106e1603c90565b60ff90811691161490565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610575565b60006104b930610508565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c08401919061082f90611a29565b80601f016020809104026020016040519081016040528092919081815260200182805461085b90611a29565b80156108a85780601f1061087d576101008083540402835291602001916108a8565b820191906000526020600020905b81548152906001019060200180831161088b57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061082f90611a29565b60075460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e9190611a63565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611a63565b610a8457604051638fe695a360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b03166000908152908190529190912054600160c01b900460ff16610abd826106e1603c90565b15610adb5760405163b4a7fc9360e01b815260040160405180910390fd5b60808401516001600160a01b0316610b495760ff8083166000908152600560209081526040808320858516845290915281205490911615159003610b4457604051638880f20760e01b815260ff8084166004830152821660248201526044015b60405180910390fd5b610b9b565b60ff8083166000908152600460209081526040808320858516845290915281205490911615159003610b9b57604051638880f20760e01b815260ff808416600483015282166024820152604401610b3b565b610ba484610faf565b949350505050565b6007546000906001600160a01b03163314610bda576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600260209081526040808320938616835292905220546001600160a01b031615610c325760808401516040516353752f3960e11b81526001600160a01b039091166004820152602401610b3b565b608084015160ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610c7c84610faf565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156109d6573d6000803e3d6000fd5b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da39190611a63565b610dc057604051638fe695a360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b90048116911615610e1c5760405163019f081b60e51b815260040160405180910390fd5b610e2781600a6106e1565b80610e385750610e388160286106e1565b80610e495750610e4981603c6106e1565b15610e7457604051638880f20760e01b815260ff808416600483015282166024820152604401610b3b565b610e7d84610faf565b505050919050565b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610ee3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261061e9190810190611a95565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610d19565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa158015610495573d6000803e3d6000fd5b6040808201516020808401516001600160601b038082166000908152808452858120865160e08101885281548085168252600160601b81049094169581019590955260ff600160c01b8404811697860197909752600160c81b9092049095161515606084015260018101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c084019161105090611a29565b80601f016020809104026020016040519081016040528092919081815260200182805461107c90611a29565b80156110c95780601f1061109e576101008083540402835291602001916110c9565b820191906000526020600020905b8154815290600101906020018083116110ac57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166111085760405163b0014c0760e01b815260040160405180910390fd5b6000611122886060015189608001518660600151856114b4565b60065460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692611173929091879190600401611b85565b6020604051808303816000875af1158015611192573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b69190611a10565b90508097508789600001906001600160601b031690816001600160601b031681525050886000808a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816113089190611c09565b50505060808901516001600160a01b0316156114195760808901516001600160a01b038116600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba9190611a63565b156113e35760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610b3b565b6001600160a01b0316600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a001516040516114a0969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b0384166114d95782156114d1575080610ba4565b506000610ba4565b84156114e6575082610ba4565b506000949350505050565b60006020828403121561150357600080fd5b81356001600160e01b03198116811461151b57600080fd5b9392505050565b6001600160a01b038116811461153757600080fd5b50565b803561154581611522565b919050565b60006020828403121561155c57600080fd5b813561151b81611522565b6001600160601b038116811461153757600080fd5b803561154581611567565b60006020828403121561159957600080fd5b813561151b81611567565b6000815180845260005b818110156115ca576020818501810151868301820152016115ae565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061151b60208301846115a4565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161166660c08401826001600160a01b03169052565b5060c083015160e080840152610ba46101008401826115a4565b60ff8116811461153757600080fd5b803561154581611680565b6000602082840312156116ac57600080fd5b813561151b81611680565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116f0576116f06116b7565b60405290565b6040805190810167ffffffffffffffff811182821017156116f0576116f06116b7565b604051601f8201601f1916810167ffffffffffffffff81118282101715611742576117426116b7565b604052919050565b801515811461153757600080fd5b80356115458161174a565b600082601f83011261177457600080fd5b813567ffffffffffffffff81111561178e5761178e6116b7565b6117a1601f8201601f1916602001611719565b8181528460208386010111156117b657600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156117e557600080fd5b6117ed6116cd565b90506117f88261157c565b81526118066020830161157c565b60208201526118176040830161168f565b604082015261182860608301611758565b60608201526118396080830161153a565b608082015261184a60a0830161153a565b60a082015260c082013567ffffffffffffffff81111561186957600080fd5b61187584828501611763565b60c08301525092915050565b60006020828403121561189357600080fd5b813567ffffffffffffffff8111156118aa57600080fd5b610ba4848285016117d3565b6000806000606084860312156118cb57600080fd5b833567ffffffffffffffff8111156118e257600080fd5b6118ee868287016117d3565b93505060208401356118ff81611680565b9150604084013561190f81611680565b809150509250925092565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561196257835160ff16825292840192600192909201919084019061193f565b5064ffffffffff848801511660408701528094505050505092915050565b6000806040838503121561199357600080fd5b823561199e81611680565b915060208301356119ae81611680565b809150509250929050565b6000602082840312156119cb57600080fd5b815161151b81611680565b6000602082840312156119e857600080fd5b815161151b81611567565b600060208284031215611a0557600080fd5b815161151b81611522565b600060208284031215611a2257600080fd5b5051919050565b600181811c90821680611a3d57607f821691505b602082108103611a5d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a7557600080fd5b815161151b8161174a565b805164ffffffffff8116811461154557600080fd5b60006020808385031215611aa857600080fd5b825167ffffffffffffffff80821115611ac057600080fd5b9084019060408287031215611ad457600080fd5b611adc6116f6565b825182811115611aeb57600080fd5b8301601f81018813611afc57600080fd5b805183811115611b0e57611b0e6116b7565b8060051b9350611b1f868501611719565b818152938201860193868101908a861115611b3957600080fd5b928701925b85841015611b635783519250611b5383611680565b8282529287019290870190611b3e565b845250611b74915050838501611a80565b848201528094505050505092915050565b6001600160a01b03848116825283166020820152606060408201819052600090611bb1908301846115a4565b95945050505050565b601f821115611c0457600081815260208120601f850160051c81016020861015611be15750805b601f850160051c820191505b81811015611c0057828155600101611bed565b5050505b505050565b815167ffffffffffffffff811115611c2357611c236116b7565b611c3781611c318454611a29565b84611bba565b602080601f831160018114611c6c5760008415611c545750858301515b600019600386901b1c1916600185901b178555611c00565b600085815260208120601f198616915b82811015611c9b57888601518255948401946001909101908401611c7c565b5085821015611cb95787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212204d0fd8590a7f3ce4a4247acf29763c93729af01503b3e6df1ad6d9570b4263e264736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220ea83661feb8d07247ba4fc77cce2760aa9afb7f2f6a802089397d027ee33b3bd64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
466
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639ef6ddc91161008c578063bf7e214f11610066578063bf7e214f14610247578063d2213b5b14610258578063f40d7c3014610278578063fdd9ec7d1461028a57600080fd5b80639ef6ddc9146101dd578063a284482414610219578063a52ec5291461022157600080fd5b806310d6ccbf116100c857806310d6ccbf146101445780635ab1bd531461016f5780637a9e5e4b146101a95780638fb36037146101bc57600080fd5b80630af43fe1146100ef5780630e41142e146100f95780630e6d1de914610132575b600080fd5b6100f761029d565b005b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff1661011b565b610157610152366004611807565b6103e4565b6040516001600160601b039091168152602001610129565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610129565b6100f76101b7366004611807565b6106d7565b6101c4610751565b6040516001600160e01b03199091168152602001610129565b6102096101eb366004611807565b6001600160a01b031660009081526004602052604090205460ff1690565b6040519015158152602001610129565b6100f7610775565b61020961022f36600461183a565b60ff9081166000908152600560205260409020541690565b6000546001600160a01b0316610191565b61026b61026636600461183a565b610905565b6040516101299190611857565b600054600160b01b900460ff1661011b565b610157610298366004611807565b6109b6565b6102aa335b600036610db0565b600054604051632b10f60d60e21b8152600160b01b90910460ff16600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90829063ac43d83490602401602060405180830381865af415801561030e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033291906118bd565b61033d9060016118ec565b6040518263ffffffff1660e01b815260040161035b91815260200190565b602060405180830381865af4158015610378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039c919061190f565b506000600381905554604051600160b01b90910460ff1681527f8e36898247ead43d33f80846e30363425f7dc687d2642c1f1daf5b6ac137ed239060200160405180910390a1565b60006103ef336102a2565b6040516301ffc9a760e01b815263aa745bc360e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa15801561043a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045e919061193c565b61047b576040516395d3b24b60e01b815260040160405180910390fd5b6000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104df9190611962565b90506104f36000546001600160a01b031690565b6001600160a01b0316816001600160a01b03161461054057600054604051630f93ce7d60e41b81526001600160a01b03918216600482015290821660248201526044015b60405180910390fd5b600061054f84603c5b33610eb0565b60008054919250600160b01b90910460ff169061056a602890565b90506105778683836110c8565b506105e6866001600160a01b031663c13de9976040518163ffffffff1660e01b8152600401600060405180830381865afa1580156105b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e19190810190611a36565b6112c3565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a569061063690869086908690600401611bf4565b6020604051808303816000875af1158015610655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190611cb2565b9450856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156106b657600080fd5b505af11580156106ca573d6000803e3d6000fd5b5050505050505050919050565b60005433906001600160a01b0316811461070e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610537565b816001600160a01b03163b600003610744576040516361798f2f60e11b81526001600160a01b0383166004820152602401610537565b61074d826115bd565b5050565b60008054600160a01b900460ff166107695750600090565b50638fb3603760e01b90565b61077e336102a2565b60008054600160b01b900460ff16907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e60436107c4602890565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa15801561080a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082e9190611962565b90506001600160a01b03811661085757604051631fbcf44f60e21b815260040160405180910390fd5b60035415610878576040516399afebf360e01b815260040160405180910390fd5b6000805460ff60a81b1916600160a81b60ff85169081029190911782556001600160a01b0383168252600460209081526040808420805460ff199081166001908117909255848652600584529482902080549095161790935591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15050565b60408051808201825260608082526000602080840182905260ff8616825260018152908490208451815492830281018401865294850182815293949390928492849184018282801561099457602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109655790505b50505091835250506001919091015464ffffffffff1660209091015292915050565b60006109c1336102a2565b6040516301ffc9a760e01b8152637b6a51fd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610a0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a30919061193c565b610a4d57604051635458064d60e11b815260040160405180910390fd5b6000610a5a83603c610549565b90506000610a7260005460ff600160b01b9091041690565b60ff81166000908152600160205260408120600354815493945091929091908110610a9f57610a9f611ccd565b90600052602060002090602091828204019190069054906101000a900460ff169050610acc8583836110c8565b5060ff8083166000908152600260209081526040808320938516835292815282822080548451818402810184019095528085529293929091830182828015610b6057602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b03191681526020019060040190602082600301049283019260010382029150808411610b225790505b5050505050905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e6043610ba0602890565b6040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190611962565b825190915015610ca9576040516361bc3b4160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361bc3b4190610c64908a9085908790600401611ce3565b6020604051808303816000875af1158015610c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca79190611d4f565b505b60038054906000610cb983611d79565b9091555050604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a5690610d0e90889088908890600401611bf4565b6020604051808303816000875af1158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d519190611cb2565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610d8e57600080fd5b505af1158015610da2573d6000803e3d6000fd5b505050505050505050919050565b600080610de6610dc86000546001600160a01b031690565b8630610dd860046000898b611d90565b610de191611dba565b611611565b9150915081610ea95763ffffffff811615610e86576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610e4190889088908890600401611dea565b600060405180830381600087803b158015610e5b57600080fd5b505af1158015610e6f573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610ea99050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610537565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f519190810190611e8e565b6001600160a01b0385166080820152600060608201526040810151909150610f79908461171d565b15610faa576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610537565b60a08101516001600160a01b0380821690841614610fe65760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610537565b846001600160a01b0316816001600160a01b031603611018576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa15801561107e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a2919061193c565b156110c057604051637142ceb360e11b815260040160405180910390fd5b509392505050565b6000611135846001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561110b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112f919061190f565b8461171d565b156111c35782846001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119d919061190f565b604051632ac811e560e01b815260ff928316600482015291166024820152604401610537565b61122e846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611204573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611228919061190f565b8361171d565b156112bc5781846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611272573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611296919061190f565b60405163344254bf60e11b815260ff928316600482015291166024820152604401610537565b5092915050565b60008054600160b01b900460ff16905081516000036112f55760405163b3327ef160e01b815260040160405180910390fd5b60ff818116600090815260016020818152604083208054928301815583528083209082040180546028601f9093166101000a9283029290940219909316179091555b825181101561151857600083828151811061135457611354611ccd565b60200260200101516000015190506113798161136e602890565b60ff90811691161490565b806113f5575060405163037c8cb160e51b815260ff8216600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__90636f91962090602401602060405180830381865af41580156113d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f5919061193c565b1561141f57604051633c04bbaf60e01b81526004810183905260ff82166024820152604401610537565b600084838151811061143357611433611ccd565b60209081029190910181015181015160ff8087166000908152600284526040808220928716825291909352909120549091501561149057604051632d4af7a360e01b815260ff808616600483015283166024820152604401610537565b60ff8085166000908152600260209081526040808320938616835292815291902082516114bf9284019061172e565b505060ff83811660009081526001602081815260408320805492830181558352918290209181049091018054601f9092166101000a8084021990921693909216029190911790558061151081611f61565b915050611337565b5073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611562573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115869190611f7a565b60ff91909116600090815260016020819052604090912001805464ffffffffff191664ffffffffff90921691909117905551600355565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516116809190611fa1565b600060405180830381855afa9150503d80600081146116bb576040519150601f19603f3d011682016040523d82523d6000602084013e6116c0565b606091505b509150915081156117125760408151106116f257808060200190518101906116e89190611fbd565b9094509250611712565b6020815110611712578080602001905181019061170f919061193c565b93505b505094509492505050565b60ff82811690821614155b92915050565b828054828255906000526020600020906007016008900481019282156117ca5791602002820160005b8382111561179857835183826101000a81548163ffffffff021916908360e01c02179055509260200192600401602081600301049283019260010302611757565b80156117c85782816101000a81549063ffffffff0219169055600401602081600301049283019260010302611798565b505b506117d69291506117da565b5090565b5b808211156117d657600081556001016117db565b6001600160a01b038116811461180457600080fd5b50565b60006020828403121561181957600080fd5b8135611824816117ef565b9392505050565b60ff8116811461180457600080fd5b60006020828403121561184c57600080fd5b81356118248161182b565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561189f57835160ff16825292840192600192909201919084019061187c565b5064ffffffffff848801511660408701528094505050505092915050565b6000602082840312156118cf57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611728576117286118d6565b805161190a8161182b565b919050565b60006020828403121561192157600080fd5b81516118248161182b565b8051801515811461190a57600080fd5b60006020828403121561194e57600080fd5b6118248261192c565b805161190a816117ef565b60006020828403121561197457600080fd5b8151611824816117ef565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156119b8576119b861197f565b60405290565b60405160e0810167ffffffffffffffff811182821017156119b8576119b861197f565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0a57611a0a61197f565b604052919050565b600067ffffffffffffffff821115611a2c57611a2c61197f565b5060051b60200190565b60006020808385031215611a4957600080fd5b825167ffffffffffffffff80821115611a6157600080fd5b818501915085601f830112611a7557600080fd5b8151611a88611a8382611a12565b6119e1565b81815260059190911b83018401908481019088831115611aa757600080fd5b8585015b83811015611b9757805185811115611ac35760008081fd5b86016040818c03601f1901811315611adb5760008081fd5b611ae3611995565b89830151611af08161182b565b81528282015188811115611b045760008081fd5b8084019350508c603f840112611b1a5760008081fd5b89830151611b2a611a8382611a12565b81815260059190911b84018301908b8101908f831115611b4a5760008081fd5b948401945b82861015611b8257855194506001600160e01b031985168514611b725760008081fd5b848252948c0194908c0190611b4f565b838d0152505085525050918601918601611aab565b5098975050505050505050565b60005b83811015611bbf578181015183820152602001611ba7565b50506000910152565b60008151808452611be0816020860160208601611ba4565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e0610120840152611c77610140840182611bc8565b915050611c89602083018560ff169052565b60ff831660408301525b949350505050565b80516001600160601b038116811461190a57600080fd5b600060208284031215611cc457600080fd5b61182482611c9b565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b81811015611d415784516001600160e01b03191684529382019392820192600101611d1b565b509198975050505050505050565b600060208284031215611d6157600080fd5b815167ffffffffffffffff8116811461182457600080fd5b600081611d8857611d886118d6565b506000190190565b60008085851115611da057600080fd5b83861115611dad57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611de25780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112611e3b57600080fd5b815167ffffffffffffffff811115611e5557611e5561197f565b611e68601f8201601f19166020016119e1565b818152846020838601011115611e7d57600080fd5b611c93826020830160208701611ba4565b600060208284031215611ea057600080fd5b815167ffffffffffffffff80821115611eb857600080fd5b9083019060e08286031215611ecc57600080fd5b611ed46119be565b611edd83611c9b565b8152611eeb60208401611c9b565b6020820152611efc604084016118ff565b6040820152611f0d6060840161192c565b6060820152611f1e60808401611957565b6080820152611f2f60a08401611957565b60a082015260c083015182811115611f4657600080fd5b611f5287828601611e2a565b60c08301525095945050505050565b600060018201611f7357611f736118d6565b5060010190565b600060208284031215611f8c57600080fd5b815164ffffffffff8116811461182457600080fd5b60008251611fb3818460208701611ba4565b9190910192915050565b60008060408385031215611fd057600080fd5b611fd98361192c565b9150602083015163ffffffff81168114611ff257600080fd5b80915050925092905056fea26469706673582212203d171151190a1c108f05e143e0e8a17f419862fdc50bac4af63a19a628acac5a64736f6c63430008140033",
1053
+ "bytecode": "0x60c06040523480156200001157600080fd5b5060405162003099380380620030998339810160408190526200003491620005e3565b336200004081620002a7565b506200004b620002fb565b620000568162000359565b62000084576040516358374b4160e11b81526001600160a01b03821660048201526024015b60405180910390fd5b620000f3816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000ed9190620005e3565b62000474565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa1580156200013e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001649190620005e3565b6001600160a01b0316608052604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015620001c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e791906200060a565b6008805460ff191660ff9290921691909117905573__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c62000223600160036200062f565b6040518263ffffffff1660e01b81526004016200024291815260200190565b602060405180830381865af415801562000260573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028691906200060a565b600860026101000a81548160ff021916908360ff16021790555050620006b6565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6200030960076002620004f4565b6200031a600760025b600362000546565b620003286007600362000312565b62000339600760035b600462000546565b6200034960076004606e62000546565b620003576007606e62000331565b565b60006001600160a01b0382166200037257506000919050565b604051636939560f60e11b81526001600160a01b038316600482018190529063d272ac1e90602401602060405180830381865afa158015620003b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003de919062000651565b604051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801562000438573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045e91906200067c565b156200046c57506000919050565b506001919050565b60005433906001600160a01b03168114620004ad5760405162d1953b60e31b81526001600160a01b03821660048201526024016200007b565b816001600160a01b03163b600003620004e5576040516361798f2f60e11b81526001600160a01b03831660048201526024016200007b565b620004f082620002a7565b5050565b60ff82811660009081526001602052604081205462000515921690620005ba565b620005245762000524620006a0565b60ff9182166000908152600160205260409020805460ff191691909216179055565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541615620005825762000582620006a0565b60ff9283166000908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114620005e057600080fd5b50565b600060208284031215620005f657600080fd5b81516200060381620005ca565b9392505050565b6000602082840312156200061d57600080fd5b815160ff811681146200060357600080fd5b81810381811115620005c457634e487b7160e01b600052601160045260246000fd5b6000602082840312156200066457600080fd5b81516001600160601b03811681146200060357600080fd5b6000602082840312156200068f57600080fd5b815180151581146200060357600080fd5b634e487b7160e01b600052600160045260246000fd5b60805160a05161297e6200071b6000396000818161032c0152818161037e01528181610eb0015281816115ef015261203a0152600081816102150152818161048f015281816107d201528181611722015281816117c70152611c8c015261297e6000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c80637a9e5e4b11610104578063a972d698116100a2578063dde4fd8a11610071578063dde4fd8a1461048d578063e9e96c70146104b3578063f40d7c30146104f1578063fdd9ec7d1461050257600080fd5b8063a972d6981461041d578063bf1db3f914610449578063bf7e214f1461045c578063d2213b5b1461046d57600080fd5b806399a228e5116100de57806399a228e5146103e75780639ef6ddc9146103ef578063a284482414610402578063a89896751461040a57600080fd5b80637a9e5e4b146103a05780638fb36037146103b357806393a7e711146103d457600080fd5b806311edceaa116101715780635ab1bd531161014b5780635ab1bd531461032a5780636428e2631461035057806371ed16e41461036357806379cbc5fa1461037957600080fd5b806311edceaa146102b857806330ac5bf2146102db57806331d53763146102f057600080fd5b80630af43fe1116101ad5780630af43fe11461026f5780630d358181146102775780630e41142e1461029d5780630e6d1de9146102a857600080fd5b8062d19f30146101d357806301bc45c91461021057806305c937ed1461024f575b600080fd5b6101f96101e13660046120ee565b60ff9081166000908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102377f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610207565b6102596208052081565b60405164ffffffffff9091168152602001610207565b6101f961052d565b6101f96102853660046120ee565b60ff9081166000908152600160205260409020541690565b60085460ff166101f9565b600854610100900460ff166101f9565b6102cb6102c63660046120ee565b610697565b6040519015158152602001610207565b6102ee6102e93660046120ee565b6106c6565b005b6103036102fe366004612120565b6107c3565b604080516001600160a01b03909416845260ff909216602084015290820152606001610207565b7f0000000000000000000000000000000000000000000000000000000000000000610237565b6102ee61035e3660046120ee565b610b66565b61036b610cbe565b604051908152602001610207565b6102377f000000000000000000000000000000000000000000000000000000000000000081565b6102ee6103ae36600461214c565b610cd5565b6103bb610d4f565b6040516001600160e01b03199091168152602001610207565b6102376103e2366004612169565b610d73565b61036b600381565b6102cb6103fd36600461214c565b610dd8565b6102ee610e04565b6102ee6104183660046121ab565b6110a1565b61023761042b3660046120ee565b60ff166000908152600660205260409020546001600160a01b031690565b6102cb6104573660046120ee565b6111b0565b6000546001600160a01b0316610237565b61048061047b3660046120ee565b611239565b60405161020791906122ce565b7f0000000000000000000000000000000000000000000000000000000000000000610237565b6102cb6104c13660046121ab565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101f9565b61051561051036600461214c565b611472565b6040516001600160601b039091168152602001610207565b600061053c335b60003661182f565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af415801561059f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c391906123ad565b6105ce9060016123dc565b6040518263ffffffff1660e01b81526004016105ec91815260200190565b602060405180830381865af4158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d91906123ff565b6008805460ff92909216620100000262ff0000199092169190911790556000600b819055600a5561065f610285600790565b60088054620100009081900460ff9081166000908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff81811660009081526009602052604081205490916106c0911660045b60ff90811691161490565b92915050565b6106cf33610534565b60ff81811660009081526009602052604090205416600461071b60075b60ff90811660009081526002602090815260408083208488168452825280832084871684529091529020541690565b61074a576040516331ec295f60e01b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381166000818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805469ffffffffff00000000001916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b600080806107d033610534565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612427565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d991906123ad565b604080516020810192909252810185905260600160405160208183030381529060405280519060200120905061092c610910600790565b60ff8481166000908152600960205260409020541660036104c1565b61096a5760ff8281166000818152600960205260409081902054905163c717747960e01b815260048101929092529091166024820152604401610741565b60ff82166000908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed91906123ff565b905060ff80821690841614610a215760405162c866d560e21b815260ff808516600483015282166024820152604401610741565b6000866001600160a01b03166368c55b136040518163ffffffff1660e01b8152600401600060405180830381865afa158015610a61573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8991908101906124b4565b51905080600003610ab257604051635302597d60e01b815260ff85166004820152602401610741565b600b5415610af45760ff8481166000818152600960205260409081902054905163c238a09360e01b815260048101929092529091166024820152604401610741565b600b81905560ff841660008181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b6f33610534565b60ff81811660009081526009602052604090205416606e610b9060076106ec565b610bba576040516331ec295f60e01b815260ff808516600483015283166024820152604401610741565b60ff838116600090815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4f9190612566565b60ff8416600081815260056020818152604092839020909101805464ffffffffff95909516650100000000000269ffffffffff00000000001990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107b6565b6000600a54600b54610cd0919061258d565b905090565b60005433906001600160a01b03168114610d0c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610741565b816001600160a01b03163b600003610d42576040516361798f2f60e11b81526001600160a01b0383166004820152602401610741565b610d4b8261192f565b5050565b60008054600160a01b900460ff16610d675750600090565b50638fb3603760e01b90565b604051603881018290526f5af43d82803e903d91602b57fd5bf3ff602482015260148101849052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018390526037600c820120607882015260556043909101206000905b949350505050565b6001600160a01b03811660009081526007602052604081205460ff16610dfd81610697565b9392505050565b610e0d33610534565b60085460ff6201000090910481166000818152600960205260409020549091166004610e3960076106ec565b610e63576040516331ec295f60e01b815260ff808516600483015283166024820152604401610741565b600b54600a541015610ea45782600a54600b54610e80919061258d565b60405163c90aac6160e01b815260ff90921660048301526024820152604401610741565b60006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190612427565b90506001600160a01b038116610f6f57604051638047661960e01b815260ff85166004820152602401610741565b6008805460ff808716610100810261ff0019909316929092179092556000818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015611014573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110389190612566565b60ff8516600081815260056020818152604092839020909101805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a91906125b0565b1561114d576040516321b9f44760e01b815260ff84166004820152602401610741565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111ab57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610741565b505050565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c091906125b0565b6040805160e08082018352600080835260208084018290526060848601819052808501819052608085015260a0840182905260c0840182905260ff8681168352600582529185902085519384018652805490921683526001820154838201526002820180548651818402810184018852818152959694959394860193928301828280156112ef57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116112d1575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b828210156113c957838290600052602060002001805461133c906125cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611368906125cb565b80156113b55780601f1061138a576101008083540402835291602001916113b5565b820191906000526020600020905b81548152906001019060200180831161139857829003601f168201915b50505050508152602001906001019061131d565b5050505081526020016004820180548060200260200160405190810160405280929190818152602001828054801561143e57602002820191906000526020600020906000905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161140f5790505b50505091835250506005919091015464ffffffffff8082166020840152650100000000009091041660409091015292915050565b600061147d33610534565b60085460ff6201000090910481166000818152600960205260409020549091166114aa60078260036104c1565b6114cc576040516316997edd60e11b815260ff82166004820152602401610741565b60ff82166000908152600960205260409020805460ff19166003179055600a54600b540361150d57604051630a7d531760e31b815260040160405180910390fd5b600080600061151b87611983565b60ff881660009081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa15801561157f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a391906123ff565b905060ff808416908216146115d8576040516331ca5aff60e11b815260ff808316600483015284166024820152604401610741565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a569061162890879086908890600401612605565b6020604051808303816000875af1158015611647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166b91906126c2565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303816000875af11580156116ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d191906126c2565b50600a80549060006116e2836126dd565b909155505060ff86166000908152600660205260409081902054905163122beb2560e11b81526001600160a01b03918216600482015289821660248201527f000000000000000000000000000000000000000000000000000000000000000090911690632457d64a90604401600060405180830381600087803b15801561176857600080fd5b505af115801561177c573d6000803e3d6000fd5b5050505061178c836106b5600390565b8061179a575060ff8316600f145b156118245760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b3590604401600060405180830381600087803b15801561180b57600080fd5b505af115801561181f573d6000803e3d6000fd5b505050505b505050505050919050565b6000806118656118476000546001600160a01b031690565b863061185760046000898b6126f6565b61186091612720565b611da8565b91509150816119285763ffffffff811615611905576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906118c090889088908890600401612750565b600060405180830381600087803b1580156118da57600080fd5b505af11580156118ee573d6000803e3d6000fd5b50506000805460ff60a01b19169055506119289050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610741565b5050505050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e08101825260008082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2d91906125b0565b611a5557604051631fdf992160e01b81526001600160a01b0385166004820152602401610741565b60003390506000856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abe9190612427565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b229190612790565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b91906123ff565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff91906123ff565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c3f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c679190810190612819565b9450611c74868684611eb4565b6000600860029054906101000a900460ff16905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0c9190612427565b9050806001600160a01b0316836001600160a01b031614611d5b5760405163179dce5160e11b81526001600160a01b03808a166004830152808516602483015282166044820152606401610741565b60ff80861690831614611d9d57604051632dd6635560e21b81526001600160a01b038916600482015260ff808716602483015283166044820152606401610741565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e1791906128ec565b600060405180830381855afa9150503d8060008114611e52576040519150601f19603f3d011682016040523d82523d6000602084013e611e57565b606091505b50915091508115611ea9576040815110611e895780806020019051810190611e7f9190612908565b9094509250611ea9565b6020815110611ea95780806020019051810190611ea691906125b0565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611efc5760405163396d48c960e11b81526001600160a01b038416600482018190526024820152604401610741565b606082015115611f375760608201516040516376d381b160e01b81526001600160a01b03851660048201529015156024820152604401610741565b611f538260400151611f47600990565b60ff9081169116141590565b15611f92576040828101519051630c6c87c560e41b81526001600160a01b03851660048201526009602482015260ff9091166044820152606401610741565b60a08201516001600160a01b0380821690831614611fde576040516314cc941d60e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610741565b836001600160a01b0316816001600160a01b03160361201b5760405163f80468a760e01b81526001600160a01b0385166004820152602401610741565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a591906125b0565b156120d65760405163976310fb60e01b81526001600160a01b03808616600483015282166024820152604401610741565b50505050565b60ff811681146120eb57600080fd5b50565b60006020828403121561210057600080fd5b8135610dfd816120dc565b6001600160a01b03811681146120eb57600080fd5b6000806040838503121561213357600080fd5b823561213e8161210b565b946020939093013593505050565b60006020828403121561215e57600080fd5b8135610dfd8161210b565b60008060006060848603121561217e57600080fd5b83356121898161210b565b92506020840135915060408401356121a08161210b565b809150509250925092565b6000806000606084860312156121c057600080fd5b83356121cb816120dc565b925060208401356121db816120dc565b915060408401356121a0816120dc565b60005b838110156122065781810151838201526020016121ee565b50506000910152565b600081518084526122278160208601602086016121eb565b601f01601f19169290920160200192915050565b600081518084526020808501808196508360051b8101915082860160005b8581101561228357828403895261227184835161220f565b98850198935090840190600101612259565b5091979650505050505050565b600081518084526020808501945080840160005b838110156122c357815160ff16875295820195908201906001016122a4565b509495945050505050565b60006020808352610100830160ff85511682850152818501516040850152604085015160e06060860152818151808452610120870191508483019350600092505b808310156123385783516001600160a01b0316825292840192600192909201919084019061230f565b5060608701519350601f19925082868203016080870152612359818561223b565b935050506080850151818584030160a08601526123768382612290565b9250505060a084015161239260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e0850152509392505050565b6000602082840312156123bf57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106c0576106c06123c6565b80516123fa816120dc565b919050565b60006020828403121561241157600080fd5b8151610dfd816120dc565b80516123fa8161210b565b60006020828403121561243957600080fd5b8151610dfd8161210b565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561247d5761247d612444565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156124ac576124ac612444565b604052919050565b600060208083850312156124c757600080fd5b825167ffffffffffffffff808211156124df57600080fd5b818501915085601f8301126124f357600080fd5b81518181111561250557612505612444565b8060051b9150612516848301612483565b818152918301840191848101908884111561253057600080fd5b938501935b8385101561255a578451925061254a836120dc565b8282529385019390850190612535565b98975050505050505050565b60006020828403121561257857600080fd5b815164ffffffffff81168114610dfd57600080fd5b818103818111156106c0576106c06123c6565b805180151581146123fa57600080fd5b6000602082840312156125c257600080fd5b610dfd826125a0565b600181811c908216806125df57607f821691505b6020821081036125ff57634e487b7160e01b600052602260045260246000fd5b50919050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261268861014084018261220f565b91505061269a602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b03811681146123fa57600080fd5b6000602082840312156126d457600080fd5b610dfd826126ab565b6000600182016126ef576126ef6123c6565b5060010190565b6000808585111561270657600080fd5b8386111561271357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127485780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000602082840312156127a257600080fd5b815162ffffff81168114610dfd57600080fd5b600082601f8301126127c657600080fd5b815167ffffffffffffffff8111156127e0576127e0612444565b6127f3601f8201601f1916602001612483565b81815284602083860101111561280857600080fd5b610dd08260208301602087016121eb565b60006020828403121561282b57600080fd5b815167ffffffffffffffff8082111561284357600080fd5b9083019060e0828603121561285757600080fd5b61285f61245a565b612868836126ab565b8152612876602084016126ab565b6020820152612887604084016123ef565b6040820152612898606084016125a0565b60608201526128a96080840161241c565b60808201526128ba60a0840161241c565b60a082015260c0830151828111156128d157600080fd5b6128dd878286016127b5565b60c08301525095945050505050565b600082516128fe8184602087016121eb565b9190910192915050565b6000806040838503121561291b57600080fd5b612924836125a0565b9150602083015163ffffffff8116811461293d57600080fd5b80915050925092905056fea2646970667358221220983a006c9cb516ff5171ee63018cd95de5f1435026c90c41a242e52fec028b2564736f6c63430008140033",
1054
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c80637a9e5e4b11610104578063a972d698116100a2578063dde4fd8a11610071578063dde4fd8a1461048d578063e9e96c70146104b3578063f40d7c30146104f1578063fdd9ec7d1461050257600080fd5b8063a972d6981461041d578063bf1db3f914610449578063bf7e214f1461045c578063d2213b5b1461046d57600080fd5b806399a228e5116100de57806399a228e5146103e75780639ef6ddc9146103ef578063a284482414610402578063a89896751461040a57600080fd5b80637a9e5e4b146103a05780638fb36037146103b357806393a7e711146103d457600080fd5b806311edceaa116101715780635ab1bd531161014b5780635ab1bd531461032a5780636428e2631461035057806371ed16e41461036357806379cbc5fa1461037957600080fd5b806311edceaa146102b857806330ac5bf2146102db57806331d53763146102f057600080fd5b80630af43fe1116101ad5780630af43fe11461026f5780630d358181146102775780630e41142e1461029d5780630e6d1de9146102a857600080fd5b8062d19f30146101d357806301bc45c91461021057806305c937ed1461024f575b600080fd5b6101f96101e13660046120ee565b60ff9081166000908152600960205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102377f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610207565b6102596208052081565b60405164ffffffffff9091168152602001610207565b6101f961052d565b6101f96102853660046120ee565b60ff9081166000908152600160205260409020541690565b60085460ff166101f9565b600854610100900460ff166101f9565b6102cb6102c63660046120ee565b610697565b6040519015158152602001610207565b6102ee6102e93660046120ee565b6106c6565b005b6103036102fe366004612120565b6107c3565b604080516001600160a01b03909416845260ff909216602084015290820152606001610207565b7f0000000000000000000000000000000000000000000000000000000000000000610237565b6102ee61035e3660046120ee565b610b66565b61036b610cbe565b604051908152602001610207565b6102377f000000000000000000000000000000000000000000000000000000000000000081565b6102ee6103ae36600461214c565b610cd5565b6103bb610d4f565b6040516001600160e01b03199091168152602001610207565b6102376103e2366004612169565b610d73565b61036b600381565b6102cb6103fd36600461214c565b610dd8565b6102ee610e04565b6102ee6104183660046121ab565b6110a1565b61023761042b3660046120ee565b60ff166000908152600660205260409020546001600160a01b031690565b6102cb6104573660046120ee565b6111b0565b6000546001600160a01b0316610237565b61048061047b3660046120ee565b611239565b60405161020791906122ce565b7f0000000000000000000000000000000000000000000000000000000000000000610237565b6102cb6104c13660046121ab565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b60085462010000900460ff166101f9565b61051561051036600461214c565b611472565b6040516001600160601b039091168152602001610207565b600061053c335b60003661182f565b600854604051632b10f60d60e21b81526201000090910460ff16600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af415801561059f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c391906123ad565b6105ce9060016123dc565b6040518263ffffffff1660e01b81526004016105ec91815260200190565b602060405180830381865af4158015610609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062d91906123ff565b6008805460ff92909216620100000262ff0000199092169190911790556000600b819055600a5561065f610285600790565b60088054620100009081900460ff9081166000908152600960205260409020805460ff19169482169490941790935590540416919050565b60ff81811660009081526009602052604081205490916106c0911660045b60ff90811691161490565b92915050565b6106cf33610534565b60ff81811660009081526009602052604090205416600461071b60075b60ff90811660009081526002602090815260408083208488168452825280832084871684529091529020541690565b61074a576040516331ec295f60e01b815260ff8085166004830152831660248201526044015b60405180910390fd5b60ff8381166000818152600960209081526040808320805460ff191695871695909517909455600580825291849020909101805469ffffffffff00000000001916905591519081527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb99291015b60405180910390a1505050565b600080806107d033610534565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612427565b600854604051632b10f60d60e21b81526201000090910460ff166004820181905291945090925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156108b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d991906123ad565b604080516020810192909252810185905260600160405160208183030381529060405280519060200120905061092c610910600790565b60ff8481166000908152600960205260409020541660036104c1565b61096a5760ff8281166000818152600960205260409081902054905163c717747960e01b815260048101929092529091166024820152604401610741565b60ff82166000908152600960209081526040808320805460ff1916600317905580516376b707b760e01b815290516001600160a01b038916926376b707b792600480820193918290030181865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed91906123ff565b905060ff80821690841614610a215760405162c866d560e21b815260ff808516600483015282166024820152604401610741565b6000866001600160a01b03166368c55b136040518163ffffffff1660e01b8152600401600060405180830381865afa158015610a61573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a8991908101906124b4565b51905080600003610ab257604051635302597d60e01b815260ff85166004820152602401610741565b600b5415610af45760ff8481166000818152600960205260409081902054905163c238a09360e01b815260048101929092529091166024820152604401610741565b600b81905560ff841660008181526006602090815260409182902080546001600160a01b0319166001600160a01b038c16179055815192835282018590527f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa5507910160405180910390a150509250925092565b610b6f33610534565b60ff81811660009081526009602052604090205416606e610b9060076106ec565b610bba576040516331ec295f60e01b815260ff808516600483015283166024820152604401610741565b60ff838116600090815260096020908152604091829020805460ff19169385169390931790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610c2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4f9190612566565b60ff8416600081815260056020818152604092839020909101805464ffffffffff95909516650100000000000269ffffffffff00000000001990951694909417909355519081527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e82691016107b6565b6000600a54600b54610cd0919061258d565b905090565b60005433906001600160a01b03168114610d0c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610741565b816001600160a01b03163b600003610d42576040516361798f2f60e11b81526001600160a01b0383166004820152602401610741565b610d4b8261192f565b5050565b60008054600160a01b900460ff16610d675750600090565b50638fb3603760e01b90565b604051603881018290526f5af43d82803e903d91602b57fd5bf3ff602482015260148101849052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018390526037600c820120607882015260556043909101206000905b949350505050565b6001600160a01b03811660009081526007602052604081205460ff16610dfd81610697565b9392505050565b610e0d33610534565b60085460ff6201000090910481166000818152600960205260409020549091166004610e3960076106ec565b610e63576040516331ec295f60e01b815260ff808516600483015283166024820152604401610741565b600b54600a541015610ea45782600a54600b54610e80919061258d565b60405163c90aac6160e01b815260ff90921660048301526024820152604401610741565b60006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360026040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190612427565b90506001600160a01b038116610f6f57604051638047661960e01b815260ff85166004820152602401610741565b6008805460ff808716610100810261ff0019909316929092179092556000818152600960209081526040808320805495881660ff199687161790556001600160a01b03861683526007825291829020805490941690921790925581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015611014573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110389190612566565b60ff8516600081815260056020818152604092839020909101805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a150505050565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a91906125b0565b1561114d576040516321b9f44760e01b815260ff84166004820152602401610741565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111ab57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610741565b505050565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c091906125b0565b6040805160e08082018352600080835260208084018290526060848601819052808501819052608085015260a0840182905260c0840182905260ff8681168352600582529185902085519384018652805490921683526001820154838201526002820180548651818402810184018852818152959694959394860193928301828280156112ef57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116112d1575b5050505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b828210156113c957838290600052602060002001805461133c906125cb565b80601f0160208091040260200160405190810160405280929190818152602001828054611368906125cb565b80156113b55780601f1061138a576101008083540402835291602001916113b5565b820191906000526020600020905b81548152906001019060200180831161139857829003601f168201915b50505050508152602001906001019061131d565b5050505081526020016004820180548060200260200160405190810160405280929190818152602001828054801561143e57602002820191906000526020600020906000905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161140f5790505b50505091835250506005919091015464ffffffffff8082166020840152650100000000009091041660409091015292915050565b600061147d33610534565b60085460ff6201000090910481166000818152600960205260409020549091166114aa60078260036104c1565b6114cc576040516316997edd60e11b815260ff82166004820152602401610741565b60ff82166000908152600960205260409020805460ff19166003179055600a54600b540361150d57604051630a7d531760e31b815260040160405180910390fd5b600080600061151b87611983565b60ff881660009081526006602052604080822054600a54915162212fa360ea1b81526004810192909252949750929550909350916001600160a01b0316906384be8c0090602401602060405180830381865afa15801561157f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a391906123ff565b905060ff808416908216146115d8576040516331ca5aff60e11b815260ff808316600483015284166024820152604401610741565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a569061162890879086908890600401612605565b6020604051808303816000875af1158015611647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166b91906126c2565b9650876001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303816000875af11580156116ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d191906126c2565b50600a80549060006116e2836126dd565b909155505060ff86166000908152600660205260409081902054905163122beb2560e11b81526001600160a01b03918216600482015289821660248201527f000000000000000000000000000000000000000000000000000000000000000090911690632457d64a90604401600060405180830381600087803b15801561176857600080fd5b505af115801561177c573d6000803e3d6000fd5b5050505061178c836106b5600390565b8061179a575060ff8316600f145b156118245760405163420e0b3560e01b81526001600160a01b03898116600483015260ff851660248301527f0000000000000000000000000000000000000000000000000000000000000000169063420e0b3590604401600060405180830381600087803b15801561180b57600080fd5b505af115801561181f573d6000803e3d6000fd5b505050505b505050505050919050565b6000806118656118476000546001600160a01b031690565b863061185760046000898b6126f6565b61186091612720565b611da8565b91509150816119285763ffffffff811615611905576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906118c090889088908890600401612750565b600060405180830381600087803b1580156118da57600080fd5b505af11580156118ee573d6000803e3d6000fd5b50506000805460ff60a01b19169055506119289050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610741565b5050505050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040805160e08101825260008082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2d91906125b0565b611a5557604051631fdf992160e01b81526001600160a01b0385166004820152602401610741565b60003390506000856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abe9190612427565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b229190612790565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b91906123ff565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff91906123ff565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c3f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c679190810190612819565b9450611c74868684611eb4565b6000600860029054906101000a900460ff16905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0c9190612427565b9050806001600160a01b0316836001600160a01b031614611d5b5760405163179dce5160e11b81526001600160a01b03808a166004830152808516602483015282166044820152606401610741565b60ff80861690831614611d9d57604051632dd6635560e21b81526001600160a01b038916600482015260ff808716602483015283166044820152606401610741565b505050509193909250565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e1791906128ec565b600060405180830381855afa9150503d8060008114611e52576040519150601f19603f3d011682016040523d82523d6000602084013e611e57565b606091505b50915091508115611ea9576040815110611e895780806020019051810190611e7f9190612908565b9094509250611ea9565b6020815110611ea95780806020019051810190611ea691906125b0565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614611efc5760405163396d48c960e11b81526001600160a01b038416600482018190526024820152604401610741565b606082015115611f375760608201516040516376d381b160e01b81526001600160a01b03851660048201529015156024820152604401610741565b611f538260400151611f47600990565b60ff9081169116141590565b15611f92576040828101519051630c6c87c560e41b81526001600160a01b03851660048201526009602482015260ff9091166044820152606401610741565b60a08201516001600160a01b0380821690831614611fde576040516314cc941d60e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610741565b836001600160a01b0316816001600160a01b03160361201b5760405163f80468a760e01b81526001600160a01b0385166004820152602401610741565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a591906125b0565b156120d65760405163976310fb60e01b81526001600160a01b03808616600483015282166024820152604401610741565b50505050565b60ff811681146120eb57600080fd5b50565b60006020828403121561210057600080fd5b8135610dfd816120dc565b6001600160a01b03811681146120eb57600080fd5b6000806040838503121561213357600080fd5b823561213e8161210b565b946020939093013593505050565b60006020828403121561215e57600080fd5b8135610dfd8161210b565b60008060006060848603121561217e57600080fd5b83356121898161210b565b92506020840135915060408401356121a08161210b565b809150509250925092565b6000806000606084860312156121c057600080fd5b83356121cb816120dc565b925060208401356121db816120dc565b915060408401356121a0816120dc565b60005b838110156122065781810151838201526020016121ee565b50506000910152565b600081518084526122278160208601602086016121eb565b601f01601f19169290920160200192915050565b600081518084526020808501808196508360051b8101915082860160005b8581101561228357828403895261227184835161220f565b98850198935090840190600101612259565b5091979650505050505050565b600081518084526020808501945080840160005b838110156122c357815160ff16875295820195908201906001016122a4565b509495945050505050565b60006020808352610100830160ff85511682850152818501516040850152604085015160e06060860152818151808452610120870191508483019350600092505b808310156123385783516001600160a01b0316825292840192600192909201919084019061230f565b5060608701519350601f19925082868203016080870152612359818561223b565b935050506080850151818584030160a08601526123768382612290565b9250505060a084015161239260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e0850152509392505050565b6000602082840312156123bf57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106c0576106c06123c6565b80516123fa816120dc565b919050565b60006020828403121561241157600080fd5b8151610dfd816120dc565b80516123fa8161210b565b60006020828403121561243957600080fd5b8151610dfd8161210b565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561247d5761247d612444565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156124ac576124ac612444565b604052919050565b600060208083850312156124c757600080fd5b825167ffffffffffffffff808211156124df57600080fd5b818501915085601f8301126124f357600080fd5b81518181111561250557612505612444565b8060051b9150612516848301612483565b818152918301840191848101908884111561253057600080fd5b938501935b8385101561255a578451925061254a836120dc565b8282529385019390850190612535565b98975050505050505050565b60006020828403121561257857600080fd5b815164ffffffffff81168114610dfd57600080fd5b818103818111156106c0576106c06123c6565b805180151581146123fa57600080fd5b6000602082840312156125c257600080fd5b610dfd826125a0565b600181811c908216806125df57607f821691505b6020821081036125ff57634e487b7160e01b600052602260045260246000fd5b50919050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261268861014084018261220f565b91505061269a602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b03811681146123fa57600080fd5b6000602082840312156126d457600080fd5b610dfd826126ab565b6000600182016126ef576126ef6123c6565b5060010190565b6000808585111561270657600080fd5b8386111561271357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127485780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000602082840312156127a257600080fd5b815162ffffff81168114610dfd57600080fd5b600082601f8301126127c657600080fd5b815167ffffffffffffffff8111156127e0576127e0612444565b6127f3601f8201601f1916602001612483565b81815284602083860101111561280857600080fd5b610dd08260208301602087016121eb565b60006020828403121561282b57600080fd5b815167ffffffffffffffff8082111561284357600080fd5b9083019060e0828603121561285757600080fd5b61285f61245a565b612868836126ab565b8152612876602084016126ab565b6020820152612887604084016123ef565b6040820152612898606084016125a0565b60608201526128a96080840161241c565b60808201526128ba60a0840161241c565b60a082015260c0830151828111156128d157600080fd5b6128dd878286016127b5565b60c08301525095945050505050565b600082516128fe8184602087016121eb565b9190910192915050565b6000806040838503121561291b57600080fd5b612924836125a0565b9150602083015163ffffffff8116811461293d57600080fd5b80915050925092905056fea2646970667358221220983a006c9cb516ff5171ee63018cd95de5f1435026c90c41a242e52fec028b2564736f6c63430008140033",
467
1055
  "linkReferences": {
468
- "contracts/types/NftId.sol": {
1056
+ "contracts/type/NftId.sol": {
469
1057
  "NftIdLib": [
470
1058
  {
471
1059
  "length": 20,
472
- "start": 14160
473
- },
474
- {
475
- "length": 20,
476
- "start": 14624
477
- },
1060
+ "start": 1021
1061
+ }
1062
+ ]
1063
+ },
1064
+ "contracts/type/StateId.sol": {
1065
+ "StateIdLib": [
478
1066
  {
479
1067
  "length": 20,
480
- "start": 16116
1068
+ "start": 6119
481
1069
  },
482
1070
  {
483
1071
  "length": 20,
484
- "start": 17749
1072
+ "start": 6390
485
1073
  }
486
1074
  ]
487
1075
  },
488
- "contracts/types/ObjectType.sol": {
489
- "ObjectTypeLib": [
1076
+ "contracts/type/Timestamp.sol": {
1077
+ "TimestampLib": [
490
1078
  {
491
1079
  "length": 20,
492
- "start": 5848
1080
+ "start": 4876
493
1081
  },
494
1082
  {
495
1083
  "length": 20,
496
- "start": 16700
1084
+ "start": 5876
497
1085
  }
498
1086
  ]
499
1087
  },
500
- "contracts/types/Timestamp.sol": {
501
- "TimestampLib": [
1088
+ "contracts/type/Version.sol": {
1089
+ "VersionLib": [
502
1090
  {
503
1091
  "length": 20,
504
- "start": 6236
1092
+ "start": 8792
505
1093
  }
506
- ]
507
- },
508
- "contracts/types/Version.sol": {
1094
+ ],
509
1095
  "VersionPartLib": [
510
1096
  {
511
1097
  "length": 20,
512
- "start": 192
1098
+ "start": 390
1099
+ },
1100
+ {
1101
+ "length": 20,
1102
+ "start": 509
513
1103
  },
514
1104
  {
515
1105
  "length": 20,
516
- "start": 1549
1106
+ "start": 3192
1107
+ },
1108
+ {
1109
+ "length": 20,
1110
+ "start": 3990
517
1111
  }
518
1112
  ]
519
1113
  }
520
1114
  },
521
1115
  "deployedLinkReferences": {
522
- "contracts/types/ObjectType.sol": {
523
- "ObjectTypeLib": [
1116
+ "contracts/type/StateId.sol": {
1117
+ "StateIdLib": [
1118
+ {
1119
+ "length": 20,
1120
+ "start": 4300
1121
+ },
524
1122
  {
525
1123
  "length": 20,
526
- "start": 5015
1124
+ "start": 4571
527
1125
  }
528
1126
  ]
529
1127
  },
530
- "contracts/types/Timestamp.sol": {
1128
+ "contracts/type/Timestamp.sol": {
531
1129
  "TimestampLib": [
532
1130
  {
533
1131
  "length": 20,
534
- "start": 5403
1132
+ "start": 3057
1133
+ },
1134
+ {
1135
+ "length": 20,
1136
+ "start": 4057
535
1137
  }
536
1138
  ]
537
1139
  },
538
- "contracts/types/Version.sol": {
1140
+ "contracts/type/Version.sol": {
1141
+ "VersionLib": [
1142
+ {
1143
+ "length": 20,
1144
+ "start": 6973
1145
+ }
1146
+ ],
539
1147
  "VersionPartLib": [
540
1148
  {
541
1149
  "length": 20,
542
- "start": 716
1150
+ "start": 1373
1151
+ },
1152
+ {
1153
+ "length": 20,
1154
+ "start": 2171
543
1155
  }
544
1156
  ]
545
1157
  }