@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -0,0 +1,640 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ProductServiceManager",
4
+ "sourceName": "contracts/instance/service/ProductServiceManager.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
+ {
20
+ "internalType": "NftId",
21
+ "name": "nftId",
22
+ "type": "uint96"
23
+ }
24
+ ],
25
+ "name": "ErrorNftOwnableAlreadyLinked",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "address",
32
+ "name": "contractAddress",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "name": "ErrorNftOwnableContractNotRegistered",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "ErrorNftOwnableInitialOwnerZero",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "account",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNftOwnableNotOwner",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "registryAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorNotRegistry",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorProxyManagerAlreadyDeployed",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "Version",
75
+ "name": "nextVersion",
76
+ "type": "uint24"
77
+ }
78
+ ],
79
+ "name": "ErrorProxyManagerNextVersionNotIncreasing",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorProxyManagerNotYetDeployed",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorProxyManagerZeroVersion",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "InvalidInitialization",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "NotInitializing",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint64",
108
+ "name": "version",
109
+ "type": "uint64"
110
+ }
111
+ ],
112
+ "name": "Initialized",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": true,
120
+ "internalType": "address",
121
+ "name": "proxy",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "address",
127
+ "name": "initialImplementation",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "LogProxyManagerVersionableDeployed",
132
+ "type": "event"
133
+ },
134
+ {
135
+ "anonymous": false,
136
+ "inputs": [
137
+ {
138
+ "indexed": true,
139
+ "internalType": "address",
140
+ "name": "proxy",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "indexed": false,
145
+ "internalType": "address",
146
+ "name": "upgradedImplementation",
147
+ "type": "address"
148
+ }
149
+ ],
150
+ "name": "LogProxyManagerVersionableUpgraded",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
156
+ "outputs": [
157
+ {
158
+ "internalType": "bytes32",
159
+ "name": "",
160
+ "type": "bytes32"
161
+ }
162
+ ],
163
+ "stateMutability": "view",
164
+ "type": "function"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "address",
170
+ "name": "initialImplementation",
171
+ "type": "address"
172
+ },
173
+ {
174
+ "internalType": "bytes",
175
+ "name": "initializationData",
176
+ "type": "bytes"
177
+ }
178
+ ],
179
+ "name": "deploy",
180
+ "outputs": [
181
+ {
182
+ "internalType": "contract IVersionable",
183
+ "name": "versionable",
184
+ "type": "address"
185
+ }
186
+ ],
187
+ "stateMutability": "nonpayable",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "inputs": [
192
+ {
193
+ "internalType": "address",
194
+ "name": "proxyOwner",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "internalType": "bytes",
199
+ "name": "deployData",
200
+ "type": "bytes"
201
+ }
202
+ ],
203
+ "name": "getDeployData",
204
+ "outputs": [
205
+ {
206
+ "internalType": "bytes",
207
+ "name": "data",
208
+ "type": "bytes"
209
+ }
210
+ ],
211
+ "stateMutability": "pure",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "getNftId",
217
+ "outputs": [
218
+ {
219
+ "internalType": "NftId",
220
+ "name": "",
221
+ "type": "uint96"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "getOwner",
230
+ "outputs": [
231
+ {
232
+ "internalType": "address",
233
+ "name": "",
234
+ "type": "address"
235
+ }
236
+ ],
237
+ "stateMutability": "view",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "getProductService",
243
+ "outputs": [
244
+ {
245
+ "internalType": "contract ProductService",
246
+ "name": "productService",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "stateMutability": "view",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [],
255
+ "name": "getProxy",
256
+ "outputs": [
257
+ {
258
+ "internalType": "contract UpgradableProxyWithAdmin",
259
+ "name": "",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "stateMutability": "nonpayable",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [],
268
+ "name": "getRegistry",
269
+ "outputs": [
270
+ {
271
+ "internalType": "contract IRegistry",
272
+ "name": "",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "bytes",
283
+ "name": "upgradeData",
284
+ "type": "bytes"
285
+ }
286
+ ],
287
+ "name": "getUpgradeData",
288
+ "outputs": [
289
+ {
290
+ "internalType": "bytes",
291
+ "name": "data",
292
+ "type": "bytes"
293
+ }
294
+ ],
295
+ "stateMutability": "pure",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "getVersion",
301
+ "outputs": [
302
+ {
303
+ "internalType": "Version",
304
+ "name": "",
305
+ "type": "uint24"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [
313
+ {
314
+ "internalType": "uint256",
315
+ "name": "idx",
316
+ "type": "uint256"
317
+ }
318
+ ],
319
+ "name": "getVersion",
320
+ "outputs": [
321
+ {
322
+ "internalType": "Version",
323
+ "name": "",
324
+ "type": "uint24"
325
+ }
326
+ ],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "getVersionCount",
333
+ "outputs": [
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "stateMutability": "view",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "Version",
347
+ "name": "_version",
348
+ "type": "uint24"
349
+ }
350
+ ],
351
+ "name": "getVersionInfo",
352
+ "outputs": [
353
+ {
354
+ "components": [
355
+ {
356
+ "internalType": "Version",
357
+ "name": "version",
358
+ "type": "uint24"
359
+ },
360
+ {
361
+ "internalType": "address",
362
+ "name": "implementation",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "internalType": "address",
367
+ "name": "activatedBy",
368
+ "type": "address"
369
+ },
370
+ {
371
+ "internalType": "Timestamp",
372
+ "name": "activatedAt",
373
+ "type": "uint40"
374
+ },
375
+ {
376
+ "internalType": "Blocknumber",
377
+ "name": "activatedIn",
378
+ "type": "uint32"
379
+ }
380
+ ],
381
+ "internalType": "struct ProxyManager.VersionInfo",
382
+ "name": "",
383
+ "type": "tuple"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "initializeERC165",
392
+ "outputs": [],
393
+ "stateMutability": "nonpayable",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "inputs": [
398
+ {
399
+ "internalType": "address",
400
+ "name": "initialOwner",
401
+ "type": "address"
402
+ },
403
+ {
404
+ "internalType": "address",
405
+ "name": "registryAddress",
406
+ "type": "address"
407
+ }
408
+ ],
409
+ "name": "initializeNftOwnable",
410
+ "outputs": [],
411
+ "stateMutability": "nonpayable",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [
416
+ {
417
+ "internalType": "address",
418
+ "name": "registry",
419
+ "type": "address"
420
+ }
421
+ ],
422
+ "name": "initializeProxyManager",
423
+ "outputs": [],
424
+ "stateMutability": "nonpayable",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "registryAddress",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "name": "initializeRegistryLinked",
436
+ "outputs": [],
437
+ "stateMutability": "nonpayable",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "linkToRegisteredNftId",
443
+ "outputs": [],
444
+ "stateMutability": "nonpayable",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [
449
+ {
450
+ "internalType": "bytes4",
451
+ "name": "interfaceId",
452
+ "type": "bytes4"
453
+ }
454
+ ],
455
+ "name": "registerInterface",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "bytes4",
464
+ "name": "interfaceId",
465
+ "type": "bytes4"
466
+ }
467
+ ],
468
+ "name": "supportsInterface",
469
+ "outputs": [
470
+ {
471
+ "internalType": "bool",
472
+ "name": "",
473
+ "type": "bool"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "address",
483
+ "name": "newImplementation",
484
+ "type": "address"
485
+ },
486
+ {
487
+ "internalType": "bytes",
488
+ "name": "upgradeData",
489
+ "type": "bytes"
490
+ }
491
+ ],
492
+ "name": "upgrade",
493
+ "outputs": [
494
+ {
495
+ "internalType": "contract IVersionable",
496
+ "name": "versionable",
497
+ "type": "address"
498
+ }
499
+ ],
500
+ "stateMutability": "nonpayable",
501
+ "type": "function"
502
+ }
503
+ ],
504
+ "bytecode": "0x60806040523480156200001157600080fd5b506040516200790238038062007902833981016040819052620000349162000b60565b806200004081620000d4565b506000604051620000519062000b44565b604051809103906000f0801580156200006e573d6000803e3d6000fd5b50604080516001600160a01b0385166020820152308183015281518082038301815260609091019091529091506000620000a98383620001f4565b600580546001600160a01b0319166001600160a01b03929092169190911790555062000d0592505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03166000811580156200011f5750825b90506000826001600160401b031660011480156200013c5750303b155b9050811580156200014b575080155b156200016a5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156200019957845460ff60401b1916680100000000000000001785555b620001a5338762000390565b8315620001ec57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b60006200020062000429565b6001600160a01b0316336001600160a01b031614620002395760405163086391f760e31b81523360048201526024015b60405180910390fd5b600454156200025b5760405163402b135f60e11b815260040160405180910390fd5b60006200026762000429565b905030848162000278848762000582565b604051620002869062000b52565b620002949392919062000bda565b604051809103906000f080158015620002b1573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000344918591630d8e6e2c9160048083019260209291908290030181865afa15801562000316573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200033c919062000c11565b8684620005dc565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b6200039a62000993565b620003a581620009e4565b620003af62000afc565b6001600160a01b038216620003d75760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620004ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d2919062000c38565b1562000563576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000537573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200055d919062000b60565b91505090565b546c0100000000000000000000000090046001600160a01b0316919050565b60606349bb9e4b60e01b8383604051602401620005a192919062000c5c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200065e8373__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af41580156200062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000651919062000c11565b62ffffff90811691161490565b156200067d576040516348c618db60e01b815260040160405180910390fd5b60045415620007e85760048054620006989060019062000c8a565b81548110620006ab57620006ab62000cac565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90635560100790602401602060405180830381865af415801562000720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000746919062000cc2565b604051635560100760e01b815262ffffff8516600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90635560100790602401602060405180830381865af41580156200079b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007c1919062000cc2565b11620007e857604051633e614b6d60e11b815262ffffff8416600482015260240162000230565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$d53880c81dc91c20799140d711e5ab8718$__9363adb6183293818401939092918290030181865af4158015620008bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008e2919062000cdc565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620009e257604051631afcd79f60e31b815260040160405180910390fd5b565b620009ee62000993565b806001600160a01b03163b60000362000a265760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000230565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562000aa3575060408051601f3d908101601f1916820190925262000aa09181019062000c38565b60015b62000acd5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000230565b8062000af85760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000230565b5050565b62000b0662000993565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61350b80620034c883390190565b610f2f80620069d383390190565b60006020828403121562000b7357600080fd5b81516001600160a01b038116811462000b8b57600080fd5b9392505050565b6000815180845260005b8181101562000bba5760208185018101518683018201520162000b9c565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b0384811682528316602082015260606040820181905260009062000c089083018462000b92565b95945050505050565b60006020828403121562000c2457600080fd5b815162ffffff8116811462000b8b57600080fd5b60006020828403121562000c4b57600080fd5b8151801515811462000b8b57600080fd5b6001600160a01b038316815260406020820181905260009062000c829083018462000b92565b949350505050565b81810381811115620005d657634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000cd557600080fd5b5051919050565b60006020828403121562000cef57600080fd5b815164ffffffffff8116811462000b8b57600080fd5b6127b38062000d156000396000f3fe60806040523480156200001157600080fd5b5060043610620001515760003560e01c8063644c45e011620000c7578063946dfcfe1162000086578063946dfcfe14620003e3578063ada9652e14620003f6578063b88da759146200040d578063c987336c1462000424578063e97fac05146200043b578063f7c34ee0146200045257600080fd5b8063644c45e0146200036f578063675393bf1462000399578063893d20e814620003b05780638e9afce614620003ba578063933a9ce814620003d157600080fd5b8063214cdb801162000114578063214cdb80146200020357806336fc697e146200021a5780634288121d14620002245780634d459c90146200024a5780635ab1bd53146200035d57600080fd5b806301ffc9a71462000156578063058f7a97146200019b5780630d8e6e2c14620001b4578063138461e014620001d35780631775564d14620001dd575b600080fd5b620001866200016736600462001435565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001b2620001ac3660046200147e565b62000469565b005b620001be62000582565b60405162ffffff909116815260200162000192565b620001b2620005f8565b620001f4620001ee36600462001549565b6200080d565b604051620001929190620015e7565b620001b26200021436600462001435565b62000867565b620001b262000896565b6005546001600160a01b03165b6040516001600160a01b03909116815260200162000192565b620002ff6200025b3660046200160e565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00162000192565b6001546001600160a01b031662000231565b6000805160206200275e833981519152546040516001600160601b03909116815260200162000192565b620001b2620003aa3660046200147e565b620008de565b62000231620009f7565b620001f4620003cb3660046200162e565b62000b36565b6002546001600160a01b031662000231565b6004545b60405190815260200162000192565b620003e76000805160206200275e83398151915281565b620001be6200041e3660046200166f565b62000b8b565b620002316200043536600462001549565b62000bcf565b620002316200044c36600462001549565b62000e0d565b620001b26200046336600462001689565b62000fa5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620004b05750825b905060008267ffffffffffffffff166001148015620004ce5750303b155b905081158015620004dd575080155b15620004fc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200052757845460ff60401b1916600160401b1785555b62000533338762000fa5565b83156200057a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa158015620005cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005f39190620016c7565b905090565b60006000805160206200275e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000669573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200068f9190620016e7565b15620006c15780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620006d56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200071e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007449190620016e7565b6200076e5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620006b8565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620007c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007e991906200170b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b60606349bb9e4b60e01b83836040516024016200082c92919062001736565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200087162001024565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620008a062001024565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620008e862001024565b806001600160a01b03163b600003620009205760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620006b8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200099d575060408051601f3d908101601f191682019092526200099a91810190620016e7565b60015b620009c75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620006b8565b80620009f25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620006b8565b505b50565b6000806000805160206200275e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000a69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a8f9190620016e7565b1562000b20576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000af4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b1a91906200175c565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000b539190620015e7565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000ba35762000ba36200177c565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000bdb620009f7565b6001600160a01b0316336001600160a01b03161462000c105760405163086391f760e31b8152336004820152602401620006b8565b60045460000362000c345760405163366dfd2160e21b815260040160405180910390fd5b600062000c40620009f7565b9050600062000c576002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000c97573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cbd91906200175c565b6002549091506001600160a01b03908116908216639623609d828862000ce38962000b36565b6040518463ffffffff1660e01b815260040162000d039392919062001792565b600060405180830381600087803b15801562000d1e57600080fd5b505af115801562000d33573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000dc0846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000db89190620016c7565b878562001070565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000e19620009f7565b6001600160a01b0316336001600160a01b03161462000e4e5760405163086391f760e31b8152336004820152602401620006b8565b6004541562000e705760405163402b135f60e11b815260040160405180910390fd5b600062000e7c620009f7565b905030848162000e8d84876200080d565b60405162000e9b9062001427565b62000ea99392919062001792565b604051809103906000f08015801562000ec6573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000f59918591630d8e6e2c9160048083019260209291908290030181865afa15801562000f2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f519190620016c7565b868462001070565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b62000faf62001024565b62000fba81620008de565b62000fc462000896565b6001600160a01b03821662000fec5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200275e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166200106e57604051631afcd79f60e31b815260040160405180910390fd5b565b620010f28373__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015620010bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010e59190620016c7565b62ffffff90811691161490565b1562001111576040516348c618db60e01b815260040160405180910390fd5b600454156200127c57600480546200112c90600190620017c9565b815481106200113f576200113f6200177c565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90635560100790602401602060405180830381865af4158015620011b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011da9190620017eb565b604051635560100760e01b815262ffffff8516600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90635560100790602401602060405180830381865af41580156200122f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012559190620017eb565b116200127c57604051633e614b6d60e11b815262ffffff84166004820152602401620006b8565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$d53880c81dc91c20799140d711e5ab8718$__9363adb6183293818401939092918290030181865af415801562001350573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001376919062001805565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b610f2f806200182f83390190565b6000602082840312156200144857600080fd5b81356001600160e01b0319811681146200146157600080fd5b9392505050565b6001600160a01b0381168114620009f457600080fd5b6000602082840312156200149157600080fd5b8135620014618162001468565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620014c657600080fd5b813567ffffffffffffffff80821115620014e457620014e46200149e565b604051601f8301601f19908116603f011681019082821181831017156200150f576200150f6200149e565b816040528381528660208588010111156200152957600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156200155d57600080fd5b82356200156a8162001468565b9150602083013567ffffffffffffffff8111156200158757600080fd5b6200159585828601620014b4565b9150509250929050565b6000815180845260005b81811015620015c757602081850181015186830182015201620015a9565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006200146160208301846200159f565b62ffffff81168114620009f457600080fd5b6000602082840312156200162157600080fd5b81356200146181620015fc565b6000602082840312156200164157600080fd5b813567ffffffffffffffff8111156200165957600080fd5b6200166784828501620014b4565b949350505050565b6000602082840312156200168257600080fd5b5035919050565b600080604083850312156200169d57600080fd5b8235620016aa8162001468565b91506020830135620016bc8162001468565b809150509250929050565b600060208284031215620016da57600080fd5b81516200146181620015fc565b600060208284031215620016fa57600080fd5b815180151581146200146157600080fd5b6000602082840312156200171e57600080fd5b81516001600160601b03811681146200146157600080fd5b6001600160a01b038316815260406020820181905260009062001667908301846200159f565b6000602082840312156200176f57600080fd5b8151620014618162001468565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03848116825283166020820152606060408201819052600090620017c0908301846200159f565b95945050505050565b818103818111156200086157634e487b7160e01b600052601160045260246000fd5b600060208284031215620017fe57600080fd5b5051919050565b6000602082840312156200181857600080fd5b815164ffffffffff811681146200146157600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea2646970667358221220d2615f8e3fdb3a87ca84bc18a82a0003dca67e82d4147ba3674b6a083fa37b4c64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122040f8de51d11e1e01968d28ee891440ff70966c26c2fd59241d169f3426e79ec164736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61342580620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063ada9652e11610097578063bf7e214f11610071578063bf7e214f1461040f578063caf4e3d41461042d578063cc9fc59a14610435578063f7c34ee01461043d57600080fd5b8063ada9652e146103d8578063b68d1809146103ed578063b6b412ba146103fc57600080fd5b8063893d20e8116100d3578063893d20e8146103895780638e32e979146103915780638f997f6d146103a45780638fb36037146103b757600080fd5b8063675393bf146103505780637a9e5e4b146103635780637cef48421461037657600080fd5b806327bb7a33116101665780634420e486116101405780634420e486146102cf57806349bb9e4b146102fa5780635ab1bd531461030d578063644c45e01461033257600080fd5b806327bb7a33146102a1578063329d6e74146102b457806336fc697e146102c757600080fd5b80630fec111c116101a25780630fec111c1461023c578063138461e0146102515780631eff4b2214610259578063214cdb801461028e57600080fd5b806301ffc9a7146101c9578063095e2b721461020b5780630d8e6e2c14610220575b600080fd5b6101f66101d73660046126c3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610219366004612841565b610450565b005b6102286104ea565b60405162ffffff9091168152602001610202565b610244610574565b60405161020291906128de565b61021e6106cb565b6102807f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61021e61029c3660046126c3565b6108d2565b61021e6102af3660046129b0565b6108ff565b61021e6102c2366004612a48565b6109a4565b61021e610af1565b6102e26102dd366004612a7c565b610b37565b6040516001600160601b039091168152602001610202565b61021e610308366004612a99565b610bfc565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b600080516020613390833981519152546001600160601b03166102e2565b61021e61035e366004612a7c565b610cfb565b61021e610371366004612a7c565b610e09565b61021e610384366004612ab7565b610ea3565b61031a610f1c565b61021e61039f366004612aee565b611053565b61021e6103b2366004612841565b61128c565b6103bf6113f0565b6040516001600160e01b03199091168152602001610202565b61028060008051602061339083398151915281565b604051606e8152602001610202565b61021e61040a366004612b69565b611428565b6000805160206133b0833981519152546001600160a01b031661031a565b61031a611595565b61031a6115a1565b61021e61044b366004612b9e565b6115ad565b6000808061045e606e611624565b6040805180820182526001600160601b03851681526020810189905290516317b0844560e11b81529396509194509250906001600160a01b03831690632f61088a906104b09089908590600401612bf4565b600060405180830381600087803b1580156104ca57600080fd5b505af11580156104de573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561054b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056f9190612c19565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610627610f1c565b6001600160a01b0316815260200182600101805461064490612c3e565b80601f016020809104026020016040519081016040528092919081815260200182805461067090612c3e565b80156106bd5780601f10610692576101008083540402835291602001916106bd565b820191906000526020600020905b8154815290600101906020018083116106a057829003601f168201915b505050505081525091505090565b600060008051602061339083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561073a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075e9190612c83565b1561078f5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107a26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080e9190612c83565b6108365760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610786565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561088a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ae9190612cab565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108da611857565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610907611857565b61091182876115ad565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161099a8382612d16565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109c66104ea565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2a9190612dea565b6000805160206133d08339815191528054600160401b900460ff1680610a5d575080546001600160401b03808416911610155b15610a7b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610aa583611890565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610af9611857565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b5086606e610b4b611898565b61190f565b92965090945092509050856000610b65611595565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610bb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdf9190810190612e6d565b805197509050610bf0848389611c00565b50505050505050919050565b6000805160206133d08339815191528054600160401b810460ff1615906001600160401b0316600081158015610c2f5750825b90506000826001600160401b03166001148015610c4b5750303b155b905081158015610c59575080155b15610c775760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ca157845460ff60401b1916600160401b1785555b610cab878761225a565b8315610cf257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610d03611857565b806001600160a01b03163b600003610d395760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610786565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610db3575060408051601f3d908101601f19168201909252610db091810190612c83565b60015b610ddb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610786565b80610e045760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610786565b505b50565b33610e296000805160206133b0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e645760405162d1953b60e31b81526001600160a01b0382166004820152602401610786565b816001600160a01b03163b600003610e9a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610786565b610e0482612498565b6000610eaf606e611624565b604051633e77a42160e11b81526001600160c01b03198716600482015260ff861660248201529093506001600160a01b0384169250637cef48429150604401600060405180830381600087803b158015610f0857600080fd5b505af1158015610cf2573d6000803e3d6000fd5b60008060008051602061339083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb09190612c83565b1561103d576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611013573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110379190612f3f565b91505090565b54600160601b90046001600160a01b0316919050565b61105b611857565b6110db83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561109d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c19190612cab565b603c600085604051806020016040528060008152506108ff565b6001600160a01b038216156110f8576110f3826124f9565b611267565b600061110c6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561116c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111909190612f5c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156111d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f99190612f3f565b9050611265816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561123c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112609190612f3f565b6124f9565b505b611277634a531f3360e01b6108d2565b61128763b68d180960e01b6108d2565b505050565b6000611298606e611624565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113009190612f3f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611354573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261137c9190810190612f79565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906113b7908890859060ff90600401612ff8565b600060405180830381600087803b1580156113d157600080fd5b505af11580156113e5573d6000803e3d6000fd5b505050505050505050565b6000805160206133b0833981519152805460009190600160a01b900460ff1661141a576000611037565b638fb3603760e01b91505090565b60008080611436606e611624565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190612f3f565b60405163242bdc1960e21b81526001600160601b03861660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa1580156114f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115189190613060565b6080810188905260a08101879052604051630cbc6b8960e01b81529091506001600160a01b03841690630cbc6b899061155a908890859060ff9060040161319c565b600060405180830381600087803b15801561157457600080fd5b505af1158015611588573d6000803e3d6000fd5b5050505050505050505050565b600061056f602861250a565b600061056f604661250a565b6115b5611857565b6115be81610cfb565b6115c6610af1565b6001600160a01b0382166115ed5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061339083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806116706001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156116b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116df9190810190612e6d565b92506116f683604001518660ff9081169116141590565b1561173a57608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff8088166024840152166044820152606401610786565b8260000151935061174e836020015161261d565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561178e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b29190612f3f565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa1580156117fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118209190612c83565b1561184f57608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610786565b509193909250565b6000805160206133d083398151915254600160401b900460ff1661188e57604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611857565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156118eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056f9190612dea565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611963573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119879190612c83565b6119af576040516359bff0e360e11b81526001600160a01b0388166004820152602401610786565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a179190810190612e6d565b9050611a2e81604001518860ff9081169116141590565b15611a6e576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401610786565b60a08101516001600160a01b0385811690821614611ac05760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401610786565b81602001519250611ad08361261d565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b349190612f3f565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015611b8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611baf9190612c83565b611bf557604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401610786565b505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c679190613060565b90506000611c7d6001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611cd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cfa9190810190612e6d565b6080015190506000611d146001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d69573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d919190810190612e6d565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611de257600080fd5b505af1158015611df6573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e4457600080fd5b505af1158015611e58573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611ea657600080fd5b505af1158015611eba573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ef957600080fd5b505af1158015611f0d573d6000803e3d6000fd5b50505050866001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611f60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f849190613060565b6040518363ffffffff1660e01b8152600401611fa19291906131cc565b600060405180830381600087803b158015611fbb57600080fd5b505af1158015611fcf573d6000803e3d6000fd5b506000925060019150611fdf9050565b60405190808252806020026020018201604052801561201257816020015b6060815260200190600190039081611ffd5790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110612046576120466131ea565b602002602001018190525063b6b412ba60e01b8160008151811061206c5761206c6131ea565b6020026020010151600081518110612086576120866131ea565b6001600160e01b031992909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090506120cc611898565b816000815181106120df576120df6131ea565b60200260200101906001600160401b031690816001600160401b0316815250506121076115a1565b6001600160a01b0316636c6fbb286121276001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa15801561216f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121939190612cab565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156121d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121fa9190810190613200565b86866040518663ffffffff1660e01b815260040161221c95949392919061328c565b600060405180830381600087803b15801561223657600080fd5b505af115801561224a573d6000803e3d6000fd5b5050505050505050509392505050565b6000805160206133d08339815191528054600160401b810460ff1615906001600160401b031660008115801561228d5750825b90506000826001600160401b031660011480156122a95750303b155b9050811580156122b7575080155b156122d55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122ff57845460ff60401b1916600160401b1785555b600080878060200190518101906123169190613360565b90925090506123278260008b611053565b6001546001600160a01b031663d39e6043608c6123426104ea565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bb9190612f5c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124249190612f3f565b600280546001600160a01b0319166001600160a01b03929092169190911790556124546308bcea6160e01b6108d2565b50508315610cf257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ce9565b6000805160206133b083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612501611857565b610e06816126b2565b600061251e6001546001600160a01b031690565b6001600160a01b031663d39e6043836125356104ea565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561258a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ae9190612f5c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126179190612f3f565b92915050565b60006126316001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612680573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126a89190810190612e6d565b6080015192915050565b6126ba611857565b610e0681612498565b6000602082840312156126d557600080fd5b81356001600160e01b0319811681146126ed57600080fd5b9392505050565b80356001600160c01b03198116811461270c57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561274957612749612711565b60405290565b60405160e081016001600160401b038111828210171561274957612749612711565b60405161010081016001600160401b038111828210171561274957612749612711565b604051601f8201601f191681016001600160401b03811182821017156127bc576127bc612711565b604052919050565b60006001600160401b038211156127dd576127dd612711565b50601f01601f191660200190565b600082601f8301126127fc57600080fd5b813561280f61280a826127c4565b612794565b81815284602083860101111561282457600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561285457600080fd5b61285d836126f4565b915060208301356001600160401b0381111561287857600080fd5b612884858286016127eb565b9150509250929050565b60005b838110156128a9578181015183820152602001612891565b50506000910152565b600081518084526128ca81602086016020860161288e565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161294760c08401826001600160a01b03169052565b5060c083015160e0808401526129616101008401826128b2565b949350505050565b6001600160a01b0381168114610e0657600080fd5b6001600160601b0381168114610e0657600080fd5b60ff81168114610e0657600080fd5b8015158114610e0657600080fd5b60008060008060008060c087890312156129c957600080fd5b86356129d481612969565b955060208701356129e48161297e565b945060408701356129f481612993565b93506060870135612a04816129a2565b92506080870135612a1481612969565b915060a08701356001600160401b03811115612a2f57600080fd5b612a3b89828a016127eb565b9150509295509295509295565b600060208284031215612a5a57600080fd5b81356001600160401b03811115612a7057600080fd5b612961848285016127eb565b600060208284031215612a8e57600080fd5b81356126ed81612969565b60008060408385031215612aac57600080fd5b823561285d81612969565b60008060408385031215612aca57600080fd5b612ad3836126f4565b91506020830135612ae381612993565b809150509250929050565b600080600060608486031215612b0357600080fd5b8335612b0e81612969565b92506020840135612b1e81612969565b91506040840135612b2e81612969565b809150509250925092565b600060408284031215612b4b57600080fd5b612b53612727565b9050813581526020820135602082015292915050565b60008060808385031215612b7c57600080fd5b612b868484612b39565b9150612b958460408501612b39565b90509250929050565b60008060408385031215612bb157600080fd5b8235612bbc81612969565b91506020830135612ae381612969565b6001600160601b038151168252600060208201516040602085015261296160408501826128b2565b6001600160401b0360c01b831681526040602082015260006129616040830184612bcc565b600060208284031215612c2b57600080fd5b815162ffffff811681146126ed57600080fd5b600181811c90821680612c5257607f821691505b602082108103612c7257634e487b7160e01b600052602260045260246000fd5b50919050565b805161270c816129a2565b600060208284031215612c9557600080fd5b81516126ed816129a2565b805161270c8161297e565b600060208284031215612cbd57600080fd5b81516126ed8161297e565b601f82111561128757600081815260208120601f850160051c81016020861015612cef5750805b601f850160051c820191505b81811015612d0e57828155600101612cfb565b505050505050565b81516001600160401b03811115612d2f57612d2f612711565b612d4381612d3d8454612c3e565b84612cc8565b602080601f831160018114612d785760008415612d605750858301515b600019600386901b1c1916600185901b178555612d0e565b600085815260208120601f198616915b82811015612da757888601518255948401946001909101908401612d88565b5085821015612dc55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610e0657600080fd5b600060208284031215612dfc57600080fd5b81516126ed81612dd5565b805161270c81612993565b805161270c81612969565b6000612e2b61280a846127c4565b9050828152838383011115612e3f57600080fd5b6126ed83602083018461288e565b600082601f830112612e5e57600080fd5b6126ed83835160208501612e1d565b600060208284031215612e7f57600080fd5b81516001600160401b0380821115612e9657600080fd5b9083019060e08286031215612eaa57600080fd5b612eb261274f565b612ebb83612ca0565b8152612ec960208401612ca0565b6020820152612eda60408401612e07565b6040820152612eeb60608401612c78565b6060820152612efc60808401612e12565b6080820152612f0d60a08401612e12565b60a082015260c083015182811115612f2457600080fd5b612f3087828601612e4d565b60c08301525095945050505050565b600060208284031215612f5157600080fd5b81516126ed81612969565b600060208284031215612f6e57600080fd5b81516126ed81612993565b600060208284031215612f8b57600080fd5b81516001600160401b0380821115612fa257600080fd5b9083019060408286031215612fb657600080fd5b612fbe612727565b8251612fc98161297e565b8152602083015182811115612fdd57600080fd5b612fe987828601612e4d565b60208301525095945050505050565b6001600160401b0360c01b8416815260606020820152600061301d6060830185612bcc565b905060ff83166040830152949350505050565b60006040828403121561304257600080fd5b61304a612727565b9050815181526020820151602082015292915050565b6000610140828403121561307357600080fd5b61307b612771565b61308483612e12565b815261309260208401612e12565b60208201526130a360408401612ca0565b60408201526130b460608401612ca0565b60608201526130c68460808501613030565b60808201526130d88460c08501613030565b60a08201526130ea6101008401612c78565b60c08201526130fc6101208401612e12565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151613161608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b038416815261018081016131ba6020830185613108565b60ff8316610160830152949350505050565b6001600160601b038316815261016081016126ed6020830184613108565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561321257600080fd5b81516001600160401b0381111561322857600080fd5b8201601f8101841361323957600080fd5b61296184825160208401612e1d565b600081518084526020808501945080840160005b838110156132815781516001600160401b03168752958201959082019060010161325c565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526132bd60a08401876128b2565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561333b57868403601f19018652825180518086529089019089860190845b818110156133265783516001600160e01b0319168352928b0192918b0191600101613300565b505096890196945050918701916001016132de565b50505086810360808801526133508189613248565b9c9b505050505050505050505050565b6000806040838503121561337357600080fd5b825161337e81612969565b6020840151909250612ae38161296956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209a30710b6181df727f4b194a3f92bdddb4f008a27a5ec0fe9c4b4f19c0c3e1b164736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea2646970667358221220d2615f8e3fdb3a87ca84bc18a82a0003dca67e82d4147ba3674b6a083fa37b4c64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
505
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620001515760003560e01c8063644c45e011620000c7578063946dfcfe1162000086578063946dfcfe14620003e3578063ada9652e14620003f6578063b88da759146200040d578063c987336c1462000424578063e97fac05146200043b578063f7c34ee0146200045257600080fd5b8063644c45e0146200036f578063675393bf1462000399578063893d20e814620003b05780638e9afce614620003ba578063933a9ce814620003d157600080fd5b8063214cdb801162000114578063214cdb80146200020357806336fc697e146200021a5780634288121d14620002245780634d459c90146200024a5780635ab1bd53146200035d57600080fd5b806301ffc9a71462000156578063058f7a97146200019b5780630d8e6e2c14620001b4578063138461e014620001d35780631775564d14620001dd575b600080fd5b620001866200016736600462001435565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001b2620001ac3660046200147e565b62000469565b005b620001be62000582565b60405162ffffff909116815260200162000192565b620001b2620005f8565b620001f4620001ee36600462001549565b6200080d565b604051620001929190620015e7565b620001b26200021436600462001435565b62000867565b620001b262000896565b6005546001600160a01b03165b6040516001600160a01b03909116815260200162000192565b620002ff6200025b3660046200160e565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00162000192565b6001546001600160a01b031662000231565b6000805160206200275e833981519152546040516001600160601b03909116815260200162000192565b620001b2620003aa3660046200147e565b620008de565b62000231620009f7565b620001f4620003cb3660046200162e565b62000b36565b6002546001600160a01b031662000231565b6004545b60405190815260200162000192565b620003e76000805160206200275e83398151915281565b620001be6200041e3660046200166f565b62000b8b565b620002316200043536600462001549565b62000bcf565b620002316200044c36600462001549565b62000e0d565b620001b26200046336600462001689565b62000fa5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620004b05750825b905060008267ffffffffffffffff166001148015620004ce5750303b155b905081158015620004dd575080155b15620004fc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200052757845460ff60401b1916600160401b1785555b62000533338762000fa5565b83156200057a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa158015620005cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005f39190620016c7565b905090565b60006000805160206200275e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000669573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200068f9190620016e7565b15620006c15780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620006d56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200071e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007449190620016e7565b6200076e5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620006b8565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620007c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007e991906200170b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b60606349bb9e4b60e01b83836040516024016200082c92919062001736565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200087162001024565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620008a062001024565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620008e862001024565b806001600160a01b03163b600003620009205760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620006b8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200099d575060408051601f3d908101601f191682019092526200099a91810190620016e7565b60015b620009c75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620006b8565b80620009f25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620006b8565b505b50565b6000806000805160206200275e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000a69573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a8f9190620016e7565b1562000b20576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000af4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b1a91906200175c565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000b539190620015e7565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000ba35762000ba36200177c565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000bdb620009f7565b6001600160a01b0316336001600160a01b03161462000c105760405163086391f760e31b8152336004820152602401620006b8565b60045460000362000c345760405163366dfd2160e21b815260040160405180910390fd5b600062000c40620009f7565b9050600062000c576002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000c97573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cbd91906200175c565b6002549091506001600160a01b03908116908216639623609d828862000ce38962000b36565b6040518463ffffffff1660e01b815260040162000d039392919062001792565b600060405180830381600087803b15801562000d1e57600080fd5b505af115801562000d33573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000dc0846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000db89190620016c7565b878562001070565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000e19620009f7565b6001600160a01b0316336001600160a01b03161462000e4e5760405163086391f760e31b8152336004820152602401620006b8565b6004541562000e705760405163402b135f60e11b815260040160405180910390fd5b600062000e7c620009f7565b905030848162000e8d84876200080d565b60405162000e9b9062001427565b62000ea99392919062001792565b604051809103906000f08015801562000ec6573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000f59918591630d8e6e2c9160048083019260209291908290030181865afa15801562000f2b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f519190620016c7565b868462001070565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b62000faf62001024565b62000fba81620008de565b62000fc462000896565b6001600160a01b03821662000fec5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200275e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166200106e57604051631afcd79f60e31b815260040160405180910390fd5b565b620010f28373__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015620010bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010e59190620016c7565b62ffffff90811691161490565b1562001111576040516348c618db60e01b815260040160405180910390fd5b600454156200127c57600480546200112c90600190620017c9565b815481106200113f576200113f6200177c565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90635560100790602401602060405180830381865af4158015620011b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011da9190620017eb565b604051635560100760e01b815262ffffff8516600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90635560100790602401602060405180830381865af41580156200122f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012559190620017eb565b116200127c57604051633e614b6d60e11b815262ffffff84166004820152602401620006b8565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$d53880c81dc91c20799140d711e5ab8718$__9363adb6183293818401939092918290030181865af415801562001350573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001376919062001805565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b610f2f806200182f83390190565b6000602082840312156200144857600080fd5b81356001600160e01b0319811681146200146157600080fd5b9392505050565b6001600160a01b0381168114620009f457600080fd5b6000602082840312156200149157600080fd5b8135620014618162001468565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620014c657600080fd5b813567ffffffffffffffff80821115620014e457620014e46200149e565b604051601f8301601f19908116603f011681019082821181831017156200150f576200150f6200149e565b816040528381528660208588010111156200152957600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156200155d57600080fd5b82356200156a8162001468565b9150602083013567ffffffffffffffff8111156200158757600080fd5b6200159585828601620014b4565b9150509250929050565b6000815180845260005b81811015620015c757602081850181015186830182015201620015a9565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006200146160208301846200159f565b62ffffff81168114620009f457600080fd5b6000602082840312156200162157600080fd5b81356200146181620015fc565b6000602082840312156200164157600080fd5b813567ffffffffffffffff8111156200165957600080fd5b6200166784828501620014b4565b949350505050565b6000602082840312156200168257600080fd5b5035919050565b600080604083850312156200169d57600080fd5b8235620016aa8162001468565b91506020830135620016bc8162001468565b809150509250929050565b600060208284031215620016da57600080fd5b81516200146181620015fc565b600060208284031215620016fa57600080fd5b815180151581146200146157600080fd5b6000602082840312156200171e57600080fd5b81516001600160601b03811681146200146157600080fd5b6001600160a01b038316815260406020820181905260009062001667908301846200159f565b6000602082840312156200176f57600080fd5b8151620014618162001468565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03848116825283166020820152606060408201819052600090620017c0908301846200159f565b95945050505050565b818103818111156200086157634e487b7160e01b600052601160045260246000fd5b600060208284031215620017fe57600080fd5b5051919050565b6000602082840312156200181857600080fd5b815164ffffffffff811681146200146157600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea2646970667358221220d2615f8e3fdb3a87ca84bc18a82a0003dca67e82d4147ba3674b6a083fa37b4c64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122040f8de51d11e1e01968d28ee891440ff70966c26c2fd59241d169f3426e79ec164736f6c63430008140033",
506
+ "linkReferences": {
507
+ "contracts/types/NftId.sol": {
508
+ "NftIdLib": [
509
+ {
510
+ "length": 20,
511
+ "start": 1137
512
+ },
513
+ {
514
+ "length": 20,
515
+ "start": 4931
516
+ },
517
+ {
518
+ "length": 20,
519
+ "start": 5955
520
+ },
521
+ {
522
+ "length": 20,
523
+ "start": 15534
524
+ },
525
+ {
526
+ "length": 20,
527
+ "start": 17664
528
+ }
529
+ ]
530
+ },
531
+ "contracts/types/RoleId.sol": {
532
+ "RoleIdLib": [
533
+ {
534
+ "length": 20,
535
+ "start": 20063
536
+ }
537
+ ]
538
+ },
539
+ "contracts/types/Timestamp.sol": {
540
+ "TimestampLib": [
541
+ {
542
+ "length": 20,
543
+ "start": 2177
544
+ },
545
+ {
546
+ "length": 20,
547
+ "start": 8234
548
+ }
549
+ ]
550
+ },
551
+ "contracts/types/Version.sol": {
552
+ "VersionLib": [
553
+ {
554
+ "length": 20,
555
+ "start": 1507
556
+ },
557
+ {
558
+ "length": 20,
559
+ "start": 1765
560
+ },
561
+ {
562
+ "length": 20,
563
+ "start": 1888
564
+ },
565
+ {
566
+ "length": 20,
567
+ "start": 7564
568
+ },
569
+ {
570
+ "length": 20,
571
+ "start": 7822
572
+ },
573
+ {
574
+ "length": 20,
575
+ "start": 7945
576
+ },
577
+ {
578
+ "length": 20,
579
+ "start": 15039
580
+ },
581
+ {
582
+ "length": 20,
583
+ "start": 16212
584
+ },
585
+ {
586
+ "length": 20,
587
+ "start": 22795
588
+ },
589
+ {
590
+ "length": 20,
591
+ "start": 23294
592
+ }
593
+ ],
594
+ "VersionPartLib": [
595
+ {
596
+ "length": 20,
597
+ "start": 18144
598
+ }
599
+ ]
600
+ }
601
+ },
602
+ "deployedLinkReferences": {
603
+ "contracts/types/NftId.sol": {
604
+ "NftIdLib": [
605
+ {
606
+ "length": 20,
607
+ "start": 1582
608
+ },
609
+ {
610
+ "length": 20,
611
+ "start": 2606
612
+ }
613
+ ]
614
+ },
615
+ "contracts/types/Timestamp.sol": {
616
+ "TimestampLib": [
617
+ {
618
+ "length": 20,
619
+ "start": 4885
620
+ }
621
+ ]
622
+ },
623
+ "contracts/types/Version.sol": {
624
+ "VersionLib": [
625
+ {
626
+ "length": 20,
627
+ "start": 4215
628
+ },
629
+ {
630
+ "length": 20,
631
+ "start": 4473
632
+ },
633
+ {
634
+ "length": 20,
635
+ "start": 4596
636
+ }
637
+ ]
638
+ }
639
+ }
640
+ }