@etherisc/gif-next 0.0.2-e9a637d-547 → 0.0.2-eadf4ad-211

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