@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e964d24-516

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