@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c00cf5d-513

Sign up to get free protection for your applications and to get access to all the features.
Files changed (506) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +206 -244
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1583 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +855 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +206 -156
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +380 -196
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +277 -1998
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +172 -230
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +389 -2735
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +692 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +443 -255
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +217 -479
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +246 -129
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +273 -336
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +386 -185
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +363 -303
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1649 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +783 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +109 -254
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +174 -307
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +235 -237
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +212 -164
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +67 -174
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/{components → product}/Product.sol/Product.json +166 -239
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +891 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +715 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +123 -19
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +212 -240
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +146 -34
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +292 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +245 -314
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +240 -123
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +597 -86
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +44 -92
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  133. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  134. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +146 -151
  135. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +118 -222
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  143. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  144. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +190 -74
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -43
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -43
  151. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
  153. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IService.sol/IService.json +66 -173
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -91
  159. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  160. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -47
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +226 -95
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +32 -89
  165. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  166. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -36
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Service.sol/Service.json +92 -212
  169. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  170. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
  175. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  176. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  177. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  178. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  179. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  181. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  183. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  185. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  186. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  187. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  189. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  191. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  193. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  195. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  197. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  198. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  199. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  201. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  203. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  205. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  207. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  209. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  210. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  211. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  213. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  215. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  217. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  219. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  223. package/contracts/{components → distribution}/Distribution.sol +47 -60
  224. package/contracts/distribution/DistributionService.sol +351 -0
  225. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  226. package/contracts/{components → distribution}/IDistributionComponent.sol +8 -37
  227. package/contracts/distribution/IDistributionService.sol +87 -0
  228. package/contracts/instance/BundleManager.sol +15 -14
  229. package/contracts/instance/IInstance.sol +52 -59
  230. package/contracts/instance/IInstanceService.sol +32 -19
  231. package/contracts/instance/Instance.sol +138 -185
  232. package/contracts/instance/InstanceAdmin.sol +330 -0
  233. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  234. package/contracts/instance/InstanceReader.sol +101 -26
  235. package/contracts/instance/InstanceService.sol +173 -307
  236. package/contracts/instance/InstanceServiceManager.sol +12 -22
  237. package/contracts/instance/InstanceStore.sol +211 -0
  238. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  239. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  240. package/contracts/instance/base/ILifecycle.sol +3 -3
  241. package/contracts/instance/base/KeyValueStore.sol +44 -47
  242. package/contracts/instance/base/Lifecycle.sol +28 -7
  243. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  244. package/contracts/instance/module/IAccess.sol +19 -20
  245. package/contracts/instance/module/IBundle.sol +11 -8
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +7 -4
  248. package/contracts/instance/module/IPolicy.sol +50 -17
  249. package/contracts/instance/module/IRisk.sol +1 -1
  250. package/contracts/instance/module/ISetup.sol +9 -23
  251. package/contracts/instance/module/ITreasury.sol +2 -2
  252. package/contracts/pool/BundleService.sol +384 -0
  253. package/contracts/pool/BundleServiceManager.sol +42 -0
  254. package/contracts/pool/IBundleService.sol +118 -0
  255. package/contracts/pool/IPoolComponent.sol +114 -0
  256. package/contracts/pool/IPoolService.sol +114 -0
  257. package/contracts/pool/Pool.sol +302 -0
  258. package/contracts/pool/PoolService.sol +404 -0
  259. package/contracts/pool/PoolServiceManager.sol +42 -0
  260. package/contracts/product/ApplicationService.sol +187 -0
  261. package/contracts/product/ApplicationServiceManager.sol +38 -0
  262. package/contracts/product/ClaimService.sol +443 -0
  263. package/contracts/product/ClaimServiceManager.sol +38 -0
  264. package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
  265. package/contracts/product/IClaimService.sol +93 -0
  266. package/contracts/product/IPolicyService.sol +80 -0
  267. package/contracts/product/IPricingService.sol +37 -0
  268. package/contracts/{components → product}/IProductComponent.sol +13 -11
  269. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  270. package/contracts/product/PolicyService.sol +378 -0
  271. package/contracts/product/PolicyServiceManager.sol +42 -0
  272. package/contracts/product/PricingService.sol +276 -0
  273. package/contracts/product/PricingServiceManager.sol +42 -0
  274. package/contracts/{components → product}/Product.sol +186 -85
  275. package/contracts/product/ProductService.sol +212 -0
  276. package/contracts/product/ProductServiceManager.sol +42 -0
  277. package/contracts/registry/ChainNft.sol +8 -0
  278. package/contracts/registry/IRegistry.sol +31 -17
  279. package/contracts/registry/IRegistryService.sol +32 -38
  280. package/contracts/registry/ITransferInterceptor.sol +1 -0
  281. package/contracts/registry/Registry.sol +70 -67
  282. package/contracts/registry/RegistryAdmin.sol +141 -0
  283. package/contracts/registry/RegistryService.sol +65 -94
  284. package/contracts/registry/RegistryServiceManager.sol +22 -24
  285. package/contracts/registry/ReleaseManager.sol +318 -188
  286. package/contracts/registry/TokenRegistry.sol +19 -14
  287. package/contracts/shared/AccessManagerCustom.sol +736 -0
  288. package/contracts/shared/AccessManagerExtended.sol +469 -0
  289. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  290. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  291. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  292. package/contracts/{components → shared}/Component.sol +121 -86
  293. package/contracts/shared/ComponentService.sol +142 -0
  294. package/contracts/shared/ERC165.sol +2 -1
  295. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  296. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  297. package/contracts/shared/IComponent.sol +90 -0
  298. package/contracts/shared/INftOwnable.sol +5 -10
  299. package/contracts/shared/IPolicyHolder.sol +24 -10
  300. package/contracts/shared/IRegistryLinked.sol +0 -4
  301. package/contracts/shared/IService.sol +6 -4
  302. package/contracts/shared/IVersionable.sol +5 -48
  303. package/contracts/shared/NftOwnable.sol +20 -93
  304. package/contracts/shared/PolicyHolder.sol +31 -18
  305. package/contracts/shared/ProxyManager.sol +129 -24
  306. package/contracts/shared/Registerable.sol +14 -20
  307. package/contracts/shared/RegistryLinked.sol +5 -26
  308. package/contracts/shared/Service.sol +30 -18
  309. package/contracts/shared/TokenHandler.sol +14 -6
  310. package/contracts/shared/Versionable.sol +1 -90
  311. package/contracts/staking/IStakingService.sol +102 -0
  312. package/contracts/staking/StakingService.sol +169 -0
  313. package/contracts/staking/StakingServiceManager.sol +40 -0
  314. package/contracts/type/Amount.sol +109 -0
  315. package/contracts/{types → type}/Blocknumber.sol +1 -0
  316. package/contracts/type/ClaimId.sol +75 -0
  317. package/contracts/{types → type}/Fee.sol +17 -8
  318. package/contracts/{types → type}/NftId.sol +8 -0
  319. package/contracts/{types → type}/NftIdSet.sol +1 -1
  320. package/contracts/{types → type}/ObjectType.sol +13 -7
  321. package/contracts/type/PayoutId.sol +82 -0
  322. package/contracts/{types → type}/Referral.sol +4 -0
  323. package/contracts/{types → type}/RoleId.sol +62 -13
  324. package/contracts/type/Seconds.sol +54 -0
  325. package/contracts/{types → type}/StateId.sol +7 -2
  326. package/contracts/{types → type}/Timestamp.sol +18 -13
  327. package/contracts/{types → type}/UFixed.sol +1 -0
  328. package/contracts/{types → type}/Version.sol +1 -0
  329. package/package.json +1 -1
  330. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  331. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  332. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  333. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  334. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  335. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  337. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  340. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  342. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  344. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  346. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  348. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  352. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  354. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  356. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  358. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  360. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  361. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  362. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  363. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  364. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  365. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  366. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  367. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  368. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  370. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  372. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  374. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  376. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  378. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  379. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  381. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  383. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
  386. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
  388. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  389. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
  390. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  391. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1176
  392. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  393. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -602
  394. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  395. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  396. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  400. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1378
  402. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
  404. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
  406. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
  408. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
  410. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
  412. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  413. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  414. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  415. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  416. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  417. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  418. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -446
  420. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  422. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  423. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -759
  424. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  425. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  426. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  427. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  428. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  429. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  430. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  431. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  432. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  433. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  436. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  439. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  440. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  441. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  442. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  443. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  444. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  445. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  446. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  447. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  448. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  449. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  450. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  451. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  452. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  455. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  456. package/contracts/components/IComponent.sol +0 -50
  457. package/contracts/components/IPoolComponent.sol +0 -87
  458. package/contracts/components/Pool.sol +0 -254
  459. package/contracts/experiment/cloning/Cloner.sol +0 -47
  460. package/contracts/experiment/errors/Require.sol +0 -38
  461. package/contracts/experiment/errors/Revert.sol +0 -44
  462. package/contracts/experiment/inheritance/A.sol +0 -53
  463. package/contracts/experiment/inheritance/B.sol +0 -28
  464. package/contracts/experiment/inheritance/C.sol +0 -34
  465. package/contracts/experiment/inheritance/IA.sol +0 -13
  466. package/contracts/experiment/inheritance/IB.sol +0 -10
  467. package/contracts/experiment/inheritance/IC.sol +0 -12
  468. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  469. package/contracts/experiment/statemachine/ISM.sol +0 -25
  470. package/contracts/experiment/statemachine/SM.sol +0 -57
  471. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  472. package/contracts/experiment/types/TypeA.sol +0 -47
  473. package/contracts/experiment/types/TypeB.sol +0 -29
  474. package/contracts/instance/InstanceAccessManager.sol +0 -297
  475. package/contracts/instance/base/ComponentService.sol +0 -134
  476. package/contracts/instance/service/ApplicationService.sol +0 -268
  477. package/contracts/instance/service/BundleService.sol +0 -298
  478. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  479. package/contracts/instance/service/DistributionService.sol +0 -274
  480. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  481. package/contracts/instance/service/IBundleService.sol +0 -54
  482. package/contracts/instance/service/IDistributionService.sol +0 -65
  483. package/contracts/instance/service/IPolicyService.sol +0 -88
  484. package/contracts/instance/service/IPoolService.sol +0 -20
  485. package/contracts/instance/service/PolicyService.sol +0 -524
  486. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  487. package/contracts/instance/service/PoolService.sol +0 -109
  488. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  489. package/contracts/instance/service/ProductService.sol +0 -233
  490. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  491. package/contracts/registry/RegistryAccessManager.sol +0 -216
  492. package/contracts/shared/ContractDeployerLib.sol +0 -72
  493. package/contracts/test/TestFee.sol +0 -25
  494. package/contracts/test/TestRegisterable.sol +0 -18
  495. package/contracts/test/TestRoleId.sol +0 -14
  496. package/contracts/test/TestService.sol +0 -25
  497. package/contracts/test/TestToken.sol +0 -26
  498. package/contracts/test/TestVersion.sol +0 -44
  499. package/contracts/test/TestVersionable.sol +0 -17
  500. package/contracts/test/Usdc.sol +0 -26
  501. package/contracts/types/ChainId.sol +0 -38
  502. package/contracts/types/NumberId.sol +0 -52
  503. /package/contracts/{types → type}/AddressSet.sol +0 -0
  504. /package/contracts/{types → type}/DistributorType.sol +0 -0
  505. /package/contracts/{types → type}/Key32.sol +0 -0
  506. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,715 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ProductServiceManager",
4
+ "sourceName": "contracts/product/ProductServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "registryAddress",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "bytes32",
20
+ "name": "salt",
21
+ "type": "bytes32"
22
+ }
23
+ ],
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "NftId",
31
+ "name": "nftId",
32
+ "type": "uint96"
33
+ }
34
+ ],
35
+ "name": "ErrorNftOwnableAlreadyLinked",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "contractAddress",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableContractNotRegistered",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorNftOwnableInitialOwnerZero",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "account",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ErrorNftOwnableNotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registryAddress",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotRegistry",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorProxyManagerAlreadyDeployed",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "Version",
85
+ "name": "nextVersion",
86
+ "type": "uint24"
87
+ }
88
+ ],
89
+ "name": "ErrorProxyManagerNextVersionNotIncreasing",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "ErrorProxyManagerNotYetDeployed",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "ErrorProxyManagerZeroVersion",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "InvalidInitialization",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "NotInitializing",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": false,
117
+ "internalType": "uint64",
118
+ "name": "version",
119
+ "type": "uint64"
120
+ }
121
+ ],
122
+ "name": "Initialized",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": true,
130
+ "internalType": "address",
131
+ "name": "proxy",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "indexed": false,
136
+ "internalType": "address",
137
+ "name": "initialImplementation",
138
+ "type": "address"
139
+ }
140
+ ],
141
+ "name": "LogProxyManagerVersionableDeployed",
142
+ "type": "event"
143
+ },
144
+ {
145
+ "anonymous": false,
146
+ "inputs": [
147
+ {
148
+ "indexed": true,
149
+ "internalType": "address",
150
+ "name": "proxy",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "indexed": false,
155
+ "internalType": "address",
156
+ "name": "upgradedImplementation",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "LogProxyManagerVersionableUpgraded",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
166
+ "outputs": [
167
+ {
168
+ "internalType": "bytes32",
169
+ "name": "",
170
+ "type": "bytes32"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "initialImplementation",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "internalType": "bytes",
185
+ "name": "initializationData",
186
+ "type": "bytes"
187
+ }
188
+ ],
189
+ "name": "deploy",
190
+ "outputs": [
191
+ {
192
+ "internalType": "contract IVersionable",
193
+ "name": "versionable",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "stateMutability": "nonpayable",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "address",
204
+ "name": "initialImplementation",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "initializationData",
210
+ "type": "bytes"
211
+ },
212
+ {
213
+ "internalType": "bytes32",
214
+ "name": "salt",
215
+ "type": "bytes32"
216
+ }
217
+ ],
218
+ "name": "deployDetermenistic",
219
+ "outputs": [
220
+ {
221
+ "internalType": "contract IVersionable",
222
+ "name": "versionable",
223
+ "type": "address"
224
+ }
225
+ ],
226
+ "stateMutability": "nonpayable",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "address",
233
+ "name": "proxyOwner",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "internalType": "bytes",
238
+ "name": "deployData",
239
+ "type": "bytes"
240
+ }
241
+ ],
242
+ "name": "getDeployData",
243
+ "outputs": [
244
+ {
245
+ "internalType": "bytes",
246
+ "name": "data",
247
+ "type": "bytes"
248
+ }
249
+ ],
250
+ "stateMutability": "pure",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [],
255
+ "name": "getNftId",
256
+ "outputs": [
257
+ {
258
+ "internalType": "NftId",
259
+ "name": "",
260
+ "type": "uint96"
261
+ }
262
+ ],
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [],
268
+ "name": "getOwner",
269
+ "outputs": [
270
+ {
271
+ "internalType": "address",
272
+ "name": "",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "getProductService",
282
+ "outputs": [
283
+ {
284
+ "internalType": "contract ProductService",
285
+ "name": "productService",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "getProxy",
295
+ "outputs": [
296
+ {
297
+ "internalType": "contract UpgradableProxyWithAdmin",
298
+ "name": "",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "stateMutability": "nonpayable",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "getRegistry",
308
+ "outputs": [
309
+ {
310
+ "internalType": "contract IRegistry",
311
+ "name": "",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "stateMutability": "view",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "internalType": "bytes",
322
+ "name": "upgradeData",
323
+ "type": "bytes"
324
+ }
325
+ ],
326
+ "name": "getUpgradeData",
327
+ "outputs": [
328
+ {
329
+ "internalType": "bytes",
330
+ "name": "data",
331
+ "type": "bytes"
332
+ }
333
+ ],
334
+ "stateMutability": "pure",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "getVersion",
340
+ "outputs": [
341
+ {
342
+ "internalType": "Version",
343
+ "name": "",
344
+ "type": "uint24"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "idx",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "name": "getVersion",
359
+ "outputs": [
360
+ {
361
+ "internalType": "Version",
362
+ "name": "",
363
+ "type": "uint24"
364
+ }
365
+ ],
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "getVersionCount",
372
+ "outputs": [
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "",
376
+ "type": "uint256"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "Version",
386
+ "name": "_version",
387
+ "type": "uint24"
388
+ }
389
+ ],
390
+ "name": "getVersionInfo",
391
+ "outputs": [
392
+ {
393
+ "components": [
394
+ {
395
+ "internalType": "Version",
396
+ "name": "version",
397
+ "type": "uint24"
398
+ },
399
+ {
400
+ "internalType": "address",
401
+ "name": "implementation",
402
+ "type": "address"
403
+ },
404
+ {
405
+ "internalType": "address",
406
+ "name": "activatedBy",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "Timestamp",
411
+ "name": "activatedAt",
412
+ "type": "uint40"
413
+ },
414
+ {
415
+ "internalType": "Blocknumber",
416
+ "name": "activatedIn",
417
+ "type": "uint32"
418
+ }
419
+ ],
420
+ "internalType": "struct ProxyManager.VersionInfo",
421
+ "name": "",
422
+ "type": "tuple"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "initializeERC165",
431
+ "outputs": [],
432
+ "stateMutability": "nonpayable",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [
437
+ {
438
+ "internalType": "address",
439
+ "name": "initialOwner",
440
+ "type": "address"
441
+ },
442
+ {
443
+ "internalType": "address",
444
+ "name": "registryAddress",
445
+ "type": "address"
446
+ }
447
+ ],
448
+ "name": "initializeNftOwnable",
449
+ "outputs": [],
450
+ "stateMutability": "nonpayable",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [
455
+ {
456
+ "internalType": "address",
457
+ "name": "registry",
458
+ "type": "address"
459
+ }
460
+ ],
461
+ "name": "initializeProxyManager",
462
+ "outputs": [],
463
+ "stateMutability": "nonpayable",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [
468
+ {
469
+ "internalType": "address",
470
+ "name": "registryAddress",
471
+ "type": "address"
472
+ }
473
+ ],
474
+ "name": "initializeRegistryLinked",
475
+ "outputs": [],
476
+ "stateMutability": "nonpayable",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "address",
483
+ "name": "nftOwnableAddress",
484
+ "type": "address"
485
+ }
486
+ ],
487
+ "name": "linkToNftOwnable",
488
+ "outputs": [
489
+ {
490
+ "internalType": "NftId",
491
+ "name": "",
492
+ "type": "uint96"
493
+ }
494
+ ],
495
+ "stateMutability": "nonpayable",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [],
500
+ "name": "linkToProxy",
501
+ "outputs": [
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "",
505
+ "type": "uint96"
506
+ }
507
+ ],
508
+ "stateMutability": "nonpayable",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "linkToRegisteredNftId",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "bytes4",
522
+ "name": "interfaceId",
523
+ "type": "bytes4"
524
+ }
525
+ ],
526
+ "name": "registerInterface",
527
+ "outputs": [],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [
533
+ {
534
+ "internalType": "bytes4",
535
+ "name": "interfaceId",
536
+ "type": "bytes4"
537
+ }
538
+ ],
539
+ "name": "supportsInterface",
540
+ "outputs": [
541
+ {
542
+ "internalType": "bool",
543
+ "name": "",
544
+ "type": "bool"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "address",
554
+ "name": "newImplementation",
555
+ "type": "address"
556
+ },
557
+ {
558
+ "internalType": "bytes",
559
+ "name": "upgradeData",
560
+ "type": "bytes"
561
+ }
562
+ ],
563
+ "name": "upgrade",
564
+ "outputs": [
565
+ {
566
+ "internalType": "contract IVersionable",
567
+ "name": "versionable",
568
+ "type": "address"
569
+ }
570
+ ],
571
+ "stateMutability": "nonpayable",
572
+ "type": "function"
573
+ }
574
+ ],
575
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162007fb538038062007fb5833981016040819052620000349162000b98565b816200004081620000e9565b50600081604051620000529062000b5f565b8190604051809103906000f590508015801562000073573d6000803e3d6000fd5b50604080516001600160a01b038681166020830152308284015287166060808301919091528251808303909101815260809091019091529091506000620000bc83838662000209565b600580546001600160a01b0319166001600160a01b03929092169190911790555062000d71945050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b0316600081158015620001345750825b90506000826001600160401b03166001148015620001515750303b155b90508115801562000160575080155b156200017f5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b03191660011785558315620001ae57845460ff60401b1916680100000000000000001785555b620001ba3387620003ab565b83156200020157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b60006200021562000444565b6001600160a01b0316336001600160a01b0316146200024e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620002705760405163402b135f60e11b815260040160405180910390fd5b60006200027c62000444565b9050308386826200028e85896200059d565b6040516200029c9062000b6d565b620002aa9392919062000c21565b8190604051809103906000f5905080158015620002cb573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b815290519194506200035e918591630d8e6e2c9160048083019260209291908290030181865afa15801562000330573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000356919062000c58565b8784620005f7565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b620003b5620009ae565b620003c081620009ff565b620003ca62000b17565b6001600160a01b038216620003f25760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620004c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ed919062000c86565b156200057e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000578919062000caa565b91505090565b546c0100000000000000000000000090046001600160a01b0316919050565b60606349bb9e4b60e01b8383604051602401620005bc92919062000cc8565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b620006798373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801562000646573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200066c919062000c58565b62ffffff90811691161490565b1562000698576040516348c618db60e01b815260040160405180910390fd5b60045415620008035760048054620006b39060019062000cf6565b81548110620006c657620006c662000d18565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156200073b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000761919062000d2e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620007b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007dc919062000d2e565b116200080357604051633e614b6d60e11b815262ffffff8416600482015260240162000245565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015620008d7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008fd919062000d48565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620009fd57604051631afcd79f60e31b815260040160405180910390fd5b565b62000a09620009ae565b806001600160a01b03163b60000362000a415760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000245565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa92505050801562000abe575060408051601f3d908101601f1916820190925262000abb9181019062000c86565b60015b62000ae85760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000245565b8062000b135760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000245565b5050565b62000b21620009ae565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613874806200381283390190565b610f2f806200708683390190565b80516001600160a01b038116811462000b9357600080fd5b919050565b60008060006060848603121562000bae57600080fd5b62000bb98462000b7b565b925062000bc96020850162000b7b565b9150604084015190509250925092565b6000815180845260005b8181101562000c015760208185018101518683018201520162000be3565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b0384811682528316602082015260606040820181905260009062000c4f9083018462000bd9565b95945050505050565b60006020828403121562000c6b57600080fd5b815162ffffff8116811462000c7f57600080fd5b9392505050565b60006020828403121562000c9957600080fd5b8151801515811462000c7f57600080fd5b60006020828403121562000cbd57600080fd5b62000c7f8262000b7b565b6001600160a01b038316815260406020820181905260009062000cee9083018462000bd9565b949350505050565b81810381811115620005f157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000d4157600080fd5b5051919050565b60006020828403121562000d5b57600080fd5b815164ffffffffff8116811462000c7f57600080fd5b612a918062000d816000396000f3fe60806040523480156200001157600080fd5b5060043610620001755760003560e01c8063644c45e011620000d3578063ada9652e1162000086578063ada9652e146200045c578063b88da7591462000473578063c987336c146200048a578063e97fac0514620004a1578063f7c34ee014620004b8578063fd0c63d914620004cf57600080fd5b8063644c45e014620003df578063675393bf14620003ff578063893d20e814620004165780638e9afce61462000420578063933a9ce81462000437578063946dfcfe146200044957600080fd5b8063214cdb80116200012c578063214cdb80146200025757806336fc697e146200026e57806340be237614620002785780634288121d14620002a85780634d459c9014620002ba5780635ab1bd5314620003cd57600080fd5b806301ffc9a7146200017a578063058f7a9714620001bf57806307484e8014620001d85780630d8e6e2c1462000208578063138461e014620002275780631775564d1462000231575b600080fd5b620001aa6200018b366004620016b4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001d6620001d0366004620016fd565b620004d9565b005b620001ef620001e9366004620017c8565b620005f2565b6040516001600160a01b039091168152602001620001b6565b6200021262000794565b60405162ffffff9091168152602001620001b6565b620001d66200080a565b620002486200024236600462001827565b62000818565b604051620001b69190620018c5565b620001d662000268366004620016b4565b62000872565b620001d6620008a1565b6200028f62000289366004620016fd565b620008e9565b6040516001600160601b039091168152602001620001b6565b6005546001600160a01b0316620001ef565b6200036f620002cb366004620018ec565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001620001b6565b6001546001600160a01b0316620001ef565b60008051602062002a3c833981519152546001600160601b03166200028f565b620001d662000410366004620016fd565b62000935565b620001ef62000a4d565b62000248620004313660046200190c565b62000b8c565b6002546001600160a01b0316620001ef565b6004545b604051908152602001620001b6565b6200044d60008051602062002a3c83398151915281565b62000212620004843660046200194d565b62000be1565b620001ef6200049b36600462001827565b62000c25565b620001ef620004b236600462001827565b62000e63565b620001d6620004c936600462001967565b62000ffb565b6200028f6200107a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620005205750825b905060008267ffffffffffffffff1660011480156200053e5750303b155b9050811580156200054d575080155b156200056c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200059757845460ff60401b1916600160401b1785555b620005a3338762000ffb565b8315620005ea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620005fe62000a4d565b6001600160a01b0316336001600160a01b031614620006375760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620006595760405163402b135f60e11b815260040160405180910390fd5b60006200066562000a4d565b90503083868262000677858962000818565b6040516200068590620016a6565b6200069393929190620019a5565b8190604051809103906000f5905080158015620006b4573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000747918591630d8e6e2c9160048083019260209291908290030181865afa15801562000719573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200073f9190620019dc565b878462001094565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa158015620007df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008059190620019dc565b905090565b62000815306200144b565b50565b60606349bb9e4b60e01b838360405160240162000837929190620019fc565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200087c6200165a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620008ab6200165a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000620008f562000a4d565b6001600160a01b0316336001600160a01b0316146200092a5760405163086391f760e31b81523360048201526024016200062e565b6200086c826200144b565b6200093f6200165a565b806001600160a01b03163b600003620009775760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620009f4575060408051601f3d908101601f19168201909252620009f19181019062001a22565b60015b62000a1e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b8062000a495760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200062e565b5050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000abf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae5919062001a22565b1562000b76576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000b4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b70919062001a46565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000ba99190620018c5565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000bf95762000bf962001a66565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000c3162000a4d565b6001600160a01b0316336001600160a01b03161462000c665760405163086391f760e31b81523360048201526024016200062e565b60045460000362000c8a5760405163366dfd2160e21b815260040160405180910390fd5b600062000c9662000a4d565b9050600062000cad6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000ced573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d13919062001a46565b6002549091506001600160a01b03908116908216639623609d828862000d398962000b8c565b6040518463ffffffff1660e01b815260040162000d5993929190620019a5565b600060405180830381600087803b15801562000d7457600080fd5b505af115801562000d89573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000e16846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000de8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e0e9190620019dc565b878562001094565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000e6f62000a4d565b6001600160a01b0316336001600160a01b03161462000ea45760405163086391f760e31b81523360048201526024016200062e565b6004541562000ec65760405163402b135f60e11b815260040160405180910390fd5b600062000ed262000a4d565b905030848162000ee3848762000818565b60405162000ef190620016a6565b62000eff93929190620019a5565b604051809103906000f08015801562000f1c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000faf918591630d8e6e2c9160048083019260209291908290030181865afa15801562000f81573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fa79190620019dc565b868462001094565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b620010056200165a565b620010108162000935565b6200101a620008a1565b6001600160a01b038216620010425760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062002a3c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60025460009062000805906001600160a01b0316620008e9565b620011168373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015620010e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011099190620019dc565b62ffffff90811691161490565b1562001135576040516348c618db60e01b815260040160405180910390fd5b60045415620012a05760048054620011509060019062001a7c565b8154811062001163576200116362001a66565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620011d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011fe919062001a9e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801562001253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001279919062001a9e565b11620012a057604051633e614b6d60e11b815262ffffff841660048201526024016200062e565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af415801562001374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200139a919062001ab8565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620014bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014e3919062001a22565b15620015115780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016200062e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801562001566573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200158c919062001a22565b620015b65760405163b9304b0d60e01b81526001600160a01b03841660048201526024016200062e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156200160b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001631919062001ae1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620016a457604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f8062001b0d83390190565b600060208284031215620016c757600080fd5b81356001600160e01b031981168114620016e057600080fd5b9392505050565b6001600160a01b03811681146200081557600080fd5b6000602082840312156200171057600080fd5b8135620016e081620016e7565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200174557600080fd5b813567ffffffffffffffff808211156200176357620017636200171d565b604051601f8301601f19908116603f011681019082821181831017156200178e576200178e6200171d565b81604052838152866020858801011115620017a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600060608486031215620017de57600080fd5b8335620017eb81620016e7565b9250602084013567ffffffffffffffff8111156200180857600080fd5b620018168682870162001733565b925050604084013590509250925092565b600080604083850312156200183b57600080fd5b82356200184881620016e7565b9150602083013567ffffffffffffffff8111156200186557600080fd5b620018738582860162001733565b9150509250929050565b6000815180845260005b81811015620018a55760208185018101518683018201520162001887565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620016e060208301846200187d565b62ffffff811681146200081557600080fd5b600060208284031215620018ff57600080fd5b8135620016e081620018da565b6000602082840312156200191f57600080fd5b813567ffffffffffffffff8111156200193757600080fd5b620019458482850162001733565b949350505050565b6000602082840312156200196057600080fd5b5035919050565b600080604083850312156200197b57600080fd5b82356200198881620016e7565b915060208301356200199a81620016e7565b809150509250929050565b6001600160a01b03848116825283166020820152606060408201819052600090620019d3908301846200187d565b95945050505050565b600060208284031215620019ef57600080fd5b8151620016e081620018da565b6001600160a01b038316815260406020820181905260009062001945908301846200187d565b60006020828403121562001a3557600080fd5b81518015158114620016e057600080fd5b60006020828403121562001a5957600080fd5b8151620016e081620016e7565b634e487b7160e01b600052603260045260246000fd5b818103818111156200086c57634e487b7160e01b600052601160045260246000fd5b60006020828403121562001ab157600080fd5b5051919050565b60006020828403121562001acb57600080fd5b815164ffffffffff81168114620016e057600080fd5b60006020828403121562001af457600080fd5b81516001600160601b0381168114620016e057600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220d665243e33bd4cc81ddde9b2d51b34c6c302f049d031e4bf77d153fb2e03854a64736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61378e80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063644c45e0116101045780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461042d578063caf4e3d41461044b578063cc9fc59a14610453578063f7c34ee01461045b57600080fd5b80638fb36037146103d5578063ada9652e146103f6578063b68d18091461040b578063b6b412ba1461041a57600080fd5b80637cef4842116100de5780637cef484214610394578063893d20e8146103a75780638e32e979146103af5780638f997f6d146103c257600080fd5b8063644c45e014610350578063675393bf1461036e5780637a9e5e4b1461038157600080fd5b806327bb7a331161017157806340be23761161014b57806340be2376146102da5780634420e4861461030557806349bb9e4b146103185780635ab1bd531461032b57600080fd5b806327bb7a33146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b80630fec111c116101ad5780630fec111c14610247578063138461e01461025c5780631eff4b2214610264578063214cdb801461029957600080fd5b806301ffc9a7146101d4578063095e2b72146102165780630d8e6e2c1461022b575b600080fd5b6102016101e23660046129ef565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004612b68565b61046e565b005b61023361056a565b60405162ffffff909116815260200161020d565b61024f6105f4565b60405161020d9190612c05565b610229610715565b61028b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102296102a73660046129ef565b610721565b6102296102ba366004612cd7565b61074e565b6102296102cd366004612d6f565b6107f3565b610229610940565b6102ed6102e8366004612da3565b610986565b6040516001600160601b03909116815260200161020d565b6102ed610313366004612da3565b6109d9565b610229610326366004612dc0565b610a9e565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6000805160206136f9833981519152546001600160601b03166102ed565b61022961037c366004612da3565b610b9d565b61022961038f366004612da3565b610caa565b6102296103a2366004612dde565b610d44565b610338610e20565b6102296103bd366004612e15565b610f57565b6102296103d0366004612b68565b611190565b6103dd61131d565b6040516001600160e01b0319909116815260200161020d565b61028b6000805160206136f983398151915281565b604051606e815260200161020d565b610229610428366004612e90565b611355565b600080516020613719833981519152546001600160a01b0316610338565b610338611523565b61033861152f565b610229610469366004612ebc565b61153b565b60008061047b606e6115b2565b925050915060006040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105049190612eea565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b8152600401610531929190612f2f565b600060405180830381600087803b15801561054b57600080fd5b505af115801561055f573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ef9190612f54565b905090565b6105fc6129b1565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610671610e20565b6001600160a01b0316815260200182600101805461068e90612f79565b80601f01602080910402602001604051908101604052809291908181526020018280546106ba90612f79565b80156107075780601f106106dc57610100808354040283529160200191610707565b820191906000526020600020905b8154815290600101906020018083116106ea57829003601f168201915b505050505081525091505090565b61071e30611755565b50565b610729611956565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610756611956565b610760828761153b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107e98382613001565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61081561056a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610855573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087991906130d5565b6000805160206137398339815191528054600160401b900460ff16806108ac575080546001600160401b03808416911610155b156108ca5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556108f48361198f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610948611956565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610990610e20565b6001600160a01b0316336001600160a01b0316146109c85760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109d182611755565b90505b919050565b6000808080806109f286606e6109ed611997565b611a0e565b92965090945092509050856000610a07611523565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610a59573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a81919081019061316e565b805197509050610a92848389611d90565b50505050505050919050565b6000805160206137398339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad15750825b90506000826001600160401b03166001148015610aed5750303b155b905081158015610afb575080155b15610b195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4357845460ff60401b1916600160401b1785555b610b4d878761244b565b8315610b9457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba5611956565b806001600160a01b03163b600003610bdb5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109bf565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610c55575060408051601f3d908101601f19168201909252610c5291810190613240565b60015b610c7d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109bf565b80610ca65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109bf565b5050565b33610cca600080516020613719833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d055760405162d1953b60e31b81526001600160a01b03821660048201526024016109bf565b816001600160a01b03163b600003610d3b576040516361798f2f60e11b81526001600160a01b03831660048201526024016109bf565b610ca682612688565b6000610d50606e6115b2565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db69190612eea565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef484290604401600060405180830381600087803b158015610e0c57600080fd5b505af1158015610b94573d6000803e3d6000fd5b6000806000805160206136f983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb49190613240565b15610f41576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3b9190612eea565b91505090565b54600160601b90046001600160a01b0316919050565b610f5f611956565b610fdf83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc5919061325d565b603c6000856040518060200160405280600081525061074e565b6001600160a01b03821615610ffc57610ff7826126e9565b61116b565b60006110106001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611070573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611094919061327a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156110d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fd9190612eea565b9050611169816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611140573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111649190612eea565b6126e9565b505b61117b634a531f3360e01b610721565b61118b63b68d180960e01b610721565b505050565b600061119c606e6115b2565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112049190612eea565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611258573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112809190810190613297565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed9190612eea565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b815260040161053193929190613316565b600080516020613719833981519152805460009190600160a01b900460ff16611347576000610f3b565b638fb3603760e01b91505090565b600080611362606e6115b2565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612eea565b60405163242bdc1960e21b81526001600160601b03851660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801561141f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611443919061337e565b9050858160800181905250848160a00181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b99190612eea565b6001600160a01b0316630cbc6b89858360ff6040518463ffffffff1660e01b81526004016114e9939291906134ba565b600060405180830381600087803b15801561150357600080fd5b505af1158015611517573d6000803e3d6000fd5b50505050505050505050565b60006105ef60286126fa565b60006105ef60466126fa565b611543611956565b61154c81610b9d565b611554610940565b6001600160a01b03821661157b5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206136f983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006115bc6129b1565b60006115d06001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015611616573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163a919061325d565b92506116468385612807565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b09190612eea565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa1580156116fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171f9190613240565b1561174e57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016109bf565b9193909250565b6000806000805160206136f983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190613240565b156118155780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109bf565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611869573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188d9190613240565b6118b55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109bf565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192d919061325d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061373983398151915254600160401b900460ff1661198d57604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf611956565b6040516368aebf7b60e01b81526005600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af41580156119ea573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ef91906130d5565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a869190613240565b611aae576040516359bff0e360e11b81526001600160a01b03881660048201526024016109bf565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611aee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b16919081019061316e565b9050611b2d81604001518860ff9081169116141590565b15611b6d576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016109bf565b60a08101516001600160a01b0385811690821614611bbf5760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016109bf565b81602001519250611bcf8361290b565b93506000846001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190612eea565b604051631517388760e21b81526001600160401b038a1660048201526001600160a01b03919091169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611ca0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc491906130d5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03891660248201526044016040805180830381865afa158015611d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3a91906134ea565b50905080611d8457604051636af540d960e01b81526001600160601b03851660048201526001600160401b03891660248201526001600160a01b03871660448201526064016109bf565b50505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611dd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df7919061337e565b90506000611e0d6001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e8a919081019061316e565b6080015190506000611ea46001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611ef9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f21919081019061316e565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611f7257600080fd5b505af1158015611f86573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611fd457600080fd5b505af1158015611fe8573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b15801561203657600080fd5b505af115801561204a573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561208957600080fd5b505af115801561209d573d6000803e3d6000fd5b50505050866001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121039190612eea565b6001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015612151573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612175919061337e565b6040518363ffffffff1660e01b8152600401612192929190613522565b600060405180830381600087803b1580156121ac57600080fd5b505af11580156121c0573d6000803e3d6000fd5b5060009250600191506121d09050565b60405190808252806020026020018201604052801561220357816020015b60608152602001906001900390816121ee5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061223757612237613540565b602002602001018190525063b6b412ba60e01b8160008151811061225d5761225d613540565b602002602001015160008151811061227757612277613540565b6001600160e01b031992909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090506122bd611997565b816000815181106122d0576122d0613540565b60200260200101906001600160401b031690816001600160401b0316815250506122f861152f565b6001600160a01b0316636c6fbb286123186001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612360573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612384919061325d565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156123c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123eb9190810190613556565b86866040518663ffffffff1660e01b815260040161240d9594939291906135e2565b600060405180830381600087803b15801561242757600080fd5b505af115801561243b573d6000803e3d6000fd5b5050505050505050509392505050565b6000805160206137398339815191528054600160401b810460ff1615906001600160401b031660008115801561247e5750825b90506000826001600160401b0316600114801561249a5750303b155b9050811580156124a8575080155b156124c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156124f057845460ff60401b1916600160401b1785555b6000808780602001905181019061250791906136b6565b925050915061251782828b610f57565b6001546001600160a01b031663d39e6043608c61253261056a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015612587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ab919061327a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126149190612eea565b600280546001600160a01b0319166001600160a01b03929092169190911790556126446308bcea6160e01b610721565b50508315610b9457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8b565b60008051602061371983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6126f1611956565b61071e816129a0565b600061270e6001546001600160a01b031690565b6001600160a01b031663d39e60438361272561056a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561277a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279e919061327a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d19190612eea565b61280f6129b1565b60006128236001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612872573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289a919081019061316e565b91506128b182604001518460ff9081169116141590565b156128f557608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016109bf565b612902826020015161290b565b90509250929050565b600061291f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561296e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612996919081019061316e565b6080015192915050565b6129a8611956565b61071e81612688565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612a0157600080fd5b81356001600160e01b031981168114612a1957600080fd5b9392505050565b80356001600160c01b0319811681146109d457600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612a7057612a70612a38565b60405290565b60405160e081016001600160401b0381118282101715612a7057612a70612a38565b60405161010081016001600160401b0381118282101715612a7057612a70612a38565b604051601f8201601f191681016001600160401b0381118282101715612ae357612ae3612a38565b604052919050565b60006001600160401b03821115612b0457612b04612a38565b50601f01601f191660200190565b600082601f830112612b2357600080fd5b8135612b36612b3182612aeb565b612abb565b818152846020838601011115612b4b57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215612b7b57600080fd5b612b8483612a20565b915060208301356001600160401b03811115612b9f57600080fd5b612bab85828601612b12565b9150509250929050565b60005b83811015612bd0578181015183820152602001612bb8565b50506000910152565b60008151808452612bf1816020860160208601612bb5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612c6e60c08401826001600160a01b03169052565b5060c083015160e080840152612c88610100840182612bd9565b949350505050565b6001600160a01b038116811461071e57600080fd5b6001600160601b038116811461071e57600080fd5b60ff8116811461071e57600080fd5b801515811461071e57600080fd5b60008060008060008060c08789031215612cf057600080fd5b8635612cfb81612c90565b95506020870135612d0b81612ca5565b94506040870135612d1b81612cba565b93506060870135612d2b81612cc9565b92506080870135612d3b81612c90565b915060a08701356001600160401b03811115612d5657600080fd5b612d6289828a01612b12565b9150509295509295509295565b600060208284031215612d8157600080fd5b81356001600160401b03811115612d9757600080fd5b612c8884828501612b12565b600060208284031215612db557600080fd5b8135612a1981612c90565b60008060408385031215612dd357600080fd5b8235612b8481612c90565b60008060408385031215612df157600080fd5b612dfa83612a20565b91506020830135612e0a81612cba565b809150509250929050565b600080600060608486031215612e2a57600080fd5b8335612e3581612c90565b92506020840135612e4581612c90565b91506040840135612e5581612c90565b809150509250925092565b600060408284031215612e7257600080fd5b612e7a612a4e565b9050813581526020820135602082015292915050565b60008060808385031215612ea357600080fd5b612ead8484612e60565b91506129028460408501612e60565b60008060408385031215612ecf57600080fd5b8235612eda81612c90565b91506020830135612e0a81612c90565b600060208284031215612efc57600080fd5b8151612a1981612c90565b6001600160601b0381511682526000602082015160406020850152612c886040850182612bd9565b6001600160401b0360c01b83168152604060208201526000612c886040830184612f07565b600060208284031215612f6657600080fd5b815162ffffff81168114612a1957600080fd5b600181811c90821680612f8d57607f821691505b602082108103612fad57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561118b57600081815260208120601f850160051c81016020861015612fda5750805b601f850160051c820191505b81811015612ff957828155600101612fe6565b505050505050565b81516001600160401b0381111561301a5761301a612a38565b61302e816130288454612f79565b84612fb3565b602080601f831160018114613063576000841561304b5750858301515b600019600386901b1c1916600185901b178555612ff9565b600085815260208120601f198616915b8281101561309257888601518255948401946001909101908401613073565b50858210156130b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461071e57600080fd5b6000602082840312156130e757600080fd5b8151612a19816130c0565b80516109d481612ca5565b80516109d481612cba565b80516109d481612cc9565b80516109d481612c90565b600061312c612b3184612aeb565b905082815283838301111561314057600080fd5b612a19836020830184612bb5565b600082601f83011261315f57600080fd5b612a198383516020850161311e565b60006020828403121561318057600080fd5b81516001600160401b038082111561319757600080fd5b9083019060e082860312156131ab57600080fd5b6131b3612a76565b6131bc836130f2565b81526131ca602084016130f2565b60208201526131db604084016130fd565b60408201526131ec60608401613108565b60608201526131fd60808401613113565b608082015261320e60a08401613113565b60a082015260c08301518281111561322557600080fd5b6132318782860161314e565b60c08301525095945050505050565b60006020828403121561325257600080fd5b8151612a1981612cc9565b60006020828403121561326f57600080fd5b8151612a1981612ca5565b60006020828403121561328c57600080fd5b8151612a1981612cba565b6000602082840312156132a957600080fd5b81516001600160401b03808211156132c057600080fd5b90830190604082860312156132d457600080fd5b6132dc612a4e565b82516132e781612ca5565b81526020830151828111156132fb57600080fd5b6133078782860161314e565b60208301525095945050505050565b6001600160401b0360c01b8416815260606020820152600061333b6060830185612f07565b905060ff83166040830152949350505050565b60006040828403121561336057600080fd5b613368612a4e565b9050815181526020820151602082015292915050565b6000610140828403121561339157600080fd5b613399612a98565b6133a283613113565b81526133b060208401613113565b60208201526133c1604084016130f2565b60408201526133d2606084016130f2565b60608201526133e4846080850161334e565b60808201526133f68460c0850161334e565b60a08201526134086101008401613108565b60c082015261341a6101208401613113565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b0380821660408501528060608401511660608501525050608081015161347f608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b038416815261018081016134d86020830185613426565b60ff8316610160830152949350505050565b600080604083850312156134fd57600080fd5b825161350881612cc9565b602084015190925063ffffffff81168114612e0a57600080fd5b6001600160601b03831681526101608101612a196020830184613426565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561356857600080fd5b81516001600160401b0381111561357e57600080fd5b8201601f8101841361358f57600080fd5b612c888482516020840161311e565b600081518084526020808501945080840160005b838110156135d75781516001600160401b0316875295820195908201906001016135b2565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015261361360a0840187612bd9565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561369157868403601f19018652825180518086529089019089860190845b8181101561367c5783516001600160e01b0319168352928b0192918b0191600101613656565b50509689019694505091870191600101613634565b50505086810360808801526136a6818961359e565b9c9b505050505050505050505050565b6000806000606084860312156136cb57600080fd5b83516136d681612c90565b60208501519093506136e781612c90565b6040850151909250612e5581612c9056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122071b55ae9ba948155474717faaf827c36bed295b9d2add5b66b0ea7eecf70e60764736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
576
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620001755760003560e01c8063644c45e011620000d3578063ada9652e1162000086578063ada9652e146200045c578063b88da7591462000473578063c987336c146200048a578063e97fac0514620004a1578063f7c34ee014620004b8578063fd0c63d914620004cf57600080fd5b8063644c45e014620003df578063675393bf14620003ff578063893d20e814620004165780638e9afce61462000420578063933a9ce81462000437578063946dfcfe146200044957600080fd5b8063214cdb80116200012c578063214cdb80146200025757806336fc697e146200026e57806340be237614620002785780634288121d14620002a85780634d459c9014620002ba5780635ab1bd5314620003cd57600080fd5b806301ffc9a7146200017a578063058f7a9714620001bf57806307484e8014620001d85780630d8e6e2c1462000208578063138461e014620002275780631775564d1462000231575b600080fd5b620001aa6200018b366004620016b4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001d6620001d0366004620016fd565b620004d9565b005b620001ef620001e9366004620017c8565b620005f2565b6040516001600160a01b039091168152602001620001b6565b6200021262000794565b60405162ffffff9091168152602001620001b6565b620001d66200080a565b620002486200024236600462001827565b62000818565b604051620001b69190620018c5565b620001d662000268366004620016b4565b62000872565b620001d6620008a1565b6200028f62000289366004620016fd565b620008e9565b6040516001600160601b039091168152602001620001b6565b6005546001600160a01b0316620001ef565b6200036f620002cb366004620018ec565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001620001b6565b6001546001600160a01b0316620001ef565b60008051602062002a3c833981519152546001600160601b03166200028f565b620001d662000410366004620016fd565b62000935565b620001ef62000a4d565b62000248620004313660046200190c565b62000b8c565b6002546001600160a01b0316620001ef565b6004545b604051908152602001620001b6565b6200044d60008051602062002a3c83398151915281565b62000212620004843660046200194d565b62000be1565b620001ef6200049b36600462001827565b62000c25565b620001ef620004b236600462001827565b62000e63565b620001d6620004c936600462001967565b62000ffb565b6200028f6200107a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620005205750825b905060008267ffffffffffffffff1660011480156200053e5750303b155b9050811580156200054d575080155b156200056c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200059757845460ff60401b1916600160401b1785555b620005a3338762000ffb565b8315620005ea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620005fe62000a4d565b6001600160a01b0316336001600160a01b031614620006375760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620006595760405163402b135f60e11b815260040160405180910390fd5b60006200066562000a4d565b90503083868262000677858962000818565b6040516200068590620016a6565b6200069393929190620019a5565b8190604051809103906000f5905080158015620006b4573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000747918591630d8e6e2c9160048083019260209291908290030181865afa15801562000719573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200073f9190620019dc565b878462001094565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa158015620007df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008059190620019dc565b905090565b62000815306200144b565b50565b60606349bb9e4b60e01b838360405160240162000837929190620019fc565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200087c6200165a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620008ab6200165a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000620008f562000a4d565b6001600160a01b0316336001600160a01b0316146200092a5760405163086391f760e31b81523360048201526024016200062e565b6200086c826200144b565b6200093f6200165a565b806001600160a01b03163b600003620009775760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620009f4575060408051601f3d908101601f19168201909252620009f19181019062001a22565b60015b62000a1e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b8062000a495760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200062e565b5050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000abf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae5919062001a22565b1562000b76576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000b4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b70919062001a46565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000ba99190620018c5565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000bf95762000bf962001a66565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000c3162000a4d565b6001600160a01b0316336001600160a01b03161462000c665760405163086391f760e31b81523360048201526024016200062e565b60045460000362000c8a5760405163366dfd2160e21b815260040160405180910390fd5b600062000c9662000a4d565b9050600062000cad6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000ced573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d13919062001a46565b6002549091506001600160a01b03908116908216639623609d828862000d398962000b8c565b6040518463ffffffff1660e01b815260040162000d5993929190620019a5565b600060405180830381600087803b15801562000d7457600080fd5b505af115801562000d89573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000e16846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000de8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e0e9190620019dc565b878562001094565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000e6f62000a4d565b6001600160a01b0316336001600160a01b03161462000ea45760405163086391f760e31b81523360048201526024016200062e565b6004541562000ec65760405163402b135f60e11b815260040160405180910390fd5b600062000ed262000a4d565b905030848162000ee3848762000818565b60405162000ef190620016a6565b62000eff93929190620019a5565b604051809103906000f08015801562000f1c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000faf918591630d8e6e2c9160048083019260209291908290030181865afa15801562000f81573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fa79190620019dc565b868462001094565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b620010056200165a565b620010108162000935565b6200101a620008a1565b6001600160a01b038216620010425760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062002a3c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60025460009062000805906001600160a01b0316620008e9565b620011168373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015620010e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011099190620019dc565b62ffffff90811691161490565b1562001135576040516348c618db60e01b815260040160405180910390fd5b60045415620012a05760048054620011509060019062001a7c565b8154811062001163576200116362001a66565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620011d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011fe919062001a9e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801562001253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001279919062001a9e565b11620012a057604051633e614b6d60e11b815262ffffff841660048201526024016200062e565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af415801562001374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200139a919062001ab8565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620014bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014e3919062001a22565b15620015115780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016200062e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801562001566573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200158c919062001a22565b620015b65760405163b9304b0d60e01b81526001600160a01b03841660048201526024016200062e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156200160b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001631919062001ae1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620016a457604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f8062001b0d83390190565b600060208284031215620016c757600080fd5b81356001600160e01b031981168114620016e057600080fd5b9392505050565b6001600160a01b03811681146200081557600080fd5b6000602082840312156200171057600080fd5b8135620016e081620016e7565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200174557600080fd5b813567ffffffffffffffff808211156200176357620017636200171d565b604051601f8301601f19908116603f011681019082821181831017156200178e576200178e6200171d565b81604052838152866020858801011115620017a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600060608486031215620017de57600080fd5b8335620017eb81620016e7565b9250602084013567ffffffffffffffff8111156200180857600080fd5b620018168682870162001733565b925050604084013590509250925092565b600080604083850312156200183b57600080fd5b82356200184881620016e7565b9150602083013567ffffffffffffffff8111156200186557600080fd5b620018738582860162001733565b9150509250929050565b6000815180845260005b81811015620018a55760208185018101518683018201520162001887565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620016e060208301846200187d565b62ffffff811681146200081557600080fd5b600060208284031215620018ff57600080fd5b8135620016e081620018da565b6000602082840312156200191f57600080fd5b813567ffffffffffffffff8111156200193757600080fd5b620019458482850162001733565b949350505050565b6000602082840312156200196057600080fd5b5035919050565b600080604083850312156200197b57600080fd5b82356200198881620016e7565b915060208301356200199a81620016e7565b809150509250929050565b6001600160a01b03848116825283166020820152606060408201819052600090620019d3908301846200187d565b95945050505050565b600060208284031215620019ef57600080fd5b8151620016e081620018da565b6001600160a01b038316815260406020820181905260009062001945908301846200187d565b60006020828403121562001a3557600080fd5b81518015158114620016e057600080fd5b60006020828403121562001a5957600080fd5b8151620016e081620016e7565b634e487b7160e01b600052603260045260246000fd5b818103818111156200086c57634e487b7160e01b600052601160045260246000fd5b60006020828403121562001ab157600080fd5b5051919050565b60006020828403121562001acb57600080fd5b815164ffffffffff81168114620016e057600080fd5b60006020828403121562001af457600080fd5b81516001600160601b0381168114620016e057600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220d665243e33bd4cc81ddde9b2d51b34c6c302f049d031e4bf77d153fb2e03854a64736f6c63430008140033",
577
+ "linkReferences": {
578
+ "contracts/type/NftId.sol": {
579
+ "NftIdLib": [
580
+ {
581
+ "length": 20,
582
+ "start": 1164
583
+ },
584
+ {
585
+ "length": 20,
586
+ "start": 6149
587
+ },
588
+ {
589
+ "length": 20,
590
+ "start": 8707
591
+ },
592
+ {
593
+ "length": 20,
594
+ "start": 18254
595
+ },
596
+ {
597
+ "length": 20,
598
+ "start": 20611
599
+ }
600
+ ]
601
+ },
602
+ "contracts/type/RoleId.sol": {
603
+ "RoleIdLib": [
604
+ {
605
+ "length": 20,
606
+ "start": 21160
607
+ },
608
+ {
609
+ "length": 20,
610
+ "start": 21854
611
+ }
612
+ ]
613
+ },
614
+ "contracts/type/Timestamp.sol": {
615
+ "TimestampLib": [
616
+ {
617
+ "length": 20,
618
+ "start": 2204
619
+ },
620
+ {
621
+ "length": 20,
622
+ "start": 8378
623
+ }
624
+ ]
625
+ },
626
+ "contracts/type/Version.sol": {
627
+ "VersionLib": [
628
+ {
629
+ "length": 20,
630
+ "start": 1534
631
+ },
632
+ {
633
+ "length": 20,
634
+ "start": 1792
635
+ },
636
+ {
637
+ "length": 20,
638
+ "start": 1915
639
+ },
640
+ {
641
+ "length": 20,
642
+ "start": 7708
643
+ },
644
+ {
645
+ "length": 20,
646
+ "start": 7966
647
+ },
648
+ {
649
+ "length": 20,
650
+ "start": 8089
651
+ },
652
+ {
653
+ "length": 20,
654
+ "start": 16009
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 16621
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 24133
663
+ },
664
+ {
665
+ "length": 20,
666
+ "start": 24632
667
+ }
668
+ ],
669
+ "VersionPartLib": [
670
+ {
671
+ "length": 20,
672
+ "start": 18734
673
+ }
674
+ ]
675
+ }
676
+ },
677
+ "deployedLinkReferences": {
678
+ "contracts/type/NftId.sol": {
679
+ "NftIdLib": [
680
+ {
681
+ "length": 20,
682
+ "start": 2692
683
+ },
684
+ {
685
+ "length": 20,
686
+ "start": 5250
687
+ }
688
+ ]
689
+ },
690
+ "contracts/type/Timestamp.sol": {
691
+ "TimestampLib": [
692
+ {
693
+ "length": 20,
694
+ "start": 4921
695
+ }
696
+ ]
697
+ },
698
+ "contracts/type/Version.sol": {
699
+ "VersionLib": [
700
+ {
701
+ "length": 20,
702
+ "start": 4251
703
+ },
704
+ {
705
+ "length": 20,
706
+ "start": 4509
707
+ },
708
+ {
709
+ "length": 20,
710
+ "start": 4632
711
+ }
712
+ ]
713
+ }
714
+ }
715
+ }