@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d5b7b78-706

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +73 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +747 -103
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +137 -114
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +737 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +692 -178
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +517 -135
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1003 -393
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -197
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1015 -781
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +440 -176
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -263
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +369 -299
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -89
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +178 -158
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +61 -78
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +363 -301
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -80
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1211 -172
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +456 -71
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +275 -185
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +155 -245
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → instance/service/IClaimService.sol/IClaimService.json} +159 -147
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +728 -161
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +60 -291
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -152
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -174
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +244 -379
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -114
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +289 -192
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +313 -76
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +206 -206
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +305 -76
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +112 -198
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +216 -234
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +70 -69
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +151 -50
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +22 -174
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +114 -157
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +135 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  208. package/contracts/components/Component.sol +251 -0
  209. package/contracts/components/Distribution.sol +199 -83
  210. package/contracts/components/IComponent.sol +74 -0
  211. package/contracts/components/IDistributionComponent.sol +44 -17
  212. package/contracts/components/IPoolComponent.sol +88 -41
  213. package/contracts/components/IProductComponent.sol +10 -5
  214. package/contracts/components/Pool.sol +209 -182
  215. package/contracts/components/Product.sol +118 -126
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  217. package/contracts/instance/BundleManager.sol +14 -16
  218. package/contracts/instance/Cloneable.sol +7 -2
  219. package/contracts/instance/IInstance.sol +52 -16
  220. package/contracts/instance/IInstanceService.sol +37 -5
  221. package/contracts/instance/Instance.sol +126 -75
  222. package/contracts/instance/InstanceAccessManager.sol +383 -164
  223. package/contracts/instance/InstanceReader.sol +9 -34
  224. package/contracts/instance/InstanceService.sol +277 -127
  225. package/contracts/instance/InstanceServiceManager.sol +1 -1
  226. package/contracts/instance/ObjectManager.sol +10 -29
  227. package/contracts/instance/base/ComponentService.sol +134 -0
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +22 -16
  231. package/contracts/instance/module/IBundle.sol +2 -1
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +7 -20
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +84 -42
  239. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +393 -46
  243. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +30 -12
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +27 -49
  249. package/contracts/instance/service/IPoolService.sol +17 -2
  250. package/contracts/instance/service/PolicyService.sol +149 -285
  251. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  252. package/contracts/instance/service/PoolService.sol +136 -61
  253. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  254. package/contracts/instance/service/ProductService.sol +62 -34
  255. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  256. package/contracts/registry/ChainNft.sol +8 -0
  257. package/contracts/registry/IRegistry.sol +18 -8
  258. package/contracts/registry/IRegistryService.sol +19 -10
  259. package/contracts/registry/ITransferInterceptor.sol +1 -0
  260. package/contracts/registry/Registry.sol +142 -71
  261. package/contracts/registry/RegistryAccessManager.sol +31 -25
  262. package/contracts/registry/RegistryService.sol +94 -130
  263. package/contracts/registry/RegistryServiceManager.sol +13 -13
  264. package/contracts/registry/ReleaseManager.sol +94 -120
  265. package/contracts/registry/TokenRegistry.sol +19 -13
  266. package/contracts/shared/ERC165.sol +14 -12
  267. package/contracts/shared/INftOwnable.sol +11 -10
  268. package/contracts/shared/IPolicyHolder.sol +26 -0
  269. package/contracts/shared/IRegisterable.sol +4 -6
  270. package/contracts/shared/IRegistryLinked.sol +12 -0
  271. package/contracts/shared/IService.sol +2 -0
  272. package/contracts/shared/IVersionable.sol +4 -47
  273. package/contracts/shared/NftOwnable.sol +66 -80
  274. package/contracts/shared/PolicyHolder.sol +81 -0
  275. package/contracts/shared/ProxyManager.sol +100 -25
  276. package/contracts/shared/Registerable.sol +16 -32
  277. package/contracts/shared/RegistryLinked.sol +48 -0
  278. package/contracts/shared/Service.sol +19 -19
  279. package/contracts/shared/TokenHandler.sol +11 -5
  280. package/contracts/shared/Versionable.sol +4 -92
  281. package/contracts/test/TestRegisterable.sol +1 -1
  282. package/contracts/test/TestService.sol +1 -1
  283. package/contracts/types/Blocknumber.sol +1 -0
  284. package/contracts/types/ClaimId.sol +52 -0
  285. package/contracts/types/DistributorType.sol +2 -2
  286. package/contracts/types/Fee.sol +1 -0
  287. package/contracts/types/NftId.sol +8 -0
  288. package/contracts/types/ObjectType.sol +10 -5
  289. package/contracts/types/PayoutId.sol +54 -0
  290. package/contracts/types/Referral.sol +4 -0
  291. package/contracts/types/RoleId.sol +18 -11
  292. package/contracts/types/Seconds.sol +54 -0
  293. package/contracts/types/StateId.sol +1 -0
  294. package/contracts/types/Timestamp.sol +13 -13
  295. package/contracts/types/UFixed.sol +1 -0
  296. package/contracts/types/Version.sol +1 -0
  297. package/package.json +3 -3
  298. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  299. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  301. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  302. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  303. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  306. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  308. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  310. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  312. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  314. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  316. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  318. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  320. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  322. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  325. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  327. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  329. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  331. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  335. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  337. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  339. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  340. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  341. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  342. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  343. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  345. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  346. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  347. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  348. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  349. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  350. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  351. package/contracts/components/BaseComponent.sol +0 -159
  352. package/contracts/components/IBaseComponent.sol +0 -34
  353. package/contracts/experiment/cloning/Cloner.sol +0 -47
  354. package/contracts/experiment/errors/Require.sol +0 -38
  355. package/contracts/experiment/errors/Revert.sol +0 -44
  356. package/contracts/experiment/inheritance/A.sol +0 -53
  357. package/contracts/experiment/inheritance/B.sol +0 -28
  358. package/contracts/experiment/inheritance/C.sol +0 -34
  359. package/contracts/experiment/inheritance/IA.sol +0 -13
  360. package/contracts/experiment/inheritance/IB.sol +0 -10
  361. package/contracts/experiment/inheritance/IC.sol +0 -12
  362. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  363. package/contracts/experiment/statemachine/ISM.sol +0 -25
  364. package/contracts/experiment/statemachine/SM.sol +0 -57
  365. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  366. package/contracts/experiment/types/TypeA.sol +0 -47
  367. package/contracts/experiment/types/TypeB.sol +0 -29
  368. package/contracts/instance/IInstanceBase.sol +0 -26
  369. package/contracts/instance/InstanceBase.sol +0 -41
  370. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  371. package/contracts/instance/base/IInstanceBase.sol +0 -23
  372. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  373. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  374. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -45,81 +45,60 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "registry",
48
+ "name": "caller",
49
49
  "type": "address"
50
- },
51
- {
52
- "internalType": "NftId",
53
- "name": "nftId",
54
- "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorIServiceCallerUnknown",
58
53
  "type": "error"
59
54
  },
60
55
  {
61
56
  "inputs": [
62
57
  {
63
- "internalType": "address",
64
- "name": "contractAddress",
65
- "type": "address"
58
+ "internalType": "NftId",
59
+ "name": "nftId",
60
+ "type": "uint96"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorNftOwnableAlreadyLinked",
69
64
  "type": "error"
70
65
  },
71
66
  {
72
67
  "inputs": [
73
68
  {
74
69
  "internalType": "address",
75
- "name": "account",
70
+ "name": "contractAddress",
76
71
  "type": "address"
77
72
  }
78
73
  ],
79
- "name": "ErrorNotOwner",
74
+ "name": "ErrorNftOwnableContractNotRegistered",
80
75
  "type": "error"
81
76
  },
82
77
  {
83
- "inputs": [
84
- {
85
- "internalType": "address",
86
- "name": "registryAddress",
87
- "type": "address"
88
- }
89
- ],
90
- "name": "ErrorNotRegistry",
78
+ "inputs": [],
79
+ "name": "ErrorNftOwnableInitialOwnerZero",
91
80
  "type": "error"
92
81
  },
93
82
  {
94
83
  "inputs": [
95
84
  {
96
85
  "internalType": "address",
97
- "name": "registryAddress",
86
+ "name": "account",
98
87
  "type": "address"
99
88
  }
100
89
  ],
101
- "name": "ErrorRegisterableNotRegistry",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "ErrorRegistryAddressZero",
90
+ "name": "ErrorNftOwnableNotOwner",
107
91
  "type": "error"
108
92
  },
109
93
  {
110
94
  "inputs": [
111
95
  {
112
96
  "internalType": "address",
113
- "name": "registry",
97
+ "name": "registryAddress",
114
98
  "type": "address"
115
99
  }
116
100
  ],
117
- "name": "ErrorRegistryAlreadyInitialized",
118
- "type": "error"
119
- },
120
- {
121
- "inputs": [],
122
- "name": "ErrorRegistryNotInitialized",
101
+ "name": "ErrorNotRegistry",
123
102
  "type": "error"
124
103
  },
125
104
  {
@@ -252,39 +231,14 @@
252
231
  "name": "Initialized",
253
232
  "type": "event"
254
233
  },
255
- {
256
- "anonymous": false,
257
- "inputs": [
258
- {
259
- "indexed": false,
260
- "internalType": "Version",
261
- "name": "version",
262
- "type": "uint24"
263
- },
264
- {
265
- "indexed": false,
266
- "internalType": "address",
267
- "name": "implementation",
268
- "type": "address"
269
- },
270
- {
271
- "indexed": false,
272
- "internalType": "address",
273
- "name": "activatedBy",
274
- "type": "address"
275
- }
276
- ],
277
- "name": "LogVersionableInitialized",
278
- "type": "event"
279
- },
280
234
  {
281
235
  "inputs": [],
282
- "name": "NFT_LOCK_ADDRESS",
236
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
283
237
  "outputs": [
284
238
  {
285
- "internalType": "address",
239
+ "internalType": "bytes32",
286
240
  "name": "",
287
- "type": "address"
241
+ "type": "bytes32"
288
242
  }
289
243
  ],
290
244
  "stateMutability": "view",
@@ -342,6 +296,31 @@
342
296
  "stateMutability": "pure",
343
297
  "type": "function"
344
298
  },
299
+ {
300
+ "inputs": [],
301
+ "name": "getFunctionConfigs",
302
+ "outputs": [
303
+ {
304
+ "components": [
305
+ {
306
+ "internalType": "ObjectType",
307
+ "name": "serviceDomain",
308
+ "type": "uint8"
309
+ },
310
+ {
311
+ "internalType": "bytes4[]",
312
+ "name": "selectors",
313
+ "type": "bytes4[]"
314
+ }
315
+ ],
316
+ "internalType": "struct IRegistryService.FunctionConfig[]",
317
+ "name": "config",
318
+ "type": "tuple[]"
319
+ }
320
+ ],
321
+ "stateMutability": "pure",
322
+ "type": "function"
323
+ },
345
324
  {
346
325
  "inputs": [],
347
326
  "name": "getInitialInfo",
@@ -387,24 +366,6 @@
387
366
  "internalType": "struct IRegistry.ObjectInfo",
388
367
  "name": "info",
389
368
  "type": "tuple"
390
- },
391
- {
392
- "internalType": "bytes",
393
- "name": "data",
394
- "type": "bytes"
395
- }
396
- ],
397
- "stateMutability": "view",
398
- "type": "function"
399
- },
400
- {
401
- "inputs": [],
402
- "name": "getInitializedVersion",
403
- "outputs": [
404
- {
405
- "internalType": "uint64",
406
- "name": "",
407
- "type": "uint64"
408
369
  }
409
370
  ],
410
371
  "stateMutability": "view",
@@ -464,25 +425,19 @@
464
425
  },
465
426
  {
466
427
  "inputs": [],
467
- "name": "getVersion",
428
+ "name": "getRegistryAddress",
468
429
  "outputs": [
469
430
  {
470
- "internalType": "Version",
431
+ "internalType": "address",
471
432
  "name": "",
472
- "type": "uint24"
433
+ "type": "address"
473
434
  }
474
435
  ],
475
- "stateMutability": "pure",
436
+ "stateMutability": "view",
476
437
  "type": "function"
477
438
  },
478
439
  {
479
- "inputs": [
480
- {
481
- "internalType": "uint256",
482
- "name": "idx",
483
- "type": "uint256"
484
- }
485
- ],
440
+ "inputs": [],
486
441
  "name": "getVersion",
487
442
  "outputs": [
488
443
  {
@@ -491,75 +446,105 @@
491
446
  "type": "uint24"
492
447
  }
493
448
  ],
494
- "stateMutability": "view",
449
+ "stateMutability": "pure",
495
450
  "type": "function"
496
451
  },
497
452
  {
498
453
  "inputs": [],
499
- "name": "getVersionCount",
500
- "outputs": [
454
+ "name": "initializeERC165",
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
501
461
  {
502
- "internalType": "uint256",
503
- "name": "",
504
- "type": "uint256"
462
+ "internalType": "address",
463
+ "name": "initialOwner",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "address",
468
+ "name": "registryAddress",
469
+ "type": "address"
505
470
  }
506
471
  ],
507
- "stateMutability": "view",
472
+ "name": "initializeNftOwnable",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
508
475
  "type": "function"
509
476
  },
510
477
  {
511
478
  "inputs": [
512
479
  {
513
- "internalType": "Version",
514
- "name": "_version",
515
- "type": "uint24"
480
+ "internalType": "address",
481
+ "name": "registryAddress",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "internalType": "NftId",
486
+ "name": "parentNftId",
487
+ "type": "uint96"
488
+ },
489
+ {
490
+ "internalType": "ObjectType",
491
+ "name": "objectType",
492
+ "type": "uint8"
493
+ },
494
+ {
495
+ "internalType": "bool",
496
+ "name": "isInterceptor",
497
+ "type": "bool"
498
+ },
499
+ {
500
+ "internalType": "address",
501
+ "name": "initialOwner",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "internalType": "bytes",
506
+ "name": "registryData",
507
+ "type": "bytes"
516
508
  }
517
509
  ],
518
- "name": "getVersionInfo",
519
- "outputs": [
510
+ "name": "initializeRegisterable",
511
+ "outputs": [],
512
+ "stateMutability": "nonpayable",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [
520
517
  {
521
- "components": [
522
- {
523
- "internalType": "Version",
524
- "name": "version",
525
- "type": "uint24"
526
- },
527
- {
528
- "internalType": "address",
529
- "name": "implementation",
530
- "type": "address"
531
- },
532
- {
533
- "internalType": "address",
534
- "name": "activatedBy",
535
- "type": "address"
536
- },
537
- {
538
- "internalType": "Timestamp",
539
- "name": "activatedAt",
540
- "type": "uint40"
541
- },
542
- {
543
- "internalType": "Blocknumber",
544
- "name": "activatedIn",
545
- "type": "uint32"
546
- }
547
- ],
548
- "internalType": "struct IVersionable.VersionInfo",
549
- "name": "",
550
- "type": "tuple"
518
+ "internalType": "address",
519
+ "name": "registryAddress",
520
+ "type": "address"
551
521
  }
552
522
  ],
553
- "stateMutability": "view",
523
+ "name": "initializeRegistryLinked",
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable",
554
526
  "type": "function"
555
527
  },
556
528
  {
557
529
  "inputs": [
558
530
  {
559
531
  "internalType": "address",
560
- "name": "implementation",
532
+ "name": "registry",
561
533
  "type": "address"
562
534
  },
535
+ {
536
+ "internalType": "address",
537
+ "name": "initialOwner",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "name": "initializeService",
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [
563
548
  {
564
549
  "internalType": "address",
565
550
  "name": "activatedBy",
@@ -571,7 +556,7 @@
571
556
  "type": "bytes"
572
557
  }
573
558
  ],
574
- "name": "initialize",
559
+ "name": "initializeVersionable",
575
560
  "outputs": [],
576
561
  "stateMutability": "nonpayable",
577
562
  "type": "function"
@@ -589,25 +574,6 @@
589
574
  "stateMutability": "view",
590
575
  "type": "function"
591
576
  },
592
- {
593
- "inputs": [
594
- {
595
- "internalType": "Version",
596
- "name": "_version",
597
- "type": "uint24"
598
- }
599
- ],
600
- "name": "isInitialized",
601
- "outputs": [
602
- {
603
- "internalType": "bool",
604
- "name": "",
605
- "type": "bool"
606
- }
607
- ],
608
- "stateMutability": "view",
609
- "type": "function"
610
- },
611
577
  {
612
578
  "inputs": [],
613
579
  "name": "linkToRegisteredNftId",
@@ -674,7 +640,7 @@
674
640
  {
675
641
  "inputs": [
676
642
  {
677
- "internalType": "contract IBaseComponent",
643
+ "internalType": "contract IComponent",
678
644
  "name": "distribution",
679
645
  "type": "address"
680
646
  },
@@ -727,11 +693,62 @@
727
693
  "internalType": "struct IRegistry.ObjectInfo",
728
694
  "name": "info",
729
695
  "type": "tuple"
730
- },
696
+ }
697
+ ],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [
731
703
  {
732
- "internalType": "bytes",
733
- "name": "data",
734
- "type": "bytes"
704
+ "components": [
705
+ {
706
+ "internalType": "NftId",
707
+ "name": "nftId",
708
+ "type": "uint96"
709
+ },
710
+ {
711
+ "internalType": "NftId",
712
+ "name": "parentNftId",
713
+ "type": "uint96"
714
+ },
715
+ {
716
+ "internalType": "ObjectType",
717
+ "name": "objectType",
718
+ "type": "uint8"
719
+ },
720
+ {
721
+ "internalType": "bool",
722
+ "name": "isInterceptor",
723
+ "type": "bool"
724
+ },
725
+ {
726
+ "internalType": "address",
727
+ "name": "objectAddress",
728
+ "type": "address"
729
+ },
730
+ {
731
+ "internalType": "address",
732
+ "name": "initialOwner",
733
+ "type": "address"
734
+ },
735
+ {
736
+ "internalType": "bytes",
737
+ "name": "data",
738
+ "type": "bytes"
739
+ }
740
+ ],
741
+ "internalType": "struct IRegistry.ObjectInfo",
742
+ "name": "info",
743
+ "type": "tuple"
744
+ }
745
+ ],
746
+ "name": "registerDistributor",
747
+ "outputs": [
748
+ {
749
+ "internalType": "NftId",
750
+ "name": "nftId",
751
+ "type": "uint96"
735
752
  }
736
753
  ],
737
754
  "stateMutability": "nonpayable",
@@ -743,6 +760,11 @@
743
760
  "internalType": "contract IRegisterable",
744
761
  "name": "instance",
745
762
  "type": "address"
763
+ },
764
+ {
765
+ "internalType": "address",
766
+ "name": "owner",
767
+ "type": "address"
746
768
  }
747
769
  ],
748
770
  "name": "registerInstance",
@@ -788,13 +810,21 @@
788
810
  "internalType": "struct IRegistry.ObjectInfo",
789
811
  "name": "info",
790
812
  "type": "tuple"
791
- },
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
792
820
  {
793
- "internalType": "bytes",
794
- "name": "data",
795
- "type": "bytes"
821
+ "internalType": "bytes4",
822
+ "name": "interfaceId",
823
+ "type": "bytes4"
796
824
  }
797
825
  ],
826
+ "name": "registerInterface",
827
+ "outputs": [],
798
828
  "stateMutability": "nonpayable",
799
829
  "type": "function"
800
830
  },
@@ -857,7 +887,7 @@
857
887
  {
858
888
  "inputs": [
859
889
  {
860
- "internalType": "contract IBaseComponent",
890
+ "internalType": "contract IComponent",
861
891
  "name": "pool",
862
892
  "type": "address"
863
893
  },
@@ -910,11 +940,6 @@
910
940
  "internalType": "struct IRegistry.ObjectInfo",
911
941
  "name": "info",
912
942
  "type": "tuple"
913
- },
914
- {
915
- "internalType": "bytes",
916
- "name": "data",
917
- "type": "bytes"
918
943
  }
919
944
  ],
920
945
  "stateMutability": "nonpayable",
@@ -923,7 +948,7 @@
923
948
  {
924
949
  "inputs": [
925
950
  {
926
- "internalType": "contract IBaseComponent",
951
+ "internalType": "contract IComponent",
927
952
  "name": "product",
928
953
  "type": "address"
929
954
  },
@@ -976,11 +1001,6 @@
976
1001
  "internalType": "struct IRegistry.ObjectInfo",
977
1002
  "name": "info",
978
1003
  "type": "tuple"
979
- },
980
- {
981
- "internalType": "bytes",
982
- "name": "data",
983
- "type": "bytes"
984
1004
  }
985
1005
  ],
986
1006
  "stateMutability": "nonpayable",
@@ -1076,56 +1096,30 @@
1076
1096
  },
1077
1097
  {
1078
1098
  "inputs": [
1079
- {
1080
- "internalType": "address",
1081
- "name": "implementation",
1082
- "type": "address"
1083
- },
1084
- {
1085
- "internalType": "address",
1086
- "name": "activatedBy",
1087
- "type": "address"
1088
- },
1089
1099
  {
1090
1100
  "internalType": "bytes",
1091
1101
  "name": "data",
1092
1102
  "type": "bytes"
1093
1103
  }
1094
1104
  ],
1095
- "name": "upgrade",
1105
+ "name": "upgradeVersionable",
1096
1106
  "outputs": [],
1097
1107
  "stateMutability": "nonpayable",
1098
1108
  "type": "function"
1099
1109
  }
1100
1110
  ],
1101
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612f00806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063834af15311610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610547578063cf7a1d771461054f578063e285c9c414610562578063ed841d0c1461056a57600080fd5b8063b68d180914610504578063b88da75914610519578063bf7e214f1461052c578063c2bf08c81461053457600080fd5b80638fbc2d81116100de5780638fbc2d8114610497578063946dfcfe146104aa578063a745e3df146104d1578063b3c65015146104e457600080fd5b8063834af15314610467578063893d20e81461047a5780638fb360371461048257600080fd5b80635ab1bd5311610171578063644c45e01161014b578063644c45e0146104165780637286e5e51461042e5780637a9e5e4b146104415780638105cc7f1461045457600080fd5b80635ab1bd53146103b35780635c992fed146103d85780635d9662891461040357600080fd5b8063138461e0116101ad578063138461e0146102485780631eff4b22146102525780634d459c90146102875780634f421333146103a057600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e23660046124b6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610572565b60405162ffffff909116815260200161020d565b61023a6105fc565b60405161020d9291906125b0565b6102506108ea565b005b6102797f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6103436102953660046125ef565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612eab83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b6102016103ae3660046125ef565b610b0c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6103eb6103e636600461276f565b610bbf565b6040516001600160601b03909116815260200161020d565b61023a610411366004612841565b610c52565b600154600160a01b90046001600160601b03166103eb565b61023a61043c366004612841565b610d8c565b61025061044f36600461287a565b610e3b565b6103eb61046236600461276f565b610ec2565b61023a61047536600461287a565b610ed8565b6103c061105f565b61048a611178565b60405161020d9190612897565b61023a6104a5366004612841565b6111b1565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610279565b6102506104df3660046128ac565b611260565b6104ec6113ba565b6040516001600160401b03909116815260200161020d565b60285b60405160ff909116815260200161020d565b61021e61052736600461290d565b6113db565b6103c061142c565b6103eb61054236600461276f565b611448565b61050761145e565b61025061055d3660046128ac565b6114e1565b6103c0600181565b610279600081565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612926565b905090565b610604612478565b606061060e6115ea565b60408051600680825260e0820190925292945090925060009190816020015b604080518082019091526000808252602082015281526020019060019003908161062d57905050905061065e604690565b8160008151811061067157610671612943565b602090810291909101015160ff9091169052805163834af15360e01b90829060009061069f5761069f612943565b6020908102919091018101516001600160e01b03199092169101526106c2608c90565b816001815181106106d5576106d5612943565b602090810291909101015160ff90911690528051637286e5e560e01b908290600190811061070557610705612943565b6020908102919091018101516001600160e01b0319909216910152610728607890565b8160028151811061073b5761073b612943565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600290811061076b5761076b612943565b6020908102919091018101516001600160e01b031990921691015261078e606e90565b816003815181106107a1576107a1612943565b602090810291909101015160ff90911690528051635d96628960e01b90829060039081106107d1576107d1612943565b6020908102919091018101516001600160e01b03199092169101526107f460d290565b8160048151811061080757610807612943565b602090810291909101015160ff90911690528051635c992fed60e01b908290600490811061083757610837612943565b6020908102919091018101516001600160e01b031990921691015261085a60dc90565b8160058151811061086d5761086d612943565b602090810291909101015160ff90911690528051631857e11960e31b908290600590811061089d5761089d612943565b6020026020010151602001906001600160e01b03191690816001600160e01b03191681525050806040516020016108d49190612959565b6040516020818303038152906040529150509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097091906129c0565b156109b7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109e05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d91906129c0565b610a75576040516372657a5160e01b81526001600160a01b03821660048201526024016109ae565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae391906129e8565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612eab83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612a05565b1192915050565b6000610bce335b60003661173d565b610bd98260d2611843565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c09908590600401612a1e565b6020604051808303816000875af1158015610c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4c91906129e8565b92915050565b610c5a612478565b6060610c6533610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610c9890633ad74e8160e01b90600401612897565b602060405180830381865afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906129c0565b610cf657604051637a71998760e01b815260040160405180910390fd5b610d0384606e5b8561194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610d37908590600401612a1e565b6020604051808303816000875af1158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a91906129e8565b6001600160601b031682529250929050565b610d94612478565b6060610d9f33610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610dd290634ce2a6c760e11b90600401612897565b602060405180830381865afa158015610def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1391906129c0565b610e3057604051636f61f64160e01b815260040160405180910390fd5b610d0384608c610cfd565b33610e4461142c565b6001600160a01b0316816001600160a01b031614610e7f5760405162d1953b60e31b81526001600160a01b03821660048201526024016109ae565b816001600160a01b03163b600003610eb5576040516361798f2f60e11b81526001600160a01b03831660048201526024016109ae565b610ebe82611b54565b5050565b6000610ecd33610bc6565b610bd9826050611843565b610ee0612478565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610f16906318da1e1f60e11b90600401612897565b602060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5791906129c0565b610f7457604051636795c76360e01b815260040160405180910390fd5b610f808360463361194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610fb4908590600401612a1e565b6020604051808303816000875af1158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff791906129e8565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561104257600080fd5b505af1158015611056573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e891906129c0565b1561116857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a3c565b506002546001600160a01b031690565b600080516020612e6b833981519152805460009190600160a01b900460ff166111a25760006111ab565b638fb3603760e01b5b91505090565b6111b9612478565b60606111c433610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906111f79063c8ea96c560e01b90600401612897565b602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123891906129c0565b611255576040516308707e3160e41b815260040160405180910390fd5b610d03846078610cfd565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611282610572565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190612a59565b600080516020612e8b8339815191528054600160401b900460ff1680611319575080546001600160401b03808416911610155b156113375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113628585611bb5565b61136b83611e54565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f7600080516020612e8b833981519152546001600160401b031690565b6000600080516020612eab833981519152600101828154811061140057611400612943565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612e6b833981519152546001600160a01b031690565b600061145333610bc6565b610bd98260dc611843565b6000611468610572565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156114bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a8d565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b03166000811580156115145750825b90506000826001600160401b031660011480156115305750303b155b90508115801561153e575080155b1561155c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561158657845460ff60401b1916600160401b1785555b6115908888611bb5565b61159a8787611e5c565b83156115e057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6115f2612478565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061163e6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161168661105f565b6001600160a01b031681526020018260010180546116a390612aaa565b80601f01602080910402602001604051908101604052809291908181526020018280546116cf90612aaa565b801561171c5780601f106116f15761010080835404028352916020019161171c565b820191906000526020600020905b8154815290600101906020018083116116ff57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600080516020612e6b83398151915260008061177861175a61142c565b873061176a600460008a8c612ae4565b61177391612b0e565b611f90565b915091508161183b5763ffffffff81161561181857825460ff60a01b1916600160a01b1783556117a661142c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016117d593929190612b3e565b600060405180830381600087803b1580156117ef57600080fd5b505af1158015611803573d6000803e3d6000fd5b5050845460ff60a01b191685555061183b9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016109ae565b505050505050565b60006080830152604082015160ff828116911614611887576040808301519051632208245760e11b815260ff808416600483015290911660248201526044016109ae565b60a08201516001600160a01b0381166118b357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192b91906129c0565b1561194957604051637142ceb360e11b815260040160405180910390fd5b505050565b611956612478565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611996573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119be9190810190612bc3565b6001600160a01b03871660808301526040820151919350915060ff858116911614611a0f576040808301519051632208245760e11b815260ff808716600483015290911660248201526044016109ae565b60a082015160ff8516604614611a5c57836001600160a01b0316816001600160a01b031614611a5c5760405163dfc430cb60e01b81526001600160a01b03851660048201526024016109ae565b856001600160a01b0316816001600160a01b031603611a8e576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611ab557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906129c0565b15611b4b57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b600080516020612e6b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611bbd61209c565b600080516020612eab8339815191526000611bed600080516020612e8b833981519152546001600160401b031690565b90506000611bf9610572565b9050816001600160401b0316600103611c265760028301805462ffffff191662ffffff8316179055611c74565b600283015462ffffff90811690821611611c745760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ae565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190612cbb565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113ab9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf61209c565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611e8f5750825b90506000826001600160401b03166001148015611eab5750303b155b905081158015611eb9575080155b15611ed75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f0157845460ff60401b1916600160401b1785555b60008087806020019051810190611f189190612ce2565b91509150611f25826120d5565b611f2f818a6120e9565b611f3f63bdc07c9b60e01b612154565b50508315611f8757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fff9190612d11565b600060405180830381855afa9150503d806000811461203a576040519150601f19603f3d011682016040523d82523d6000602084013e61203f565b606091505b5091509150811561209157604081511061207157808060200190518101906120679190612d2d565b9094509250612091565b6020815110612091578080602001905181019061208e91906129c0565b93505b505094509492505050565b600080516020612e8b83398151915254600160401b900460ff166120d357604051631afcd79f60e31b815260040160405180910390fd5b565b6120dd61209c565b6120e681612179565b50565b600060286120f561145e565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061212a8461218a565b9050600061213d8583603c8488886121d1565b61214d637b6a51fd60e01b612154565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61218161209c565b6120e681611b54565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610c28573d6000803e3d6000fd5b6122126301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61221c828761229d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161228c8382612dab565b50611f876303fb044760e21b612154565b6001600160a01b0382166122f35760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ae565b600280546001600160a01b0319166001600160a01b038416179055610ebe816001546001600160a01b03161561234b5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ae565b6001600160a01b0381166123725760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123a85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906123ee9063102da10360e01b90600401612897565b602060405180830381865afa925050508015612427575060408051601f3d908101601f19168201909252612424918101906129c0565b60015b61244f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b80610ebe5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ae565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124c857600080fd5b81356001600160e01b0319811681146124e057600080fd5b9392505050565b60005b838110156125025781810151838201526020016124ea565b50506000910152565b600081518084526125238160208601602086016124e7565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125a860e085018261250b565b949350505050565b6040815260006125c36040830185612537565b82810360208401526125d5818561250b565b95945050505050565b62ffffff811681146120e657600080fd5b60006020828403121561260157600080fd5b81356124e0816125de565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156126445761264461260c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126725761267261260c565b604052919050565b6001600160601b03811681146120e657600080fd5b803561269a8161267a565b919050565b60ff811681146120e657600080fd5b803561269a8161269f565b80151581146120e657600080fd5b803561269a816126b9565b6001600160a01b03811681146120e657600080fd5b803561269a816126d2565b60006001600160401b0382111561270b5761270b61260c565b50601f01601f191660200190565b600082601f83011261272a57600080fd5b813561273d612738826126f2565b61264a565b81815284602083860101111561275257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561278157600080fd5b81356001600160401b038082111561279857600080fd5b9083019060e082860312156127ac57600080fd5b6127b4612622565b6127bd8361268f565b81526127cb6020840161268f565b60208201526127dc604084016126ae565b60408201526127ed606084016126c7565b60608201526127fe608084016126e7565b608082015261280f60a084016126e7565b60a082015260c08301358281111561282657600080fd5b61283287828601612719565b60c08301525095945050505050565b6000806040838503121561285457600080fd5b823561285f816126d2565b9150602083013561286f816126d2565b809150509250929050565b60006020828403121561288c57600080fd5b81356124e0816126d2565b6001600160e01b031991909116815260200190565b6000806000606084860312156128c157600080fd5b83356128cc816126d2565b925060208401356128dc816126d2565b915060408401356001600160401b038111156128f757600080fd5b61290386828701612719565b9150509250925092565b60006020828403121561291f57600080fd5b5035919050565b60006020828403121561293857600080fd5b81516124e0816125de565b634e487b7160e01b600052603260045260246000fd5b602080825282518282018190526000919060409081850190868401855b828110156129a8578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612976565b5091979650505050505050565b805161269a816126b9565b6000602082840312156129d257600080fd5b81516124e0816126b9565b805161269a8161267a565b6000602082840312156129fa57600080fd5b81516124e08161267a565b600060208284031215612a1757600080fd5b5051919050565b6020815260006124e06020830184612537565b805161269a816126d2565b600060208284031215612a4e57600080fd5b81516124e0816126d2565b600060208284031215612a6b57600080fd5b81516001600160401b03811681146124e057600080fd5b805161269a8161269f565b600060208284031215612a9f57600080fd5b81516124e08161269f565b600181811c90821680612abe57607f821691505b602082108103612ade57634e487b7160e01b600052602260045260246000fd5b50919050565b60008085851115612af457600080fd5b83861115612b0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b8f57600080fd5b8151612b9d612738826126f2565b818152846020838601011115612bb257600080fd5b6125a88260208301602087016124e7565b60008060408385031215612bd657600080fd5b82516001600160401b0380821115612bed57600080fd5b9084019060e08287031215612c0157600080fd5b612c09612622565b612c12836129dd565b8152612c20602084016129dd565b6020820152612c3160408401612a82565b6040820152612c42606084016129b5565b6060820152612c5360808401612a31565b6080820152612c6460a08401612a31565b60a082015260c083015182811115612c7b57600080fd5b612c8788828601612b7e565b60c0830152506020860151909450915080821115612ca457600080fd5b50612cb185828601612b7e565b9150509250929050565b600060208284031215612ccd57600080fd5b815164ffffffffff811681146124e057600080fd5b60008060408385031215612cf557600080fd5b8251612d00816126d2565b602084015190925061286f816126d2565b60008251612d238184602087016124e7565b9190910192915050565b60008060408385031215612d4057600080fd5b8251612d4b816126b9565b602084015190925063ffffffff8116811461286f57600080fd5b601f82111561194957600081815260208120601f850160051c81016020861015612d8c5750805b601f850160051c820191505b8181101561183b57828155600101612d98565b81516001600160401b03811115612dc457612dc461260c565b612dd881612dd28454612aaa565b84612d65565b602080601f831160018114612e0d5760008415612df55750858301515b600019600386901b1c1916600185901b17855561183b565b600085815260208120601f198616915b82811015612e3c57888601518255948401946001909101908401612e1d565b5085821015612e5a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208d621859455d9bd088ede21526e857b80e9cf645225adfee805ae4bf7f9494b264736f6c63430008140033",
1102
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063834af15311610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610547578063cf7a1d771461054f578063e285c9c414610562578063ed841d0c1461056a57600080fd5b8063b68d180914610504578063b88da75914610519578063bf7e214f1461052c578063c2bf08c81461053457600080fd5b80638fbc2d81116100de5780638fbc2d8114610497578063946dfcfe146104aa578063a745e3df146104d1578063b3c65015146104e457600080fd5b8063834af15314610467578063893d20e81461047a5780638fb360371461048257600080fd5b80635ab1bd5311610171578063644c45e01161014b578063644c45e0146104165780637286e5e51461042e5780637a9e5e4b146104415780638105cc7f1461045457600080fd5b80635ab1bd53146103b35780635c992fed146103d85780635d9662891461040357600080fd5b8063138461e0116101ad578063138461e0146102485780631eff4b22146102525780634d459c90146102875780634f421333146103a057600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e23660046124b6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610572565b60405162ffffff909116815260200161020d565b61023a6105fc565b60405161020d9291906125b0565b6102506108ea565b005b6102797f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6103436102953660046125ef565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612eab83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b6102016103ae3660046125ef565b610b0c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6103eb6103e636600461276f565b610bbf565b6040516001600160601b03909116815260200161020d565b61023a610411366004612841565b610c52565b600154600160a01b90046001600160601b03166103eb565b61023a61043c366004612841565b610d8c565b61025061044f36600461287a565b610e3b565b6103eb61046236600461276f565b610ec2565b61023a61047536600461287a565b610ed8565b6103c061105f565b61048a611178565b60405161020d9190612897565b61023a6104a5366004612841565b6111b1565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610279565b6102506104df3660046128ac565b611260565b6104ec6113ba565b6040516001600160401b03909116815260200161020d565b60285b60405160ff909116815260200161020d565b61021e61052736600461290d565b6113db565b6103c061142c565b6103eb61054236600461276f565b611448565b61050761145e565b61025061055d3660046128ac565b6114e1565b6103c0600181565b610279600081565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612926565b905090565b610604612478565b606061060e6115ea565b60408051600680825260e0820190925292945090925060009190816020015b604080518082019091526000808252602082015281526020019060019003908161062d57905050905061065e604690565b8160008151811061067157610671612943565b602090810291909101015160ff9091169052805163834af15360e01b90829060009061069f5761069f612943565b6020908102919091018101516001600160e01b03199092169101526106c2608c90565b816001815181106106d5576106d5612943565b602090810291909101015160ff90911690528051637286e5e560e01b908290600190811061070557610705612943565b6020908102919091018101516001600160e01b0319909216910152610728607890565b8160028151811061073b5761073b612943565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600290811061076b5761076b612943565b6020908102919091018101516001600160e01b031990921691015261078e606e90565b816003815181106107a1576107a1612943565b602090810291909101015160ff90911690528051635d96628960e01b90829060039081106107d1576107d1612943565b6020908102919091018101516001600160e01b03199092169101526107f460d290565b8160048151811061080757610807612943565b602090810291909101015160ff90911690528051635c992fed60e01b908290600490811061083757610837612943565b6020908102919091018101516001600160e01b031990921691015261085a60dc90565b8160058151811061086d5761086d612943565b602090810291909101015160ff90911690528051631857e11960e31b908290600590811061089d5761089d612943565b6020026020010151602001906001600160e01b03191690816001600160e01b03191681525050806040516020016108d49190612959565b6040516020818303038152906040529150509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097091906129c0565b156109b7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109e05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d91906129c0565b610a75576040516372657a5160e01b81526001600160a01b03821660048201526024016109ae565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae391906129e8565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612eab83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612a05565b1192915050565b6000610bce335b60003661173d565b610bd98260d2611843565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c09908590600401612a1e565b6020604051808303816000875af1158015610c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4c91906129e8565b92915050565b610c5a612478565b6060610c6533610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610c9890633ad74e8160e01b90600401612897565b602060405180830381865afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906129c0565b610cf657604051637a71998760e01b815260040160405180910390fd5b610d0384606e5b8561194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610d37908590600401612a1e565b6020604051808303816000875af1158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a91906129e8565b6001600160601b031682529250929050565b610d94612478565b6060610d9f33610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610dd290634ce2a6c760e11b90600401612897565b602060405180830381865afa158015610def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1391906129c0565b610e3057604051636f61f64160e01b815260040160405180910390fd5b610d0384608c610cfd565b33610e4461142c565b6001600160a01b0316816001600160a01b031614610e7f5760405162d1953b60e31b81526001600160a01b03821660048201526024016109ae565b816001600160a01b03163b600003610eb5576040516361798f2f60e11b81526001600160a01b03831660048201526024016109ae565b610ebe82611b54565b5050565b6000610ecd33610bc6565b610bd9826050611843565b610ee0612478565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610f16906318da1e1f60e11b90600401612897565b602060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5791906129c0565b610f7457604051636795c76360e01b815260040160405180910390fd5b610f808360463361194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610fb4908590600401612a1e565b6020604051808303816000875af1158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff791906129e8565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561104257600080fd5b505af1158015611056573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e891906129c0565b1561116857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a3c565b506002546001600160a01b031690565b600080516020612e6b833981519152805460009190600160a01b900460ff166111a25760006111ab565b638fb3603760e01b5b91505090565b6111b9612478565b60606111c433610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906111f79063c8ea96c560e01b90600401612897565b602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123891906129c0565b611255576040516308707e3160e41b815260040160405180910390fd5b610d03846078610cfd565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611282610572565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190612a59565b600080516020612e8b8339815191528054600160401b900460ff1680611319575080546001600160401b03808416911610155b156113375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113628585611bb5565b61136b83611e54565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f7600080516020612e8b833981519152546001600160401b031690565b6000600080516020612eab833981519152600101828154811061140057611400612943565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612e6b833981519152546001600160a01b031690565b600061145333610bc6565b610bd98260dc611843565b6000611468610572565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156114bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a8d565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b03166000811580156115145750825b90506000826001600160401b031660011480156115305750303b155b90508115801561153e575080155b1561155c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561158657845460ff60401b1916600160401b1785555b6115908888611bb5565b61159a8787611e5c565b83156115e057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6115f2612478565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061163e6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161168661105f565b6001600160a01b031681526020018260010180546116a390612aaa565b80601f01602080910402602001604051908101604052809291908181526020018280546116cf90612aaa565b801561171c5780601f106116f15761010080835404028352916020019161171c565b820191906000526020600020905b8154815290600101906020018083116116ff57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600080516020612e6b83398151915260008061177861175a61142c565b873061176a600460008a8c612ae4565b61177391612b0e565b611f90565b915091508161183b5763ffffffff81161561181857825460ff60a01b1916600160a01b1783556117a661142c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016117d593929190612b3e565b600060405180830381600087803b1580156117ef57600080fd5b505af1158015611803573d6000803e3d6000fd5b5050845460ff60a01b191685555061183b9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016109ae565b505050505050565b60006080830152604082015160ff828116911614611887576040808301519051632208245760e11b815260ff808416600483015290911660248201526044016109ae565b60a08201516001600160a01b0381166118b357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192b91906129c0565b1561194957604051637142ceb360e11b815260040160405180910390fd5b505050565b611956612478565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611996573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119be9190810190612bc3565b6001600160a01b03871660808301526040820151919350915060ff858116911614611a0f576040808301519051632208245760e11b815260ff808716600483015290911660248201526044016109ae565b60a082015160ff8516604614611a5c57836001600160a01b0316816001600160a01b031614611a5c5760405163dfc430cb60e01b81526001600160a01b03851660048201526024016109ae565b856001600160a01b0316816001600160a01b031603611a8e576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611ab557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906129c0565b15611b4b57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b600080516020612e6b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611bbd61209c565b600080516020612eab8339815191526000611bed600080516020612e8b833981519152546001600160401b031690565b90506000611bf9610572565b9050816001600160401b0316600103611c265760028301805462ffffff191662ffffff8316179055611c74565b600283015462ffffff90811690821611611c745760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ae565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190612cbb565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113ab9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf61209c565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611e8f5750825b90506000826001600160401b03166001148015611eab5750303b155b905081158015611eb9575080155b15611ed75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f0157845460ff60401b1916600160401b1785555b60008087806020019051810190611f189190612ce2565b91509150611f25826120d5565b611f2f818a6120e9565b611f3f63bdc07c9b60e01b612154565b50508315611f8757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fff9190612d11565b600060405180830381855afa9150503d806000811461203a576040519150601f19603f3d011682016040523d82523d6000602084013e61203f565b606091505b5091509150811561209157604081511061207157808060200190518101906120679190612d2d565b9094509250612091565b6020815110612091578080602001905181019061208e91906129c0565b93505b505094509492505050565b600080516020612e8b83398151915254600160401b900460ff166120d357604051631afcd79f60e31b815260040160405180910390fd5b565b6120dd61209c565b6120e681612179565b50565b600060286120f561145e565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061212a8461218a565b9050600061213d8583603c8488886121d1565b61214d637b6a51fd60e01b612154565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61218161209c565b6120e681611b54565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610c28573d6000803e3d6000fd5b6122126301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61221c828761229d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161228c8382612dab565b50611f876303fb044760e21b612154565b6001600160a01b0382166122f35760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ae565b600280546001600160a01b0319166001600160a01b038416179055610ebe816001546001600160a01b03161561234b5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ae565b6001600160a01b0381166123725760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123a85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906123ee9063102da10360e01b90600401612897565b602060405180830381865afa925050508015612427575060408051601f3d908101601f19168201909252612424918101906129c0565b60015b61244f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b80610ebe5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ae565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124c857600080fd5b81356001600160e01b0319811681146124e057600080fd5b9392505050565b60005b838110156125025781810151838201526020016124ea565b50506000910152565b600081518084526125238160208601602086016124e7565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125a860e085018261250b565b949350505050565b6040815260006125c36040830185612537565b82810360208401526125d5818561250b565b95945050505050565b62ffffff811681146120e657600080fd5b60006020828403121561260157600080fd5b81356124e0816125de565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156126445761264461260c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126725761267261260c565b604052919050565b6001600160601b03811681146120e657600080fd5b803561269a8161267a565b919050565b60ff811681146120e657600080fd5b803561269a8161269f565b80151581146120e657600080fd5b803561269a816126b9565b6001600160a01b03811681146120e657600080fd5b803561269a816126d2565b60006001600160401b0382111561270b5761270b61260c565b50601f01601f191660200190565b600082601f83011261272a57600080fd5b813561273d612738826126f2565b61264a565b81815284602083860101111561275257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561278157600080fd5b81356001600160401b038082111561279857600080fd5b9083019060e082860312156127ac57600080fd5b6127b4612622565b6127bd8361268f565b81526127cb6020840161268f565b60208201526127dc604084016126ae565b60408201526127ed606084016126c7565b60608201526127fe608084016126e7565b608082015261280f60a084016126e7565b60a082015260c08301358281111561282657600080fd5b61283287828601612719565b60c08301525095945050505050565b6000806040838503121561285457600080fd5b823561285f816126d2565b9150602083013561286f816126d2565b809150509250929050565b60006020828403121561288c57600080fd5b81356124e0816126d2565b6001600160e01b031991909116815260200190565b6000806000606084860312156128c157600080fd5b83356128cc816126d2565b925060208401356128dc816126d2565b915060408401356001600160401b038111156128f757600080fd5b61290386828701612719565b9150509250925092565b60006020828403121561291f57600080fd5b5035919050565b60006020828403121561293857600080fd5b81516124e0816125de565b634e487b7160e01b600052603260045260246000fd5b602080825282518282018190526000919060409081850190868401855b828110156129a8578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612976565b5091979650505050505050565b805161269a816126b9565b6000602082840312156129d257600080fd5b81516124e0816126b9565b805161269a8161267a565b6000602082840312156129fa57600080fd5b81516124e08161267a565b600060208284031215612a1757600080fd5b5051919050565b6020815260006124e06020830184612537565b805161269a816126d2565b600060208284031215612a4e57600080fd5b81516124e0816126d2565b600060208284031215612a6b57600080fd5b81516001600160401b03811681146124e057600080fd5b805161269a8161269f565b600060208284031215612a9f57600080fd5b81516124e08161269f565b600181811c90821680612abe57607f821691505b602082108103612ade57634e487b7160e01b600052602260045260246000fd5b50919050565b60008085851115612af457600080fd5b83861115612b0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b8f57600080fd5b8151612b9d612738826126f2565b818152846020838601011115612bb257600080fd5b6125a88260208301602087016124e7565b60008060408385031215612bd657600080fd5b82516001600160401b0380821115612bed57600080fd5b9084019060e08287031215612c0157600080fd5b612c09612622565b612c12836129dd565b8152612c20602084016129dd565b6020820152612c3160408401612a82565b6040820152612c42606084016129b5565b6060820152612c5360808401612a31565b6080820152612c6460a08401612a31565b60a082015260c083015182811115612c7b57600080fd5b612c8788828601612b7e565b60c0830152506020860151909450915080821115612ca457600080fd5b50612cb185828601612b7e565b9150509250929050565b600060208284031215612ccd57600080fd5b815164ffffffffff811681146124e057600080fd5b60008060408385031215612cf557600080fd5b8251612d00816126d2565b602084015190925061286f816126d2565b60008251612d238184602087016124e7565b9190910192915050565b60008060408385031215612d4057600080fd5b8251612d4b816126b9565b602084015190925063ffffffff8116811461286f57600080fd5b601f82111561194957600081815260208120601f850160051c81016020861015612d8c5750805b601f850160051c820191505b8181101561183b57828155600101612d98565b81516001600160401b03811115612dc457612dc461260c565b612dd881612dd28454612aaa565b84612d65565b602080601f831160018114612e0d5760008415612df55750858301515b600019600386901b1c1916600185901b17855561183b565b600085815260208120601f198616915b82811015612e3c57888601518255948401946001909101908401612e1d565b5085821015612e5a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208d621859455d9bd088ede21526e857b80e9cf645225adfee805ae4bf7f9494b264736f6c63430008140033",
1111
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612d7080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612354565b6104b9565b60405161023991906123dd565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fe565b610a84565b61028e6102e63660046125a6565b610ab1565b61028e6102f936600461263e565b610b3d565b61028e610c8a565b61028e610314366004612672565b610cd0565b61032c6103273660046126c1565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c1565b610e5e565b61025561038a366004612354565b610e74565b600080516020612cdb833981519152546001600160601b031661032c565b61028e6103bb366004612793565b610fb4565b6102556103ce366004612354565b6110c7565b61028e6103e1366004612793565b611174565b61032c6103f43660046126c1565b6111f7565b61035161120d565b610409611344565b60405161023991906127b0565b610255610424366004612354565b61137c565b6102b7600080516020612cdb83398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c5565b61032c61047e3660046126c1565b611a31565b610441611a47565b61028e610499366004612354565b611abe565b6102b7600081565b61028e6104b4366004612354565b611b56565b6104c16122c0565b6104ce335b600036611bcd565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105019063200c173160e01b906004016127b0565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287d565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd3565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123dd565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c2565b905090565b6106e96122c0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e7565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287d565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287d565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a5565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec3565b610ac38287611b56565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612967565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a26565b600080516020612d1b8339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f04565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a61202b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123dd565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a5565b92915050565b6000610e69336104c6565b610de58260d361202b565b610e7c6122c0565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb890631e63cf4560e01b906004016127b0565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287d565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123dd565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a5565b6001600160601b0316815292915050565b610fbc611ec3565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061103890630a3888e560e31b906004016127b0565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287d565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122c0565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063f20236f360e01b906004016127b0565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287d565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612136565b6000611202336104c6565b610de582605061202b565b600080600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287d565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a5a565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfb833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122c0565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090637895d0ed60e01b906004016127b0565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287d565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cfb833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d390565b816000815181106114a3576114a3612a77565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114dc576114dc612a77565b6020026020010151602001819052506114f360d290565b8160018151811061150657611506612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154c5761154c612a77565b602002602001015160200181905250635c992fed60e01b8160018151811061157657611576612a77565b60200260200101516020015160008151811061159457611594612a77565b6001600160e01b0319909216602092830291909101909101526115b560d490565b816002815181106115c8576115c8612a77565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115ff576115ff612a77565b60200260200101516020018190525061161660dc90565b8160038151811061162957611629612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166f5761166f612a77565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169957611699612a77565b6020026020010151602001516000815181106116b7576116b7612a77565b6001600160e01b0319909216602092830291909101909101526116d8606e90565b816004815181106116eb576116eb612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173157611731612a77565b602002602001015160200181905250635d96628960e01b8160048151811061175b5761175b612a77565b60200260200101516020015160008151811061177957611779612a77565b6001600160e01b03199092166020928302919091019091015261179a608c90565b816005815181106117ad576117ad612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f3576117f3612a77565b602002602001015160200181905250637286e5e560e01b8160058151811061181d5761181d612a77565b60200260200101516020015160008151811061183b5761183b612a77565b6001600160e01b03199092166020928302919091019091015261185c607890565b8160068151811061186f5761186f612a77565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b6576118b6612a77565b602002602001015160200181905250638fbc2d8160e01b816006815181106118e0576118e0612a77565b6020026020010151602001516000815181106118fe576118fe612a77565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193557611935612a77565b60200260200101516020015160018151811061195357611953612a77565b6001600160e01b031990921660209283029190910190910152611974604690565b8160078151811061198757611987612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cd576119cd612a77565b60200260200101516020018190525063026bc43b60e01b816007815181106119f7576119f7612a77565b602002602001015160200151600081518110611a1557611a15612a77565b6001600160e01b03199092166020928302919091019091015290565b6000611a3c336104c6565b610de58260dc61202b565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a98565b611ac6611ec3565b611b4682836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2c91906128a5565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5e611ec3565b611b6781610fb4565b611b6f610c8a565b6001600160a01b038216611b965760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cdb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfb833981519152600080611c08611bea611429565b8730611bfa600460008a8c612ab5565b611c0391612adf565b612197565b9150915081611ccb5763ffffffff811615611ca857825460ff60a01b1916600160a01b178355611c36611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6593929190612b0f565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cdb6122c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d19573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d419190810190612b94565b6001600160a01b0385166080820152604081015190915060ff848116911614611d90576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dcc5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfe576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9d919061287d565b15611ebb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1b83398151915254600160401b900460ff16611efa57604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec3565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f375750825b90506000826001600160401b03166001148015611f535750303b155b905081158015611f61575080155b15611f7f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa957845460ff60401b1916600160401b1785555b60008087806020019051810190611fc09190612c57565b91509150611fcd816122a3565b611fd7828a611abe565b611fe763aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206f576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209b57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612113919061287d565b1561213157604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122069190612c86565b600060405180830381855afa9150503d8060008114612241576040519150601f19603f3d011682016040523d82523d6000602084013e612246565b606091505b50915091508115612298576040815110612278578080602001905181019061226e9190612ca2565b9094509250612298565b60208151106122985780806020019051810190612295919061287d565b93505b505094509492505050565b6122ab611ec3565b6110c4816122b7611ec3565b6110c481612136565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561231057600080fd5b81356001600160e01b03198116811461232857600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234f8161232f565b919050565b6000806040838503121561236757600080fd5b82356123728161232f565b915060208301356123828161232f565b809150509250929050565b60005b838110156123a8578181015183820152602001612390565b50506000910152565b600081518084526123c981602086016020860161238d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244660c08401826001600160a01b03169052565b5060c083015160e0808401526124606101008401826123b1565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234f81612468565b60ff811681146110c457600080fd5b803561234f81612488565b80151581146110c457600080fd5b803561234f816124a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f3576124f36124bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612521576125216124bb565b604052919050565b60006001600160401b03821115612542576125426124bb565b50601f01601f191660200190565b600082601f83011261256157600080fd5b813561257461256f82612529565b6124f9565b81815284602083860101111561258957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bf57600080fd5b86356125ca8161232f565b955060208701356125da81612468565b945060408701356125ea81612488565b935060608701356125fa816124a2565b9250608087013561260a8161232f565b915060a08701356001600160401b0381111561262557600080fd5b61263189828a01612550565b9150509295509295509295565b60006020828403121561265057600080fd5b81356001600160401b0381111561266657600080fd5b61246084828501612550565b6000806040838503121561268557600080fd5b82356126908161232f565b915060208301356001600160401b038111156126ab57600080fd5b6126b785828601612550565b9150509250929050565b6000602082840312156126d357600080fd5b81356001600160401b03808211156126ea57600080fd5b9083019060e082860312156126fe57600080fd5b6127066124d1565b61270f8361247d565b815261271d6020840161247d565b602082015261272e60408401612497565b604082015261273f606084016124b0565b606082015261275060808401612344565b608082015261276160a08401612344565b60a082015260c08301358281111561277857600080fd5b61278487828601612550565b60c08301525095945050505050565b6000602082840312156127a557600080fd5b81356123288161232f565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286357898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284e5783516001600160e01b0319168252928b019260019290920191908b0190612824565b50978a019795505050918701916001016127ed565b50919998505050505050505050565b805161234f816124a2565b60006020828403121561288f57600080fd5b8151612328816124a2565b805161234f81612468565b6000602082840312156128b757600080fd5b815161232881612468565b6000602082840312156128d457600080fd5b815162ffffff8116811461232857600080fd5b600181811c908216806128fb57607f821691505b60208210810361291b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213157600081815260208120601f850160051c810160208610156129485750805b601f850160051c820191505b81811015611ccb57828155600101612954565b81516001600160401b03811115612980576129806124bb565b6129948161298e84546128e7565b84612921565b602080601f8311600181146129c957600084156129b15750858301515b600019600386901b1c1916600185901b178555611ccb565b600085815260208120601f198616915b828110156129f8578886015182559484019460019091019084016129d9565b5085821015612a165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3857600080fd5b81516001600160401b038116811461232857600080fd5b805161234f8161232f565b600060208284031215612a6c57600080fd5b81516123288161232f565b634e487b7160e01b600052603260045260246000fd5b805161234f81612488565b600060208284031215612aaa57600080fd5b815161232881612488565b60008085851115612ac557600080fd5b83861115612ad257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b075780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b6057600080fd5b8151612b6e61256f82612529565b818152846020838601011115612b8357600080fd5b61246082602083016020870161238d565b600060208284031215612ba657600080fd5b81516001600160401b0380821115612bbd57600080fd5b9083019060e08286031215612bd157600080fd5b612bd96124d1565b612be28361289a565b8152612bf06020840161289a565b6020820152612c0160408401612a8d565b6040820152612c1260608401612872565b6060820152612c2360808401612a4f565b6080820152612c3460a08401612a4f565b60a082015260c083015182811115612c4b57600080fd5b61278487828601612b4f565b60008060408385031215612c6a57600080fd5b8251612c758161232f565b60208401519092506123828161232f565b60008251612c9881846020870161238d565b9190910192915050565b60008060408385031215612cb557600080fd5b8251612cc0816124a2565b602084015190925063ffffffff8116811461238257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220940b34c78eb07352021b38627d1690d2b589a29e696eeb65f217b0ceaef7004964736f6c63430008140033",
1112
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612354565b6104b9565b60405161023991906123dd565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fe565b610a84565b61028e6102e63660046125a6565b610ab1565b61028e6102f936600461263e565b610b3d565b61028e610c8a565b61028e610314366004612672565b610cd0565b61032c6103273660046126c1565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c1565b610e5e565b61025561038a366004612354565b610e74565b600080516020612cdb833981519152546001600160601b031661032c565b61028e6103bb366004612793565b610fb4565b6102556103ce366004612354565b6110c7565b61028e6103e1366004612793565b611174565b61032c6103f43660046126c1565b6111f7565b61035161120d565b610409611344565b60405161023991906127b0565b610255610424366004612354565b61137c565b6102b7600080516020612cdb83398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c5565b61032c61047e3660046126c1565b611a31565b610441611a47565b61028e610499366004612354565b611abe565b6102b7600081565b61028e6104b4366004612354565b611b56565b6104c16122c0565b6104ce335b600036611bcd565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105019063200c173160e01b906004016127b0565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287d565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd3565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123dd565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c2565b905090565b6106e96122c0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e7565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287d565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287d565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a5565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec3565b610ac38287611b56565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612967565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a26565b600080516020612d1b8339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f04565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a61202b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123dd565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a5565b92915050565b6000610e69336104c6565b610de58260d361202b565b610e7c6122c0565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb890631e63cf4560e01b906004016127b0565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287d565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123dd565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a5565b6001600160601b0316815292915050565b610fbc611ec3565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061103890630a3888e560e31b906004016127b0565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287d565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122c0565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063f20236f360e01b906004016127b0565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287d565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612136565b6000611202336104c6565b610de582605061202b565b600080600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287d565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a5a565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfb833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122c0565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090637895d0ed60e01b906004016127b0565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287d565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cfb833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d390565b816000815181106114a3576114a3612a77565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114dc576114dc612a77565b6020026020010151602001819052506114f360d290565b8160018151811061150657611506612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154c5761154c612a77565b602002602001015160200181905250635c992fed60e01b8160018151811061157657611576612a77565b60200260200101516020015160008151811061159457611594612a77565b6001600160e01b0319909216602092830291909101909101526115b560d490565b816002815181106115c8576115c8612a77565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115ff576115ff612a77565b60200260200101516020018190525061161660dc90565b8160038151811061162957611629612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166f5761166f612a77565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169957611699612a77565b6020026020010151602001516000815181106116b7576116b7612a77565b6001600160e01b0319909216602092830291909101909101526116d8606e90565b816004815181106116eb576116eb612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173157611731612a77565b602002602001015160200181905250635d96628960e01b8160048151811061175b5761175b612a77565b60200260200101516020015160008151811061177957611779612a77565b6001600160e01b03199092166020928302919091019091015261179a608c90565b816005815181106117ad576117ad612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f3576117f3612a77565b602002602001015160200181905250637286e5e560e01b8160058151811061181d5761181d612a77565b60200260200101516020015160008151811061183b5761183b612a77565b6001600160e01b03199092166020928302919091019091015261185c607890565b8160068151811061186f5761186f612a77565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b6576118b6612a77565b602002602001015160200181905250638fbc2d8160e01b816006815181106118e0576118e0612a77565b6020026020010151602001516000815181106118fe576118fe612a77565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193557611935612a77565b60200260200101516020015160018151811061195357611953612a77565b6001600160e01b031990921660209283029190910190910152611974604690565b8160078151811061198757611987612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cd576119cd612a77565b60200260200101516020018190525063026bc43b60e01b816007815181106119f7576119f7612a77565b602002602001015160200151600081518110611a1557611a15612a77565b6001600160e01b03199092166020928302919091019091015290565b6000611a3c336104c6565b610de58260dc61202b565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a98565b611ac6611ec3565b611b4682836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2c91906128a5565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5e611ec3565b611b6781610fb4565b611b6f610c8a565b6001600160a01b038216611b965760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cdb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfb833981519152600080611c08611bea611429565b8730611bfa600460008a8c612ab5565b611c0391612adf565b612197565b9150915081611ccb5763ffffffff811615611ca857825460ff60a01b1916600160a01b178355611c36611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6593929190612b0f565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cdb6122c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d19573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d419190810190612b94565b6001600160a01b0385166080820152604081015190915060ff848116911614611d90576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dcc5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfe576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9d919061287d565b15611ebb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1b83398151915254600160401b900460ff16611efa57604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec3565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f375750825b90506000826001600160401b03166001148015611f535750303b155b905081158015611f61575080155b15611f7f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa957845460ff60401b1916600160401b1785555b60008087806020019051810190611fc09190612c57565b91509150611fcd816122a3565b611fd7828a611abe565b611fe763aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206f576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209b57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612113919061287d565b1561213157604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122069190612c86565b600060405180830381855afa9150503d8060008114612241576040519150601f19603f3d011682016040523d82523d6000602084013e612246565b606091505b50915091508115612298576040815110612278578080602001905181019061226e9190612ca2565b9094509250612298565b60208151106122985780806020019051810190612295919061287d565b93505b505094509492505050565b6122ab611ec3565b6110c4816122b7611ec3565b6110c481612136565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561231057600080fd5b81356001600160e01b03198116811461232857600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234f8161232f565b919050565b6000806040838503121561236757600080fd5b82356123728161232f565b915060208301356123828161232f565b809150509250929050565b60005b838110156123a8578181015183820152602001612390565b50506000910152565b600081518084526123c981602086016020860161238d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244660c08401826001600160a01b03169052565b5060c083015160e0808401526124606101008401826123b1565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234f81612468565b60ff811681146110c457600080fd5b803561234f81612488565b80151581146110c457600080fd5b803561234f816124a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f3576124f36124bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612521576125216124bb565b604052919050565b60006001600160401b03821115612542576125426124bb565b50601f01601f191660200190565b600082601f83011261256157600080fd5b813561257461256f82612529565b6124f9565b81815284602083860101111561258957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bf57600080fd5b86356125ca8161232f565b955060208701356125da81612468565b945060408701356125ea81612488565b935060608701356125fa816124a2565b9250608087013561260a8161232f565b915060a08701356001600160401b0381111561262557600080fd5b61263189828a01612550565b9150509295509295509295565b60006020828403121561265057600080fd5b81356001600160401b0381111561266657600080fd5b61246084828501612550565b6000806040838503121561268557600080fd5b82356126908161232f565b915060208301356001600160401b038111156126ab57600080fd5b6126b785828601612550565b9150509250929050565b6000602082840312156126d357600080fd5b81356001600160401b03808211156126ea57600080fd5b9083019060e082860312156126fe57600080fd5b6127066124d1565b61270f8361247d565b815261271d6020840161247d565b602082015261272e60408401612497565b604082015261273f606084016124b0565b606082015261275060808401612344565b608082015261276160a08401612344565b60a082015260c08301358281111561277857600080fd5b61278487828601612550565b60c08301525095945050505050565b6000602082840312156127a557600080fd5b81356123288161232f565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286357898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284e5783516001600160e01b0319168252928b019260019290920191908b0190612824565b50978a019795505050918701916001016127ed565b50919998505050505050505050565b805161234f816124a2565b60006020828403121561288f57600080fd5b8151612328816124a2565b805161234f81612468565b6000602082840312156128b757600080fd5b815161232881612468565b6000602082840312156128d457600080fd5b815162ffffff8116811461232857600080fd5b600181811c908216806128fb57607f821691505b60208210810361291b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213157600081815260208120601f850160051c810160208610156129485750805b601f850160051c820191505b81811015611ccb57828155600101612954565b81516001600160401b03811115612980576129806124bb565b6129948161298e84546128e7565b84612921565b602080601f8311600181146129c957600084156129b15750858301515b600019600386901b1c1916600185901b178555611ccb565b600085815260208120601f198616915b828110156129f8578886015182559484019460019091019084016129d9565b5085821015612a165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3857600080fd5b81516001600160401b038116811461232857600080fd5b805161234f8161232f565b600060208284031215612a6c57600080fd5b81516123288161232f565b634e487b7160e01b600052603260045260246000fd5b805161234f81612488565b600060208284031215612aaa57600080fd5b815161232881612488565b60008085851115612ac557600080fd5b83861115612ad257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b075780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b6057600080fd5b8151612b6e61256f82612529565b818152846020838601011115612b8357600080fd5b61246082602083016020870161238d565b600060208284031215612ba657600080fd5b81516001600160401b0380821115612bbd57600080fd5b9083019060e08286031215612bd157600080fd5b612bd96124d1565b612be28361289a565b8152612bf06020840161289a565b6020820152612c0160408401612a8d565b6040820152612c1260608401612872565b6060820152612c2360808401612a4f565b6080820152612c3460a08401612a4f565b60a082015260c083015182811115612c4b57600080fd5b61278487828601612b4f565b60008060408385031215612c6a57600080fd5b8251612c758161232f565b60208401519092506123828161232f565b60008251612c9881846020870161238d565b9190910192915050565b60008060408385031215612cb557600080fd5b8251612cc0816124a2565b602084015190925063ffffffff8116811461238257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220940b34c78eb07352021b38627d1690d2b589a29e696eeb65f217b0ceaef7004964736f6c63430008140033",
1103
1113
  "linkReferences": {
1104
- "contracts/types/Blocknumber.sol": {
1105
- "BlocknumberLib": [
1106
- {
1107
- "length": 20,
1108
- "start": 3220
1109
- }
1110
- ]
1111
- },
1112
1114
  "contracts/types/NftId.sol": {
1113
1115
  "NftIdLib": [
1114
1116
  {
1115
1117
  "length": 20,
1116
- "start": 2636
1118
+ "start": 2456
1117
1119
  },
1118
1120
  {
1119
1121
  "length": 20,
1120
- "start": 4548
1121
- }
1122
- ]
1123
- },
1124
- "contracts/types/Timestamp.sol": {
1125
- "TimestampLib": [
1126
- {
1127
- "length": 20,
1128
- "start": 7720
1122
+ "start": 4905
1129
1123
  }
1130
1124
  ]
1131
1125
  },
@@ -1133,45 +1127,31 @@
1133
1127
  "VersionLib": [
1134
1128
  {
1135
1129
  "length": 20,
1136
- "start": 1747
1130
+ "start": 1892
1137
1131
  },
1138
1132
  {
1139
1133
  "length": 20,
1140
- "start": 5020
1141
- },
1134
+ "start": 3109
1135
+ }
1136
+ ],
1137
+ "VersionPartLib": [
1142
1138
  {
1143
1139
  "length": 20,
1144
- "start": 5565
1140
+ "start": 6982
1145
1141
  }
1146
1142
  ]
1147
1143
  }
1148
1144
  },
1149
1145
  "deployedLinkReferences": {
1150
- "contracts/types/Blocknumber.sol": {
1151
- "BlocknumberLib": [
1152
- {
1153
- "length": 20,
1154
- "start": 2906
1155
- }
1156
- ]
1157
- },
1158
1146
  "contracts/types/NftId.sol": {
1159
1147
  "NftIdLib": [
1160
1148
  {
1161
1149
  "length": 20,
1162
- "start": 2322
1150
+ "start": 2226
1163
1151
  },
1164
1152
  {
1165
1153
  "length": 20,
1166
- "start": 4234
1167
- }
1168
- ]
1169
- },
1170
- "contracts/types/Timestamp.sol": {
1171
- "TimestampLib": [
1172
- {
1173
- "length": 20,
1174
- "start": 7406
1154
+ "start": 4675
1175
1155
  }
1176
1156
  ]
1177
1157
  },
@@ -1179,15 +1159,17 @@
1179
1159
  "VersionLib": [
1180
1160
  {
1181
1161
  "length": 20,
1182
- "start": 1433
1162
+ "start": 1662
1183
1163
  },
1184
1164
  {
1185
1165
  "length": 20,
1186
- "start": 4706
1187
- },
1166
+ "start": 2879
1167
+ }
1168
+ ],
1169
+ "VersionPartLib": [
1188
1170
  {
1189
1171
  "length": 20,
1190
- "start": 5251
1172
+ "start": 6752
1191
1173
  }
1192
1174
  ]
1193
1175
  }