@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e2a57af-971

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. package/README.md +160 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +656 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +396 -104
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +152 -165
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +480 -9
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +526 -65
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +571 -30
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +455 -201
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +474 -139
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1035 -995
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{service/IComponentOwnerService.sol/IComponentOwnerService.json → IInstanceService.sol/IInstanceService.json} +176 -56
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +1821 -1096
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1034 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1381 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1024 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +473 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +134 -75
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  73. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  83. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  84. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  85. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  87. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
  89. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +194 -52
  93. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +437 -0
  95. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +715 -0
  97. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -18
  99. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
  101. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +15 -82
  103. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +25 -245
  105. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
  107. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
  109. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +181 -128
  111. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +437 -0
  113. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +174 -386
  115. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -0
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  118. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +340 -60
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +220 -111
  123. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  124. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  125. package/artifacts/contracts/registry/Registry.sol/Registry.json +301 -188
  126. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +83 -128
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +59 -85
  132. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +394 -0
  136. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
  142. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +14 -19
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
  151. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +28 -33
  153. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  155. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  157. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  163. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestService.sol/TestService.json +58 -34
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  170. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  171. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  189. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  191. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  193. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  195. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  197. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  203. package/contracts/components/Component.sol +216 -0
  204. package/contracts/components/Distribution.sol +49 -53
  205. package/contracts/components/IComponent.sol +43 -0
  206. package/contracts/components/IDistributionComponent.sol +6 -5
  207. package/contracts/components/IPoolComponent.sol +11 -15
  208. package/contracts/components/IProductComponent.sol +9 -7
  209. package/contracts/components/Pool.sol +77 -96
  210. package/contracts/components/Product.sol +82 -116
  211. package/contracts/experiment/cloning/Cloner.sol +47 -0
  212. package/contracts/instance/BundleManager.sol +125 -0
  213. package/contracts/instance/Cloneable.sol +46 -0
  214. package/contracts/instance/IInstance.sol +64 -44
  215. package/contracts/instance/IInstanceService.sol +41 -0
  216. package/contracts/instance/Instance.sol +251 -65
  217. package/contracts/instance/InstanceAccessManager.sol +298 -0
  218. package/contracts/instance/InstanceReader.sol +293 -0
  219. package/contracts/instance/InstanceService.sol +442 -0
  220. package/contracts/instance/InstanceServiceManager.sol +54 -0
  221. package/contracts/instance/ObjectManager.sol +84 -0
  222. package/contracts/instance/base/ComponentService.sol +134 -0
  223. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  224. package/contracts/instance/base/ILifecycle.sol +3 -3
  225. package/contracts/instance/base/KeyValueStore.sol +49 -38
  226. package/contracts/instance/base/Lifecycle.sol +1 -1
  227. package/contracts/instance/module/IAccess.sol +48 -0
  228. package/contracts/instance/module/IBundle.sol +20 -0
  229. package/contracts/instance/module/IDistribution.sol +39 -0
  230. package/contracts/instance/module/IPolicy.sol +45 -0
  231. package/contracts/instance/module/IRisk.sol +11 -0
  232. package/contracts/instance/module/ISetup.sol +46 -0
  233. package/contracts/instance/module/ITreasury.sol +23 -0
  234. package/contracts/instance/service/BundleService.sol +293 -0
  235. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  236. package/contracts/instance/service/DistributionService.sol +72 -20
  237. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  238. package/contracts/instance/service/IBundleService.sol +44 -0
  239. package/contracts/instance/service/IDistributionService.sol +1 -1
  240. package/contracts/instance/service/IPolicyService.sol +94 -0
  241. package/contracts/instance/service/IPoolService.sol +7 -24
  242. package/contracts/instance/service/IProductService.sol +9 -76
  243. package/contracts/instance/service/PolicyService.sol +538 -0
  244. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  245. package/contracts/instance/service/PoolService.sol +77 -116
  246. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  247. package/contracts/instance/service/ProductService.sol +156 -432
  248. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  249. package/contracts/registry/ChainNft.sol +39 -24
  250. package/contracts/registry/IRegistry.sol +49 -8
  251. package/contracts/registry/IRegistryService.sol +50 -20
  252. package/contracts/registry/Registry.sol +251 -225
  253. package/contracts/registry/RegistryAccessManager.sol +216 -0
  254. package/contracts/registry/RegistryService.sol +84 -263
  255. package/contracts/registry/RegistryServiceManager.sol +20 -21
  256. package/contracts/registry/ReleaseManager.sol +332 -0
  257. package/contracts/registry/TokenRegistry.sol +112 -0
  258. package/contracts/shared/ERC165.sol +6 -2
  259. package/contracts/shared/IRegisterable.sol +1 -3
  260. package/contracts/shared/IService.sol +16 -0
  261. package/contracts/shared/NftOwnable.sol +7 -4
  262. package/contracts/shared/ProxyManager.sol +1 -1
  263. package/contracts/shared/Registerable.sol +11 -14
  264. package/contracts/shared/Service.sol +60 -0
  265. package/contracts/shared/TokenHandler.sol +27 -0
  266. package/contracts/shared/Versionable.sol +2 -2
  267. package/contracts/test/TestRoleId.sol +1 -1
  268. package/contracts/test/TestService.sol +6 -7
  269. package/contracts/types/DistributorType.sol +55 -0
  270. package/contracts/types/Key32.sol +8 -3
  271. package/contracts/types/NftIdSet.sol +26 -24
  272. package/contracts/types/NumberId.sol +52 -0
  273. package/contracts/types/ObjectType.sol +35 -14
  274. package/contracts/types/Referral.sol +85 -0
  275. package/contracts/types/RoleId.sol +60 -15
  276. package/contracts/types/StateId.sol +5 -1
  277. package/contracts/types/Timestamp.sol +7 -3
  278. package/contracts/types/Version.sol +4 -1
  279. package/package.json +1 -1
  280. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  281. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  282. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  283. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  284. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  285. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  286. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  287. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  288. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  289. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  290. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  291. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  292. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  293. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  294. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  295. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  298. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  299. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  300. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  301. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  302. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  303. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  304. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  305. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  306. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  309. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  312. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  314. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  316. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  318. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  320. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  323. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  325. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  328. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  330. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  332. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  333. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  334. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  335. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  336. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  337. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  338. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  339. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  340. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  341. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  342. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  343. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  344. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  345. package/contracts/components/BaseComponent.sol +0 -79
  346. package/contracts/components/IBaseComponent.sol +0 -19
  347. package/contracts/instance/IInstanceLinked.sol +0 -8
  348. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  349. package/contracts/instance/base/IInstanceBase.sol +0 -23
  350. package/contracts/instance/base/IService.sol +0 -15
  351. package/contracts/instance/base/InstanceBase.sol +0 -89
  352. package/contracts/instance/base/ModuleBase.sol +0 -57
  353. package/contracts/instance/base/ServiceBase.sol +0 -44
  354. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  355. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  356. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  357. package/contracts/instance/module/component/IComponent.sol +0 -28
  358. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  359. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  360. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  361. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  362. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  363. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  364. package/contracts/instance/module/risk/IRisk.sol +0 -26
  365. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  366. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  367. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  368. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  369. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  370. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  371. package/contracts/registry/IChainNft.sol +0 -22
  372. package/contracts/test/TestDistribution.sol +0 -22
  373. package/contracts/test/TestPool.sol +0 -27
  374. package/contracts/test/TestProduct.sol +0 -74
  375. package/contracts/types/ReferralId.sol +0 -48
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/c602c9fb7c3787ae3733e76162fbfd0a.json"
4
+ }
@@ -0,0 +1,473 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceServiceManager",
4
+ "sourceName": "contracts/instance/InstanceServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registryAddress",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "ErrorAlreadyDeployed",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "ErrorAlreadyDeployedWithSalt",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "registry",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "NftId",
36
+ "name": "nftId",
37
+ "type": "uint96"
38
+ }
39
+ ],
40
+ "name": "ErrorAlreadyLinked",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "contractAddress",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorContractNotRegistered",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "account",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ErrorNotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registryAddress",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotRegistry",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorNotYetDeployed",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorRegistryAddressZero",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "registry",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorRegistryAlreadyInitialized",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "ErrorRegistryNotInitialized",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": true,
107
+ "internalType": "address",
108
+ "name": "proxy",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "address",
114
+ "name": "initialImplementation",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "name": "LogProxyDeployed",
119
+ "type": "event"
120
+ },
121
+ {
122
+ "anonymous": false,
123
+ "inputs": [
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "proxy",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": false,
132
+ "internalType": "address",
133
+ "name": "initialImplementation",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "LogProxyDeployedWithSalt",
138
+ "type": "event"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": true,
145
+ "internalType": "address",
146
+ "name": "proxy",
147
+ "type": "address"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "address",
152
+ "name": "upgradedImplementation",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "LogProxyUpgraded",
157
+ "type": "event"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "address",
163
+ "name": "initialImplementation",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "internalType": "bytes",
168
+ "name": "initializationData",
169
+ "type": "bytes"
170
+ }
171
+ ],
172
+ "name": "deploy",
173
+ "outputs": [
174
+ {
175
+ "internalType": "contract IVersionable",
176
+ "name": "versionable",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "stateMutability": "nonpayable",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "implementation",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "internalType": "address",
192
+ "name": "proxyOwner",
193
+ "type": "address"
194
+ },
195
+ {
196
+ "internalType": "bytes",
197
+ "name": "deployData",
198
+ "type": "bytes"
199
+ }
200
+ ],
201
+ "name": "getDeployData",
202
+ "outputs": [
203
+ {
204
+ "internalType": "bytes",
205
+ "name": "data",
206
+ "type": "bytes"
207
+ }
208
+ ],
209
+ "stateMutability": "pure",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "getInitialOwner",
215
+ "outputs": [
216
+ {
217
+ "internalType": "address",
218
+ "name": "",
219
+ "type": "address"
220
+ }
221
+ ],
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "getInstanceService",
228
+ "outputs": [
229
+ {
230
+ "internalType": "contract InstanceService",
231
+ "name": "instanceService",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "stateMutability": "view",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "getNftId",
241
+ "outputs": [
242
+ {
243
+ "internalType": "NftId",
244
+ "name": "",
245
+ "type": "uint96"
246
+ }
247
+ ],
248
+ "stateMutability": "view",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "getOwner",
254
+ "outputs": [
255
+ {
256
+ "internalType": "address",
257
+ "name": "",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "getProxy",
267
+ "outputs": [
268
+ {
269
+ "internalType": "contract UpgradableProxyWithAdmin",
270
+ "name": "",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "getRegistry",
280
+ "outputs": [
281
+ {
282
+ "internalType": "contract IRegistry",
283
+ "name": "",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "stateMutability": "view",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [
292
+ {
293
+ "internalType": "address",
294
+ "name": "implementation",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "internalType": "address",
299
+ "name": "proxyOwner",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "internalType": "bytes",
304
+ "name": "upgradeData",
305
+ "type": "bytes"
306
+ }
307
+ ],
308
+ "name": "getUpgradeData",
309
+ "outputs": [
310
+ {
311
+ "internalType": "bytes",
312
+ "name": "data",
313
+ "type": "bytes"
314
+ }
315
+ ],
316
+ "stateMutability": "pure",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "inputs": [],
321
+ "name": "linkToRegisteredNftId",
322
+ "outputs": [],
323
+ "stateMutability": "nonpayable",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "address",
330
+ "name": "newImplementation",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "internalType": "bytes",
335
+ "name": "upgradeData",
336
+ "type": "bytes"
337
+ }
338
+ ],
339
+ "name": "upgrade",
340
+ "outputs": [
341
+ {
342
+ "internalType": "contract IVersionable",
343
+ "name": "versionable",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "stateMutability": "nonpayable",
348
+ "type": "function"
349
+ }
350
+ ],
351
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162009036380380620090368339810160408190526200003491620003b6565b600180546001600160a01b0319163317905560405160009062000057906200039a565b604051809103906000f08015801562000074573d6000803e3d6000fd5b50604080516001600160a01b0385166020820152308183015281518082038301815260609091019091529091506000620000af8383620000da565b600380546001600160a01b0319166001600160a01b0392909216919091179055506200047892505050565b6000620000e66200021b565b6001600160a01b0316336001600160a01b0316146200011e5760405163700dd81160e01b815233600482015260240160405180910390fd5b600254600160a01b900460ff16156200014a576040516375842f8760e01b815260040160405180910390fd5b6002805460ff60a01b1916600160a01b1790556000620001696200021b565b90503060006200017b8684876200033e565b90508582826040516200018e90620003a8565b6200019c93929190620003e8565b604051809103906000f080158015620001b9573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200027f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a5919062000454565b156200032e57600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000303573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003299190620003b6565b905090565b506001546001600160a01b031690565b606063cf7a1d7760e01b8484846040516024016200035f93929190620003e8565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b6161db8062001f2c83390190565b610f2f806200810783390190565b600060208284031215620003c957600080fd5b81516001600160a01b0381168114620003e157600080fd5b9392505050565b600060018060a01b038086168352602081861681850152606060408501528451915081606085015260005b82811015620004315785810182015185820160800152810162000413565b50506000608082850101526080601f19601f830116840101915050949350505050565b6000602082840312156200046757600080fd5b81518015158114620003e157600080fd5b611aa480620004886000396000f3fe60806040523480156200001157600080fd5b5060043610620000b75760003560e01c8063aef485a0116200007a578063aef485a0146200013a578063c987336c1462000160578063cc9fc59a1462000177578063e97fac051462000189578063f687676814620001a0578063fb2cb10114620001b757600080fd5b8063138461e014620000bc5780635ab1bd5314620000c8578063644c45e014620000f2578063893d20e8146200011e578063933a9ce81462000128575b600080fd5b620000c6620001c9565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001620000e9565b620000d5620003f8565b6002546001600160a01b0316620000d5565b620001516200014b36600462000975565b6200051b565b604051620000e9919062000a27565b620000d56200017136600462000a43565b62000577565b6003546001600160a01b0316620000d5565b620000d56200019a36600462000a43565b62000744565b62000151620001b136600462000975565b62000882565b6001546001600160a01b0316620000d5565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200022c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000252919062000a99565b156200029a576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6000546001600160a01b0316620002c45760405163cf29926160e01b815260040160405180910390fd5b60005460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156200030e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000334919062000a99565b6200035e576040516372657a5160e01b81526001600160a01b038216600482015260240162000291565b600054604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620003a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003cf919062000abd565b600060146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000482919062000a99565b156200050b57600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015620004e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000506919062000ae8565b905090565b506001546001600160a01b031690565b606063a745e3df60e01b8484846040516024016200053c9392919062000b08565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600062000583620003f8565b6001600160a01b0316336001600160a01b031614620005b85760405163700dd81160e01b815233600482015260240162000291565b600254600160a01b900460ff16620005e357604051631e35411160e31b815260040160405180910390fd5b6000620005ef620003f8565b90506000620006066002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000646573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200066c919062000ae8565b6002549091506001600160a01b031660006200068a8785886200051b565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620006bf9085908b90869060040162000b08565b600060405180830381600087803b158015620006da57600080fd5b505af1158015620006ef573d6000803e3d6000fd5b50506002546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000750620003f8565b6001600160a01b0316336001600160a01b031614620007855760405163700dd81160e01b815233600482015260240162000291565b600254600160a01b900460ff1615620007b1576040516375842f8760e01b815260040160405180910390fd5b6002805460ff60a01b1916600160a01b1790556000620007d0620003f8565b9050306000620007e286848762000882565b9050858282604051620007f590620008a3565b620008039392919062000b08565b604051809103906000f08015801562000820573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b606063cf7a1d7760e01b8484846040516024016200053c9392919062000b08565b610f2f8062000b4083390190565b6001600160a01b0381168114620008c757600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620008f257600080fd5b813567ffffffffffffffff80821115620009105762000910620008ca565b604051601f8301601f19908116603f011681019082821181831017156200093b576200093b620008ca565b816040528381528660208588010111156200095557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200098b57600080fd5b83356200099881620008b1565b92506020840135620009aa81620008b1565b9150604084013567ffffffffffffffff811115620009c757600080fd5b620009d586828701620008e0565b9150509250925092565b6000815180845260005b8181101562000a0757602081850181015186830182015201620009e9565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000a3c6020830184620009df565b9392505050565b6000806040838503121562000a5757600080fd5b823562000a6481620008b1565b9150602083013567ffffffffffffffff81111562000a8157600080fd5b62000a8f85828601620008e0565b9150509250929050565b60006020828403121562000aac57600080fd5b8151801515811462000a3c57600080fd5b60006020828403121562000ad057600080fd5b81516001600160601b038116811462000a3c57600080fd5b60006020828403121562000afb57600080fd5b815162000a3c81620008b1565b6001600160a01b0384811682528316602082015260606040820181905260009062000b3690830184620009df565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea264697066735822122061d21ea0f293a274302e47ad0e30c5fb666a07dc4f8e1cfa79d3064668655aa064736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a2646970667358221220847431d84b66fe37e6122638c003ec8998841858d89dc75af109e8d205e9755964736f6c6343000814003360806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6160a1806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636a778e731161011a578063c22f980d116100ad578063eb59c6b11161007c578063eb59c6b114610596578063edabac03146105a7578063eeff428e146105b8578063fb2cb10114610603578063feec11901461061457600080fd5b8063c22f980d14610557578063cde749f41461056a578063cf7a1d7714610572578063e338e27b1461058557600080fd5b8063a745e3df116100e9578063a745e3df146104fc578063b3c650151461050f578063b68d18091461052f578063b88da7591461054457600080fd5b80636a778e73146104b2578063872309c7146104c5578063893d20e8146104cd578063946dfcfe146104d557600080fd5b806335241c06116101925780634f421333116101615780634f4213331461044f5780635ab1bd531461046257806363709eaf14610473578063644c45e01461048657600080fd5b806335241c06146102fd5780634b78ec38146103105780634ce05edc146103235780634d459c901461033657600080fd5b8063138461e0116101ce578063138461e0146102865780631d4e386a146102905780631eff4b22146102a35780632b440bc9146102d857600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063103bd5da14610273575b600080fd5b61022d61020e366004615556565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610627565b60405162ffffff9091168152602001610239565b6102666106b1565b60405161023991906155d0565b61022d610281366004615685565b61086a565b61028e610952565b005b61028e61029e3660046156e5565b610b74565b6102ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e61030b366004615811565b6110da565b61028e61031e3660046156e5565b6112ec565b61028e6103313660046156e5565b6116cc565b6103f2610344366004615883565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061604c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61022d61045d366004615883565b611bcb565b6001546001600160a01b03166102e5565b61028e6104813660046158ae565b611c7e565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610239565b61049a6104c03660046158f4565b611ed0565b6102ca600081565b6102e561270b565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ca565b61028e61050a366004615911565b612824565b61051761297e565b6040516001600160401b039091168152602001610239565b60465b60405160ff9091168152602001610239565b61024a61055236600461597c565b61299f565b61028e610565366004615995565b6129f0565b610532612bfe565b61028e610580366004615911565b612c81565b6004546001600160a01b03166102e5565b6006546001600160a01b03166102e5565b6005546001600160a01b03166102e5565b6105c0612d8a565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610239565b6002546001600160a01b03166102e5565b61028e6106223660046158f4565b613354565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906159b2565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061075c906159cf565b80601f0160208091040260200160405190810160405280929190818152602001828054610788906159cf565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b50505050508152505090506040518060e001604052806107f3600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161084e6002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d49190615a14565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906109059088908a90600401615a31565b602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190615a5e565b925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190615a5e565b15610a1f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a485760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190615a5e565b610add576040516372657a5160e01b81526001600160a01b0382166004820152602401610a16565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190615a86565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b33610b876001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf39190615a5e565b610c1b576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b6000610c2f6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca39190810190615b0d565b9050610cc18160400151610cb5608c90565b60ff9081169116141590565b15610d045783608c5b60408084015190516304dd29ef60e21b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610a16565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190615b0d565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb9190615a14565b604080516003808252608082019092529192506000919060208201606080368337019050509050638267876660e01b81600081518110610e2d57610e2d615bdf565b6001600160e01b0319909216602092830291909101909101528051637c1e845d60e11b9082906001908110610e6457610e64615bdf565b6001600160e01b031990921660209283029190910190910152805163a69df4b560e01b9082906002908110610e9b57610e9b615bdf565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f329190810190615bf5565b83610f3b6135d4565b6040518463ffffffff1660e01b8152600401610f5993929190615c82565b600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b506000925060019150610f979050565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b5090506365effc1a60e01b81600081518110610fde57610fde615bdf565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561104d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110759190810190615bf5565b8361107e61364d565b6040518463ffffffff1660e01b815260040161109c93929190615c82565b600060405180830381600087803b1580156110b657600080fd5b505af11580156110ca573d6000803e3d6000fd5b5050505050505050505050505050565b336110ed6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111599190615a5e565b611181576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006111956001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156111e8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112109190810190615b0d565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561125b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127f9190615a14565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c30906112b0908a908a90600401615cc1565b600060405180830381600087803b1580156112ca57600080fd5b505af11580156112de573d6000803e3d6000fd5b505050505050505050505050565b336112ff6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136b9190615a5e565b611393576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006113a76001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa1580156113f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261141b9190810190615b0d565b905061142d8160400151610cb5606e90565b1561143a5783606e610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561148a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114b29190810190615b0d565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115219190615a14565b60408051600380825260808201909252919250600091906020820160608036833701905050905063b6b412ba60e01b8160008151811061156357611563615bdf565b6001600160e01b0319909216602092830291909101909101528051637c1e845d60e11b908290600190811061159a5761159a615bdf565b6001600160e01b031990921660209283029190910190910152805163a69df4b560e01b90829060029081106115d1576115d1615bdf565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611640573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116689190810190615bf5565b83611671613689565b6040518463ffffffff1660e01b815260040161168f93929190615c82565b600060405180830381600087803b1580156116a957600080fd5b505af11580156116bd573d6000803e3d6000fd5b50505050505050505050505050565b336116df6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174b9190615a5e565b611773576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006117876001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa1580156117d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117fb9190810190615b0d565b905061180d8160400151610cb5607890565b1561181a57836078610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561186a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118929190810190615b0d565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119019190615a14565b604080516003808252608082019092529192506000919060208201606080368337019050509050633f52c0f660e01b8160008151811061194357611943615bdf565b6001600160e01b0319909216602092830291909101909101528051637c1e845d60e11b908290600190811061197a5761197a615bdf565b6001600160e01b031990921660209283029190910190910152805163a69df4b560e01b90829060029081106119b1576119b1615bdf565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a20573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a489190810190615bf5565b83611a516136c5565b6040518463ffffffff1660e01b8152600401611a6f93929190615c82565b600060405180830381600087803b158015611a8957600080fd5b505af1158015611a9d573d6000803e3d6000fd5b506000925060029150611aad9050565b604051908082528060200260200182016040528015611ad6578160200160208202803683370190505b509050634cf30a8460e01b81600081518110611af457611af4615bdf565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611b2b57611b2b615bdf565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611b9a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bc29190810190615bf5565b8361107e613700565b60008060008051602061604c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611c53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c779190615ce5565b1192915050565b336000611c936001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611cdf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d079190810190615b0d565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d899190615a5e565b15611db25760405163aef351c360e01b81526001600160a01b0384166004820152602401610a16565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611e08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e309190810190615b0d565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9f9190615a14565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc23906112b0908b908b90600401615cfe565b6000611eda61270b565b6001600160a01b0316336001600160a01b031614611f0d5760405163700dd81160e01b8152336004820152602401610a16565b6004546001600160a01b031615611f785760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a16565b6003546001600160a01b031615611fe95760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6006546001600160a01b03161561205a5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6001600160a01b0382166120b05760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a16565b60008290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121199190615a14565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121849190615a14565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ef9190615a14565b9050806001600160a01b0385166122525760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b6001600160a01b0383166122b35760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6001600160a01b0381166123135760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b846001600160a01b0316876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561235b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237f9190615a14565b6001600160a01b0316146123e75760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a16565b866001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561242f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124539190615a14565b6001600160a01b0316146124c15760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b866001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252d9190615a14565b6001600160a01b03161461259a5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a16565b600380546001600160a01b03199081166001600160a01b03888116919091179092556004805482168c8416179055600580548216868416179055600680549091168383161790556001546000911663d39e604360286125f7612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561263c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126609190615a14565b6004549091506001600160a01b0390811690600090831663026bc43b8361268561270b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156126d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126fa9190810190615b0d565b519c9b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190615a5e565b1561281457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156127f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615a14565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c612846610627565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa9190615d22565b60008051602061602c8339815191528054600160401b900460ff16806128dd575080546001600160401b03808416911610155b156128fb5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155612926858561373c565b61292f836139db565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106ac60008051602061602c833981519152546001600160401b031690565b600060008051602061604c83398151915260010182815481106129c4576129c4615bdf565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000612a046001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612a57573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a7f9190810190615b0d565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aee9190615a14565b9050336001600160a01b03821614612b1b576040516302613e9f60e51b8152336004820152602401610a16565b600554600090612b33906001600160a01b03166139e3565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015612b8257600080fd5b505af1158015612b96573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015612bde57600080fd5b505af1158015612bf2573d6000803e3d6000fd5b50505050505050505050565b6000612c08610627565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612c5d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615d3f565b60008051602061602c8339815191528054600160401b810460ff1615906001600160401b0316600081158015612cb45750825b90506000826001600160401b03166001148015612cd05750303b155b905081158015612cde575080155b15612cfc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612d2657845460ff60401b1916600160401b1785555b612d30888861373c565b612d3a8787613a55565b8315612d8057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381612da46001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e149190615a86565b905060006001600160a01b03841663d39e60436028612e31612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612e76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9a9190615a14565b6003549091508190612eb4906001600160a01b03166139e3565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015612ef857600080fd5b505af1158015612f0c573d6000803e3d6000fd5b5050600454612f2692506001600160a01b031690506139e3565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015612f8a57600080fd5b505af1158015612f9e573d6000803e3d6000fd5b5050600554612fb892506001600160a01b031690506139e3565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b15801561300757600080fd5b505af115801561301b573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561306257600080fd5b505af1158015613076573d6000803e3d6000fd5b505060065461309092506001600160a01b031690506139e3565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b1580156130e757600080fd5b505af11580156130fb573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561314157600080fd5b505af1158015613155573d6000803e3d6000fd5b505050506131648b8b89613b80565b8a6001600160a01b031663b428b0b061317b613bd6565b886040518363ffffffff1660e01b8152600401613199929190615a31565b6020604051808303816000875af11580156131b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131dc9190615a5e565b508a6001600160a01b031663b7d2b1626131f4613bd6565b306040518363ffffffff1660e01b8152600401613212929190615a31565b6020604051808303816000875af1158015613231573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132559190615a5e565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af11580156132aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132d29190810190615b0d565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d60405161333e94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b61335c61270b565b6001600160a01b0316336001600160a01b03161461338f5760405163700dd81160e01b8152336004820152602401610a16565b6005546001600160a01b03166133fc5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610a16565b6001600160a01b03811661345d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6005546001600160a01b03908116908216036134d45760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610a16565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa15801561351f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135439190615a14565b6001600160a01b0316146135b15760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613629573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615d22565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b613744613c11565b60008051602061604c833981519152600061377460008051602061602c833981519152546001600160401b031690565b90506000613780610627565b9050816001600160401b03166001036137ad5760028301805462ffffff191662ffffff83161790556137fb565b600283015462ffffff908116908216116137fb5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a16565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156138af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d39190615d5c565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061296f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613c11565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116613a50576040516330be1a3d60e21b815260040160405180910390fd5b919050565b60008051602061602c8339815191528054600160401b810460ff1615906001600160401b0316600081158015613a885750825b90506000826001600160401b03166001148015613aa45750303b155b905081158015613ab2575080155b15613ad05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613afa57845460ff60401b1916600160401b1785555b60008087806020019051810190613b119190615d83565b92509050613b1f818a613c4a565b613b2f639db409fb60e01b613cb5565b50508315613b7757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b613b8983613cda565b613b94838383614231565b613b9e8383614347565b613ba88383614556565b613bb28383614749565b613bbc8383614996565b613bc7838383614b75565b613bd18383614ee7565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b60008051602061602c83398151915254600160401b900460ff16613c4857604051631afcd79f60e31b815260040160405180910390fd5b565b60006046613c56612bfe565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000613c8b84615147565b90506000613c9e8583603c8488886151b8565b613cae637b6a51fd60e01b613cb5565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a613cf16136c5565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015613d5d57600080fd5b505af1158015613d71573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613d8c6135d4565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015613df057600080fd5b505af1158015613e04573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613e1f613689565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015613e8657600080fd5b505af1158015613e9a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613eb5615284565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015613f2957600080fd5b505af1158015613f3d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613f586152c0565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015613fbe57600080fd5b505af1158015613fd2573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613fed613700565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b15801561405657600080fd5b505af115801561406a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a61408561364d565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b1580156140ed57600080fd5b505af1158015614101573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a61411c6152fc565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561418457600080fd5b505af1158015614198573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a6141b3615338565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561421d57600080fd5b505af1158015613cae573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061425d908690600401615db2565b600060405180830381600087803b15801561427757600080fd5b505af115801561428b573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506142bb908590600401615df6565b600060405180830381600087803b1580156142d557600080fd5b505af11580156142e9573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150614319908490600401615e2d565b600060405180830381600087803b15801561433357600080fd5b505af1158015613b77573d6000803e3d6000fd5b600061435b6001546001600160a01b031690565b905060006001600160a01b03821663d39e60436078614378612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156143bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143e19190615a14565b9050836001600160a01b031663b428b0b06143fa615284565b836040518363ffffffff1660e01b8152600401614418929190615a31565b6020604051808303816000875af1158015614437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061445b9190615a5e565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061449857614498615bdf565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106144cf576144cf615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614500615284565b6040518363ffffffff1660e01b815260040161451d929190615e69565b600060405180830381600087803b15801561453757600080fd5b505af115801561454b573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c614574612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156145b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145dd9190615a14565b9050826001600160a01b031663b428b0b06145f66152c0565b836040518363ffffffff1660e01b8152600401614614929190615a31565b6020604051808303816000875af1158015614633573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146579190615a5e565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061469657614696615bdf565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b90829060019081106146cd576146cd615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826146fe6152c0565b6040518363ffffffff1660e01b815260040161471b929190615e69565b600060405180830381600087803b15801561473557600080fd5b505af1158015612d80573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e614767612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156147ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147d09190615a14565b9050826001600160a01b031663b428b0b06147e9613700565b836040518363ffffffff1660e01b8152600401614807929190615a31565b6020604051808303816000875af1158015614826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061484a9190615a5e565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061488957614889615bdf565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106148c0576148c0615bdf565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106148f7576148f7615bdf565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061492e5761492e615bdf565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061496557614965615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826146fe613700565b6001546000906001600160a01b031663d39e604360d26149b4612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156149f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a1d9190615a14565b9050826001600160a01b031663b428b0b0614a3661364d565b836040518363ffffffff1660e01b8152600401614a54929190615a31565b6020604051808303816000875af1158015614a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a979190615a5e565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b81600081518110614ad657614ad6615bdf565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906001908110614b0d57614b0d615bdf565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906002908110614b4457614b44615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826146fe61364d565b6001546000906001600160a01b031663d39e604360dc614b93612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bfc9190615a14565b9050836001600160a01b031663b428b0b0614c156152fc565b836040518363ffffffff1660e01b8152600401614c33929190615a31565b6020604051808303816000875af1158015614c52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c769190615a5e565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110614cb357614cb3615bdf565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110614cea57614cea615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614d1b6152fc565b6040518363ffffffff1660e01b8152600401614d38929190615e69565b600060405180830381600087803b158015614d5257600080fd5b505af1158015614d66573d6000803e3d6000fd5b506000925060059150614d769050565b604051908082528060200260200182016040528015614d9f578160200160208202803683370190505b509050630cc7e61460e01b81600081518110614dbd57614dbd615bdf565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110614df457614df4615bdf565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110614e2b57614e2b615bdf565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110614e6257614e62615bdf565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110614e9957614e99615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82614eca6152fc565b6040518363ffffffff1660e01b8152600401612bc4929190615ebc565b6001546000906001600160a01b031663d39e60436046614f05612bfe565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614f6e9190615a14565b9050826001600160a01b031663b428b0b0614f87615338565b836040518363ffffffff1660e01b8152600401614fa5929190615a31565b6020604051808303816000875af1158015614fc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614fe89190615a5e565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b8160008151811061502657615026615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82615057615338565b6040518363ffffffff1660e01b8152600401615074929190615e69565b600060405180830381600087803b15801561508e57600080fd5b505af11580156150a2573d6000803e3d6000fd5b5060009250600191506150b29050565b6040519080825280602002602001820160405280156150db578160200160208202803683370190505b5090506344ec4c3060e01b816000815181106150f9576150f9615bdf565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d8261512a615338565b6040518363ffffffff1660e01b815260040161451d929190615ee9565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561518e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906151b29190615a86565b92915050565b6151f96301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6152038287615374565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016152738382615f6c565b50613b776303fb044760e21b613cb5565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161360c565b6001600160a01b0382166153ca5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a16565b600280546001600160a01b0319166001600160a01b0384161790556153ee816153f2565b5050565b6001546001600160a01b03161561542b5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a16565b6001600160a01b0381166154525760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036154885760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa925050508015615502575060408051601f3d908101601f191682019092526154ff91810190615a5e565b60015b61552a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b806153ee5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a16565b50565b60006020828403121561556857600080fd5b81356001600160e01b03198116811461094b57600080fd5b60005b8381101561559b578181015183820152602001615583565b50506000910152565b600081518084526155bc816020860160208601615580565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161563960c08401826001600160a01b03169052565b5060c083015160e0808401526156536101008401826155a4565b949350505050565b6001600160a01b038116811461555357600080fd5b6001600160401b038116811461555357600080fd5b60008060006060848603121561569a57600080fd5b83356156a58161565b565b925060208401356156b581615670565b915060408401356156c58161565b565b809150509250925092565b6001600160601b038116811461555357600080fd5b600080604083850312156156f857600080fd5b8235615703816156d0565b915060208301356157138161565b565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156157565761575661571e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156157845761578461571e565b604052919050565b60006001600160401b038211156157a5576157a561571e565b50601f01601f191660200190565b60006157c66157c18461578c565b61575c565b90508281528383830111156157da57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261580257600080fd5b61094b838335602085016157b3565b60008060006060848603121561582657600080fd5b8335615831816156d0565b925060208401356158418161565b565b915060408401356001600160401b0381111561585c57600080fd5b615868868287016157f1565b9150509250925092565b62ffffff8116811461555357600080fd5b60006020828403121561589557600080fd5b813561094b81615872565b801515811461555357600080fd5b600080604083850312156158c157600080fd5b82356001600160401b038111156158d757600080fd5b6158e3858286016157f1565b9250506020830135615713816158a0565b60006020828403121561590657600080fd5b813561094b8161565b565b60008060006060848603121561592657600080fd5b83356159318161565b565b925060208401356159418161565b565b915060408401356001600160401b0381111561595c57600080fd5b8401601f8101861361596d57600080fd5b615868868235602084016157b3565b60006020828403121561598e57600080fd5b5035919050565b6000602082840312156159a757600080fd5b813561094b816156d0565b6000602082840312156159c457600080fd5b815161094b81615872565b600181811c908216806159e357607f821691505b602082108103615a0357634e487b7160e01b600052602260045260246000fd5b50919050565b8051613a508161565b565b600060208284031215615a2657600080fd5b815161094b8161565b565b6001600160401b039290921682526001600160a01b0316602082015260400190565b8051613a50816158a0565b600060208284031215615a7057600080fd5b815161094b816158a0565b8051613a50816156d0565b600060208284031215615a9857600080fd5b815161094b816156d0565b60ff8116811461555357600080fd5b8051613a5081615aa3565b6000615acb6157c18461578c565b9050828152838383011115615adf57600080fd5b61094b836020830184615580565b600082601f830112615afe57600080fd5b61094b83835160208501615abd565b600060208284031215615b1f57600080fd5b81516001600160401b0380821115615b3657600080fd5b9083019060e08286031215615b4a57600080fd5b615b52615734565b615b5b83615a7b565b8152615b6960208401615a7b565b6020820152615b7a60408401615ab2565b6040820152615b8b60608401615a53565b6060820152615b9c60808401615a09565b6080820152615bad60a08401615a09565b60a082015260c083015182811115615bc457600080fd5b615bd087828601615aed565b60c08301525095945050505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615c0757600080fd5b81516001600160401b03811115615c1d57600080fd5b8201601f81018413615c2e57600080fd5b61565384825160208401615abd565b600081518084526020808501945080840160005b83811015615c775781516001600160e01b03191687529582019590820190600101615c51565b509495945050505050565b606081526000615c9560608301866155a4565b8281036020840152615ca78186615c3d565b9150506001600160401b0383166040830152949350505050565b6001600160a01b0383168152604060208201819052600090615653908301846155a4565b600060208284031215615cf757600080fd5b5051919050565b604081526000615d1160408301856155a4565b905082151560208301529392505050565b600060208284031215615d3457600080fd5b815161094b81615670565b600060208284031215615d5157600080fd5b815161094b81615aa3565b600060208284031215615d6e57600080fd5b815164ffffffffff8116811461094b57600080fd5b60008060408385031215615d9657600080fd5b8251615da18161565b565b60208401519092506157138161565b565b6001600160a01b03821681526040602082018190526015908201527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b606082015260006080820161094b565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161094b565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161094b565b606081526000615e91606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152615ea38186615c3d565b9150506001600160401b03831660408301529392505050565b606081526000615e9160608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b606081526000615e9160608301601581527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b602082015260400190565b601f821115613bd157600081815260208120601f850160051c81016020861015615f455750805b601f850160051c820191505b81811015615f6457828155600101615f51565b505050505050565b81516001600160401b03811115615f8557615f8561571e565b615f9981615f9384546159cf565b84615f1e565b602080601f831160018114615fce5760008415615fb65750858301515b600019600386901b1c1916600185901b178555615f64565b600085815260208120601f198616915b82811015615ffd57888601518255948401946001909101908401615fde565b508582101561601b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d99b9bdca59fb06cc59172b6c01b6c1047610821f2aec62dbf79a52de884f62864736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea264697066735822122061d21ea0f293a274302e47ad0e30c5fb666a07dc4f8e1cfa79d3064668655aa064736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
352
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620000b75760003560e01c8063aef485a0116200007a578063aef485a0146200013a578063c987336c1462000160578063cc9fc59a1462000177578063e97fac051462000189578063f687676814620001a0578063fb2cb10114620001b757600080fd5b8063138461e014620000bc5780635ab1bd5314620000c8578063644c45e014620000f2578063893d20e8146200011e578063933a9ce81462000128575b600080fd5b620000c6620001c9565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001620000e9565b620000d5620003f8565b6002546001600160a01b0316620000d5565b620001516200014b36600462000975565b6200051b565b604051620000e9919062000a27565b620000d56200017136600462000a43565b62000577565b6003546001600160a01b0316620000d5565b620000d56200019a36600462000a43565b62000744565b62000151620001b136600462000975565b62000882565b6001546001600160a01b0316620000d5565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200022c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000252919062000a99565b156200029a576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6000546001600160a01b0316620002c45760405163cf29926160e01b815260040160405180910390fd5b60005460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156200030e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000334919062000a99565b6200035e576040516372657a5160e01b81526001600160a01b038216600482015260240162000291565b600054604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620003a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003cf919062000abd565b600060146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000482919062000a99565b156200050b57600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015620004e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000506919062000ae8565b905090565b506001546001600160a01b031690565b606063a745e3df60e01b8484846040516024016200053c9392919062000b08565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600062000583620003f8565b6001600160a01b0316336001600160a01b031614620005b85760405163700dd81160e01b815233600482015260240162000291565b600254600160a01b900460ff16620005e357604051631e35411160e31b815260040160405180910390fd5b6000620005ef620003f8565b90506000620006066002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000646573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200066c919062000ae8565b6002549091506001600160a01b031660006200068a8785886200051b565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620006bf9085908b90869060040162000b08565b600060405180830381600087803b158015620006da57600080fd5b505af1158015620006ef573d6000803e3d6000fd5b50506002546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000750620003f8565b6001600160a01b0316336001600160a01b031614620007855760405163700dd81160e01b815233600482015260240162000291565b600254600160a01b900460ff1615620007b1576040516375842f8760e01b815260040160405180910390fd5b6002805460ff60a01b1916600160a01b1790556000620007d0620003f8565b9050306000620007e286848762000882565b9050858282604051620007f590620008a3565b620008039392919062000b08565b604051809103906000f08015801562000820573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b606063cf7a1d7760e01b8484846040516024016200053c9392919062000b08565b610f2f8062000b4083390190565b6001600160a01b0381168114620008c757600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620008f257600080fd5b813567ffffffffffffffff80821115620009105762000910620008ca565b604051601f8301601f19908116603f011681019082821181831017156200093b576200093b620008ca565b816040528381528660208588010111156200095557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200098b57600080fd5b83356200099881620008b1565b92506020840135620009aa81620008b1565b9150604084013567ffffffffffffffff811115620009c757600080fd5b620009d586828701620008e0565b9150509250925092565b6000815180845260005b8181101562000a0757602081850181015186830182015201620009e9565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000a3c6020830184620009df565b9392505050565b6000806040838503121562000a5757600080fd5b823562000a6481620008b1565b9150602083013567ffffffffffffffff81111562000a8157600080fd5b62000a8f85828601620008e0565b9150509250929050565b60006020828403121562000aac57600080fd5b8151801515811462000a3c57600080fd5b60006020828403121562000ad057600080fd5b81516001600160601b038116811462000a3c57600080fd5b60006020828403121562000afb57600080fd5b815162000a3c81620008b1565b6001600160a01b0384811682528316602082015260606040820181905260009062000b3690830184620009df565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea264697066735822122061d21ea0f293a274302e47ad0e30c5fb666a07dc4f8e1cfa79d3064668655aa064736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a2646970667358221220847431d84b66fe37e6122638c003ec8998841858d89dc75af109e8d205e9755964736f6c63430008140033",
353
+ "linkReferences": {
354
+ "contracts/types/Blocknumber.sol": {
355
+ "BlocknumberLib": [
356
+ {
357
+ "length": 20,
358
+ "start": 15487
359
+ }
360
+ ]
361
+ },
362
+ "contracts/types/NftId.sol": {
363
+ "NftIdLib": [
364
+ {
365
+ "length": 20,
366
+ "start": 580
367
+ },
368
+ {
369
+ "length": 20,
370
+ "start": 1657
371
+ },
372
+ {
373
+ "length": 20,
374
+ "start": 2217
375
+ },
376
+ {
377
+ "length": 20,
378
+ "start": 10720
379
+ },
380
+ {
381
+ "length": 20,
382
+ "start": 15761
383
+ },
384
+ {
385
+ "length": 20,
386
+ "start": 18332
387
+ }
388
+ ]
389
+ },
390
+ "contracts/types/RoleId.sol": {
391
+ "RoleIdLib": [
392
+ {
393
+ "length": 20,
394
+ "start": 22100
395
+ },
396
+ {
397
+ "length": 20,
398
+ "start": 22221
399
+ },
400
+ {
401
+ "length": 20,
402
+ "start": 22281
403
+ },
404
+ {
405
+ "length": 20,
406
+ "start": 22340
407
+ },
408
+ {
409
+ "length": 20,
410
+ "start": 22400
411
+ },
412
+ {
413
+ "length": 20,
414
+ "start": 23637
415
+ },
416
+ {
417
+ "length": 20,
418
+ "start": 29444
419
+ },
420
+ {
421
+ "length": 20,
422
+ "start": 29504
423
+ },
424
+ {
425
+ "length": 20,
426
+ "start": 29564
427
+ },
428
+ {
429
+ "length": 20,
430
+ "start": 29624
431
+ }
432
+ ]
433
+ },
434
+ "contracts/types/Timestamp.sol": {
435
+ "TimestampLib": [
436
+ {
437
+ "length": 20,
438
+ "start": 22747
439
+ }
440
+ ]
441
+ },
442
+ "contracts/types/Version.sol": {
443
+ "VersionLib": [
444
+ {
445
+ "length": 20,
446
+ "start": 9908
447
+ },
448
+ {
449
+ "length": 20,
450
+ "start": 18572
451
+ },
452
+ {
453
+ "length": 20,
454
+ "start": 19593
455
+ }
456
+ ]
457
+ }
458
+ },
459
+ "deployedLinkReferences": {
460
+ "contracts/types/NftId.sol": {
461
+ "NftIdLib": [
462
+ {
463
+ "length": 20,
464
+ "start": 497
465
+ },
466
+ {
467
+ "length": 20,
468
+ "start": 1057
469
+ }
470
+ ]
471
+ }
472
+ }
473
+ }