@etherisc/gif-next 0.0.2-ec436bf-674 → 0.0.2-ed3b1b0-046

Sign up to get free protection for your applications and to get access to all the features.
Files changed (488) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +819 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +454 -554
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +314 -178
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +452 -3054
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +612 -181
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +443 -257
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +452 -364
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +320 -117
  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/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +91 -2
  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 +71 -45
  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 +1288 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +735 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +338 -354
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
  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/pool/Pool.sol/Pool.json +1407 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +747 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +687 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1386 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  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/product/IPolicyService.sol/IPolicyService.json +651 -0
  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} +237 -288
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +861 -0
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IProductService.sol/IProductService.json} +162 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +779 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +727 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +679 -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 +283 -220
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +332 -225
  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 +303 -324
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +238 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +346 -331
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +319 -143
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +846 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +132 -57
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  126. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentService.sol/ComponentService.json} +271 -180
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +636 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -53
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  164. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → staking/IStakingService.sol/IStakingService.json} +226 -145
  165. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  166. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  167. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  168. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
  169. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  171. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  173. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  174. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  175. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  177. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  179. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  181. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  183. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  185. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  186. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  187. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  189. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  191. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  193. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  195. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  197. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  199. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  201. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  203. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  205. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  207. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  209. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  211. package/contracts/distribution/Distribution.sol +285 -0
  212. package/contracts/distribution/DistributionService.sol +351 -0
  213. package/contracts/distribution/DistributionServiceManager.sol +54 -0
  214. package/contracts/distribution/IDistributionComponent.sol +71 -0
  215. package/contracts/distribution/IDistributionService.sol +87 -0
  216. package/contracts/instance/BundleManager.sol +126 -0
  217. package/contracts/instance/IInstance.sol +62 -24
  218. package/contracts/instance/IInstanceService.sol +56 -13
  219. package/contracts/instance/Instance.sol +151 -365
  220. package/contracts/instance/InstanceAccessManager.sol +432 -177
  221. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  222. package/contracts/instance/InstanceReader.sol +109 -47
  223. package/contracts/instance/InstanceService.sol +243 -124
  224. package/contracts/instance/InstanceServiceManager.sol +12 -24
  225. package/contracts/instance/InstanceStore.sol +211 -0
  226. package/contracts/instance/base/Cloneable.sol +51 -0
  227. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  228. package/contracts/instance/base/ILifecycle.sol +3 -3
  229. package/contracts/instance/base/KeyValueStore.sol +44 -47
  230. package/contracts/instance/base/Lifecycle.sol +28 -7
  231. package/contracts/instance/base/ObjectManager.sol +82 -0
  232. package/contracts/instance/module/IAccess.sol +37 -21
  233. package/contracts/instance/module/IBundle.sol +11 -8
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +7 -4
  236. package/contracts/instance/module/IPolicy.sol +50 -17
  237. package/contracts/instance/module/IRisk.sol +1 -1
  238. package/contracts/instance/module/ISetup.sol +11 -22
  239. package/contracts/instance/module/ITreasury.sol +2 -2
  240. package/contracts/pool/BundleService.sol +384 -0
  241. package/contracts/pool/BundleServiceManager.sol +42 -0
  242. package/contracts/pool/IBundleService.sol +118 -0
  243. package/contracts/pool/IPoolComponent.sol +114 -0
  244. package/contracts/pool/IPoolService.sol +114 -0
  245. package/contracts/pool/Pool.sol +302 -0
  246. package/contracts/pool/PoolService.sol +404 -0
  247. package/contracts/pool/PoolServiceManager.sol +42 -0
  248. package/contracts/product/ApplicationService.sol +187 -0
  249. package/contracts/product/ApplicationServiceManager.sol +38 -0
  250. package/contracts/product/ClaimService.sol +443 -0
  251. package/contracts/product/ClaimServiceManager.sol +38 -0
  252. package/contracts/product/IApplicationService.sol +62 -0
  253. package/contracts/product/IClaimService.sol +93 -0
  254. package/contracts/product/IPolicyService.sol +80 -0
  255. package/contracts/product/IPricingService.sol +37 -0
  256. package/contracts/product/IProductComponent.sol +41 -0
  257. package/contracts/product/IProductService.sol +40 -0
  258. package/contracts/product/PolicyService.sol +378 -0
  259. package/contracts/product/PolicyServiceManager.sol +42 -0
  260. package/contracts/product/PricingService.sol +276 -0
  261. package/contracts/product/PricingServiceManager.sol +42 -0
  262. package/contracts/product/Product.sol +379 -0
  263. package/contracts/product/ProductService.sol +212 -0
  264. package/contracts/product/ProductServiceManager.sol +42 -0
  265. package/contracts/registry/ChainNft.sol +9 -1
  266. package/contracts/registry/IRegistry.sol +56 -42
  267. package/contracts/registry/IRegistryService.sol +41 -16
  268. package/contracts/registry/ITransferInterceptor.sol +1 -0
  269. package/contracts/registry/Registry.sol +250 -268
  270. package/contracts/registry/RegistryAccessManager.sol +132 -0
  271. package/contracts/registry/RegistryService.sol +94 -262
  272. package/contracts/registry/RegistryServiceManager.sol +34 -42
  273. package/contracts/registry/ReleaseManager.sol +382 -0
  274. package/contracts/registry/TokenRegistry.sol +22 -17
  275. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  276. package/contracts/shared/Component.sol +271 -0
  277. package/contracts/shared/ComponentService.sol +141 -0
  278. package/contracts/shared/ERC165.sol +14 -12
  279. package/contracts/shared/IComponent.sol +90 -0
  280. package/contracts/shared/INftOwnable.sol +12 -11
  281. package/contracts/shared/IPolicyHolder.sol +40 -0
  282. package/contracts/shared/IRegisterable.sol +4 -6
  283. package/contracts/shared/IRegistryLinked.sol +11 -0
  284. package/contracts/shared/IService.sol +7 -4
  285. package/contracts/shared/IVersionable.sol +5 -48
  286. package/contracts/shared/NftOwnable.sol +65 -83
  287. package/contracts/shared/PolicyHolder.sol +94 -0
  288. package/contracts/shared/ProxyManager.sol +126 -25
  289. package/contracts/shared/Registerable.sol +26 -41
  290. package/contracts/shared/RegistryLinked.sol +43 -0
  291. package/contracts/shared/Service.sol +41 -24
  292. package/contracts/shared/TokenHandler.sol +14 -6
  293. package/contracts/shared/Versionable.sol +4 -92
  294. package/contracts/staking/IStakingService.sol +102 -0
  295. package/contracts/staking/StakingService.sol +169 -0
  296. package/contracts/staking/StakingServiceManager.sol +40 -0
  297. package/contracts/type/Amount.sol +109 -0
  298. package/contracts/{types → type}/Blocknumber.sol +1 -0
  299. package/contracts/type/ClaimId.sol +75 -0
  300. package/contracts/{types → type}/DistributorType.sol +2 -2
  301. package/contracts/{types → type}/Fee.sol +17 -8
  302. package/contracts/{types → type}/NftId.sol +8 -0
  303. package/contracts/type/NftIdSet.sol +62 -0
  304. package/contracts/{types → type}/ObjectType.sol +17 -7
  305. package/contracts/type/PayoutId.sol +82 -0
  306. package/contracts/{types → type}/Referral.sol +4 -0
  307. package/contracts/type/RoleId.sol +139 -0
  308. package/contracts/type/Seconds.sol +54 -0
  309. package/contracts/{types → type}/StateId.sol +7 -2
  310. package/contracts/{types → type}/Timestamp.sol +18 -13
  311. package/contracts/{types → type}/UFixed.sol +1 -0
  312. package/contracts/{types → type}/Version.sol +1 -0
  313. package/package.json +3 -3
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  315. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  316. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  317. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  318. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  320. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  322. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  323. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  324. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  325. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  326. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  327. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  328. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  329. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  330. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  332. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  334. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  336. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  338. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  340. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  342. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  344. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  346. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  353. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  355. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  359. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  361. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  365. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  367. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  369. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  370. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  371. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  372. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  373. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  379. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  380. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  381. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -448
  383. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  388. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -855
  389. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  390. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
  391. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  392. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  393. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  394. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  395. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  396. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  397. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  398. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  399. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  400. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  401. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  402. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  403. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  404. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  405. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  406. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  408. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  409. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  410. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  411. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  412. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  413. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  414. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  415. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  416. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  417. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  418. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  419. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  420. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  421. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  422. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  424. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  425. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  426. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  427. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  428. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  429. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  430. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  431. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  432. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  433. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  435. package/contracts/components/BaseComponent.sol +0 -91
  436. package/contracts/components/Distribution.sol +0 -160
  437. package/contracts/components/IBaseComponent.sol +0 -25
  438. package/contracts/components/IDistributionComponent.sol +0 -44
  439. package/contracts/components/IPoolComponent.sol +0 -62
  440. package/contracts/components/IProductComponent.sol +0 -35
  441. package/contracts/components/Pool.sol +0 -243
  442. package/contracts/components/Product.sol +0 -297
  443. package/contracts/experiment/cloning/Cloner.sol +0 -47
  444. package/contracts/experiment/errors/Require.sol +0 -38
  445. package/contracts/experiment/errors/Revert.sol +0 -44
  446. package/contracts/experiment/inheritance/A.sol +0 -53
  447. package/contracts/experiment/inheritance/B.sol +0 -28
  448. package/contracts/experiment/inheritance/C.sol +0 -34
  449. package/contracts/experiment/inheritance/IA.sol +0 -13
  450. package/contracts/experiment/inheritance/IB.sol +0 -10
  451. package/contracts/experiment/inheritance/IC.sol +0 -12
  452. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  453. package/contracts/experiment/statemachine/ISM.sol +0 -25
  454. package/contracts/experiment/statemachine/SM.sol +0 -57
  455. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  456. package/contracts/experiment/types/TypeA.sol +0 -47
  457. package/contracts/experiment/types/TypeB.sol +0 -29
  458. package/contracts/instance/AccessManagedSimple.sol +0 -115
  459. package/contracts/instance/AccessManagerSimple.sol +0 -692
  460. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  461. package/contracts/instance/base/ComponentServiceBase.sol +0 -118
  462. package/contracts/instance/base/IInstanceBase.sol +0 -23
  463. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  464. package/contracts/instance/service/DistributionService.sol +0 -87
  465. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  466. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  467. package/contracts/instance/service/IDistributionService.sol +0 -12
  468. package/contracts/instance/service/IPoolService.sol +0 -37
  469. package/contracts/instance/service/IProductService.sol +0 -107
  470. package/contracts/instance/service/PoolService.sol +0 -193
  471. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  472. package/contracts/shared/ContractDeployerLib.sol +0 -72
  473. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  474. package/contracts/test/TestFee.sol +0 -25
  475. package/contracts/test/TestRegisterable.sol +0 -18
  476. package/contracts/test/TestRoleId.sol +0 -14
  477. package/contracts/test/TestService.sol +0 -24
  478. package/contracts/test/TestToken.sol +0 -26
  479. package/contracts/test/TestVersion.sol +0 -44
  480. package/contracts/test/TestVersionable.sol +0 -17
  481. package/contracts/test/Usdc.sol +0 -26
  482. package/contracts/types/ChainId.sol +0 -38
  483. package/contracts/types/NftIdSet.sol +0 -60
  484. package/contracts/types/NumberId.sol +0 -52
  485. package/contracts/types/RoleId.sol +0 -89
  486. /package/contracts/{types → type}/AddressSet.sol +0 -0
  487. /package/contracts/{types → type}/Key32.sol +0 -0
  488. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,846 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ReleaseManager",
4
+ "sourceName": "contracts/registry/ReleaseManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "contract RegistryAccessManager",
10
+ "name": "accessManager",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "VersionPart",
15
+ "name": "initialVersion",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "authority",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "AccessManagedInvalidAuthority",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "uint32",
42
+ "name": "delay",
43
+ "type": "uint32"
44
+ }
45
+ ],
46
+ "name": "AccessManagedRequiredDelay",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "AccessManagedUnauthorized",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ERC1167FailedCreateClone",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "contract IService",
69
+ "name": "service",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorReleaseManagerNotService",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "VersionPart",
80
+ "name": "releaseVersion",
81
+ "type": "uint8"
82
+ }
83
+ ],
84
+ "name": "ErrorReleaseManagerReleaseAlreadyActivated",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "VersionPart",
91
+ "name": "version",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorReleaseManagerReleaseAlreadyCreated",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorReleaseManagerReleaseEmpty",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "VersionPart",
107
+ "name": "releaseVersion",
108
+ "type": "uint8"
109
+ }
110
+ ],
111
+ "name": "ErrorReleaseManagerReleaseNotCreated",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "VersionPart",
118
+ "name": "releaseVersion",
119
+ "type": "uint8"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "awaitingRegistration",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "name": "ErrorReleaseManagerReleaseRegistrationNotFinished",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "contract IService",
134
+ "name": "given",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "internalType": "address",
139
+ "name": "expected",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "ErrorReleaseManagerServiceAddressInvalid",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "contract IService",
150
+ "name": "service",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "address",
155
+ "name": "expected",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "ErrorReleaseManagerServiceInfoAddressInvalid",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "contract IService",
166
+ "name": "service",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "internalType": "bool",
171
+ "name": "isInterceptor",
172
+ "type": "bool"
173
+ }
174
+ ],
175
+ "name": "ErrorReleaseManagerServiceInfoInterceptorInvalid",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "contract IService",
182
+ "name": "service",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "address",
187
+ "name": "expected",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "internalType": "address",
192
+ "name": "found",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "ErrorReleaseManagerServiceInfoOwnerInvalid",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "contract IService",
203
+ "name": "service",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "ObjectType",
208
+ "name": "expected",
209
+ "type": "uint8"
210
+ },
211
+ {
212
+ "internalType": "ObjectType",
213
+ "name": "found",
214
+ "type": "uint8"
215
+ }
216
+ ],
217
+ "name": "ErrorReleaseManagerServiceInfoTypeInvalid",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "contract IService",
224
+ "name": "service",
225
+ "type": "address"
226
+ },
227
+ {
228
+ "internalType": "address",
229
+ "name": "owner",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "ErrorReleaseManagerServiceOwnerRegistered",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "contract IService",
240
+ "name": "service",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "serviceAuthority",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "address",
250
+ "name": "releaseAuthority",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "ErrorReleaseManagerServiceReleaseAuthorityMismatch",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [
259
+ {
260
+ "internalType": "contract IService",
261
+ "name": "service",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "internalType": "VersionPart",
266
+ "name": "serviceVersion",
267
+ "type": "uint8"
268
+ },
269
+ {
270
+ "internalType": "VersionPart",
271
+ "name": "releaseVersion",
272
+ "type": "uint8"
273
+ }
274
+ ],
275
+ "name": "ErrorReleaseManagerServiceReleaseVersionMismatch",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "address",
282
+ "name": "service",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "internalType": "RoleId",
287
+ "name": "role",
288
+ "type": "uint64"
289
+ }
290
+ ],
291
+ "name": "ErrorReleaseManagerServiceRoleInvalid",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [
296
+ {
297
+ "internalType": "contract IService",
298
+ "name": "service",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "name": "ErrorReleaseManagerServiceSelfRegistration",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "address",
311
+ "name": "authority",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "name": "AuthorityUpdated",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": false,
323
+ "internalType": "VersionPart",
324
+ "name": "version",
325
+ "type": "uint8"
326
+ }
327
+ ],
328
+ "name": "LogReleaseActivation",
329
+ "type": "event"
330
+ },
331
+ {
332
+ "anonymous": false,
333
+ "inputs": [
334
+ {
335
+ "indexed": false,
336
+ "internalType": "VersionPart",
337
+ "name": "version",
338
+ "type": "uint8"
339
+ },
340
+ {
341
+ "indexed": false,
342
+ "internalType": "bytes32",
343
+ "name": "salt",
344
+ "type": "bytes32"
345
+ },
346
+ {
347
+ "indexed": false,
348
+ "internalType": "contract AccessManagerUpgradeableInitializeable",
349
+ "name": "accessManager",
350
+ "type": "address"
351
+ }
352
+ ],
353
+ "name": "LogReleaseCreation",
354
+ "type": "event"
355
+ },
356
+ {
357
+ "inputs": [],
358
+ "name": "_accessManager",
359
+ "outputs": [
360
+ {
361
+ "internalType": "contract RegistryAccessManager",
362
+ "name": "",
363
+ "type": "address"
364
+ }
365
+ ],
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "_registry",
372
+ "outputs": [
373
+ {
374
+ "internalType": "contract IRegistry",
375
+ "name": "",
376
+ "type": "address"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "activateNextRelease",
385
+ "outputs": [],
386
+ "stateMutability": "nonpayable",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "authority",
392
+ "outputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "createNextRelease",
405
+ "outputs": [
406
+ {
407
+ "internalType": "VersionPart",
408
+ "name": "version",
409
+ "type": "uint8"
410
+ }
411
+ ],
412
+ "stateMutability": "nonpayable",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "getInitialVersion",
418
+ "outputs": [
419
+ {
420
+ "internalType": "VersionPart",
421
+ "name": "",
422
+ "type": "uint8"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "getLatestVersion",
431
+ "outputs": [
432
+ {
433
+ "internalType": "VersionPart",
434
+ "name": "",
435
+ "type": "uint8"
436
+ }
437
+ ],
438
+ "stateMutability": "view",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "getNextVersion",
444
+ "outputs": [
445
+ {
446
+ "internalType": "VersionPart",
447
+ "name": "",
448
+ "type": "uint8"
449
+ }
450
+ ],
451
+ "stateMutability": "view",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [],
456
+ "name": "getRegistry",
457
+ "outputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [
469
+ {
470
+ "internalType": "VersionPart",
471
+ "name": "version",
472
+ "type": "uint8"
473
+ }
474
+ ],
475
+ "name": "getReleaseAccessManager",
476
+ "outputs": [
477
+ {
478
+ "internalType": "contract AccessManagerUpgradeableInitializeable",
479
+ "name": "",
480
+ "type": "address"
481
+ }
482
+ ],
483
+ "stateMutability": "view",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "VersionPart",
490
+ "name": "version",
491
+ "type": "uint8"
492
+ }
493
+ ],
494
+ "name": "getReleaseInfo",
495
+ "outputs": [
496
+ {
497
+ "components": [
498
+ {
499
+ "internalType": "VersionPart",
500
+ "name": "version",
501
+ "type": "uint8"
502
+ },
503
+ {
504
+ "internalType": "address[]",
505
+ "name": "addresses",
506
+ "type": "address[]"
507
+ },
508
+ {
509
+ "internalType": "RoleId[][]",
510
+ "name": "serviceRoles",
511
+ "type": "uint64[][]"
512
+ },
513
+ {
514
+ "internalType": "RoleId[][]",
515
+ "name": "functionRoles",
516
+ "type": "uint64[][]"
517
+ },
518
+ {
519
+ "internalType": "bytes4[][][]",
520
+ "name": "selectors",
521
+ "type": "bytes4[][][]"
522
+ },
523
+ {
524
+ "internalType": "ObjectType[]",
525
+ "name": "domains",
526
+ "type": "uint8[]"
527
+ },
528
+ {
529
+ "internalType": "Timestamp",
530
+ "name": "activatedAt",
531
+ "type": "uint40"
532
+ }
533
+ ],
534
+ "internalType": "struct IRegistry.ReleaseInfo",
535
+ "name": "",
536
+ "type": "tuple"
537
+ }
538
+ ],
539
+ "stateMutability": "view",
540
+ "type": "function"
541
+ },
542
+ {
543
+ "inputs": [
544
+ {
545
+ "internalType": "address",
546
+ "name": "service",
547
+ "type": "address"
548
+ }
549
+ ],
550
+ "name": "isActiveRegistryService",
551
+ "outputs": [
552
+ {
553
+ "internalType": "bool",
554
+ "name": "",
555
+ "type": "bool"
556
+ }
557
+ ],
558
+ "stateMutability": "view",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "inputs": [],
563
+ "name": "isConsumingScheduledOp",
564
+ "outputs": [
565
+ {
566
+ "internalType": "bytes4",
567
+ "name": "",
568
+ "type": "bytes4"
569
+ }
570
+ ],
571
+ "stateMutability": "view",
572
+ "type": "function"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "VersionPart",
578
+ "name": "version",
579
+ "type": "uint8"
580
+ }
581
+ ],
582
+ "name": "isValidRelease",
583
+ "outputs": [
584
+ {
585
+ "internalType": "bool",
586
+ "name": "",
587
+ "type": "bool"
588
+ }
589
+ ],
590
+ "stateMutability": "view",
591
+ "type": "function"
592
+ },
593
+ {
594
+ "inputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "implementation",
598
+ "type": "address"
599
+ },
600
+ {
601
+ "internalType": "bytes32",
602
+ "name": "salt",
603
+ "type": "bytes32"
604
+ },
605
+ {
606
+ "internalType": "address",
607
+ "name": "deployer",
608
+ "type": "address"
609
+ }
610
+ ],
611
+ "name": "predictDeterministicAddress",
612
+ "outputs": [
613
+ {
614
+ "internalType": "address",
615
+ "name": "predicted",
616
+ "type": "address"
617
+ }
618
+ ],
619
+ "stateMutability": "pure",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "address[]",
626
+ "name": "addresses",
627
+ "type": "address[]"
628
+ },
629
+ {
630
+ "internalType": "RoleId[][]",
631
+ "name": "serviceRoles",
632
+ "type": "uint64[][]"
633
+ },
634
+ {
635
+ "internalType": "RoleId[][]",
636
+ "name": "functionRoles",
637
+ "type": "uint64[][]"
638
+ },
639
+ {
640
+ "internalType": "bytes4[][][]",
641
+ "name": "selectors",
642
+ "type": "bytes4[][][]"
643
+ },
644
+ {
645
+ "internalType": "bytes32",
646
+ "name": "salt",
647
+ "type": "bytes32"
648
+ }
649
+ ],
650
+ "name": "prepareNextRelease",
651
+ "outputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "releaseAccessManagerAddress",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "VersionPart",
659
+ "name": "version",
660
+ "type": "uint8"
661
+ },
662
+ {
663
+ "internalType": "bytes32",
664
+ "name": "releaseSalt",
665
+ "type": "bytes32"
666
+ }
667
+ ],
668
+ "stateMutability": "nonpayable",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [
673
+ {
674
+ "internalType": "contract IService",
675
+ "name": "service",
676
+ "type": "address"
677
+ }
678
+ ],
679
+ "name": "registerService",
680
+ "outputs": [
681
+ {
682
+ "internalType": "NftId",
683
+ "name": "nftId",
684
+ "type": "uint96"
685
+ }
686
+ ],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [
692
+ {
693
+ "internalType": "address",
694
+ "name": "newAuthority",
695
+ "type": "address"
696
+ }
697
+ ],
698
+ "name": "setAuthority",
699
+ "outputs": [],
700
+ "stateMutability": "nonpayable",
701
+ "type": "function"
702
+ }
703
+ ],
704
+ "bytecode": "0x60e06040523480156200001157600080fd5b50604051620087ec380380620087ec83398101604081905262000034916200029a565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000073573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000999190620002d4565b620000a48162000208565b506001600160a01b03821660805260ff811660c0819052604051632b10f60d60e21b8152600481019190915273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90600190839063ac43d83490602401602060405180830381865af415801562000118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013e9190620002fb565b6200014a919062000315565b6040518263ffffffff1660e01b81526004016200016991815260200190565b602060405180830381865af415801562000187573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ad91906200033d565b600460016101000a81548160ff021916908360ff160217905550604051620001d5906200025c565b604051809103906000f080158015620001f2573d6000803e3d6000fd5b506001600160a01b031660a052506200035b9050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b61534080620034ac83390190565b6001600160a01b03811681146200028057600080fd5b50565b805160ff811681146200029557600080fd5b919050565b60008060408385031215620002ae57600080fd5b8251620002bb816200026a565b9150620002cb6020840162000283565b90509250929050565b600060208284031215620002e757600080fd5b8151620002f4816200026a565b9392505050565b6000602082840312156200030e57600080fd5b5051919050565b818103818111156200033757634e487b7160e01b600052601160045260246000fd5b92915050565b6000602082840312156200035057600080fd5b620002f48262000283565b60805160a05160c0516130fe620003ae600039600061013c0152600081816101d801528181610201015281816105b00152818161138601526120400152600081816101b40152610ee101526130fe6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806393a7e711116100a2578063bf7e214f11610071578063bf7e214f146102c3578063d2213b5b146102d4578063d5264d7a146102f4578063f40d7c301461032e578063fdd9ec7d1461033e57600080fd5b806393a7e711146102595780639ef6ddc91461026c578063a2844824146102a8578063a52ec529146102b057600080fd5b80632892cd3a116100e95780632892cd3a146101af5780635ab1bd53146101d657806379cbc5fa146101fc5780637a9e5e4b146102235780638fb360371461023857600080fd5b80630af43fe11461011b5780630e41142e1461013a5780630e6d1de91461016057806319d1478b1461016b575b600080fd5b610123610369565b60405160ff90911681526020015b60405180910390f35b7f0000000000000000000000000000000000000000000000000000000000000000610123565b60045460ff16610123565b610197610179366004612485565b60ff166000908152600160205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610131565b6101977f000000000000000000000000000000000000000000000000000000000000000081565b7f0000000000000000000000000000000000000000000000000000000000000000610197565b6101977f000000000000000000000000000000000000000000000000000000000000000081565b6102366102313660046124be565b61048e565b005b61024061050d565b6040516001600160e01b03199091168152602001610131565b6101976102673660046124db565b610533565b61029861027a3660046124be565b6001600160a01b031660009081526003602052604090205460ff1690565b6040519015158152602001610131565b610236610598565b6102986102be366004612485565b610871565b6000546001600160a01b0316610197565b6102e76102e2366004612485565b610908565b60405161013191906126e5565b610307610302366004612ab9565b610d0a565b604080516001600160a01b03909416845260ff909216602084015290820152606001610131565b600454610100900460ff16610123565b61035161034c3660046124be565b611041565b6040516001600160601b039091168152602001610131565b6000610378335b600036611461565b60048054604051632b10f60d60e21b815261010090910460ff169181019190915273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156103dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104019190612bcb565b61040c906001612bfa565b6040518263ffffffff1660e01b815260040161042a91815260200190565b602060405180830381865af4158015610447573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046b9190612c1d565b6004805460ff929092166101000261ff0019909216919091179055600060055590565b60005433906001600160a01b031681146104ca5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610500576040516361798f2f60e11b81526001600160a01b03831660048201526024016104c1565b61050982611561565b5050565b60008054600160a01b900460ff166105255750600090565b638fb3603760e01b5b905090565b604051603881018290526f5af43d82803e903d91602b57fd5bf3ff602482015260148101849052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018390526037600c820120607882015260556043909101206000905b949350505050565b6105a133610370565b600454610100900460ff1660007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e60436105e5602890565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa15801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f9190612c45565b90506001600160a01b03811661067d57604051638047661960e01b815260ff831660048201526024016104c1565b600554156106ae5760055460405163c90aac6160e01b815260ff8416600482015260248101919091526044016104c1565b60ff821660009081526002602052604090819020600601549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190612c72565b1561076357604051630e5e66b360e21b815260ff831660048201526024016104c1565b6004805460ff841660ff199182161782556001600160a01b038316600090815260036020908152604091829020805490931660011790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb618329383820193909291908290030181865af41580156107e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080a9190612c8d565b60ff8316600081815260026020908152604091829020600601805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15050565b60ff8116600090815260026020526040808220600601549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156108de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109029190612c72565b92915050565b6109526040518060e00160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff1681525090565b60ff808316600090815260026020908152604091829020825160e081018452815490941684526001810180548451818502810185019095528085529193858401939092908301828280156109cf57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116109b1575b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610a9b57600084815260209081902083018054604080518285028101850190915281815292830182828015610a8757602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a445790505b5050505050815260200190600101906109fd565b50505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b82821015610b6657600084815260209081902083018054604080518285028101850190915281815292830182828015610b5257602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610b0f5790505b505050505081526020019060010190610ac8565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b82821015610c7357838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015610c6057600084815260209081902083018054604080518285028101850190915281815292830182828015610c4c57602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b03191681526020019060040190602082600301049283019260010382029150808411610c0e5790505b505050505081526020019060010190610bc7565b5050505081526020019060010190610b93565b50505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015610ce857602002820191906000526020600020906000905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610cb95790505b50505091835250506006919091015464ffffffffff1660209091015292915050565b60008080610d1733610370565b8751600003610d39576040516357e3390360e01b815260040160405180910390fd5b60055415610d5f57604051638a25989560e01b815260ff831660048201526024016104c1565b610d6b888888886115b5565b600454610100900460ff166000818152600260209081526040909120805460ff1916831781558a51929450610da8926001909101918b01906120e2565b5060ff821660009081526002602081815260409092208951610dd2939190920191908a0190612147565b5060ff821660009081526002602090815260409091208751610dfc92600390920191890190612147565b5060ff821660009081526002602090815260409091208651610e26926004909201918801906121a0565b508751600555600454610100900460ff16604051632b10f60d60e21b815260ff8216600482015290925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb09190612bcb565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610f677f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f619190612c45565b826116b6565b60ff83166000908152600160205260409081902080546001600160a01b0319166001600160a01b038416908117909155905163189acdbd60e31b8152306004820152919450849163c4d66de890602401600060405180830381600087803b158015610fd157600080fd5b505af1158015610fe5573d6000803e3d6000fd5b50506040805160ff87168152602081018690526001600160a01b0385168183015290517f6529cb4b9a24b8de97cbd0802b1c3d02a8c8aed37388204e2f5bc3013793977e9350908190036060019150a150955095509592505050565b600061104c33610370565b600080600061105a85611724565b925092509250600060016005546110719190612cb4565b60ff83166000908152600260205260408120600101805492935090918390811061109d5761109d612cc7565b600091825260208083209091015460ff8616835260018252604080842054600293849052932090910180546001600160a01b03928316945061132493909216918a9190869081106110f0576110f0612cc7565b9060005260206000200180548060200260200160405190810160405280929190818152602001828054801561117657602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116111335790505b50505060ff89166000908152600260205260409020600301805490925088915081106111a4576111a4612cc7565b9060005260206000200180548060200260200160405190810160405280929190818152602001828054801561122a57602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116111e75790505b50505060ff8a1660009081526002602052604090206004018054909250899150811061125857611258612cc7565b90600052602060002001805480602002602001604051908101604052809291908181526020016000905b8282101561131b5760008481526020908190208301805460408051828502810185019091528181529283018282801561130757602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b031916815260200190600401906020826003010492830192600103820291508084116112c95790505b505050505081526020019060010190611282565b50505050611ac4565b600582815560ff8085166000908152600260209081526040808320909401805460018101825590835291819020908204018054888416601f9093166101000a928302929093021990921617905551635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906113bf90889087908990600401612d2d565b6020604051808303816000875af11580156113de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114029190612dea565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050505050505050919050565b6000806114976114796000546001600160a01b031690565b863061148960046000898b612e05565b61149291612e2f565b611d37565b915091508161155a5763ffffffff811615611537576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906114f290889088908890600401612e5f565b600060405180830381600087803b15801561150c57600080fd5b505af1158015611520573d6000803e3d6000fd5b50506000805460ff60a01b191690555061155a9050565b60405162d1953b60e31b81526001600160a01b03861660048201526024016104c1565b5050505050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60005b845181101561155a5760005b8482815181106115d6576115d6612cc7565b6020026020010151518110156116a35760008583815181106115fa576115fa612cc7565b6020026020010151828151811061161357611613612cc7565b6020026020010151905061163a81611629611e43565b6001600160401b0390811691161490565b156116905786838151811061165157611651612cc7565b60209081029190910101516040516313f9006960e01b81526001600160a01b0390911660048201526001600160401b03821660248201526044016104c1565b508061169b81612e9f565b9150506115c4565b50806116ae81612e9f565b9150506115b8565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b038116610902576040516330be1a3d60e21b815260040160405180910390fd5b6040805160e08101825260008082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263b68d180960e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190612c72565b6117f657604051631fdf992160e01b81526001600160a01b03851660048201526024016104c1565b60003390506000856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561183b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185f9190612c45565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561189f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c39190612eb8565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c9190612c1d565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa15801561197c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a09190612c1d565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119e0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a089190810190612f40565b9450611a15868684611eba565b600454610100900460ff166000818152600160205260409020546001600160a01b039081169083168114611a775760405163179dce5160e11b81526001600160a01b03808a1660048301528085166024830152821660448201526064016104c1565b60ff80861690831614611ab957604051632dd6635560e21b81526001600160a01b038916600482015260ff8087166024830152831660448201526064016104c1565b505050509193909250565b60005b8251811015611bf757856001600160a01b03166308d6122d86848481518110611af257611af2612cc7565b6020026020010151868581518110611b0c57611b0c612cc7565b6020908102919091010151604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611b70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b949190613012565b6040518463ffffffff1660e01b8152600401611bb29392919061302f565b600060405180830381600087803b158015611bcc57600080fd5b505af1158015611be0573d6000803e3d6000fd5b505050508080611bef90612e9f565b915050611ac7565b5060005b8351811015611d2f57856001600160a01b03166325c471a0858381518110611c2557611c25612cc7565b6020908102919091010151604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611c89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cad9190613012565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038816602482015260006044820152606401600060405180830381600087803b158015611d0457600080fd5b505af1158015611d18573d6000803e3d6000fd5b505050508080611d2790612e9f565b915050611bfb565b505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611da6919061306c565b600060405180830381855afa9150503d8060008114611de1576040519150601f19603f3d011682016040523d82523d6000602084013e611de6565b606091505b50915091508115611e38576040815110611e185780806020019051810190611e0e9190613088565b9094509250611e38565b6020815110611e385780806020019051810190611e359190612c72565b93505b505094509492505050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611e96573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052e9190613012565b826001600160a01b031682608001516001600160a01b031614611f025760405163396d48c960e11b81526001600160a01b0384166004820181905260248201526044016104c1565b606082015115611f3d5760608201516040516376d381b160e01b81526001600160a01b038516600482015290151560248201526044016104c1565b611f598260400151611f4d603c90565b60ff9081169116141590565b15611f98576040828101519051630c6c87c560e41b81526001600160a01b0385166004820152603c602482015260ff90911660448201526064016104c1565b60a08201516001600160a01b0380821690831614611fe4576040516314cc941d60e01b81526001600160a01b0380861660048301528084166024830152821660448201526064016104c1565b836001600160a01b0316816001600160a01b0316036120215760405163f80468a760e01b81526001600160a01b03851660048201526024016104c1565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612087573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ab9190612c72565b156120dc5760405163976310fb60e01b81526001600160a01b038086166004830152821660248201526044016104c1565b50505050565b828054828255906000526020600020908101928215612137579160200282015b8281111561213757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612102565b506121439291506121f9565b5090565b828054828255906000526020600020908101928215612194579160200282015b82811115612194578251805161218491849160209091019061220e565b5091602001919060010190612167565b506121439291506122c1565b8280548282559060005260206000209081019282156121ed579160200282015b828111156121ed57825180516121dd9184916020909101906122de565b50916020019190600101906121c0565b50612143929150612337565b5b8082111561214357600081556001016121fa565b828054828255906000526020600020906003016004900481019282156121375791602002820160005b8382111561228157835183826101000a8154816001600160401b0302191690836001600160401b031602179055509260200192600801602081600701049283019260010302612237565b80156122b45782816101000a8154906001600160401b030219169055600801602081600701049283019260010302612281565b50506121439291506121f9565b808211156121435760006122d58282612354565b506001016122c1565b82805482825590600052602060002090810192821561232b579160200282015b8281111561232b578251805161231b91849160209091019061237c565b50916020019190600101906122fe565b50612143929150612416565b8082111561214357600061234b8282612433565b50600101612337565b50805460008255600301600490049060005260206000209081019061237991906121f9565b50565b828054828255906000526020600020906007016008900481019282156121375791602002820160005b838211156123e657835183826101000a81548163ffffffff021916908360e01c021790555092602001926004016020816003010492830192600103026123a5565b80156122b45782816101000a81549063ffffffff02191690556004016020816003010492830192600103026123e6565b8082111561214357600061242a8282612451565b50600101612416565b50805460008255906000526020600020908101906123799190612416565b50805460008255600701600890049060005260206000209081019061237991906121f9565b60ff8116811461237957600080fd5b60006020828403121561249757600080fd5b81356124a281612476565b9392505050565b6001600160a01b038116811461237957600080fd5b6000602082840312156124d057600080fd5b81356124a2816124a9565b6000806000606084860312156124f057600080fd5b83356124fb816124a9565b9250602084013591506040840135612512816124a9565b809150509250925092565b600081518084526020808501945080840160005b838110156125565781516001600160a01b031687529582019590820190600101612531565b509495945050505050565b6000815180845260208085019450848260051b86018286016000805b868110156125d5578484038a52825180518086529087019087860190845b818110156125c05783516001600160401b03168352928901929189019160010161259b565b50509a87019a9450509185019160010161257d565b509198975050505050505050565b600081518084526020808501945080840160005b838110156125565781516001600160e01b031916875295820195908201906001016125f7565b600081518084526020808501945084600583811b87018387016000805b878110156126a3578584038b5282518051808652908801908886019080881b87018a01855b8281101561268d57601f1989830301845261267b8286516125e3565b948c0194938c0193915060010161265f565b509d8a019d96505050928701925060010161263a565b50919998505050505050505050565b600081518084526020808501945080840160005b8381101561255657815160ff16875295820195908201906001016126c6565b6020815260ff82511660208201526000602083015160e0604084015261270f61010084018261251d565b90506040840151601f198085840301606086015261272d8383612561565b9250606086015191508085840301608086015261274a8383612561565b925060808601519150808584030160a0860152612767838361261d565b925060a08601519150808584030160c08601525061278582826126b2565b91505060c08401516127a060e085018264ffffffffff169052565b509392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127e0576127e06127a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561280e5761280e6127a8565b604052919050565b60006001600160401b0382111561282f5761282f6127a8565b5060051b60200190565b6001600160401b038116811461237957600080fd5b600082601f83011261285f57600080fd5b8135602061287461286f83612816565b6127e6565b828152600592831b850182019282820191908785111561289357600080fd5b8387015b858110156129325780356001600160401b038111156128b65760008081fd5b8801603f81018a136128c85760008081fd5b8581013560406128da61286f83612816565b82815291851b8301810191888101908d8411156128f75760008081fd5b938201935b83851015612921578435925061291183612839565b82825293890193908901906128fc565b885250505093850193508401612897565b5090979650505050505050565b600082601f83011261295057600080fd5b61295d61286f8335612816565b82358082526020808301929160051b8501018581111561297c57600080fd5b602085015b81811015612aae576001600160401b038135111561299e57600080fd5b8035860187603f8201126129b157600080fd5b60208101356129c261286f82612816565b81815260059190911b82016040019060208101908a8311156129e357600080fd5b604084015b83811015612a98576001600160401b0381351115612a0557600080fd5b803585018c605f820112612a1857600080fd5b6040810135612a2961286f82612816565b81815260059190911b82016060019060208101908f831115612a4a57600080fd5b6060840193505b82841015612a835783356001600160e01b0319811614612a7057600080fd5b8335825260209384019390910190612a51565b865250506020938401939190910190506129e8565b5087525050602094850194919091019050612981565b509095945050505050565b600080600080600060a08688031215612ad157600080fd5b85356001600160401b0380821115612ae857600080fd5b818801915088601f830112612afc57600080fd5b81356020612b0c61286f83612816565b82815260059290921b8401810191818101908c841115612b2b57600080fd5b948201945b83861015612b52578535612b43816124a9565b82529482019490820190612b30565b99505089013592505080821115612b6857600080fd5b612b7489838a0161284e565b95506040880135915080821115612b8a57600080fd5b612b9689838a0161284e565b94506060880135915080821115612bac57600080fd5b50612bb98882890161293f565b95989497509295608001359392505050565b600060208284031215612bdd57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561090257610902612be4565b8051612c1881612476565b919050565b600060208284031215612c2f57600080fd5b81516124a281612476565b8051612c18816124a9565b600060208284031215612c5757600080fd5b81516124a2816124a9565b80518015158114612c1857600080fd5b600060208284031215612c8457600080fd5b6124a282612c62565b600060208284031215612c9f57600080fd5b815164ffffffffff811681146124a257600080fd5b8181038181111561090257610902612be4565b634e487b7160e01b600052603260045260246000fd5b60005b83811015612cf8578181015183820152602001612ce0565b50506000910152565b60008151808452612d19816020860160208601612cdd565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e0610120840152612db0610140840182612d01565b915050612dc2602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b0381168114612c1857600080fd5b600060208284031215612dfc57600080fd5b6124a282612dd3565b60008085851115612e1557600080fd5b83861115612e2257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612e575780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060018201612eb157612eb1612be4565b5060010190565b600060208284031215612eca57600080fd5b815162ffffff811681146124a257600080fd5b600082601f830112612eee57600080fd5b81516001600160401b03811115612f0757612f076127a8565b612f1a601f8201601f19166020016127e6565b818152846020838601011115612f2f57600080fd5b610590826020830160208701612cdd565b600060208284031215612f5257600080fd5b81516001600160401b0380821115612f6957600080fd5b9083019060e08286031215612f7d57600080fd5b612f856127be565b612f8e83612dd3565b8152612f9c60208401612dd3565b6020820152612fad60408401612c0d565b6040820152612fbe60608401612c62565b6060820152612fcf60808401612c3a565b6080820152612fe060a08401612c3a565b60a082015260c083015182811115612ff757600080fd5b61300387828601612edd565b60c08301525095945050505050565b60006020828403121561302457600080fd5b81516124a281612839565b6001600160a01b0384168152606060208201819052600090613053908301856125e3565b90506001600160401b0383166040830152949350505050565b6000825161307e818460208701612cdd565b9190910192915050565b6000806040838503121561309b57600080fd5b6130a483612c62565b9150602083015163ffffffff811681146130bd57600080fd5b80915050925092905056fea26469706673582212205d00a6ea92d4d46500a83cde309ebaf1b4627f9d1038409709d09bbcfa70187764736f6c6343000814003360806040523480156200001157600080fd5b50600780546001600160a01b031916331790556040513090620000349062000dfd565b6001600160a01b039091168152602001604051809103906000f08015801562000061573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b039092169190911790556200009c620000b6565b620000a6620002d8565b620000b062000698565b62000f92565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200010c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000132919062000e0b565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528585529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c082015160038201906200025b908262000ec6565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620002bb57600080fd5b505af1158015620002d0573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000333573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000359919062000e0b565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003dc919062000e0b565b83146200047657620003ed62000ce8565b6200046e6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200046b919062000e0b565b90565b9050620004d1565b620004ce6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529584905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b03199182161790915592516002820180549190961693169290921790935591519091906003820190620005df908262000ec6565b50503060009081526001602081905260409182902080546001600160601b0387166001600160601b03199182168117909255600680549091169091179081905591516340c10f1960e01b81526004810191909152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200067a57600080fd5b505af11580156200068f573d6000803e3d6000fd5b50505050505050565b7ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce400338054600160ff1991821681179092557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557fdd629e5d55690c61d87bb2283f8033a4ed0c9727f0b3cc897e051f7afda800a580548216831790557f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c516992680548216831790557f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a3880548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557f0c91243f75e216cf1d80d738f653c23abf15a7e3590b83c6e4772e2ddcffe53380548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc580548216831790557fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa80548216831790557fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f80548216831790557fe7defe1a9ee2663e7f593684ebe15b56452e1fa833a7efa12070ad6443b108198054909116821790556046600090815260046020527f96ac7b1c5d793d413ef4b647b77961144d1817b86f1b2d8f15cbc29b2d12d4e290620008c3602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008f7606e90565b60ff1660ff16815260200190815260200160002060006200091d62000df360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000951607890565b60ff1660ff16815260200190815260200160002060006200097762000df360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620009ab608290565b60ff1660ff1681526020019081526020016000206000620009d162000df360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000a05608c90565b60ff1660ff168152602001908152602001600020600062000a2b62000df360201b60201c565b60ff168152602081019190915260409081016000908120805460ff1916931515939093179092556006549051630559ea4760e01b8152600260048201526c010000000000000000000000009091046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000aaa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ad0919062000e0b565b90506006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000b26573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b4c919062000e0b565b810362000ba95760286000527f68ec43d1fa25ecab18a22465ce1f8255926468a3d494eb646e020d9745efacba6020527f8d8e198cca6e86cae73f3d150107240b75b61652c7eb583fa211a3eddcf17050805460ff191660011790555b7f08ddb846719c334503cde7d22d197ac302b164f7fd7805cc9942ef7c934d8154805460ff1916600190811790915560d3600090815260056020527ffdf048cf45a550014b20d320bb6290f2d7ea067c3d13399f0575dc0baae240799062000c0f606e90565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c4360dc90565b60ff1660ff168152602001908152602001600020600062000c6962000df860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c9d605090565b60ff1660ff168152602001908152602001600020600062000cc362000df860201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d3e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d64919062000e0b565b905060008190506040518060e00160405280826001600160601b0316815260200162000ddd6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b6001600160601b0316815260200160286200015a565b604690565b608c90565b611ed4806200346c83390190565b60006020828403121562000e1e57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000e5057607f821691505b60208210810362000e7157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ec157600081815260208120601f850160051c8101602086101562000ea05750805b601f850160051c820191505b81811015620002d05782815560010162000eac565b505050565b81516001600160401b0381111562000ee25762000ee262000e25565b62000efa8162000ef3845462000e3b565b8462000e77565b602080601f83116001811462000f32576000841562000f195750858301515b600019600386901b1c1916600185901b178555620002d0565b600085815260208120601f198616915b8281101562000f635788860151825594840194600190910190840162000f42565b508582101562000f825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6124ca8062000fa26000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a52ec529116100f9578063d272ac1e11610097578063e74d052f11610071578063e74d052f14610422578063f40d7c3014610435578063f7dd05ba1461043d578063fee11aaf1461045057600080fd5b8063d272ac1e146103ab578063d39e6043146103dd578063e285c9c41461041a57600080fd5b8063ae8dfb79116100d3578063ae8dfb791461035d578063c3c5a54714610365578063d1982d8814610378578063d2213b5b1461038b57600080fd5b8063a52ec52914610324578063a5df9e4e14610337578063a7050a561461034a57600080fd5b80632b91e0a911610166578063644c45e011610140578063644c45e0146102c4578063893d20e8146102e95780638b09a5f0146102f1578063a48f42e01461031157600080fd5b80632b91e0a91461027b57806338bb429a1461028e5780633fe9300e146102a157600080fd5b8063120726c3116101a2578063120726c31461021357806314afd79e1461023f57806317dc5e2a146102525780631a848cfb1461026557600080fd5b806301ffc9a7146101c95780630e41142e146101f15780630e6d1de91461020b575b600080fd5b6101dc6101d7366004611735565b610461565b60405190151581526020015b60405180910390f35b6101f96104a7565b60405160ff90911681526020016101e8565b6101f961051a565b600654600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020016101e8565b61022761024d366004611777565b610564565b6101dc610260366004611777565b610681565b61026d6106eb565b6040519081526020016101e8565b6101dc610289366004611777565b610764565b61022761029c3660046117b4565b6107a8565b6102b76040518060200160405280600081525081565b6040516101e89190611817565b6006546001600160601b03165b6040516001600160601b0390911681526020016101e8565b610227610805565b6103046102ff366004611777565b610810565b6040516101e8919061182a565b61030461031f3660046117b4565b610974565b6101dc6103323660046118c7565b610a46565b6102d1610345366004611a87565b610ab6565b6102d1610358366004611abb565b610c40565b61026d600281565b6101dc610373366004611777565b610dfd565b6102d1610386366004611a87565b610e70565b61039e6103993660046118c7565b610fbf565b6040516101e89190611cdb565b6102d16103b9366004611777565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102276103eb366004611d9e565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b610227600181565b6101dc6104303660046117b4565b61107c565b6101f96110d6565b61022761044b3660046118c7565b611120565b6007546001600160a01b0316610227565b60006001600160e01b031982166301ffc9a760e01b148061049257506001600160e01b0319821663530ca14960e11b145b1561049f57506001919050565b506000919050565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190611de2565b905090565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af41580156105ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106129190611dff565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015b602060405180830381865afa158015610657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b9190611e1c565b92915050565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b9004909116808352908220546106e490600160c01b900460ff166106d9604690565b60ff90811691161490565b9392505050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105159190611e39565b6001600160a01b0381166000908152600160209081526040808320546001600160601b031683529082905281205461067b90600160c01b900460ff166106d9603c90565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024016105d1565b600061051530610564565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c0840191906108eb90611e52565b80601f016020809104026020016040519081016040528092919081815260200182805461091790611e52565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108eb90611e52565b60075460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b9190611e8c565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190611e8c565b610b4057604051639404710360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b031660009081529081905291909120546080840151600160c01b90910460ff16906001600160a01b0316610bdd5760ff8083166000908152600560209081526040808320858516845290915281205490911615159003610bd85760405163347a1f9760e21b815260ff8084166004830152821660248201526044015b60405180910390fd5b610c2f565b60ff8083166000908152600460209081526040808320858516845290915281205490911615159003610c2f5760405163347a1f9760e21b815260ff808416600483015282166024820152604401610bcf565b610c3884611154565b949350505050565b6007546000906001600160a01b03163314610c6d5760405162783d2b60e21b815260040160405180910390fd5b608084015160405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce89190611e8c565b15610d115760405163b580d22160e01b81526001600160a01b0382166004820152602401610bcf565b60ff8085166000908152600260209081526040808320938716835292905220546001600160a01b031615610d7457604051632a16d08d60e01b81526001600160a01b038216600482015260ff808616602483015284166044820152606401610bcf565b60ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b038316179055610db585611154565b6040805160ff8088168252861660208201529193507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1509392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af4158015610a92573d6000803e3d6000fd5b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd9190611e8c565b610efa57604051639404710360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b90048116911615610f56576040516368f27c4360e11b815260040160405180910390fd5b610f6181600a6106d9565b80610f725750610f728160286106d9565b80610f835750610f8381603c6106d9565b15610fae5760405163347a1f9760e21b815260ff808416600483015282166024820152604401610bcf565b610fb784611154565b505050919050565b6110096040518060e00160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff1681525090565b60075460405163d2213b5b60e01b815260ff841660048201526001600160a01b039091169063d2213b5b90602401600060405180830381865afa158015611054573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261067b919081019061221d565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf90602401610e53565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156104f1573d6000803e3d6000fd5b6007546040516319d1478b60e01b815260ff831660048201526000916001600160a01b0316906319d1478b9060240161063a565b6040808201516020808401516001600160601b038082166000908152808452858120865160e08101885281548085168252600160601b81049094169581019590955260ff600160c01b8404811697860197909752600160c81b9092049095161515606084015260018101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c08401916111f590611e52565b80601f016020809104026020016040519081016040528092919081815260200182805461122190611e52565b801561126e5780601f106112435761010080835404028352916020019161126e565b820191906000526020600020905b81548152906001019060200180831161125157829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166112ad57604051630bdad98960e11b815260040160405180910390fd5b60006112c7886060015189608001518660600151856116df565b905060006006600c9054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561131e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113429190611e39565b90508097508789600001906001600160601b031690816001600160601b031681525050886000808a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081611494919061238a565b50505060808901516001600160a01b0316156115a55760808901516001600160a01b038116600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611522573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115469190611e8c565b1561156f57604051633fa3dceb60e21b81526001600160a01b0382166004820152602401610bcf565b6001600160a01b0316600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a0015160405161162c969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a160065460a08a01516040805160208101825260008082529151631109bad360e11b81529193600160601b90046001600160a01b03169263221375a69261167e928891600401612449565b6020604051808303816000875af115801561169d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c19190611e39565b90508181146116d2576116d261247e565b5050505050505050919050565b60006001600160a01b0384166117045782156116fc575080610c38565b506000610c38565b8415611711575082610c38565b506000949350505050565b6001600160e01b03198116811461173257600080fd5b50565b60006020828403121561174757600080fd5b81356106e48161171c565b6001600160a01b038116811461173257600080fd5b803561177281611752565b919050565b60006020828403121561178957600080fd5b81356106e481611752565b6001600160601b038116811461173257600080fd5b803561177281611794565b6000602082840312156117c657600080fd5b81356106e481611794565b6000815180845260005b818110156117f7576020818501810151868301820152016117db565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106e460208301846117d1565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161189360c08401826001600160a01b03169052565b5060c083015160e080840152610c386101008401826117d1565b60ff8116811461173257600080fd5b8035611772816118ad565b6000602082840312156118d957600080fd5b81356106e4816118ad565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561191c5761191c6118e4565b60405290565b604051601f8201601f191681016001600160401b038111828210171561194a5761194a6118e4565b604052919050565b801515811461173257600080fd5b803561177281611952565b600082601f83011261197c57600080fd5b81356001600160401b03811115611995576119956118e4565b6119a8601f8201601f1916602001611922565b8181528460208386010111156119bd57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156119ec57600080fd5b6119f46118fa565b90506119ff826117a9565b8152611a0d602083016117a9565b6020820152611a1e604083016118bc565b6040820152611a2f60608301611960565b6060820152611a4060808301611767565b6080820152611a5160a08301611767565b60a082015260c08201356001600160401b03811115611a6f57600080fd5b611a7b8482850161196b565b60c08301525092915050565b600060208284031215611a9957600080fd5b81356001600160401b03811115611aaf57600080fd5b610c38848285016119da565b600080600060608486031215611ad057600080fd5b83356001600160401b03811115611ae657600080fd5b611af2868287016119da565b9350506020840135611b03816118ad565b91506040840135611b13816118ad565b809150509250925092565b600081518084526020808501945080840160005b83811015611b575781516001600160a01b031687529582019590820190600101611b32565b509495945050505050565b6000815180845260208085019450848260051b86018286016000805b86811015611bd6578484038a52825180518086529087019087860190845b81811015611bc15783516001600160401b031683529289019291890191600101611b9c565b50509a87019a94505091850191600101611b7e565b509198975050505050505050565b600081518084526020808501945084600583811b870183870160005b86811015611c9a578483038a5281518051808552908701908785019080871b8601890160005b82811015611c8457878203601f1901845284518051808452908c01908c84019060005b81811015611c6f5783516001600160e01b0319168352928e0192918e0191600101611c49565b5050958c0195948c0194925050600101611c26565b509c89019c955050509186019150600101611c00565b509098975050505050505050565b600081518084526020808501945080840160005b83811015611b5757815160ff1687529582019590820190600101611cbc565b6020815260ff82511660208201526000602083015160e06040840152611d05610100840182611b1e565b90506040840151601f1980858403016060860152611d238383611b62565b92506060860151915080858403016080860152611d408383611b62565b925060808601519150808584030160a0860152611d5d8383611be4565b925060a08601519150808584030160c086015250611d7b8282611ca8565b91505060c0840151611d9660e085018264ffffffffff169052565b509392505050565b60008060408385031215611db157600080fd5b8235611dbc816118ad565b91506020830135611dcc816118ad565b809150509250929050565b8051611772816118ad565b600060208284031215611df457600080fd5b81516106e4816118ad565b600060208284031215611e1157600080fd5b81516106e481611794565b600060208284031215611e2e57600080fd5b81516106e481611752565b600060208284031215611e4b57600080fd5b5051919050565b600181811c90821680611e6657607f821691505b602082108103611e8657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611e9e57600080fd5b81516106e481611952565b60006001600160401b03821115611ec257611ec26118e4565b5060051b60200190565b600082601f830112611edd57600080fd5b81516020611ef2611eed83611ea9565b611922565b82815260059290921b84018101918181019086841115611f1157600080fd5b8286015b84811015611f35578051611f2881611752565b8352918301918301611f15565b509695505050505050565b600082601f830112611f5157600080fd5b81516020611f61611eed83611ea9565b828152600592831b8501820192828201919087851115611f8057600080fd5b8387015b8581101561202a5780516001600160401b0380821115611fa45760008081fd5b818a0191508a603f830112611fb95760008081fd5b868201516040611fcb611eed83611ea9565b82815291861b8401810191898101908e841115611fe85760008081fd5b948201945b83861015612018578551925084831683146120085760008081fd5b828252948a0194908a0190611fed565b89525050509486019450508401611f84565b5090979650505050505050565b600082601f83011261204857600080fd5b8151612056611eed82611ea9565b8082825260208201915060208360051b86010192508583111561207857600080fd5b602085015b8381101561219a5780516001600160401b0381111561209b57600080fd5b8601603f810188136120ac57600080fd5b60208101516120bd611eed82611ea9565b81815260059190911b82016040019060208101908a8311156120de57600080fd5b604084015b838110156121845780516001600160401b0381111561210157600080fd5b8501605f81018d1361211257600080fd5b6040810151612123611eed82611ea9565b81815260059190911b82016060019060208101908f83111561214457600080fd5b6060840193505b8284101561216f57835161215e8161171c565b82526020938401939091019061214b565b865250506020938401939190910190506120e3565b508652505060209384019391909101905061207d565b5095945050505050565b600082601f8301126121b557600080fd5b815160206121c5611eed83611ea9565b82815260059290921b840181019181810190868411156121e457600080fd5b8286015b84811015611f355780516121fb816118ad565b83529183019183016121e8565b805164ffffffffff8116811461177257600080fd5b60006020828403121561222f57600080fd5b81516001600160401b038082111561224657600080fd5b9083019060e0828603121561225a57600080fd5b6122626118fa565b61226b83611dd7565b815260208301518281111561227f57600080fd5b61228b87828601611ecc565b6020830152506040830151828111156122a357600080fd5b6122af87828601611f40565b6040830152506060830151828111156122c757600080fd5b6122d387828601611f40565b6060830152506080830151828111156122eb57600080fd5b6122f787828601612037565b60808301525060a08301518281111561230f57600080fd5b61231b878286016121a4565b60a08301525061232d60c08401612208565b60c082015295945050505050565b601f82111561238557600081815260208120601f850160051c810160208610156123625750805b601f850160051c820191505b818110156123815782815560010161236e565b5050505b505050565b81516001600160401b038111156123a3576123a36118e4565b6123b7816123b18454611e52565b8461233b565b602080601f8311600181146123ec57600084156123d45750858301515b600019600386901b1c1916600185901b178555612381565b600085815260208120601f198616915b8281101561241b578886015182559484019460019091019084016123fc565b50858210156124395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03848116825283166020820152606060408201819052600090612475908301846117d1565b95945050505050565b634e487b7160e01b600052600160045260246000fdfea26469706673582212207c380217d89f6011f7f7010a2f7fce4b06643cb1d62233a9c4932f349627109264736f6c6343000814003360806040523480156200001157600080fd5b5060405162001ed438038062001ed483398101604081905262000034916200012e565b60405180606001604052806024815260200162001eb06024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b611a6d80620004436000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce711610104578063a2309ff8116100a2578063caa0f92a11610071578063caa0f92a146103fa578063e985e9c514610402578063f21de1e814610415578063f76f8d781461042657600080fd5b8063a2309ff8146103c4578063a3f4df7e146103cc578063b88d4fde146103d4578063c87b56dd146103e757600080fd5b806370a08231116100de57806370a0823114610383578063862440e21461039657806395d89b41146103a9578063a22cb465146103b157600080fd5b80634f6ccce714610354578063598e2892146103675780636352211e1461037057600080fd5b806323b872dd1161017c57806340c10f191161014b57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e791461032957600080fd5b806323b872dd146102985780632e85b1f3146102ab5780632f745c59146102b4578063342ec443146102c757600080fd5b8063081812fc116101b8578063081812fc1461023d578063095ea7b31461026857806318160ddd1461027d578063221375a61461028557600080fd5b806301ffc9a7146101df5780630559ea471461020757806306fdde0314610228575b600080fd5b6101f26101ed366004611471565b61044b565b60405190151581526020015b60405180910390f35b61021a61021536600461148e565b610476565b6040519081526020016101fe565b6102306104ab565b6040516101fe91906114ed565b61025061024b36600461148e565b61053d565b6040516001600160a01b0390911681526020016101fe565b61027b61027636600461151c565b610566565b005b60085461021a565b61021a6102933660046115f2565b610575565b61027b6102a6366004611650565b6106a4565b61021a61083581565b61021a6102c236600461151c565b61074d565b6102506102d536600461148e565b6000908152600a60205260409020546001600160a01b031690565b61027b6102fe36600461151c565b6107b2565b61027b610311366004611650565b6107fe565b61027b61032436600461148e565b610819565b6101f261033736600461148e565b6000908152600260205260409020546001600160a01b0316151590565b61021a61036236600461148e565b610873565b61021a61044d81565b61025061037e36600461148e565b6108cc565b61021a61039136600461168c565b6108d7565b61027b6103a43660046116a7565b61091f565b6102306109ca565b61027b6103bf3660046116ee565b6109d9565b60115461021a565b6102306109e4565b61027b6103e236600461172a565b610a00565b6102306103f536600461148e565b610a1d565b61021a610ac7565b6101f26104103660046117a6565b610ad9565b600c546001600160a01b0316610250565b6102306040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610b07565b92915050565b6000600e54600d54600f548461048c91906117ef565b6104969190611806565b6104a19060646117ef565b6104709190611806565b6060600080546104ba90611819565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690611819565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600061054882610b57565b506000828152600460205260409020546001600160a01b0316610470565b610571828233610b90565b5050565b600c546000906001600160a01b031633146105aa576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b6105b2610b9d565b90506001600160a01b038316156105eb576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b81511561060c576000818152600b6020526040902061060a83826118a1565b505b6011805490600061061c83611961565b919050555061062b8482610bc4565b6001600160a01b0383161561069d5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e5990604401600060405180830381600087803b15801561068457600080fd5b505af1158015610698573d6000803e3d6000fd5b505050505b9392505050565b6106af838383610bde565b6000818152600a60205260409020546001600160a01b031615610748576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050505b505050565b6000610758836108d7565b82106107895760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107df576040516399c6cd7160e01b81523360048201526024016105a1565b601180549060006107ef83611961565b91905055506105718282610bc4565b61074883838360405180602001604052806000815250610a00565b600c546001600160a01b03163314610846576040516399c6cd7160e01b81523360048201526024016105a1565b61084f81610b57565b5061085981610c63565b6000818152600b602052604081206108709161140d565b50565b600061087e60085490565b82106108a75760405163295f44f760e21b815260006004820152602481018390526044016105a1565b600882815481106108ba576108ba61197a565b90600052602060002001549050919050565b600061047082610b57565b60006001600160a01b038216610903576040516322718ad960e21b8152600060048201526024016105a1565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b0316331461094c576040516399c6cd7160e01b81523360048201526024016105a1565b805160000361096e57604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461098790611819565b905011156109a85760405163303822c760e21b815260040160405180910390fd5b6109b182610b57565b506000828152600b6020526040902061074882826118a1565b6060600180546104ba90611819565b610571338383610c9e565b604051806060016040528060248152602001611a146024913981565b610a0b8484846106a4565b610a1784848484610d3d565b50505050565b6060610a2882610b57565b506000828152600b602052604090208054610a4290611819565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611819565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b50505050509050919050565b6000610ad4601054610476565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610b3857506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b6000818152600260205260408120546001600160a01b03168061047057604051637e27328960e01b8152600481018490526024016105a1565b6107488383836001610e66565b6000610baa601054610476565b601080549192506000610bbc83611961565b919050555090565b610571828260405180602001604052806000815250610f6c565b6001600160a01b038216610c0857604051633250574960e11b8152600060048201526024016105a1565b6000610c15838333610f83565b9050836001600160a01b0316816001600160a01b031614610a17576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a1565b6000610c726000836000610f83565b90506001600160a01b03811661057157604051637e27328960e01b8152600481018390526024016105a1565b6001600160a01b038216610cd057604051630b61174360e31b81526001600160a01b03831660048201526024016105a1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610a1757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d7f903390889087908790600401611990565b6020604051808303816000875af1925050508015610dba575060408051601f3d908101601f19168201909252610db7918101906119cd565b60015b610e23573d808015610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b508051600003610e1b57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e5f57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b5050505050565b8080610e7a57506001600160a01b03821615155b15610f3c576000610e8a84610b57565b90506001600160a01b03831615801590610eb65750826001600160a01b0316816001600160a01b031614155b8015610ec95750610ec78184610ad9565b155b15610ef25760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a1565b8115610f3a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f768383611058565b6107486000848484610d3d565b600080610f918585856110bd565b90506001600160a01b038116610fee57610fe984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611011565b846001600160a01b0316816001600160a01b0316146110115761101181856111b6565b6001600160a01b03851661102d5761102884611247565b611050565b846001600160a01b0316816001600160a01b0316146110505761105085856112f6565b949350505050565b6001600160a01b03821661108257604051633250574960e11b8152600060048201526024016105a1565b600061109083836000610f83565b90506001600160a01b03811615610748576040516339e3563760e11b8152600060048201526024016105a1565b6000828152600260205260408120546001600160a01b03908116908316156110ea576110ea818486611346565b6001600160a01b0381161561112857611107600085600080610e66565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611157576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006111c1836108d7565b600083815260076020526040902054909150808214611214576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611259906001906119ea565b600083815260096020526040812054600880549394509092849081106112815761128161197a565b9060005260206000200154905080600883815481106112a2576112a261197a565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806112da576112da6119fd565b6001900381819060005260206000200160009055905550505050565b60006001611303846108d7565b61130d91906119ea565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6113518383836113aa565b610748576001600160a01b03831661137f57604051637e27328960e01b8152600481018290526024016105a1565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a1565b60006001600160a01b038316158015906110505750826001600160a01b0316846001600160a01b031614806113e457506113e48484610ad9565b806110505750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461141990611819565b6000825580601f10611429575050565b601f01602090049060005260206000209081019061087091905b808211156114575760008155600101611443565b5090565b6001600160e01b03198116811461087057600080fd5b60006020828403121561148357600080fd5b813561069d8161145b565b6000602082840312156114a057600080fd5b5035919050565b6000815180845260005b818110156114cd576020818501810151868301820152016114b1565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061069d60208301846114a7565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157757611577611546565b604051601f8501601f19908116603f0116810190828211818310171561159f5761159f611546565b816040528093508581528686860111156115b857600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126115e357600080fd5b61069d8383356020850161155c565b60008060006060848603121561160757600080fd5b61161084611500565b925061161e60208501611500565b9150604084013567ffffffffffffffff81111561163a57600080fd5b611646868287016115d2565b9150509250925092565b60008060006060848603121561166557600080fd5b61166e84611500565b925061167c60208501611500565b9150604084013590509250925092565b60006020828403121561169e57600080fd5b61069d82611500565b600080604083850312156116ba57600080fd5b82359150602083013567ffffffffffffffff8111156116d857600080fd5b6116e4858286016115d2565b9150509250929050565b6000806040838503121561170157600080fd5b61170a83611500565b91506020830135801515811461171f57600080fd5b809150509250929050565b6000806000806080858703121561174057600080fd5b61174985611500565b935061175760208601611500565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a8782356020840161155c565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611500565b91506117d060208401611500565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610470576104706117d9565b80820180821115610470576104706117d9565b600181811c9082168061182d57607f821691505b60208210810361184d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561074857600081815260208120601f850160051c8101602086101561187a5750805b601f850160051c820191505b8181101561189957828155600101611886565b505050505050565b815167ffffffffffffffff8111156118bb576118bb611546565b6118cf816118c98454611819565b84611853565b602080601f83116001811461190457600084156118ec5750858301515b600019600386901b1c1916600185901b178555611899565b600085815260208120601f198616915b8281101561193357888601518255948401946001909101908401611914565b50858210156119515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611973576119736117d9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119c3908301846114a7565b9695505050505050565b6000602082840312156119df57600080fd5b815161069d8161145b565b81810381811115610470576104706117d9565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220101e28e240b384eb6b82696294145ff5ed97701c57b9be0f7ba2903dc3f43e6064736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
705
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c806393a7e711116100a2578063bf7e214f11610071578063bf7e214f146102c3578063d2213b5b146102d4578063d5264d7a146102f4578063f40d7c301461032e578063fdd9ec7d1461033e57600080fd5b806393a7e711146102595780639ef6ddc91461026c578063a2844824146102a8578063a52ec529146102b057600080fd5b80632892cd3a116100e95780632892cd3a146101af5780635ab1bd53146101d657806379cbc5fa146101fc5780637a9e5e4b146102235780638fb360371461023857600080fd5b80630af43fe11461011b5780630e41142e1461013a5780630e6d1de91461016057806319d1478b1461016b575b600080fd5b610123610369565b60405160ff90911681526020015b60405180910390f35b7f0000000000000000000000000000000000000000000000000000000000000000610123565b60045460ff16610123565b610197610179366004612485565b60ff166000908152600160205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610131565b6101977f000000000000000000000000000000000000000000000000000000000000000081565b7f0000000000000000000000000000000000000000000000000000000000000000610197565b6101977f000000000000000000000000000000000000000000000000000000000000000081565b6102366102313660046124be565b61048e565b005b61024061050d565b6040516001600160e01b03199091168152602001610131565b6101976102673660046124db565b610533565b61029861027a3660046124be565b6001600160a01b031660009081526003602052604090205460ff1690565b6040519015158152602001610131565b610236610598565b6102986102be366004612485565b610871565b6000546001600160a01b0316610197565b6102e76102e2366004612485565b610908565b60405161013191906126e5565b610307610302366004612ab9565b610d0a565b604080516001600160a01b03909416845260ff909216602084015290820152606001610131565b600454610100900460ff16610123565b61035161034c3660046124be565b611041565b6040516001600160601b039091168152602001610131565b6000610378335b600036611461565b60048054604051632b10f60d60e21b815261010090910460ff169181019190915273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af41580156103dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104019190612bcb565b61040c906001612bfa565b6040518263ffffffff1660e01b815260040161042a91815260200190565b602060405180830381865af4158015610447573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046b9190612c1d565b6004805460ff929092166101000261ff0019909216919091179055600060055590565b60005433906001600160a01b031681146104ca5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610500576040516361798f2f60e11b81526001600160a01b03831660048201526024016104c1565b61050982611561565b5050565b60008054600160a01b900460ff166105255750600090565b638fb3603760e01b5b905090565b604051603881018290526f5af43d82803e903d91602b57fd5bf3ff602482015260148101849052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018390526037600c820120607882015260556043909101206000905b949350505050565b6105a133610370565b600454610100900460ff1660007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e60436105e5602890565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa15801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f9190612c45565b90506001600160a01b03811661067d57604051638047661960e01b815260ff831660048201526024016104c1565b600554156106ae5760055460405163c90aac6160e01b815260ff8416600482015260248101919091526044016104c1565b60ff821660009081526002602052604090819020600601549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190612c72565b1561076357604051630e5e66b360e21b815260ff831660048201526024016104c1565b6004805460ff841660ff199182161782556001600160a01b038316600090815260036020908152604091829020805490931660011790925580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb618329383820193909291908290030181865af41580156107e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080a9190612c8d565b60ff8316600081815260026020908152604091829020600601805464ffffffffff191664ffffffffff9590951694909417909355519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15050565b60ff8116600090815260026020526040808220600601549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156108de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109029190612c72565b92915050565b6109526040518060e00160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff1681525090565b60ff808316600090815260026020908152604091829020825160e081018452815490941684526001810180548451818502810185019095528085529193858401939092908301828280156109cf57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116109b1575b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610a9b57600084815260209081902083018054604080518285028101850190915281815292830182828015610a8757602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a445790505b5050505050815260200190600101906109fd565b50505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b82821015610b6657600084815260209081902083018054604080518285028101850190915281815292830182828015610b5257602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610b0f5790505b505050505081526020019060010190610ac8565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b82821015610c7357838290600052602060002001805480602002602001604051908101604052809291908181526020016000905b82821015610c6057600084815260209081902083018054604080518285028101850190915281815292830182828015610c4c57602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b03191681526020019060040190602082600301049283019260010382029150808411610c0e5790505b505050505081526020019060010190610bc7565b5050505081526020019060010190610b93565b50505050815260200160058201805480602002602001604051908101604052809291908181526020018280548015610ce857602002820191906000526020600020906000905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610cb95790505b50505091835250506006919091015464ffffffffff1660209091015292915050565b60008080610d1733610370565b8751600003610d39576040516357e3390360e01b815260040160405180910390fd5b60055415610d5f57604051638a25989560e01b815260ff831660048201526024016104c1565b610d6b888888886115b5565b600454610100900460ff166000818152600260209081526040909120805460ff1916831781558a51929450610da8926001909101918b01906120e2565b5060ff821660009081526002602081815260409092208951610dd2939190920191908a0190612147565b5060ff821660009081526002602090815260409091208751610dfc92600390920191890190612147565b5060ff821660009081526002602090815260409091208651610e26926004909201918801906121a0565b508751600555600454610100900460ff16604051632b10f60d60e21b815260ff8216600482015290925073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb09190612bcb565b6040805160208101929092528101859052606001604051602081830303815290604052805190602001209050610f677f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f619190612c45565b826116b6565b60ff83166000908152600160205260409081902080546001600160a01b0319166001600160a01b038416908117909155905163189acdbd60e31b8152306004820152919450849163c4d66de890602401600060405180830381600087803b158015610fd157600080fd5b505af1158015610fe5573d6000803e3d6000fd5b50506040805160ff87168152602081018690526001600160a01b0385168183015290517f6529cb4b9a24b8de97cbd0802b1c3d02a8c8aed37388204e2f5bc3013793977e9350908190036060019150a150955095509592505050565b600061104c33610370565b600080600061105a85611724565b925092509250600060016005546110719190612cb4565b60ff83166000908152600260205260408120600101805492935090918390811061109d5761109d612cc7565b600091825260208083209091015460ff8616835260018252604080842054600293849052932090910180546001600160a01b03928316945061132493909216918a9190869081106110f0576110f0612cc7565b9060005260206000200180548060200260200160405190810160405280929190818152602001828054801561117657602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116111335790505b50505060ff89166000908152600260205260409020600301805490925088915081106111a4576111a4612cc7565b9060005260206000200180548060200260200160405190810160405280929190818152602001828054801561122a57602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116111e75790505b50505060ff8a1660009081526002602052604090206004018054909250899150811061125857611258612cc7565b90600052602060002001805480602002602001604051908101604052809291908181526020016000905b8282101561131b5760008481526020908190208301805460408051828502810185019091528181529283018282801561130757602002820191906000526020600020906000905b82829054906101000a900460e01b6001600160e01b031916815260200190600401906020826003010492830192600103820291508084116112c95790505b505050505081526020019060010190611282565b50505050611ac4565b600582815560ff8085166000908152600260209081526040808320909401805460018101825590835291819020908204018054888416601f9093166101000a928302929093021990921617905551635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a56906113bf90889087908990600401612d2d565b6020604051808303816000875af11580156113de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114029190612dea565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050505050505050919050565b6000806114976114796000546001600160a01b031690565b863061148960046000898b612e05565b61149291612e2f565b611d37565b915091508161155a5763ffffffff811615611537576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906114f290889088908890600401612e5f565b600060405180830381600087803b15801561150c57600080fd5b505af1158015611520573d6000803e3d6000fd5b50506000805460ff60a01b191690555061155a9050565b60405162d1953b60e31b81526001600160a01b03861660048201526024016104c1565b5050505050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60005b845181101561155a5760005b8482815181106115d6576115d6612cc7565b6020026020010151518110156116a35760008583815181106115fa576115fa612cc7565b6020026020010151828151811061161357611613612cc7565b6020026020010151905061163a81611629611e43565b6001600160401b0390811691161490565b156116905786838151811061165157611651612cc7565b60209081029190910101516040516313f9006960e01b81526001600160a01b0390911660048201526001600160401b03821660248201526044016104c1565b508061169b81612e9f565b9150506115c4565b50806116ae81612e9f565b9150506115b8565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b038116610902576040516330be1a3d60e21b815260040160405180910390fd5b6040805160e08101825260008082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263b68d180960e01b600482015290919081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190612c72565b6117f657604051631fdf992160e01b81526001600160a01b03851660048201526024016104c1565b60003390506000856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561183b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185f9190612c45565b9050856001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561189f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c39190612eb8565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c9190612c1d565b9250856001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa15801561197c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a09190612c1d565b9350856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156119e0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a089190810190612f40565b9450611a15868684611eba565b600454610100900460ff166000818152600160205260409020546001600160a01b039081169083168114611a775760405163179dce5160e11b81526001600160a01b03808a1660048301528085166024830152821660448201526064016104c1565b60ff80861690831614611ab957604051632dd6635560e21b81526001600160a01b038916600482015260ff8087166024830152831660448201526064016104c1565b505050509193909250565b60005b8251811015611bf757856001600160a01b03166308d6122d86848481518110611af257611af2612cc7565b6020026020010151868581518110611b0c57611b0c612cc7565b6020908102919091010151604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611b70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b949190613012565b6040518463ffffffff1660e01b8152600401611bb29392919061302f565b600060405180830381600087803b158015611bcc57600080fd5b505af1158015611be0573d6000803e3d6000fd5b505050508080611bef90612e9f565b915050611ac7565b5060005b8351811015611d2f57856001600160a01b03166325c471a0858381518110611c2557611c25612cc7565b6020908102919091010151604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611c89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cad9190613012565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038816602482015260006044820152606401600060405180830381600087803b158015611d0457600080fd5b505af1158015611d18573d6000803e3d6000fd5b505050508080611d2790612e9f565b915050611bfb565b505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611da6919061306c565b600060405180830381855afa9150503d8060008114611de1576040519150601f19603f3d011682016040523d82523d6000602084013e611de6565b606091505b50915091508115611e38576040815110611e185780806020019051810190611e0e9190613088565b9094509250611e38565b6020815110611e385780806020019051810190611e359190612c72565b93505b505094509492505050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611e96573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052e9190613012565b826001600160a01b031682608001516001600160a01b031614611f025760405163396d48c960e11b81526001600160a01b0384166004820181905260248201526044016104c1565b606082015115611f3d5760608201516040516376d381b160e01b81526001600160a01b038516600482015290151560248201526044016104c1565b611f598260400151611f4d603c90565b60ff9081169116141590565b15611f98576040828101519051630c6c87c560e41b81526001600160a01b0385166004820152603c602482015260ff90911660448201526064016104c1565b60a08201516001600160a01b0380821690831614611fe4576040516314cc941d60e01b81526001600160a01b0380861660048301528084166024830152821660448201526064016104c1565b836001600160a01b0316816001600160a01b0316036120215760405163f80468a760e01b81526001600160a01b03851660048201526024016104c1565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612087573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ab9190612c72565b156120dc5760405163976310fb60e01b81526001600160a01b038086166004830152821660248201526044016104c1565b50505050565b828054828255906000526020600020908101928215612137579160200282015b8281111561213757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612102565b506121439291506121f9565b5090565b828054828255906000526020600020908101928215612194579160200282015b82811115612194578251805161218491849160209091019061220e565b5091602001919060010190612167565b506121439291506122c1565b8280548282559060005260206000209081019282156121ed579160200282015b828111156121ed57825180516121dd9184916020909101906122de565b50916020019190600101906121c0565b50612143929150612337565b5b8082111561214357600081556001016121fa565b828054828255906000526020600020906003016004900481019282156121375791602002820160005b8382111561228157835183826101000a8154816001600160401b0302191690836001600160401b031602179055509260200192600801602081600701049283019260010302612237565b80156122b45782816101000a8154906001600160401b030219169055600801602081600701049283019260010302612281565b50506121439291506121f9565b808211156121435760006122d58282612354565b506001016122c1565b82805482825590600052602060002090810192821561232b579160200282015b8281111561232b578251805161231b91849160209091019061237c565b50916020019190600101906122fe565b50612143929150612416565b8082111561214357600061234b8282612433565b50600101612337565b50805460008255600301600490049060005260206000209081019061237991906121f9565b50565b828054828255906000526020600020906007016008900481019282156121375791602002820160005b838211156123e657835183826101000a81548163ffffffff021916908360e01c021790555092602001926004016020816003010492830192600103026123a5565b80156122b45782816101000a81549063ffffffff02191690556004016020816003010492830192600103026123e6565b8082111561214357600061242a8282612451565b50600101612416565b50805460008255906000526020600020908101906123799190612416565b50805460008255600701600890049060005260206000209081019061237991906121f9565b60ff8116811461237957600080fd5b60006020828403121561249757600080fd5b81356124a281612476565b9392505050565b6001600160a01b038116811461237957600080fd5b6000602082840312156124d057600080fd5b81356124a2816124a9565b6000806000606084860312156124f057600080fd5b83356124fb816124a9565b9250602084013591506040840135612512816124a9565b809150509250925092565b600081518084526020808501945080840160005b838110156125565781516001600160a01b031687529582019590820190600101612531565b509495945050505050565b6000815180845260208085019450848260051b86018286016000805b868110156125d5578484038a52825180518086529087019087860190845b818110156125c05783516001600160401b03168352928901929189019160010161259b565b50509a87019a9450509185019160010161257d565b509198975050505050505050565b600081518084526020808501945080840160005b838110156125565781516001600160e01b031916875295820195908201906001016125f7565b600081518084526020808501945084600583811b87018387016000805b878110156126a3578584038b5282518051808652908801908886019080881b87018a01855b8281101561268d57601f1989830301845261267b8286516125e3565b948c0194938c0193915060010161265f565b509d8a019d96505050928701925060010161263a565b50919998505050505050505050565b600081518084526020808501945080840160005b8381101561255657815160ff16875295820195908201906001016126c6565b6020815260ff82511660208201526000602083015160e0604084015261270f61010084018261251d565b90506040840151601f198085840301606086015261272d8383612561565b9250606086015191508085840301608086015261274a8383612561565b925060808601519150808584030160a0860152612767838361261d565b925060a08601519150808584030160c08601525061278582826126b2565b91505060c08401516127a060e085018264ffffffffff169052565b509392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127e0576127e06127a8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561280e5761280e6127a8565b604052919050565b60006001600160401b0382111561282f5761282f6127a8565b5060051b60200190565b6001600160401b038116811461237957600080fd5b600082601f83011261285f57600080fd5b8135602061287461286f83612816565b6127e6565b828152600592831b850182019282820191908785111561289357600080fd5b8387015b858110156129325780356001600160401b038111156128b65760008081fd5b8801603f81018a136128c85760008081fd5b8581013560406128da61286f83612816565b82815291851b8301810191888101908d8411156128f75760008081fd5b938201935b83851015612921578435925061291183612839565b82825293890193908901906128fc565b885250505093850193508401612897565b5090979650505050505050565b600082601f83011261295057600080fd5b61295d61286f8335612816565b82358082526020808301929160051b8501018581111561297c57600080fd5b602085015b81811015612aae576001600160401b038135111561299e57600080fd5b8035860187603f8201126129b157600080fd5b60208101356129c261286f82612816565b81815260059190911b82016040019060208101908a8311156129e357600080fd5b604084015b83811015612a98576001600160401b0381351115612a0557600080fd5b803585018c605f820112612a1857600080fd5b6040810135612a2961286f82612816565b81815260059190911b82016060019060208101908f831115612a4a57600080fd5b6060840193505b82841015612a835783356001600160e01b0319811614612a7057600080fd5b8335825260209384019390910190612a51565b865250506020938401939190910190506129e8565b5087525050602094850194919091019050612981565b509095945050505050565b600080600080600060a08688031215612ad157600080fd5b85356001600160401b0380821115612ae857600080fd5b818801915088601f830112612afc57600080fd5b81356020612b0c61286f83612816565b82815260059290921b8401810191818101908c841115612b2b57600080fd5b948201945b83861015612b52578535612b43816124a9565b82529482019490820190612b30565b99505089013592505080821115612b6857600080fd5b612b7489838a0161284e565b95506040880135915080821115612b8a57600080fd5b612b9689838a0161284e565b94506060880135915080821115612bac57600080fd5b50612bb98882890161293f565b95989497509295608001359392505050565b600060208284031215612bdd57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561090257610902612be4565b8051612c1881612476565b919050565b600060208284031215612c2f57600080fd5b81516124a281612476565b8051612c18816124a9565b600060208284031215612c5757600080fd5b81516124a2816124a9565b80518015158114612c1857600080fd5b600060208284031215612c8457600080fd5b6124a282612c62565b600060208284031215612c9f57600080fd5b815164ffffffffff811681146124a257600080fd5b8181038181111561090257610902612be4565b634e487b7160e01b600052603260045260246000fd5b60005b83811015612cf8578181015183820152602001612ce0565b50506000910152565b60008151808452612d19816020860160208601612cdd565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e0610120840152612db0610140840182612d01565b915050612dc2602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b0381168114612c1857600080fd5b600060208284031215612dfc57600080fd5b6124a282612dd3565b60008085851115612e1557600080fd5b83861115612e2257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612e575780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060018201612eb157612eb1612be4565b5060010190565b600060208284031215612eca57600080fd5b815162ffffff811681146124a257600080fd5b600082601f830112612eee57600080fd5b81516001600160401b03811115612f0757612f076127a8565b612f1a601f8201601f19166020016127e6565b818152846020838601011115612f2f57600080fd5b610590826020830160208701612cdd565b600060208284031215612f5257600080fd5b81516001600160401b0380821115612f6957600080fd5b9083019060e08286031215612f7d57600080fd5b612f856127be565b612f8e83612dd3565b8152612f9c60208401612dd3565b6020820152612fad60408401612c0d565b6040820152612fbe60608401612c62565b6060820152612fcf60808401612c3a565b6080820152612fe060a08401612c3a565b60a082015260c083015182811115612ff757600080fd5b61300387828601612edd565b60c08301525095945050505050565b60006020828403121561302457600080fd5b81516124a281612839565b6001600160a01b0384168152606060208201819052600090613053908301856125e3565b90506001600160401b0383166040830152949350505050565b6000825161307e818460208701612cdd565b9190910192915050565b6000806040838503121561309b57600080fd5b6130a483612c62565b9150602083015163ffffffff811681146130bd57600080fd5b80915050925092905056fea26469706673582212205d00a6ea92d4d46500a83cde309ebaf1b4627f9d1038409709d09bbcfa70187764736f6c63430008140033",
706
+ "linkReferences": {
707
+ "contracts/type/NftId.sol": {
708
+ "NftIdLib": [
709
+ {
710
+ "length": 20,
711
+ "start": 18945
712
+ },
713
+ {
714
+ "length": 20,
715
+ "start": 19505
716
+ },
717
+ {
718
+ "length": 20,
719
+ "start": 21123
720
+ },
721
+ {
722
+ "length": 20,
723
+ "start": 22838
724
+ }
725
+ ]
726
+ },
727
+ "contracts/type/ObjectType.sol": {
728
+ "ObjectTypeLib": [
729
+ {
730
+ "length": 20,
731
+ "start": 20696
732
+ },
733
+ {
734
+ "length": 20,
735
+ "start": 21762
736
+ }
737
+ ]
738
+ },
739
+ "contracts/type/RoleId.sol": {
740
+ "RoleIdLib": [
741
+ {
742
+ "length": 20,
743
+ "start": 7908
744
+ },
745
+ {
746
+ "length": 20,
747
+ "start": 8189
748
+ },
749
+ {
750
+ "length": 20,
751
+ "start": 8714
752
+ }
753
+ ]
754
+ },
755
+ "contracts/type/Timestamp.sol": {
756
+ "TimestampLib": [
757
+ {
758
+ "length": 20,
759
+ "start": 2704
760
+ },
761
+ {
762
+ "length": 20,
763
+ "start": 2905
764
+ },
765
+ {
766
+ "length": 20,
767
+ "start": 3154
768
+ }
769
+ ]
770
+ },
771
+ "contracts/type/Version.sol": {
772
+ "VersionLib": [
773
+ {
774
+ "length": 20,
775
+ "start": 7308
776
+ }
777
+ ],
778
+ "VersionPartLib": [
779
+ {
780
+ "length": 20,
781
+ "start": 210
782
+ },
783
+ {
784
+ "length": 20,
785
+ "start": 1865
786
+ },
787
+ {
788
+ "length": 20,
789
+ "start": 4608
790
+ }
791
+ ]
792
+ }
793
+ },
794
+ "deployedLinkReferences": {
795
+ "contracts/type/RoleId.sol": {
796
+ "RoleIdLib": [
797
+ {
798
+ "length": 20,
799
+ "start": 6966
800
+ },
801
+ {
802
+ "length": 20,
803
+ "start": 7247
804
+ },
805
+ {
806
+ "length": 20,
807
+ "start": 7772
808
+ }
809
+ ]
810
+ },
811
+ "contracts/type/Timestamp.sol": {
812
+ "TimestampLib": [
813
+ {
814
+ "length": 20,
815
+ "start": 1762
816
+ },
817
+ {
818
+ "length": 20,
819
+ "start": 1963
820
+ },
821
+ {
822
+ "length": 20,
823
+ "start": 2212
824
+ }
825
+ ]
826
+ },
827
+ "contracts/type/Version.sol": {
828
+ "VersionLib": [
829
+ {
830
+ "length": 20,
831
+ "start": 6366
832
+ }
833
+ ],
834
+ "VersionPartLib": [
835
+ {
836
+ "length": 20,
837
+ "start": 923
838
+ },
839
+ {
840
+ "length": 20,
841
+ "start": 3666
842
+ }
843
+ ]
844
+ }
845
+ }
846
+ }