@etherisc/gif-next 0.0.2-e9148e0-933 → 0.0.2-e922e07-736

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +879 -236
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +164 -159
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +689 -30
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +838 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +524 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +950 -281
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +568 -188
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1912 -421
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -165
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +901 -1127
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +126 -159
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +420 -305
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +297 -112
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +189 -177
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  44. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  46. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  48. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  54. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  55. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  56. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  58. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  60. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  62. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  64. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  66. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1221 -213
  68. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +436 -79
  70. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  72. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  74. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  76. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  78. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  80. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +37 -251
  82. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  84. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  86. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  88. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +209 -321
  90. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +296 -95
  92. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +218 -499
  94. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +299 -98
  96. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  98. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +242 -131
  100. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
  102. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  103. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -226
  105. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  106. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  107. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +202 -318
  109. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -141
  111. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  113. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  115. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  116. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  117. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  118. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  119. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  120. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  121. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  122. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  124. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  125. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  126. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  128. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  132. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  134. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  135. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  138. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  140. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  141. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  143. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  145. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  147. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  150. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  152. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  154. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  158. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  159. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  160. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  161. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  163. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  164. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  166. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  169. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  171. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  173. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  176. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  178. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  180. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  182. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  184. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  186. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  189. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  193. package/contracts/components/Component.sol +221 -0
  194. package/contracts/components/Distribution.sol +200 -79
  195. package/contracts/components/IComponent.sol +68 -0
  196. package/contracts/components/IDistributionComponent.sol +44 -17
  197. package/contracts/components/IPoolComponent.sol +126 -37
  198. package/contracts/components/IProductComponent.sol +10 -5
  199. package/contracts/components/Pool.sol +288 -152
  200. package/contracts/components/Product.sol +124 -119
  201. package/contracts/instance/BundleManager.sol +125 -0
  202. package/contracts/instance/Cloneable.sol +46 -0
  203. package/contracts/instance/IInstance.sol +56 -5
  204. package/contracts/instance/IInstanceService.sol +33 -4
  205. package/contracts/instance/Instance.sol +109 -261
  206. package/contracts/instance/InstanceAccessManager.sol +87 -78
  207. package/contracts/instance/InstanceReader.sol +12 -25
  208. package/contracts/instance/InstanceService.sol +401 -104
  209. package/contracts/instance/InstanceServiceManager.sol +6 -9
  210. package/contracts/instance/ObjectManager.sol +84 -0
  211. package/contracts/instance/base/ComponentService.sol +134 -0
  212. package/contracts/instance/module/IAccess.sol +27 -18
  213. package/contracts/instance/module/IBundle.sol +2 -1
  214. package/contracts/instance/module/IDistribution.sol +2 -0
  215. package/contracts/instance/module/IPolicy.sol +30 -3
  216. package/contracts/instance/module/ISetup.sol +12 -10
  217. package/contracts/instance/service/ApplicationService.sol +349 -0
  218. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  219. package/contracts/instance/service/BundleService.sol +299 -0
  220. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  221. package/contracts/instance/service/ClaimService.sol +151 -0
  222. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  223. package/contracts/instance/service/DistributionService.sol +390 -28
  224. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  225. package/contracts/instance/service/IApplicationService.sol +82 -0
  226. package/contracts/instance/service/IBundleService.sol +55 -0
  227. package/contracts/instance/service/IClaimService.sol +61 -0
  228. package/contracts/instance/service/IDistributionService.sol +86 -0
  229. package/contracts/instance/service/IPolicyService.sol +72 -0
  230. package/contracts/instance/service/IPoolService.sol +6 -23
  231. package/contracts/instance/service/IProductService.sol +6 -73
  232. package/contracts/instance/service/PolicyService.sol +394 -0
  233. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  234. package/contracts/instance/service/PoolService.sol +38 -123
  235. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  236. package/contracts/instance/service/ProductService.sol +133 -448
  237. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  238. package/contracts/registry/ChainNft.sol +1 -1
  239. package/contracts/registry/IRegistry.sol +39 -19
  240. package/contracts/registry/IRegistryService.sol +30 -13
  241. package/contracts/registry/Registry.sol +236 -216
  242. package/contracts/registry/RegistryAccessManager.sol +216 -0
  243. package/contracts/registry/RegistryService.sol +96 -171
  244. package/contracts/registry/RegistryServiceManager.sol +21 -39
  245. package/contracts/registry/ReleaseManager.sol +322 -0
  246. package/contracts/registry/TokenRegistry.sol +22 -17
  247. package/contracts/shared/ERC165.sol +14 -12
  248. package/contracts/shared/INftOwnable.sol +11 -10
  249. package/contracts/shared/IPolicyHolder.sol +26 -0
  250. package/contracts/shared/IRegisterable.sol +4 -6
  251. package/contracts/shared/IRegistryLinked.sol +12 -0
  252. package/contracts/shared/IService.sol +4 -1
  253. package/contracts/shared/IVersionable.sol +4 -47
  254. package/contracts/shared/NftOwnable.sol +66 -80
  255. package/contracts/shared/PolicyHolder.sol +81 -0
  256. package/contracts/shared/ProxyManager.sol +100 -25
  257. package/contracts/shared/Registerable.sol +16 -32
  258. package/contracts/shared/RegistryLinked.sol +48 -0
  259. package/contracts/shared/Service.sol +25 -22
  260. package/contracts/shared/Versionable.sol +4 -92
  261. package/contracts/test/TestRegisterable.sol +1 -1
  262. package/contracts/test/TestService.sol +4 -3
  263. package/contracts/types/ClaimId.sol +52 -0
  264. package/contracts/types/DistributorType.sol +2 -2
  265. package/contracts/types/NftIdSet.sol +26 -24
  266. package/contracts/types/ObjectType.sol +9 -5
  267. package/contracts/types/PayoutId.sol +54 -0
  268. package/contracts/types/Referral.sol +4 -0
  269. package/contracts/types/RoleId.sol +19 -14
  270. package/contracts/types/Seconds.sol +54 -0
  271. package/contracts/types/Timestamp.sol +12 -13
  272. package/package.json +3 -3
  273. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  274. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  275. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  276. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  277. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  278. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  279. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  280. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  281. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  282. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  283. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  284. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  285. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  286. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  287. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  288. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  289. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  290. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  291. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  292. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  293. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  294. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  295. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  296. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  297. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  298. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  299. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  301. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  302. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  303. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  304. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  306. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  308. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  310. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  312. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  314. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  316. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  317. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  318. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  319. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  320. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  321. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  322. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  324. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  325. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  326. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  327. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  328. package/contracts/components/BaseComponent.sol +0 -91
  329. package/contracts/components/IBaseComponent.sol +0 -25
  330. package/contracts/experiment/cloning/Cloner.sol +0 -47
  331. package/contracts/experiment/errors/Require.sol +0 -38
  332. package/contracts/experiment/errors/Revert.sol +0 -44
  333. package/contracts/experiment/inheritance/A.sol +0 -53
  334. package/contracts/experiment/inheritance/B.sol +0 -28
  335. package/contracts/experiment/inheritance/C.sol +0 -34
  336. package/contracts/experiment/inheritance/IA.sol +0 -13
  337. package/contracts/experiment/inheritance/IB.sol +0 -10
  338. package/contracts/experiment/inheritance/IC.sol +0 -12
  339. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  340. package/contracts/experiment/statemachine/ISM.sol +0 -25
  341. package/contracts/experiment/statemachine/SM.sol +0 -57
  342. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  343. package/contracts/experiment/types/TypeA.sol +0 -47
  344. package/contracts/experiment/types/TypeB.sol +0 -29
  345. package/contracts/instance/AccessManagedSimple.sol +0 -115
  346. package/contracts/instance/AccessManagerSimple.sol +0 -692
  347. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  348. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  349. package/contracts/instance/base/IInstanceBase.sol +0 -23
  350. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  351. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  352. 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
  {
@@ -253,38 +232,26 @@
253
232
  "type": "event"
254
233
  },
255
234
  {
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
- },
235
+ "inputs": [],
236
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
237
+ "outputs": [
270
238
  {
271
- "indexed": false,
272
- "internalType": "address",
273
- "name": "activatedBy",
274
- "type": "address"
239
+ "internalType": "bytes32",
240
+ "name": "",
241
+ "type": "bytes32"
275
242
  }
276
243
  ],
277
- "name": "LogVersionableInitialized",
278
- "type": "event"
244
+ "stateMutability": "view",
245
+ "type": "function"
279
246
  },
280
247
  {
281
248
  "inputs": [],
282
- "name": "NAME",
249
+ "name": "REGISTERABLE_LOCATION_V1",
283
250
  "outputs": [
284
251
  {
285
- "internalType": "string",
252
+ "internalType": "bytes32",
286
253
  "name": "",
287
- "type": "string"
254
+ "type": "bytes32"
288
255
  }
289
256
  ],
290
257
  "stateMutability": "view",
@@ -292,12 +259,12 @@
292
259
  },
293
260
  {
294
261
  "inputs": [],
295
- "name": "NFT_LOCK_ADDRESS",
262
+ "name": "REGISTRY_CREATION_CODE_HASH",
296
263
  "outputs": [
297
264
  {
298
- "internalType": "address",
265
+ "internalType": "bytes32",
299
266
  "name": "",
300
- "type": "address"
267
+ "type": "bytes32"
301
268
  }
302
269
  ],
303
270
  "stateMutability": "view",
@@ -305,12 +272,12 @@
305
272
  },
306
273
  {
307
274
  "inputs": [],
308
- "name": "REGISTERABLE_LOCATION_V1",
275
+ "name": "authority",
309
276
  "outputs": [
310
277
  {
311
- "internalType": "bytes32",
278
+ "internalType": "address",
312
279
  "name": "",
313
- "type": "bytes32"
280
+ "type": "address"
314
281
  }
315
282
  ],
316
283
  "stateMutability": "view",
@@ -318,28 +285,40 @@
318
285
  },
319
286
  {
320
287
  "inputs": [],
321
- "name": "REGISTRY_CREATION_CODE_HASH",
288
+ "name": "getDomain",
322
289
  "outputs": [
323
290
  {
324
- "internalType": "bytes32",
325
- "name": "",
326
- "type": "bytes32"
291
+ "internalType": "ObjectType",
292
+ "name": "serviceDomain",
293
+ "type": "uint8"
327
294
  }
328
295
  ],
329
- "stateMutability": "view",
296
+ "stateMutability": "pure",
330
297
  "type": "function"
331
298
  },
332
299
  {
333
300
  "inputs": [],
334
- "name": "authority",
301
+ "name": "getFunctionConfigs",
335
302
  "outputs": [
336
303
  {
337
- "internalType": "address",
338
- "name": "",
339
- "type": "address"
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[]"
340
319
  }
341
320
  ],
342
- "stateMutability": "view",
321
+ "stateMutability": "pure",
343
322
  "type": "function"
344
323
  },
345
324
  {
@@ -385,26 +364,8 @@
385
364
  }
386
365
  ],
387
366
  "internalType": "struct IRegistry.ObjectInfo",
388
- "name": "",
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",
@@ -423,19 +384,6 @@
423
384
  "stateMutability": "view",
424
385
  "type": "function"
425
386
  },
426
- {
427
- "inputs": [],
428
- "name": "getName",
429
- "outputs": [
430
- {
431
- "internalType": "string",
432
- "name": "",
433
- "type": "string"
434
- }
435
- ],
436
- "stateMutability": "pure",
437
- "type": "function"
438
- },
439
387
  {
440
388
  "inputs": [],
441
389
  "name": "getNftId",
@@ -477,25 +425,19 @@
477
425
  },
478
426
  {
479
427
  "inputs": [],
480
- "name": "getVersion",
428
+ "name": "getRegistryAddress",
481
429
  "outputs": [
482
430
  {
483
- "internalType": "Version",
431
+ "internalType": "address",
484
432
  "name": "",
485
- "type": "uint24"
433
+ "type": "address"
486
434
  }
487
435
  ],
488
- "stateMutability": "pure",
436
+ "stateMutability": "view",
489
437
  "type": "function"
490
438
  },
491
439
  {
492
- "inputs": [
493
- {
494
- "internalType": "uint256",
495
- "name": "idx",
496
- "type": "uint256"
497
- }
498
- ],
440
+ "inputs": [],
499
441
  "name": "getVersion",
500
442
  "outputs": [
501
443
  {
@@ -504,75 +446,105 @@
504
446
  "type": "uint24"
505
447
  }
506
448
  ],
507
- "stateMutability": "view",
449
+ "stateMutability": "pure",
508
450
  "type": "function"
509
451
  },
510
452
  {
511
453
  "inputs": [],
512
- "name": "getVersionCount",
513
- "outputs": [
454
+ "name": "initializeERC165",
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
514
461
  {
515
- "internalType": "uint256",
516
- "name": "",
517
- "type": "uint256"
462
+ "internalType": "address",
463
+ "name": "initialOwner",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "address",
468
+ "name": "registryAddress",
469
+ "type": "address"
518
470
  }
519
471
  ],
520
- "stateMutability": "view",
472
+ "name": "initializeNftOwnable",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
521
475
  "type": "function"
522
476
  },
523
477
  {
524
478
  "inputs": [
525
479
  {
526
- "internalType": "Version",
527
- "name": "_version",
528
- "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"
529
508
  }
530
509
  ],
531
- "name": "getVersionInfo",
532
- "outputs": [
510
+ "name": "initializeRegisterable",
511
+ "outputs": [],
512
+ "stateMutability": "nonpayable",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [
533
517
  {
534
- "components": [
535
- {
536
- "internalType": "Version",
537
- "name": "version",
538
- "type": "uint24"
539
- },
540
- {
541
- "internalType": "address",
542
- "name": "implementation",
543
- "type": "address"
544
- },
545
- {
546
- "internalType": "address",
547
- "name": "activatedBy",
548
- "type": "address"
549
- },
550
- {
551
- "internalType": "Timestamp",
552
- "name": "activatedAt",
553
- "type": "uint40"
554
- },
555
- {
556
- "internalType": "Blocknumber",
557
- "name": "activatedIn",
558
- "type": "uint32"
559
- }
560
- ],
561
- "internalType": "struct IVersionable.VersionInfo",
562
- "name": "",
563
- "type": "tuple"
518
+ "internalType": "address",
519
+ "name": "registryAddress",
520
+ "type": "address"
564
521
  }
565
522
  ],
566
- "stateMutability": "view",
523
+ "name": "initializeRegistryLinked",
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable",
567
526
  "type": "function"
568
527
  },
569
528
  {
570
529
  "inputs": [
571
530
  {
572
531
  "internalType": "address",
573
- "name": "implementation",
532
+ "name": "registry",
574
533
  "type": "address"
575
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": [
576
548
  {
577
549
  "internalType": "address",
578
550
  "name": "activatedBy",
@@ -584,7 +556,7 @@
584
556
  "type": "bytes"
585
557
  }
586
558
  ],
587
- "name": "initialize",
559
+ "name": "initializeVersionable",
588
560
  "outputs": [],
589
561
  "stateMutability": "nonpayable",
590
562
  "type": "function"
@@ -602,25 +574,6 @@
602
574
  "stateMutability": "view",
603
575
  "type": "function"
604
576
  },
605
- {
606
- "inputs": [
607
- {
608
- "internalType": "Version",
609
- "name": "_version",
610
- "type": "uint24"
611
- }
612
- ],
613
- "name": "isInitialized",
614
- "outputs": [
615
- {
616
- "internalType": "bool",
617
- "name": "",
618
- "type": "bool"
619
- }
620
- ],
621
- "stateMutability": "view",
622
- "type": "function"
623
- },
624
577
  {
625
578
  "inputs": [],
626
579
  "name": "linkToRegisteredNftId",
@@ -687,7 +640,7 @@
687
640
  {
688
641
  "inputs": [
689
642
  {
690
- "internalType": "contract IBaseComponent",
643
+ "internalType": "contract IComponent",
691
644
  "name": "distribution",
692
645
  "type": "address"
693
646
  },
@@ -740,11 +693,6 @@
740
693
  "internalType": "struct IRegistry.ObjectInfo",
741
694
  "name": "info",
742
695
  "type": "tuple"
743
- },
744
- {
745
- "internalType": "bytes",
746
- "name": "data",
747
- "type": "bytes"
748
696
  }
749
697
  ],
750
698
  "stateMutability": "nonpayable",
@@ -752,14 +700,6 @@
752
700
  },
753
701
  {
754
702
  "inputs": [
755
- {
756
- "internalType": "contract IRegisterable",
757
- "name": "instance",
758
- "type": "address"
759
- }
760
- ],
761
- "name": "registerInstance",
762
- "outputs": [
763
703
  {
764
704
  "components": [
765
705
  {
@@ -801,11 +741,14 @@
801
741
  "internalType": "struct IRegistry.ObjectInfo",
802
742
  "name": "info",
803
743
  "type": "tuple"
804
- },
744
+ }
745
+ ],
746
+ "name": "registerDistributor",
747
+ "outputs": [
805
748
  {
806
- "internalType": "bytes",
807
- "name": "data",
808
- "type": "bytes"
749
+ "internalType": "NftId",
750
+ "name": "nftId",
751
+ "type": "uint96"
809
752
  }
810
753
  ],
811
754
  "stateMutability": "nonpayable",
@@ -813,6 +756,19 @@
813
756
  },
814
757
  {
815
758
  "inputs": [
759
+ {
760
+ "internalType": "contract IRegisterable",
761
+ "name": "instance",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "address",
766
+ "name": "owner",
767
+ "type": "address"
768
+ }
769
+ ],
770
+ "name": "registerInstance",
771
+ "outputs": [
816
772
  {
817
773
  "components": [
818
774
  {
@@ -856,32 +812,24 @@
856
812
  "type": "tuple"
857
813
  }
858
814
  ],
859
- "name": "registerPolicy",
860
- "outputs": [
861
- {
862
- "internalType": "NftId",
863
- "name": "nftId",
864
- "type": "uint96"
865
- }
866
- ],
867
815
  "stateMutability": "nonpayable",
868
816
  "type": "function"
869
817
  },
870
818
  {
871
819
  "inputs": [
872
820
  {
873
- "internalType": "contract IBaseComponent",
874
- "name": "pool",
875
- "type": "address"
876
- },
877
- {
878
- "internalType": "address",
879
- "name": "owner",
880
- "type": "address"
821
+ "internalType": "bytes4",
822
+ "name": "interfaceId",
823
+ "type": "bytes4"
881
824
  }
882
825
  ],
883
- "name": "registerPool",
884
- "outputs": [
826
+ "name": "registerInterface",
827
+ "outputs": [],
828
+ "stateMutability": "nonpayable",
829
+ "type": "function"
830
+ },
831
+ {
832
+ "inputs": [
885
833
  {
886
834
  "components": [
887
835
  {
@@ -923,11 +871,14 @@
923
871
  "internalType": "struct IRegistry.ObjectInfo",
924
872
  "name": "info",
925
873
  "type": "tuple"
926
- },
874
+ }
875
+ ],
876
+ "name": "registerPolicy",
877
+ "outputs": [
927
878
  {
928
- "internalType": "bytes",
929
- "name": "data",
930
- "type": "bytes"
879
+ "internalType": "NftId",
880
+ "name": "nftId",
881
+ "type": "uint96"
931
882
  }
932
883
  ],
933
884
  "stateMutability": "nonpayable",
@@ -936,8 +887,8 @@
936
887
  {
937
888
  "inputs": [
938
889
  {
939
- "internalType": "contract IBaseComponent",
940
- "name": "product",
890
+ "internalType": "contract IComponent",
891
+ "name": "pool",
941
892
  "type": "address"
942
893
  },
943
894
  {
@@ -946,7 +897,7 @@
946
897
  "type": "address"
947
898
  }
948
899
  ],
949
- "name": "registerProduct",
900
+ "name": "registerPool",
950
901
  "outputs": [
951
902
  {
952
903
  "components": [
@@ -989,11 +940,6 @@
989
940
  "internalType": "struct IRegistry.ObjectInfo",
990
941
  "name": "info",
991
942
  "type": "tuple"
992
- },
993
- {
994
- "internalType": "bytes",
995
- "name": "data",
996
- "type": "bytes"
997
943
  }
998
944
  ],
999
945
  "stateMutability": "nonpayable",
@@ -1002,12 +948,17 @@
1002
948
  {
1003
949
  "inputs": [
1004
950
  {
1005
- "internalType": "contract IService",
1006
- "name": "service",
951
+ "internalType": "contract IComponent",
952
+ "name": "product",
953
+ "type": "address"
954
+ },
955
+ {
956
+ "internalType": "address",
957
+ "name": "owner",
1007
958
  "type": "address"
1008
959
  }
1009
960
  ],
1010
- "name": "registerService",
961
+ "name": "registerProduct",
1011
962
  "outputs": [
1012
963
  {
1013
964
  "components": [
@@ -1050,11 +1001,6 @@
1050
1001
  "internalType": "struct IRegistry.ObjectInfo",
1051
1002
  "name": "info",
1052
1003
  "type": "tuple"
1053
- },
1054
- {
1055
- "internalType": "bytes",
1056
- "name": "data",
1057
- "type": "bytes"
1058
1004
  }
1059
1005
  ],
1060
1006
  "stateMutability": "nonpayable",
@@ -1150,68 +1096,30 @@
1150
1096
  },
1151
1097
  {
1152
1098
  "inputs": [
1153
- {
1154
- "internalType": "address",
1155
- "name": "implementation",
1156
- "type": "address"
1157
- },
1158
- {
1159
- "internalType": "address",
1160
- "name": "activatedBy",
1161
- "type": "address"
1162
- },
1163
1099
  {
1164
1100
  "internalType": "bytes",
1165
1101
  "name": "data",
1166
1102
  "type": "bytes"
1167
1103
  }
1168
1104
  ],
1169
- "name": "upgrade",
1105
+ "name": "upgradeVersionable",
1170
1106
  "outputs": [],
1171
1107
  "stateMutability": "nonpayable",
1172
1108
  "type": "function"
1173
1109
  }
1174
1110
  ],
1175
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612fd9806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063834af1531161010f578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105c4578063e285c9c4146105d7578063ed841d0c146105df578063fdd9ec7d146105e757600080fd5b8063b88da7591461057c578063bf7e214f1461058f578063c2bf08c814610597578063cde749f4146105aa57600080fd5b8063946dfcfe116100de578063946dfcfe146104f4578063a3f4df7e1461051b578063a745e3df14610549578063b3c650151461055c57600080fd5b8063834af153146104b1578063893d20e8146104c45780638fb36037146104cc5780638fbc2d81146104e157600080fd5b80634f42133311610187578063644c45e011610156578063644c45e0146104605780637286e5e5146104785780637a9e5e4b1461048b5780638105cc7f1461049e57600080fd5b80634f421333146103ea5780635ab1bd53146103fd5780635c992fed146104225780635d9662891461044d57600080fd5b8063138461e0116101c3578063138461e01461025e57806317d7de7c146102685780631eff4b221461029c5780634d459c90146102d157600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004612533565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102346105fa565b60405162ffffff9091168152602001610223565b610250610684565b60405161022392919061262d565b6102666107d7565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b604051610223919061265b565b6102c37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61038d6102df36600461267f565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612f8483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b6102176103f836600461267f565b6109f9565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6104356104303660046127ff565b610aac565b6040516001600160601b039091168152602001610223565b61025061045b3660046128d1565b610b3f565b600154600160a01b90046001600160601b0316610435565b6102506104863660046128d1565b610cd1565b61026661049936600461290a565b610d80565b6104356104ac3660046127ff565b610e07565b6102506104bf36600461290a565b610e1d565b61040a610fa5565b6104d46110be565b6040516102239190612927565b6102506104ef3660046128d1565b6110f7565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102c3565b61028f6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61026661055736600461293c565b6111a6565b610564611300565b6040516001600160401b039091168152602001610223565b61023461058a36600461299d565b611321565b61040a611372565b6104356105a53660046127ff565b61138e565b6105b26113a4565b60405160ff9091168152602001610223565b6102666105d236600461293c565b611427565b61040a600181565b6102c3600081565b6102506105f536600461290a565b611530565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f91906129b6565b905090565b61068c6124f5565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106d86001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610720610fa5565b6001600160a01b0316815260200182600101805461073d906129d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610769906129d3565b80156107b65780601f1061078b576101008083540402835291602001916107b6565b820191906000526020600020905b81548152906001019060200180831161079957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d9190612a18565b156108a4576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108cd5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610916573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093a9190612a18565b610962576040516372657a5160e01b81526001600160a01b038216600482015260240161089b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d09190612a40565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612f8483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa59190612a5d565b1192915050565b6000610abb335b6000366115df565b610ac68260d26116e5565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610af6908590600401612a76565b6020604051808303816000875af1158015610b15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b399190612a40565b92915050565b610b476124f5565b6060610b5233610ab3565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610b8590633ad74e8160e01b90600401612927565b602060405180830381865afa158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc69190612a18565b610be357604051637a71998760e01b815260040160405180910390fd5b610bf084606e5b856117f0565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610c24908590600401612a76565b6020604051808303816000875af1158015610c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190612a40565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b158015610cb257600080fd5b505af1158015610cc6573d6000803e3d6000fd5b505050509250929050565b610cd96124f5565b6060610ce433610ab3565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610d1790632d744d3360e11b90600401612927565b602060405180830381865afa158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190612a18565b610d7557604051636f61f64160e01b815260040160405180910390fd5b610bf084608c610bea565b33610d89611372565b6001600160a01b0316816001600160a01b031614610dc45760405162d1953b60e31b81526001600160a01b038216600482015260240161089b565b816001600160a01b03163b600003610dfa576040516361798f2f60e11b81526001600160a01b038316600482015260240161089b565b610e03826119f6565b5050565b6000610e1233610ab3565b610ac68260506116e5565b610e256124f5565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610e5b906367a9cb5360e01b90600401612927565b602060405180830381865afa158015610e78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9c9190612a18565b610eb957604051636795c76360e01b815260040160405180910390fd5b610ec68360465b336117f0565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610efa908590600401612a76565b6020604051808303816000875af1158015610f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3d9190612a40565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b158015610f8857600080fd5b505af1158015610f9c573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190612a18565b156110ae57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190612a94565b506002546001600160a01b031690565b600080516020612f44833981519152805460009190600160a01b900460ff166110e85760006110f1565b638fb3603760e01b5b91505090565b6110ff6124f5565b606061110a33610ab3565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061113d9063c8ea96c560e01b90600401612927565b602060405180830381865afa15801561115a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117e9190612a18565b61119b576040516308707e3160e41b815260040160405180910390fd5b610bf0846078610bea565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6111c86105fa565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122c9190612ab1565b600080516020612f648339815191528054600160401b900460ff168061125f575080546001600160401b03808416911610155b1561127d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556112a88585611a57565b6112b183611cf6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061067f600080516020612f64833981519152546001600160401b031690565b6000600080516020612f84833981519152600101828154811061134657611346612ada565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612f44833981519152546001600160a01b031690565b600061139933610ab3565b610ac68260dc6116e5565b60006113ae6105fa565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611403573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190612afb565b600080516020612f648339815191528054600160401b810460ff1615906001600160401b031660008115801561145a5750825b90506000826001600160401b031660011480156114765750303b155b905081158015611484575080155b156114a25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114cc57845460ff60401b1916600160401b1785555b6114d68888611a57565b6114e08787611cfe565b831561152657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6115386124f5565b606061154333610ab3565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157690631b4612f160e31b90600401612927565b602060405180830381865afa158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b79190612a18565b6115d457604051635458064d60e11b815260040160405180910390fd5b610ec683603c610ec0565b600080516020612f4483398151915260008061161a6115fc611372565b873061160c600460008a8c612b18565b61161591612b42565b611feb565b91509150816116dd5763ffffffff8116156116ba57825460ff60a01b1916600160a01b178355611648611372565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161167793929190612b72565b600060405180830381600087803b15801561169157600080fd5b505af11580156116a5573d6000803e3d6000fd5b5050845460ff60a01b19168555506116dd9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161089b565b505050505050565b60006080830152604082015160ff828116911614611729576040808301519051632208245760e11b815260ff8084166004830152909116602482015260440161089b565b60a08201516001600160a01b03811661175557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156117a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cd9190612a18565b156117eb57604051637142ceb360e11b815260040160405180910390fd5b505050565b6117f86124f5565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611838573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118609190810190612bf7565b6001600160a01b03871660808301526040820151919350915060ff8581169116146118b1576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161089b565b60a082015160ff85166046146118fe57836001600160a01b0316816001600160a01b0316146118fe5760405163dfc430cb60e01b81526001600160a01b038516600482015260240161089b565b856001600160a01b0316816001600160a01b031603611930576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661195757604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf9190612a18565b156119ed57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b600080516020612f4483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a5f6120f7565b600080516020612f848339815191526000611a8f600080516020612f64833981519152546001600160401b031690565b90506000611a9b6105fa565b9050816001600160401b0316600103611ac85760028301805462ffffff191662ffffff8316179055611b16565b600283015462ffffff90811690821611611b165760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161089b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bee9190612cef565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112f19083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e56120f7565b600080516020612f648339815191528054600160401b810460ff1615906001600160401b0316600081158015611d315750825b90506000826001600160401b03166001148015611d4d5750303b155b905081158015611d5b575080155b15611d795760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611da357845460ff60401b1916600160401b1785555b60008087806020019051810190611dba9190612d16565b91509150611dc782612130565b600089611dd26113a4565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611e3e9086908690600401612d5c565b600060405180830381865af4158015611e5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e839190810190612d6f565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611ec29085908590600401612da3565b602060405180830381865af4158015611edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f039190612a94565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa158015611f4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f729190612a40565b9050611f7e828e612144565b611f866107d7565b611f9663200cc87360e11b6121d1565b5050505050508315611fe257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161205a9190612dc5565b600060405180830381855afa9150503d8060008114612095576040519150601f19603f3d011682016040523d82523d6000602084013e61209a565b606091505b509150915081156120ec5760408151106120cc57808060200190518101906120c29190612de1565b90945092506120ec565b60208151106120ec57808060200190518101906120e99190612a18565b93505b505094509492505050565b600080516020612f6483398151915254600160401b900460ff1661212e57604051631afcd79f60e31b815260040160405180910390fd5b565b6121386120f7565b612141816121f6565b50565b600061217260408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b61217a6113a4565b60405160200161218b929190612e19565b604051602081830303815290604052905060006121a784612207565b905060006121ba8583603c84888861224e565b6121ca631b4612f160e31b6121d1565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6121fe6120f7565b612141816119f6565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610b15573d6000803e3d6000fd5b61228f6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612299828761231a565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016123098382612e84565b50611fe26303fb044760e21b6121d1565b6001600160a01b0382166123705760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161089b565b600280546001600160a01b0319166001600160a01b038416179055610e03816001546001600160a01b0316156123c85760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161089b565b6001600160a01b0381166123ef5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124255760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061246b906376ceea7360e01b90600401612927565b602060405180830381865afa9250505080156124a4575060408051601f3d908101601f191682019092526124a191810190612a18565b60015b6124cc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b80610e035760405163fdeac91f60e01b81526001600160a01b038316600482015260240161089b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561254557600080fd5b81356001600160e01b03198116811461255d57600080fd5b9392505050565b60005b8381101561257f578181015183820152602001612567565b50506000910152565b600081518084526125a0816020860160208601612564565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261262560e0850182612588565b949350505050565b60408152600061264060408301856125b4565b82810360208401526126528185612588565b95945050505050565b60208152600061255d6020830184612588565b62ffffff8116811461214157600080fd5b60006020828403121561269157600080fd5b813561255d8161266e565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156126d4576126d461269c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127025761270261269c565b604052919050565b6001600160601b038116811461214157600080fd5b803561272a8161270a565b919050565b60ff8116811461214157600080fd5b803561272a8161272f565b801515811461214157600080fd5b803561272a81612749565b6001600160a01b038116811461214157600080fd5b803561272a81612762565b60006001600160401b0382111561279b5761279b61269c565b50601f01601f191660200190565b600082601f8301126127ba57600080fd5b81356127cd6127c882612782565b6126da565b8181528460208386010111156127e257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561281157600080fd5b81356001600160401b038082111561282857600080fd5b9083019060e0828603121561283c57600080fd5b6128446126b2565b61284d8361271f565b815261285b6020840161271f565b602082015261286c6040840161273e565b604082015261287d60608401612757565b606082015261288e60808401612777565b608082015261289f60a08401612777565b60a082015260c0830135828111156128b657600080fd5b6128c2878286016127a9565b60c08301525095945050505050565b600080604083850312156128e457600080fd5b82356128ef81612762565b915060208301356128ff81612762565b809150509250929050565b60006020828403121561291c57600080fd5b813561255d81612762565b6001600160e01b031991909116815260200190565b60008060006060848603121561295157600080fd5b833561295c81612762565b9250602084013561296c81612762565b915060408401356001600160401b0381111561298757600080fd5b612993868287016127a9565b9150509250925092565b6000602082840312156129af57600080fd5b5035919050565b6000602082840312156129c857600080fd5b815161255d8161266e565b600181811c908216806129e757607f821691505b602082108103612a0757634e487b7160e01b600052602260045260246000fd5b50919050565b805161272a81612749565b600060208284031215612a2a57600080fd5b815161255d81612749565b805161272a8161270a565b600060208284031215612a5257600080fd5b815161255d8161270a565b600060208284031215612a6f57600080fd5b5051919050565b60208152600061255d60208301846125b4565b805161272a81612762565b600060208284031215612aa657600080fd5b815161255d81612762565b600060208284031215612ac357600080fd5b81516001600160401b038116811461255d57600080fd5b634e487b7160e01b600052603260045260246000fd5b805161272a8161272f565b600060208284031215612b0d57600080fd5b815161255d8161272f565b60008085851115612b2857600080fd5b83861115612b3557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b6a5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612bc357600080fd5b8151612bd16127c882612782565b818152846020838601011115612be657600080fd5b612625826020830160208701612564565b60008060408385031215612c0a57600080fd5b82516001600160401b0380821115612c2157600080fd5b9084019060e08287031215612c3557600080fd5b612c3d6126b2565b612c4683612a35565b8152612c5460208401612a35565b6020820152612c6560408401612af0565b6040820152612c7660608401612a0d565b6060820152612c8760808401612a89565b6080820152612c9860a08401612a89565b60a082015260c083015182811115612caf57600080fd5b612cbb88828601612bb2565b60c0830152506020860151909450915080821115612cd857600080fd5b50612ce585828601612bb2565b9150509250929050565b600060208284031215612d0157600080fd5b815164ffffffffff8116811461255d57600080fd5b60008060408385031215612d2957600080fd5b8251612d3481612762565b60208401519092506001600160401b03811115612d5057600080fd5b612ce585828601612bb2565b6040815260006126406040830185612588565b600060208284031215612d8157600080fd5b81516001600160401b03811115612d9757600080fd5b61262584828501612bb2565b604081526000612db66040830185612588565b90508260208301529392505050565b60008251612dd7818460208701612564565b9190910192915050565b60008060408385031215612df457600080fd5b8251612dff81612749565b602084015190925063ffffffff811681146128ff57600080fd5b604081526000612e2c6040830185612588565b905060ff831660208301529392505050565b601f8211156117eb57600081815260208120601f850160051c81016020861015612e655750805b601f850160051c820191505b818110156116dd57828155600101612e71565b81516001600160401b03811115612e9d57612e9d61269c565b612eb181612eab84546129d3565b84612e3e565b602080601f831160018114612ee65760008415612ece5750858301515b600019600386901b1c1916600185901b1785556116dd565b600085815260208120601f198616915b82811015612f1557888601518255948401946001909101908401612ef6565b5085821015612f335787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f8a67cd0fcbd4e7b45a64f3ea7204441a037279e53a9d9bef77fc51c06aa6b3d64736f6c63430008140033",
1176
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063834af1531161010f578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105c4578063e285c9c4146105d7578063ed841d0c146105df578063fdd9ec7d146105e757600080fd5b8063b88da7591461057c578063bf7e214f1461058f578063c2bf08c814610597578063cde749f4146105aa57600080fd5b8063946dfcfe116100de578063946dfcfe146104f4578063a3f4df7e1461051b578063a745e3df14610549578063b3c650151461055c57600080fd5b8063834af153146104b1578063893d20e8146104c45780638fb36037146104cc5780638fbc2d81146104e157600080fd5b80634f42133311610187578063644c45e011610156578063644c45e0146104605780637286e5e5146104785780637a9e5e4b1461048b5780638105cc7f1461049e57600080fd5b80634f421333146103ea5780635ab1bd53146103fd5780635c992fed146104225780635d9662891461044d57600080fd5b8063138461e0116101c3578063138461e01461025e57806317d7de7c146102685780631eff4b221461029c5780634d459c90146102d157600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004612533565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102346105fa565b60405162ffffff9091168152602001610223565b610250610684565b60405161022392919061262d565b6102666107d7565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b604051610223919061265b565b6102c37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61038d6102df36600461267f565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612f8483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b6102176103f836600461267f565b6109f9565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6104356104303660046127ff565b610aac565b6040516001600160601b039091168152602001610223565b61025061045b3660046128d1565b610b3f565b600154600160a01b90046001600160601b0316610435565b6102506104863660046128d1565b610cd1565b61026661049936600461290a565b610d80565b6104356104ac3660046127ff565b610e07565b6102506104bf36600461290a565b610e1d565b61040a610fa5565b6104d46110be565b6040516102239190612927565b6102506104ef3660046128d1565b6110f7565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102c3565b61028f6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61026661055736600461293c565b6111a6565b610564611300565b6040516001600160401b039091168152602001610223565b61023461058a36600461299d565b611321565b61040a611372565b6104356105a53660046127ff565b61138e565b6105b26113a4565b60405160ff9091168152602001610223565b6102666105d236600461293c565b611427565b61040a600181565b6102c3600081565b6102506105f536600461290a565b611530565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f91906129b6565b905090565b61068c6124f5565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106d86001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610720610fa5565b6001600160a01b0316815260200182600101805461073d906129d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610769906129d3565b80156107b65780601f1061078b576101008083540402835291602001916107b6565b820191906000526020600020905b81548152906001019060200180831161079957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d9190612a18565b156108a4576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108cd5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610916573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093a9190612a18565b610962576040516372657a5160e01b81526001600160a01b038216600482015260240161089b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d09190612a40565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612f8483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa59190612a5d565b1192915050565b6000610abb335b6000366115df565b610ac68260d26116e5565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610af6908590600401612a76565b6020604051808303816000875af1158015610b15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b399190612a40565b92915050565b610b476124f5565b6060610b5233610ab3565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610b8590633ad74e8160e01b90600401612927565b602060405180830381865afa158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc69190612a18565b610be357604051637a71998760e01b815260040160405180910390fd5b610bf084606e5b856117f0565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610c24908590600401612a76565b6020604051808303816000875af1158015610c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190612a40565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b158015610cb257600080fd5b505af1158015610cc6573d6000803e3d6000fd5b505050509250929050565b610cd96124f5565b6060610ce433610ab3565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610d1790632d744d3360e11b90600401612927565b602060405180830381865afa158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190612a18565b610d7557604051636f61f64160e01b815260040160405180910390fd5b610bf084608c610bea565b33610d89611372565b6001600160a01b0316816001600160a01b031614610dc45760405162d1953b60e31b81526001600160a01b038216600482015260240161089b565b816001600160a01b03163b600003610dfa576040516361798f2f60e11b81526001600160a01b038316600482015260240161089b565b610e03826119f6565b5050565b6000610e1233610ab3565b610ac68260506116e5565b610e256124f5565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610e5b906367a9cb5360e01b90600401612927565b602060405180830381865afa158015610e78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9c9190612a18565b610eb957604051636795c76360e01b815260040160405180910390fd5b610ec68360465b336117f0565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610efa908590600401612a76565b6020604051808303816000875af1158015610f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3d9190612a40565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b158015610f8857600080fd5b505af1158015610f9c573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190612a18565b156110ae57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190612a94565b506002546001600160a01b031690565b600080516020612f44833981519152805460009190600160a01b900460ff166110e85760006110f1565b638fb3603760e01b5b91505090565b6110ff6124f5565b606061110a33610ab3565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061113d9063c8ea96c560e01b90600401612927565b602060405180830381865afa15801561115a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117e9190612a18565b61119b576040516308707e3160e41b815260040160405180910390fd5b610bf0846078610bea565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6111c86105fa565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122c9190612ab1565b600080516020612f648339815191528054600160401b900460ff168061125f575080546001600160401b03808416911610155b1561127d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556112a88585611a57565b6112b183611cf6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061067f600080516020612f64833981519152546001600160401b031690565b6000600080516020612f84833981519152600101828154811061134657611346612ada565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612f44833981519152546001600160a01b031690565b600061139933610ab3565b610ac68260dc6116e5565b60006113ae6105fa565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611403573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190612afb565b600080516020612f648339815191528054600160401b810460ff1615906001600160401b031660008115801561145a5750825b90506000826001600160401b031660011480156114765750303b155b905081158015611484575080155b156114a25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114cc57845460ff60401b1916600160401b1785555b6114d68888611a57565b6114e08787611cfe565b831561152657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6115386124f5565b606061154333610ab3565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157690631b4612f160e31b90600401612927565b602060405180830381865afa158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b79190612a18565b6115d457604051635458064d60e11b815260040160405180910390fd5b610ec683603c610ec0565b600080516020612f4483398151915260008061161a6115fc611372565b873061160c600460008a8c612b18565b61161591612b42565b611feb565b91509150816116dd5763ffffffff8116156116ba57825460ff60a01b1916600160a01b178355611648611372565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161167793929190612b72565b600060405180830381600087803b15801561169157600080fd5b505af11580156116a5573d6000803e3d6000fd5b5050845460ff60a01b19168555506116dd9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161089b565b505050505050565b60006080830152604082015160ff828116911614611729576040808301519051632208245760e11b815260ff8084166004830152909116602482015260440161089b565b60a08201516001600160a01b03811661175557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156117a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cd9190612a18565b156117eb57604051637142ceb360e11b815260040160405180910390fd5b505050565b6117f86124f5565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611838573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118609190810190612bf7565b6001600160a01b03871660808301526040820151919350915060ff8581169116146118b1576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161089b565b60a082015160ff85166046146118fe57836001600160a01b0316816001600160a01b0316146118fe5760405163dfc430cb60e01b81526001600160a01b038516600482015260240161089b565b856001600160a01b0316816001600160a01b031603611930576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661195757604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf9190612a18565b156119ed57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b600080516020612f4483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a5f6120f7565b600080516020612f848339815191526000611a8f600080516020612f64833981519152546001600160401b031690565b90506000611a9b6105fa565b9050816001600160401b0316600103611ac85760028301805462ffffff191662ffffff8316179055611b16565b600283015462ffffff90811690821611611b165760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161089b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bee9190612cef565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112f19083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e56120f7565b600080516020612f648339815191528054600160401b810460ff1615906001600160401b0316600081158015611d315750825b90506000826001600160401b03166001148015611d4d5750303b155b905081158015611d5b575080155b15611d795760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611da357845460ff60401b1916600160401b1785555b60008087806020019051810190611dba9190612d16565b91509150611dc782612130565b600089611dd26113a4565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611e3e9086908690600401612d5c565b600060405180830381865af4158015611e5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e839190810190612d6f565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611ec29085908590600401612da3565b602060405180830381865af4158015611edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f039190612a94565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa158015611f4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f729190612a40565b9050611f7e828e612144565b611f866107d7565b611f9663200cc87360e11b6121d1565b5050505050508315611fe257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161205a9190612dc5565b600060405180830381855afa9150503d8060008114612095576040519150601f19603f3d011682016040523d82523d6000602084013e61209a565b606091505b509150915081156120ec5760408151106120cc57808060200190518101906120c29190612de1565b90945092506120ec565b60208151106120ec57808060200190518101906120e99190612a18565b93505b505094509492505050565b600080516020612f6483398151915254600160401b900460ff1661212e57604051631afcd79f60e31b815260040160405180910390fd5b565b6121386120f7565b612141816121f6565b50565b600061217260408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b61217a6113a4565b60405160200161218b929190612e19565b604051602081830303815290604052905060006121a784612207565b905060006121ba8583603c84888861224e565b6121ca631b4612f160e31b6121d1565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6121fe6120f7565b612141816119f6565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610b15573d6000803e3d6000fd5b61228f6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612299828761231a565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016123098382612e84565b50611fe26303fb044760e21b6121d1565b6001600160a01b0382166123705760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161089b565b600280546001600160a01b0319166001600160a01b038416179055610e03816001546001600160a01b0316156123c85760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161089b565b6001600160a01b0381166123ef5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124255760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061246b906376ceea7360e01b90600401612927565b602060405180830381865afa9250505080156124a4575060408051601f3d908101601f191682019092526124a191810190612a18565b60015b6124cc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161089b565b80610e035760405163fdeac91f60e01b81526001600160a01b038316600482015260240161089b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561254557600080fd5b81356001600160e01b03198116811461255d57600080fd5b9392505050565b60005b8381101561257f578181015183820152602001612567565b50506000910152565b600081518084526125a0816020860160208601612564565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261262560e0850182612588565b949350505050565b60408152600061264060408301856125b4565b82810360208401526126528185612588565b95945050505050565b60208152600061255d6020830184612588565b62ffffff8116811461214157600080fd5b60006020828403121561269157600080fd5b813561255d8161266e565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156126d4576126d461269c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127025761270261269c565b604052919050565b6001600160601b038116811461214157600080fd5b803561272a8161270a565b919050565b60ff8116811461214157600080fd5b803561272a8161272f565b801515811461214157600080fd5b803561272a81612749565b6001600160a01b038116811461214157600080fd5b803561272a81612762565b60006001600160401b0382111561279b5761279b61269c565b50601f01601f191660200190565b600082601f8301126127ba57600080fd5b81356127cd6127c882612782565b6126da565b8181528460208386010111156127e257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561281157600080fd5b81356001600160401b038082111561282857600080fd5b9083019060e0828603121561283c57600080fd5b6128446126b2565b61284d8361271f565b815261285b6020840161271f565b602082015261286c6040840161273e565b604082015261287d60608401612757565b606082015261288e60808401612777565b608082015261289f60a08401612777565b60a082015260c0830135828111156128b657600080fd5b6128c2878286016127a9565b60c08301525095945050505050565b600080604083850312156128e457600080fd5b82356128ef81612762565b915060208301356128ff81612762565b809150509250929050565b60006020828403121561291c57600080fd5b813561255d81612762565b6001600160e01b031991909116815260200190565b60008060006060848603121561295157600080fd5b833561295c81612762565b9250602084013561296c81612762565b915060408401356001600160401b0381111561298757600080fd5b612993868287016127a9565b9150509250925092565b6000602082840312156129af57600080fd5b5035919050565b6000602082840312156129c857600080fd5b815161255d8161266e565b600181811c908216806129e757607f821691505b602082108103612a0757634e487b7160e01b600052602260045260246000fd5b50919050565b805161272a81612749565b600060208284031215612a2a57600080fd5b815161255d81612749565b805161272a8161270a565b600060208284031215612a5257600080fd5b815161255d8161270a565b600060208284031215612a6f57600080fd5b5051919050565b60208152600061255d60208301846125b4565b805161272a81612762565b600060208284031215612aa657600080fd5b815161255d81612762565b600060208284031215612ac357600080fd5b81516001600160401b038116811461255d57600080fd5b634e487b7160e01b600052603260045260246000fd5b805161272a8161272f565b600060208284031215612b0d57600080fd5b815161255d8161272f565b60008085851115612b2857600080fd5b83861115612b3557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b6a5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612bc357600080fd5b8151612bd16127c882612782565b818152846020838601011115612be657600080fd5b612625826020830160208701612564565b60008060408385031215612c0a57600080fd5b82516001600160401b0380821115612c2157600080fd5b9084019060e08287031215612c3557600080fd5b612c3d6126b2565b612c4683612a35565b8152612c5460208401612a35565b6020820152612c6560408401612af0565b6040820152612c7660608401612a0d565b6060820152612c8760808401612a89565b6080820152612c9860a08401612a89565b60a082015260c083015182811115612caf57600080fd5b612cbb88828601612bb2565b60c0830152506020860151909450915080821115612cd857600080fd5b50612ce585828601612bb2565b9150509250929050565b600060208284031215612d0157600080fd5b815164ffffffffff8116811461255d57600080fd5b60008060408385031215612d2957600080fd5b8251612d3481612762565b60208401519092506001600160401b03811115612d5057600080fd5b612ce585828601612bb2565b6040815260006126406040830185612588565b600060208284031215612d8157600080fd5b81516001600160401b03811115612d9757600080fd5b61262584828501612bb2565b604081526000612db66040830185612588565b90508260208301529392505050565b60008251612dd7818460208701612564565b9190910192915050565b60008060408385031215612df457600080fd5b8251612dff81612749565b602084015190925063ffffffff811681146128ff57600080fd5b604081526000612e2c6040830185612588565b905060ff831660208301529392505050565b601f8211156117eb57600081815260208120601f850160051c81016020861015612e655750805b601f850160051c820191505b818110156116dd57828155600101612e71565b81516001600160401b03811115612e9d57612e9d61269c565b612eb181612eab84546129d3565b84612e3e565b602080601f831160018114612ee65760008415612ece5750858301515b600019600386901b1c1916600185901b1785556116dd565b600085815260208120601f198616915b82811015612f1557888601518255948401946001909101908401612ef6565b5085821015612f335787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f8a67cd0fcbd4e7b45a64f3ea7204441a037279e53a9d9bef77fc51c06aa6b3d64736f6c63430008140033",
1111
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612d6f80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612353565b6104b9565b60405161023991906123dc565b61026a610656565b60405162ffffff9091168152602001610239565b6102556106e0565b61028e61087c565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fd565b610a83565b61028e6102e63660046125a5565b610ab0565b61028e6102f936600461263d565b610b3c565b61028e610c89565b61028e610314366004612671565b610ccf565b61032c6103273660046126c0565b610dce565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c0565b610e5d565b61025561038a366004612353565b610e73565b600080516020612cda833981519152546001600160601b031661032c565b61028e6103bb366004612792565b610fb3565b6102556103ce366004612353565b6110c6565b61028e6103e1366004612792565b611173565b61032c6103f43660046126c0565b6111f6565b61035161120c565b610409611343565b60405161023991906127af565b610255610424366004612353565b61137b565b6102b7600080516020612cda83398151915281565b60285b60405160ff9091168152602001610239565b610351611428565b610463611444565b60405161023991906127c4565b61032c61047e3660046126c0565b611a30565b610441611a46565b61028e610499366004612353565b611abd565b6102b7600081565b61028e6104b4366004612353565b611b55565b6104c16122bf565b6104ce335b600036611bcc565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105009062e51dcd60e31b906004016127af565b602060405180830381865afa15801561051d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610541919061287c565b61055e57604051636795c76360e01b815260040160405180910390fd5b61056b8360465b84611cd2565b905061057f6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105aa91906123dc565b6020604051808303816000875af11580156105c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ed91906128a4565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063857600080fd5b505af115801561064c573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106db91906128c1565b905090565b6106e86122bf565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610778906128e6565b80601f01602080910402602001604051908101604052809291908181526020018280546107a4906128e6565b80156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b50505050508152505090506040518060e0016040528061080f600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086061120c565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cda83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f919061287c565b156109405780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109536001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bf919061287c565b6109e75760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610937565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906128a4565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8b611ec2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab8611ec2565b610ac28287611b55565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b328382612966565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5e610656565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc29190612a25565b600080516020612d1a8339815191528054600160401b900460ff1680610bf5575080546001600160401b03808416911610155b15610c135760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3d83611efb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c91611ec2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d025750825b90506000826001600160401b03166001148015610d1e5750303b155b905081158015610d2c575080155b15610d4a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7457845460ff60401b1916600160401b1785555b610d7e8787611f03565b8315610dc557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dd9336104c6565b610de482607a61202a565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e149085906004016123dc565b6020604051808303816000875af1158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5791906128a4565b92915050565b6000610e68336104c6565b610de48260d361202a565b610e7b6122bf565b610e84336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb790631e63cf4560e01b906004016127af565b602060405180830381865afa158015610ed4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef8919061287c565b610f1557604051637a71998760e01b815260040160405180910390fd5b610f2083606e610565565b9050610f346001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f5f91906123dc565b6020604051808303816000875af1158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa291906128a4565b6001600160601b0316815292915050565b610fbb611ec2565b806001600160a01b03163b600003610ff15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610937565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906110379063230c0c8160e11b906004016127af565b602060405180830381865afa925050508015611070575060408051601f3d908101601f1916820190925261106d9181019061287c565b60015b6110985760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610937565b806110c15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610937565b505b50565b6110ce6122bf565b6110d7336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110a90634ba5830960e11b906004016127af565b602060405180830381865afa158015611127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114b919061287c565b61116857604051636f61f64160e01b815260040160405180910390fd5b610f2083608c610565565b3361117c611428565b6001600160a01b0316816001600160a01b0316146111b75760405162d1953b60e31b81526001600160a01b0382166004820152602401610937565b816001600160a01b03163b6000036111ed576040516361798f2f60e11b81526001600160a01b0383166004820152602401610937565b6110c182612135565b6000611201336104c6565b610de482605061202a565b600080600080516020612cda83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a0919061287c565b1561132d576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611303573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113279190612a59565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfa833981519152805460009190600160a01b900460ff1661136d576000611327565b638fb3603760e01b91505090565b6113836122bf565b61138c336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113bf90637895d0ed60e01b906004016127af565b602060405180830381865afa1580156113dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611400919061287c565b61141d576040516308707e3160e41b815260040160405180910390fd5b610f20836078610565565b600080516020612cfa833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145d57905050905061148f60d390565b816000815181106114a2576114a2612a76565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114db576114db612a76565b6020026020010151602001819052506114f260d290565b8160018151811061150557611505612a76565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154b5761154b612a76565b602002602001015160200181905250635c992fed60e01b8160018151811061157557611575612a76565b60200260200101516020015160008151811061159357611593612a76565b6001600160e01b0319909216602092830291909101909101526115b460d490565b816002815181106115c7576115c7612a76565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115fe576115fe612a76565b60200260200101516020018190525061161560dc90565b8160038151811061162857611628612a76565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166e5761166e612a76565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169857611698612a76565b6020026020010151602001516000815181106116b6576116b6612a76565b6001600160e01b0319909216602092830291909101909101526116d7606e90565b816004815181106116ea576116ea612a76565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173057611730612a76565b602002602001015160200181905250635d96628960e01b8160048151811061175a5761175a612a76565b60200260200101516020015160008151811061177857611778612a76565b6001600160e01b031990921660209283029190910190910152611799608c90565b816005815181106117ac576117ac612a76565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f2576117f2612a76565b602002602001015160200181905250637286e5e560e01b8160058151811061181c5761181c612a76565b60200260200101516020015160008151811061183a5761183a612a76565b6001600160e01b03199092166020928302919091019091015261185b607890565b8160068151811061186e5761186e612a76565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b5576118b5612a76565b602002602001015160200181905250638fbc2d8160e01b816006815181106118df576118df612a76565b6020026020010151602001516000815181106118fd576118fd612a76565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193457611934612a76565b60200260200101516020015160018151811061195257611952612a76565b6001600160e01b031990921660209283029190910190910152611973604690565b8160078151811061198657611986612a76565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cc576119cc612a76565b60200260200101516020018190525063026bc43b60e01b816007815181106119f6576119f6612a76565b602002602001015160200151600081518110611a1457611a14612a76565b6001600160e01b03199092166020928302919091019091015290565b6000611a3b336104c6565b610de48260dc61202a565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a99573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106db9190612a97565b611ac5611ec2565b611b4582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2b91906128a4565b603c60008560405180602001604052806000815250610ab0565b6110c1637b6a51fd60e01b610a83565b611b5d611ec2565b611b6681610fb3565b611b6e610c89565b6001600160a01b038216611b955760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cda83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfa833981519152600080611c07611be9611428565b8730611bf9600460008a8c612ab4565b611c0291612ade565b612196565b9150915081611cca5763ffffffff811615611ca757825460ff60a01b1916600160a01b178355611c35611428565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6493929190612b0e565b600060405180830381600087803b158015611c7e57600080fd5b505af1158015611c92573d6000803e3d6000fd5b5050845460ff60a01b1916855550611cca9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610937565b505050505050565b611cda6122bf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d409190810190612b93565b6001600160a01b0385166080820152604081015190915060ff848116911614611d8f576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610937565b60a08101516001600160a01b0380821690841614611dcb5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610937565b846001600160a01b0316816001600160a01b031603611dfd576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9c919061287c565b15611eba57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1a83398151915254600160401b900460ff16611ef957604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec2565b600080516020612d1a8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f365750825b90506000826001600160401b03166001148015611f525750303b155b905081158015611f60575080155b15611f7e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa857845460ff60401b1916600160401b1785555b60008087806020019051810190611fbf9190612c56565b91509150611fcc816122a2565b611fd6828a611abd565b611fe663aa745bc360e01b610a83565b50508315610dc557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbc565b60006080830152604082015160ff82811691161461206e576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610937565b60a08201516001600160a01b03811661209a57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612112919061287c565b1561213057604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfa83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122059190612c85565b600060405180830381855afa9150503d8060008114612240576040519150601f19603f3d011682016040523d82523d6000602084013e612245565b606091505b50915091508115612297576040815110612277578080602001905181019061226d9190612ca1565b9094509250612297565b60208151106122975780806020019051810190612294919061287c565b93505b505094509492505050565b6122aa611ec2565b6110c3816122b6611ec2565b6110c381612135565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561230f57600080fd5b81356001600160e01b03198116811461232757600080fd5b9392505050565b6001600160a01b03811681146110c357600080fd5b803561234e8161232e565b919050565b6000806040838503121561236657600080fd5b82356123718161232e565b915060208301356123818161232e565b809150509250929050565b60005b838110156123a757818101518382015260200161238f565b50506000910152565b600081518084526123c881602086016020860161238c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244560c08401826001600160a01b03169052565b5060c083015160e08084015261245f6101008401826123b0565b949350505050565b6001600160601b03811681146110c357600080fd5b803561234e81612467565b60ff811681146110c357600080fd5b803561234e81612487565b80151581146110c357600080fd5b803561234e816124a1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f2576124f26124ba565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612520576125206124ba565b604052919050565b60006001600160401b03821115612541576125416124ba565b50601f01601f191660200190565b600082601f83011261256057600080fd5b813561257361256e82612528565b6124f8565b81815284602083860101111561258857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125be57600080fd5b86356125c98161232e565b955060208701356125d981612467565b945060408701356125e981612487565b935060608701356125f9816124a1565b925060808701356126098161232e565b915060a08701356001600160401b0381111561262457600080fd5b61263089828a0161254f565b9150509295509295509295565b60006020828403121561264f57600080fd5b81356001600160401b0381111561266557600080fd5b61245f8482850161254f565b6000806040838503121561268457600080fd5b823561268f8161232e565b915060208301356001600160401b038111156126aa57600080fd5b6126b68582860161254f565b9150509250929050565b6000602082840312156126d257600080fd5b81356001600160401b03808211156126e957600080fd5b9083019060e082860312156126fd57600080fd5b6127056124d0565b61270e8361247c565b815261271c6020840161247c565b602082015261272d60408401612496565b604082015261273e606084016124af565b606082015261274f60808401612343565b608082015261276060a08401612343565b60a082015260c08301358281111561277757600080fd5b6127838782860161254f565b60c08301525095945050505050565b6000602082840312156127a457600080fd5b81356123278161232e565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286257898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284d5783516001600160e01b0319168252928b019260019290920191908b0190612823565b50978a019795505050918701916001016127ec565b50919998505050505050505050565b805161234e816124a1565b60006020828403121561288e57600080fd5b8151612327816124a1565b805161234e81612467565b6000602082840312156128b657600080fd5b815161232781612467565b6000602082840312156128d357600080fd5b815162ffffff8116811461232757600080fd5b600181811c908216806128fa57607f821691505b60208210810361291a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213057600081815260208120601f850160051c810160208610156129475750805b601f850160051c820191505b81811015611cca57828155600101612953565b81516001600160401b0381111561297f5761297f6124ba565b6129938161298d84546128e6565b84612920565b602080601f8311600181146129c857600084156129b05750858301515b600019600386901b1c1916600185901b178555611cca565b600085815260208120601f198616915b828110156129f7578886015182559484019460019091019084016129d8565b5085821015612a155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3757600080fd5b81516001600160401b038116811461232757600080fd5b805161234e8161232e565b600060208284031215612a6b57600080fd5b81516123278161232e565b634e487b7160e01b600052603260045260246000fd5b805161234e81612487565b600060208284031215612aa957600080fd5b815161232781612487565b60008085851115612ac457600080fd5b83861115612ad157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b065780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b5f57600080fd5b8151612b6d61256e82612528565b818152846020838601011115612b8257600080fd5b61245f82602083016020870161238c565b600060208284031215612ba557600080fd5b81516001600160401b0380821115612bbc57600080fd5b9083019060e08286031215612bd057600080fd5b612bd86124d0565b612be183612899565b8152612bef60208401612899565b6020820152612c0060408401612a8c565b6040820152612c1160608401612871565b6060820152612c2260808401612a4e565b6080820152612c3360a08401612a4e565b60a082015260c083015182811115612c4a57600080fd5b61278387828601612b4e565b60008060408385031215612c6957600080fd5b8251612c748161232e565b60208401519092506123818161232e565b60008251612c9781846020870161238c565b9190910192915050565b60008060408385031215612cb457600080fd5b8251612cbf816124a1565b602084015190925063ffffffff8116811461238157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ccb696fb3bff0c34e2dee77eabc654186d3fa0e227c36ee4d6cf89edcdba69c464736f6c63430008140033",
1112
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612353565b6104b9565b60405161023991906123dc565b61026a610656565b60405162ffffff9091168152602001610239565b6102556106e0565b61028e61087c565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fd565b610a83565b61028e6102e63660046125a5565b610ab0565b61028e6102f936600461263d565b610b3c565b61028e610c89565b61028e610314366004612671565b610ccf565b61032c6103273660046126c0565b610dce565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c0565b610e5d565b61025561038a366004612353565b610e73565b600080516020612cda833981519152546001600160601b031661032c565b61028e6103bb366004612792565b610fb3565b6102556103ce366004612353565b6110c6565b61028e6103e1366004612792565b611173565b61032c6103f43660046126c0565b6111f6565b61035161120c565b610409611343565b60405161023991906127af565b610255610424366004612353565b61137b565b6102b7600080516020612cda83398151915281565b60285b60405160ff9091168152602001610239565b610351611428565b610463611444565b60405161023991906127c4565b61032c61047e3660046126c0565b611a30565b610441611a46565b61028e610499366004612353565b611abd565b6102b7600081565b61028e6104b4366004612353565b611b55565b6104c16122bf565b6104ce335b600036611bcc565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105009062e51dcd60e31b906004016127af565b602060405180830381865afa15801561051d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610541919061287c565b61055e57604051636795c76360e01b815260040160405180910390fd5b61056b8360465b84611cd2565b905061057f6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105aa91906123dc565b6020604051808303816000875af11580156105c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ed91906128a4565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063857600080fd5b505af115801561064c573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106db91906128c1565b905090565b6106e86122bf565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610778906128e6565b80601f01602080910402602001604051908101604052809291908181526020018280546107a4906128e6565b80156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b50505050508152505090506040518060e0016040528061080f600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086061120c565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cda83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f919061287c565b156109405780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109536001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bf919061287c565b6109e75760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610937565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906128a4565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8b611ec2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab8611ec2565b610ac28287611b55565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b328382612966565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5e610656565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc29190612a25565b600080516020612d1a8339815191528054600160401b900460ff1680610bf5575080546001600160401b03808416911610155b15610c135760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3d83611efb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c91611ec2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d025750825b90506000826001600160401b03166001148015610d1e5750303b155b905081158015610d2c575080155b15610d4a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7457845460ff60401b1916600160401b1785555b610d7e8787611f03565b8315610dc557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dd9336104c6565b610de482607a61202a565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e149085906004016123dc565b6020604051808303816000875af1158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5791906128a4565b92915050565b6000610e68336104c6565b610de48260d361202a565b610e7b6122bf565b610e84336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb790631e63cf4560e01b906004016127af565b602060405180830381865afa158015610ed4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef8919061287c565b610f1557604051637a71998760e01b815260040160405180910390fd5b610f2083606e610565565b9050610f346001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f5f91906123dc565b6020604051808303816000875af1158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa291906128a4565b6001600160601b0316815292915050565b610fbb611ec2565b806001600160a01b03163b600003610ff15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610937565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906110379063230c0c8160e11b906004016127af565b602060405180830381865afa925050508015611070575060408051601f3d908101601f1916820190925261106d9181019061287c565b60015b6110985760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610937565b806110c15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610937565b505b50565b6110ce6122bf565b6110d7336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110a90634ba5830960e11b906004016127af565b602060405180830381865afa158015611127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114b919061287c565b61116857604051636f61f64160e01b815260040160405180910390fd5b610f2083608c610565565b3361117c611428565b6001600160a01b0316816001600160a01b0316146111b75760405162d1953b60e31b81526001600160a01b0382166004820152602401610937565b816001600160a01b03163b6000036111ed576040516361798f2f60e11b81526001600160a01b0383166004820152602401610937565b6110c182612135565b6000611201336104c6565b610de482605061202a565b600080600080516020612cda83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a0919061287c565b1561132d576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611303573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113279190612a59565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfa833981519152805460009190600160a01b900460ff1661136d576000611327565b638fb3603760e01b91505090565b6113836122bf565b61138c336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113bf90637895d0ed60e01b906004016127af565b602060405180830381865afa1580156113dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611400919061287c565b61141d576040516308707e3160e41b815260040160405180910390fd5b610f20836078610565565b600080516020612cfa833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145d57905050905061148f60d390565b816000815181106114a2576114a2612a76565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114db576114db612a76565b6020026020010151602001819052506114f260d290565b8160018151811061150557611505612a76565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154b5761154b612a76565b602002602001015160200181905250635c992fed60e01b8160018151811061157557611575612a76565b60200260200101516020015160008151811061159357611593612a76565b6001600160e01b0319909216602092830291909101909101526115b460d490565b816002815181106115c7576115c7612a76565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115fe576115fe612a76565b60200260200101516020018190525061161560dc90565b8160038151811061162857611628612a76565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166e5761166e612a76565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169857611698612a76565b6020026020010151602001516000815181106116b6576116b6612a76565b6001600160e01b0319909216602092830291909101909101526116d7606e90565b816004815181106116ea576116ea612a76565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173057611730612a76565b602002602001015160200181905250635d96628960e01b8160048151811061175a5761175a612a76565b60200260200101516020015160008151811061177857611778612a76565b6001600160e01b031990921660209283029190910190910152611799608c90565b816005815181106117ac576117ac612a76565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f2576117f2612a76565b602002602001015160200181905250637286e5e560e01b8160058151811061181c5761181c612a76565b60200260200101516020015160008151811061183a5761183a612a76565b6001600160e01b03199092166020928302919091019091015261185b607890565b8160068151811061186e5761186e612a76565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b5576118b5612a76565b602002602001015160200181905250638fbc2d8160e01b816006815181106118df576118df612a76565b6020026020010151602001516000815181106118fd576118fd612a76565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193457611934612a76565b60200260200101516020015160018151811061195257611952612a76565b6001600160e01b031990921660209283029190910190910152611973604690565b8160078151811061198657611986612a76565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cc576119cc612a76565b60200260200101516020018190525063026bc43b60e01b816007815181106119f6576119f6612a76565b602002602001015160200151600081518110611a1457611a14612a76565b6001600160e01b03199092166020928302919091019091015290565b6000611a3b336104c6565b610de48260dc61202a565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a99573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106db9190612a97565b611ac5611ec2565b611b4582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2b91906128a4565b603c60008560405180602001604052806000815250610ab0565b6110c1637b6a51fd60e01b610a83565b611b5d611ec2565b611b6681610fb3565b611b6e610c89565b6001600160a01b038216611b955760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cda83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfa833981519152600080611c07611be9611428565b8730611bf9600460008a8c612ab4565b611c0291612ade565b612196565b9150915081611cca5763ffffffff811615611ca757825460ff60a01b1916600160a01b178355611c35611428565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6493929190612b0e565b600060405180830381600087803b158015611c7e57600080fd5b505af1158015611c92573d6000803e3d6000fd5b5050845460ff60a01b1916855550611cca9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610937565b505050505050565b611cda6122bf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d409190810190612b93565b6001600160a01b0385166080820152604081015190915060ff848116911614611d8f576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610937565b60a08101516001600160a01b0380821690841614611dcb5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610937565b846001600160a01b0316816001600160a01b031603611dfd576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9c919061287c565b15611eba57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1a83398151915254600160401b900460ff16611ef957604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec2565b600080516020612d1a8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f365750825b90506000826001600160401b03166001148015611f525750303b155b905081158015611f60575080155b15611f7e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa857845460ff60401b1916600160401b1785555b60008087806020019051810190611fbf9190612c56565b91509150611fcc816122a2565b611fd6828a611abd565b611fe663aa745bc360e01b610a83565b50508315610dc557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbc565b60006080830152604082015160ff82811691161461206e576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610937565b60a08201516001600160a01b03811661209a57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612112919061287c565b1561213057604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfa83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122059190612c85565b600060405180830381855afa9150503d8060008114612240576040519150601f19603f3d011682016040523d82523d6000602084013e612245565b606091505b50915091508115612297576040815110612277578080602001905181019061226d9190612ca1565b9094509250612297565b60208151106122975780806020019051810190612294919061287c565b93505b505094509492505050565b6122aa611ec2565b6110c3816122b6611ec2565b6110c381612135565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561230f57600080fd5b81356001600160e01b03198116811461232757600080fd5b9392505050565b6001600160a01b03811681146110c357600080fd5b803561234e8161232e565b919050565b6000806040838503121561236657600080fd5b82356123718161232e565b915060208301356123818161232e565b809150509250929050565b60005b838110156123a757818101518382015260200161238f565b50506000910152565b600081518084526123c881602086016020860161238c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244560c08401826001600160a01b03169052565b5060c083015160e08084015261245f6101008401826123b0565b949350505050565b6001600160601b03811681146110c357600080fd5b803561234e81612467565b60ff811681146110c357600080fd5b803561234e81612487565b80151581146110c357600080fd5b803561234e816124a1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f2576124f26124ba565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612520576125206124ba565b604052919050565b60006001600160401b03821115612541576125416124ba565b50601f01601f191660200190565b600082601f83011261256057600080fd5b813561257361256e82612528565b6124f8565b81815284602083860101111561258857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125be57600080fd5b86356125c98161232e565b955060208701356125d981612467565b945060408701356125e981612487565b935060608701356125f9816124a1565b925060808701356126098161232e565b915060a08701356001600160401b0381111561262457600080fd5b61263089828a0161254f565b9150509295509295509295565b60006020828403121561264f57600080fd5b81356001600160401b0381111561266557600080fd5b61245f8482850161254f565b6000806040838503121561268457600080fd5b823561268f8161232e565b915060208301356001600160401b038111156126aa57600080fd5b6126b68582860161254f565b9150509250929050565b6000602082840312156126d257600080fd5b81356001600160401b03808211156126e957600080fd5b9083019060e082860312156126fd57600080fd5b6127056124d0565b61270e8361247c565b815261271c6020840161247c565b602082015261272d60408401612496565b604082015261273e606084016124af565b606082015261274f60808401612343565b608082015261276060a08401612343565b60a082015260c08301358281111561277757600080fd5b6127838782860161254f565b60c08301525095945050505050565b6000602082840312156127a457600080fd5b81356123278161232e565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286257898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284d5783516001600160e01b0319168252928b019260019290920191908b0190612823565b50978a019795505050918701916001016127ec565b50919998505050505050505050565b805161234e816124a1565b60006020828403121561288e57600080fd5b8151612327816124a1565b805161234e81612467565b6000602082840312156128b657600080fd5b815161232781612467565b6000602082840312156128d357600080fd5b815162ffffff8116811461232757600080fd5b600181811c908216806128fa57607f821691505b60208210810361291a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213057600081815260208120601f850160051c810160208610156129475750805b601f850160051c820191505b81811015611cca57828155600101612953565b81516001600160401b0381111561297f5761297f6124ba565b6129938161298d84546128e6565b84612920565b602080601f8311600181146129c857600084156129b05750858301515b600019600386901b1c1916600185901b178555611cca565b600085815260208120601f198616915b828110156129f7578886015182559484019460019091019084016129d8565b5085821015612a155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3757600080fd5b81516001600160401b038116811461232757600080fd5b805161234e8161232e565b600060208284031215612a6b57600080fd5b81516123278161232e565b634e487b7160e01b600052603260045260246000fd5b805161234e81612487565b600060208284031215612aa957600080fd5b815161232781612487565b60008085851115612ac457600080fd5b83861115612ad157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b065780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b5f57600080fd5b8151612b6d61256e82612528565b818152846020838601011115612b8257600080fd5b61245f82602083016020870161238c565b600060208284031215612ba557600080fd5b81516001600160401b0380821115612bbc57600080fd5b9083019060e08286031215612bd057600080fd5b612bd86124d0565b612be183612899565b8152612bef60208401612899565b6020820152612c0060408401612a8c565b6040820152612c1160608401612871565b6060820152612c2260808401612a4e565b6080820152612c3360a08401612a4e565b60a082015260c083015182811115612c4a57600080fd5b61278387828601612b4e565b60008060408385031215612c6957600080fd5b8251612c748161232e565b60208401519092506123818161232e565b60008251612c9781846020870161238c565b9190910192915050565b60008060408385031215612cb457600080fd5b8251612cbf816124a1565b602084015190925063ffffffff8116811461238157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ccb696fb3bff0c34e2dee77eabc654186d3fa0e227c36ee4d6cf89edcdba69c464736f6c63430008140033",
1177
1113
  "linkReferences": {
1178
- "contracts/shared/ContractDeployerLib.sol": {
1179
- "ContractDeployerLib": [
1180
- {
1181
- "length": 20,
1182
- "start": 8014
1183
- },
1184
- {
1185
- "length": 20,
1186
- "start": 8146
1187
- }
1188
- ]
1189
- },
1190
- "contracts/types/Blocknumber.sol": {
1191
- "BlocknumberLib": [
1192
- {
1193
- "length": 20,
1194
- "start": 2945
1195
- }
1196
- ]
1197
- },
1198
1114
  "contracts/types/NftId.sol": {
1199
1115
  "NftIdLib": [
1200
1116
  {
1201
1117
  "length": 20,
1202
- "start": 2361
1118
+ "start": 2455
1203
1119
  },
1204
1120
  {
1205
1121
  "length": 20,
1206
- "start": 4362
1207
- }
1208
- ]
1209
- },
1210
- "contracts/types/Timestamp.sol": {
1211
- "TimestampLib": [
1212
- {
1213
- "length": 20,
1214
- "start": 7370
1122
+ "start": 4904
1215
1123
  }
1216
1124
  ]
1217
1125
  },
@@ -1219,57 +1127,31 @@
1219
1127
  "VersionLib": [
1220
1128
  {
1221
1129
  "length": 20,
1222
- "start": 1883
1130
+ "start": 1891
1223
1131
  },
1224
1132
  {
1225
1133
  "length": 20,
1226
- "start": 4834
1227
- },
1134
+ "start": 3108
1135
+ }
1136
+ ],
1137
+ "VersionPartLib": [
1228
1138
  {
1229
1139
  "length": 20,
1230
- "start": 5379
1140
+ "start": 6981
1231
1141
  }
1232
1142
  ]
1233
1143
  }
1234
1144
  },
1235
1145
  "deployedLinkReferences": {
1236
- "contracts/shared/ContractDeployerLib.sol": {
1237
- "ContractDeployerLib": [
1238
- {
1239
- "length": 20,
1240
- "start": 7700
1241
- },
1242
- {
1243
- "length": 20,
1244
- "start": 7832
1245
- }
1246
- ]
1247
- },
1248
- "contracts/types/Blocknumber.sol": {
1249
- "BlocknumberLib": [
1250
- {
1251
- "length": 20,
1252
- "start": 2631
1253
- }
1254
- ]
1255
- },
1256
1146
  "contracts/types/NftId.sol": {
1257
1147
  "NftIdLib": [
1258
1148
  {
1259
1149
  "length": 20,
1260
- "start": 2047
1150
+ "start": 2225
1261
1151
  },
1262
1152
  {
1263
1153
  "length": 20,
1264
- "start": 4048
1265
- }
1266
- ]
1267
- },
1268
- "contracts/types/Timestamp.sol": {
1269
- "TimestampLib": [
1270
- {
1271
- "length": 20,
1272
- "start": 7056
1154
+ "start": 4674
1273
1155
  }
1274
1156
  ]
1275
1157
  },
@@ -1277,15 +1159,17 @@
1277
1159
  "VersionLib": [
1278
1160
  {
1279
1161
  "length": 20,
1280
- "start": 1569
1162
+ "start": 1661
1281
1163
  },
1282
1164
  {
1283
1165
  "length": 20,
1284
- "start": 4520
1285
- },
1166
+ "start": 2878
1167
+ }
1168
+ ],
1169
+ "VersionPartLib": [
1286
1170
  {
1287
1171
  "length": 20,
1288
- "start": 5065
1172
+ "start": 6751
1289
1173
  }
1290
1174
  ]
1291
1175
  }