@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f30e0eb-805

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. package/README.md +140 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +938 -229
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +192 -168
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +755 -50
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +818 -236
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +627 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2185 -189
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +299 -153
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +993 -1183
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +232 -210
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +520 -190
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +352 -75
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +236 -126
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1732 -0
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +824 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +234 -216
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +229 -313
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  208. package/contracts/components/Component.sol +251 -0
  209. package/contracts/components/Distribution.sol +200 -86
  210. package/contracts/components/IComponent.sol +74 -0
  211. package/contracts/components/IDistributionComponent.sol +44 -16
  212. package/contracts/components/IPoolComponent.sol +88 -37
  213. package/contracts/components/IProductComponent.sol +10 -5
  214. package/contracts/components/Pool.sol +217 -177
  215. package/contracts/components/Product.sol +130 -134
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  217. package/contracts/instance/BundleManager.sol +127 -0
  218. package/contracts/instance/Cloneable.sol +51 -0
  219. package/contracts/instance/IInstance.sol +81 -11
  220. package/contracts/instance/IInstanceService.sol +56 -1
  221. package/contracts/instance/Instance.sol +156 -265
  222. package/contracts/instance/InstanceAccessManager.sol +410 -176
  223. package/contracts/instance/InstanceReader.sol +39 -29
  224. package/contracts/instance/InstanceService.sol +448 -55
  225. package/contracts/instance/InstanceServiceManager.sol +11 -13
  226. package/contracts/instance/ObjectManager.sol +82 -0
  227. package/contracts/instance/base/ComponentService.sol +134 -0
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +36 -20
  231. package/contracts/instance/module/IBundle.sol +2 -0
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +9 -19
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +336 -0
  239. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +467 -0
  243. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +62 -0
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +72 -0
  249. package/contracts/instance/service/IPoolService.sol +21 -23
  250. package/contracts/instance/service/IProductService.sol +6 -73
  251. package/contracts/instance/service/PolicyService.sol +403 -0
  252. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  253. package/contracts/instance/service/PoolService.sol +220 -0
  254. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  255. package/contracts/instance/service/ProductService.sol +241 -0
  256. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  257. package/contracts/registry/ChainNft.sol +9 -1
  258. package/contracts/registry/IRegistry.sol +52 -8
  259. package/contracts/registry/IRegistryService.sol +46 -14
  260. package/contracts/registry/ITransferInterceptor.sol +1 -0
  261. package/contracts/registry/Registry.sol +270 -226
  262. package/contracts/registry/RegistryAccessManager.sol +216 -0
  263. package/contracts/registry/RegistryService.sol +110 -266
  264. package/contracts/registry/RegistryServiceManager.sol +24 -26
  265. package/contracts/registry/ReleaseManager.sol +322 -0
  266. package/contracts/registry/TokenRegistry.sol +116 -0
  267. package/contracts/shared/ERC165.sol +14 -8
  268. package/contracts/shared/INftOwnable.sol +11 -10
  269. package/contracts/shared/IPolicyHolder.sol +26 -0
  270. package/contracts/shared/IRegisterable.sol +4 -6
  271. package/contracts/shared/IRegistryLinked.sol +12 -0
  272. package/contracts/shared/IService.sol +4 -1
  273. package/contracts/shared/IVersionable.sol +4 -47
  274. package/contracts/shared/NftOwnable.sol +67 -83
  275. package/contracts/shared/PolicyHolder.sol +81 -0
  276. package/contracts/shared/ProxyManager.sol +100 -25
  277. package/contracts/shared/Registerable.sol +16 -31
  278. package/contracts/shared/RegistryLinked.sol +48 -0
  279. package/contracts/shared/Service.sol +26 -22
  280. package/contracts/shared/TokenHandler.sol +11 -5
  281. package/contracts/shared/Versionable.sol +4 -92
  282. package/contracts/test/TestRegisterable.sol +1 -1
  283. package/contracts/test/TestService.sol +4 -3
  284. package/contracts/types/Blocknumber.sol +1 -0
  285. package/contracts/types/ClaimId.sol +52 -0
  286. package/contracts/types/DistributorType.sol +2 -2
  287. package/contracts/types/Fee.sol +1 -0
  288. package/contracts/types/NftId.sol +8 -0
  289. package/contracts/types/NftIdSet.sol +26 -24
  290. package/contracts/types/ObjectType.sol +10 -5
  291. package/contracts/types/PayoutId.sol +54 -0
  292. package/contracts/types/Referral.sol +4 -0
  293. package/contracts/types/RoleId.sol +26 -11
  294. package/contracts/types/Seconds.sol +54 -0
  295. package/contracts/types/StateId.sol +5 -0
  296. package/contracts/types/Timestamp.sol +13 -13
  297. package/contracts/types/UFixed.sol +1 -0
  298. package/contracts/types/Version.sol +5 -1
  299. package/package.json +3 -3
  300. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  346. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  348. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  352. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  353. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  355. package/contracts/components/BaseComponent.sol +0 -86
  356. package/contracts/components/IBaseComponent.sol +0 -24
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/AccessManagedSimple.sol +0 -114
  373. package/contracts/instance/AccessManagerSimple.sol +0 -682
  374. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  375. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  376. package/contracts/instance/base/IInstanceBase.sol +0 -23
  377. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  378. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  379. 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
  {
@@ -195,11 +174,6 @@
195
174
  "name": "NotService",
196
175
  "type": "error"
197
176
  },
198
- {
199
- "inputs": [],
200
- "name": "NotToken",
201
- "type": "error"
202
- },
203
177
  {
204
178
  "inputs": [],
205
179
  "name": "RegisterableOwnerIsRegistered",
@@ -258,38 +232,26 @@
258
232
  "type": "event"
259
233
  },
260
234
  {
261
- "anonymous": false,
262
- "inputs": [
263
- {
264
- "indexed": false,
265
- "internalType": "Version",
266
- "name": "version",
267
- "type": "uint24"
268
- },
269
- {
270
- "indexed": false,
271
- "internalType": "address",
272
- "name": "implementation",
273
- "type": "address"
274
- },
235
+ "inputs": [],
236
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
237
+ "outputs": [
275
238
  {
276
- "indexed": false,
277
- "internalType": "address",
278
- "name": "activatedBy",
279
- "type": "address"
239
+ "internalType": "bytes32",
240
+ "name": "",
241
+ "type": "bytes32"
280
242
  }
281
243
  ],
282
- "name": "LogVersionableInitialized",
283
- "type": "event"
244
+ "stateMutability": "view",
245
+ "type": "function"
284
246
  },
285
247
  {
286
248
  "inputs": [],
287
- "name": "NAME",
249
+ "name": "REGISTERABLE_LOCATION_V1",
288
250
  "outputs": [
289
251
  {
290
- "internalType": "string",
252
+ "internalType": "bytes32",
291
253
  "name": "",
292
- "type": "string"
254
+ "type": "bytes32"
293
255
  }
294
256
  ],
295
257
  "stateMutability": "view",
@@ -297,12 +259,12 @@
297
259
  },
298
260
  {
299
261
  "inputs": [],
300
- "name": "NFT_LOCK_ADDRESS",
262
+ "name": "REGISTRY_CREATION_CODE_HASH",
301
263
  "outputs": [
302
264
  {
303
- "internalType": "address",
265
+ "internalType": "bytes32",
304
266
  "name": "",
305
- "type": "address"
267
+ "type": "bytes32"
306
268
  }
307
269
  ],
308
270
  "stateMutability": "view",
@@ -310,12 +272,12 @@
310
272
  },
311
273
  {
312
274
  "inputs": [],
313
- "name": "REGISTERABLE_LOCATION_V1",
275
+ "name": "authority",
314
276
  "outputs": [
315
277
  {
316
- "internalType": "bytes32",
278
+ "internalType": "address",
317
279
  "name": "",
318
- "type": "bytes32"
280
+ "type": "address"
319
281
  }
320
282
  ],
321
283
  "stateMutability": "view",
@@ -323,28 +285,40 @@
323
285
  },
324
286
  {
325
287
  "inputs": [],
326
- "name": "REGISTRY_CREATION_CODE_HASH",
288
+ "name": "getDomain",
327
289
  "outputs": [
328
290
  {
329
- "internalType": "bytes32",
330
- "name": "",
331
- "type": "bytes32"
291
+ "internalType": "ObjectType",
292
+ "name": "serviceDomain",
293
+ "type": "uint8"
332
294
  }
333
295
  ],
334
- "stateMutability": "view",
296
+ "stateMutability": "pure",
335
297
  "type": "function"
336
298
  },
337
299
  {
338
300
  "inputs": [],
339
- "name": "authority",
301
+ "name": "getFunctionConfigs",
340
302
  "outputs": [
341
303
  {
342
- "internalType": "address",
343
- "name": "",
344
- "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[]"
345
319
  }
346
320
  ],
347
- "stateMutability": "view",
321
+ "stateMutability": "pure",
348
322
  "type": "function"
349
323
  },
350
324
  {
@@ -390,26 +364,8 @@
390
364
  }
391
365
  ],
392
366
  "internalType": "struct IRegistry.ObjectInfo",
393
- "name": "",
367
+ "name": "info",
394
368
  "type": "tuple"
395
- },
396
- {
397
- "internalType": "bytes",
398
- "name": "data",
399
- "type": "bytes"
400
- }
401
- ],
402
- "stateMutability": "view",
403
- "type": "function"
404
- },
405
- {
406
- "inputs": [],
407
- "name": "getInitializedVersion",
408
- "outputs": [
409
- {
410
- "internalType": "uint64",
411
- "name": "",
412
- "type": "uint64"
413
369
  }
414
370
  ],
415
371
  "stateMutability": "view",
@@ -428,19 +384,6 @@
428
384
  "stateMutability": "view",
429
385
  "type": "function"
430
386
  },
431
- {
432
- "inputs": [],
433
- "name": "getName",
434
- "outputs": [
435
- {
436
- "internalType": "string",
437
- "name": "",
438
- "type": "string"
439
- }
440
- ],
441
- "stateMutability": "pure",
442
- "type": "function"
443
- },
444
387
  {
445
388
  "inputs": [],
446
389
  "name": "getNftId",
@@ -482,25 +425,19 @@
482
425
  },
483
426
  {
484
427
  "inputs": [],
485
- "name": "getVersion",
428
+ "name": "getRegistryAddress",
486
429
  "outputs": [
487
430
  {
488
- "internalType": "Version",
431
+ "internalType": "address",
489
432
  "name": "",
490
- "type": "uint24"
433
+ "type": "address"
491
434
  }
492
435
  ],
493
- "stateMutability": "pure",
436
+ "stateMutability": "view",
494
437
  "type": "function"
495
438
  },
496
439
  {
497
- "inputs": [
498
- {
499
- "internalType": "uint256",
500
- "name": "idx",
501
- "type": "uint256"
502
- }
503
- ],
440
+ "inputs": [],
504
441
  "name": "getVersion",
505
442
  "outputs": [
506
443
  {
@@ -509,75 +446,105 @@
509
446
  "type": "uint24"
510
447
  }
511
448
  ],
512
- "stateMutability": "view",
449
+ "stateMutability": "pure",
513
450
  "type": "function"
514
451
  },
515
452
  {
516
453
  "inputs": [],
517
- "name": "getVersionCount",
518
- "outputs": [
454
+ "name": "initializeERC165",
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
519
461
  {
520
- "internalType": "uint256",
521
- "name": "",
522
- "type": "uint256"
462
+ "internalType": "address",
463
+ "name": "initialOwner",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "address",
468
+ "name": "registryAddress",
469
+ "type": "address"
523
470
  }
524
471
  ],
525
- "stateMutability": "view",
472
+ "name": "initializeNftOwnable",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
526
475
  "type": "function"
527
476
  },
528
477
  {
529
478
  "inputs": [
530
479
  {
531
- "internalType": "Version",
532
- "name": "_version",
533
- "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"
534
508
  }
535
509
  ],
536
- "name": "getVersionInfo",
537
- "outputs": [
510
+ "name": "initializeRegisterable",
511
+ "outputs": [],
512
+ "stateMutability": "nonpayable",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [
538
517
  {
539
- "components": [
540
- {
541
- "internalType": "Version",
542
- "name": "version",
543
- "type": "uint24"
544
- },
545
- {
546
- "internalType": "address",
547
- "name": "implementation",
548
- "type": "address"
549
- },
550
- {
551
- "internalType": "address",
552
- "name": "activatedBy",
553
- "type": "address"
554
- },
555
- {
556
- "internalType": "Timestamp",
557
- "name": "activatedAt",
558
- "type": "uint40"
559
- },
560
- {
561
- "internalType": "Blocknumber",
562
- "name": "activatedIn",
563
- "type": "uint32"
564
- }
565
- ],
566
- "internalType": "struct IVersionable.VersionInfo",
567
- "name": "",
568
- "type": "tuple"
518
+ "internalType": "address",
519
+ "name": "registryAddress",
520
+ "type": "address"
569
521
  }
570
522
  ],
571
- "stateMutability": "view",
523
+ "name": "initializeRegistryLinked",
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable",
572
526
  "type": "function"
573
527
  },
574
528
  {
575
529
  "inputs": [
576
530
  {
577
531
  "internalType": "address",
578
- "name": "implementation",
532
+ "name": "registry",
579
533
  "type": "address"
580
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": [
581
548
  {
582
549
  "internalType": "address",
583
550
  "name": "activatedBy",
@@ -589,7 +556,7 @@
589
556
  "type": "bytes"
590
557
  }
591
558
  ],
592
- "name": "initialize",
559
+ "name": "initializeVersionable",
593
560
  "outputs": [],
594
561
  "stateMutability": "nonpayable",
595
562
  "type": "function"
@@ -607,25 +574,6 @@
607
574
  "stateMutability": "view",
608
575
  "type": "function"
609
576
  },
610
- {
611
- "inputs": [
612
- {
613
- "internalType": "Version",
614
- "name": "_version",
615
- "type": "uint24"
616
- }
617
- ],
618
- "name": "isInitialized",
619
- "outputs": [
620
- {
621
- "internalType": "bool",
622
- "name": "",
623
- "type": "bool"
624
- }
625
- ],
626
- "stateMutability": "view",
627
- "type": "function"
628
- },
629
577
  {
630
578
  "inputs": [],
631
579
  "name": "linkToRegisteredNftId",
@@ -692,7 +640,7 @@
692
640
  {
693
641
  "inputs": [
694
642
  {
695
- "internalType": "contract IBaseComponent",
643
+ "internalType": "contract IComponent",
696
644
  "name": "distribution",
697
645
  "type": "address"
698
646
  },
@@ -745,11 +693,62 @@
745
693
  "internalType": "struct IRegistry.ObjectInfo",
746
694
  "name": "info",
747
695
  "type": "tuple"
748
- },
696
+ }
697
+ ],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [
749
703
  {
750
- "internalType": "bytes",
751
- "name": "data",
752
- "type": "bytes"
704
+ "components": [
705
+ {
706
+ "internalType": "NftId",
707
+ "name": "nftId",
708
+ "type": "uint96"
709
+ },
710
+ {
711
+ "internalType": "NftId",
712
+ "name": "parentNftId",
713
+ "type": "uint96"
714
+ },
715
+ {
716
+ "internalType": "ObjectType",
717
+ "name": "objectType",
718
+ "type": "uint8"
719
+ },
720
+ {
721
+ "internalType": "bool",
722
+ "name": "isInterceptor",
723
+ "type": "bool"
724
+ },
725
+ {
726
+ "internalType": "address",
727
+ "name": "objectAddress",
728
+ "type": "address"
729
+ },
730
+ {
731
+ "internalType": "address",
732
+ "name": "initialOwner",
733
+ "type": "address"
734
+ },
735
+ {
736
+ "internalType": "bytes",
737
+ "name": "data",
738
+ "type": "bytes"
739
+ }
740
+ ],
741
+ "internalType": "struct IRegistry.ObjectInfo",
742
+ "name": "info",
743
+ "type": "tuple"
744
+ }
745
+ ],
746
+ "name": "registerDistributor",
747
+ "outputs": [
748
+ {
749
+ "internalType": "NftId",
750
+ "name": "nftId",
751
+ "type": "uint96"
753
752
  }
754
753
  ],
755
754
  "stateMutability": "nonpayable",
@@ -761,6 +760,11 @@
761
760
  "internalType": "contract IRegisterable",
762
761
  "name": "instance",
763
762
  "type": "address"
763
+ },
764
+ {
765
+ "internalType": "address",
766
+ "name": "owner",
767
+ "type": "address"
764
768
  }
765
769
  ],
766
770
  "name": "registerInstance",
@@ -806,13 +810,21 @@
806
810
  "internalType": "struct IRegistry.ObjectInfo",
807
811
  "name": "info",
808
812
  "type": "tuple"
809
- },
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
810
820
  {
811
- "internalType": "bytes",
812
- "name": "data",
813
- "type": "bytes"
821
+ "internalType": "bytes4",
822
+ "name": "interfaceId",
823
+ "type": "bytes4"
814
824
  }
815
825
  ],
826
+ "name": "registerInterface",
827
+ "outputs": [],
816
828
  "stateMutability": "nonpayable",
817
829
  "type": "function"
818
830
  },
@@ -875,7 +887,7 @@
875
887
  {
876
888
  "inputs": [
877
889
  {
878
- "internalType": "contract IBaseComponent",
890
+ "internalType": "contract IComponent",
879
891
  "name": "pool",
880
892
  "type": "address"
881
893
  },
@@ -928,11 +940,6 @@
928
940
  "internalType": "struct IRegistry.ObjectInfo",
929
941
  "name": "info",
930
942
  "type": "tuple"
931
- },
932
- {
933
- "internalType": "bytes",
934
- "name": "data",
935
- "type": "bytes"
936
943
  }
937
944
  ],
938
945
  "stateMutability": "nonpayable",
@@ -941,7 +948,7 @@
941
948
  {
942
949
  "inputs": [
943
950
  {
944
- "internalType": "contract IBaseComponent",
951
+ "internalType": "contract IComponent",
945
952
  "name": "product",
946
953
  "type": "address"
947
954
  },
@@ -994,11 +1001,6 @@
994
1001
  "internalType": "struct IRegistry.ObjectInfo",
995
1002
  "name": "info",
996
1003
  "type": "tuple"
997
- },
998
- {
999
- "internalType": "bytes",
1000
- "name": "data",
1001
- "type": "bytes"
1002
1004
  }
1003
1005
  ],
1004
1006
  "stateMutability": "nonpayable",
@@ -1006,14 +1008,6 @@
1006
1008
  },
1007
1009
  {
1008
1010
  "inputs": [
1009
- {
1010
- "internalType": "contract IService",
1011
- "name": "service",
1012
- "type": "address"
1013
- }
1014
- ],
1015
- "name": "registerService",
1016
- "outputs": [
1017
1011
  {
1018
1012
  "components": [
1019
1013
  {
@@ -1055,25 +1049,9 @@
1055
1049
  "internalType": "struct IRegistry.ObjectInfo",
1056
1050
  "name": "info",
1057
1051
  "type": "tuple"
1058
- },
1059
- {
1060
- "internalType": "bytes",
1061
- "name": "data",
1062
- "type": "bytes"
1063
- }
1064
- ],
1065
- "stateMutability": "nonpayable",
1066
- "type": "function"
1067
- },
1068
- {
1069
- "inputs": [
1070
- {
1071
- "internalType": "address",
1072
- "name": "tokenAddress",
1073
- "type": "address"
1074
1052
  }
1075
1053
  ],
1076
- "name": "registerToken",
1054
+ "name": "registerStake",
1077
1055
  "outputs": [
1078
1056
  {
1079
1057
  "internalType": "NftId",
@@ -1118,68 +1096,30 @@
1118
1096
  },
1119
1097
  {
1120
1098
  "inputs": [
1121
- {
1122
- "internalType": "address",
1123
- "name": "implementation",
1124
- "type": "address"
1125
- },
1126
- {
1127
- "internalType": "address",
1128
- "name": "activatedBy",
1129
- "type": "address"
1130
- },
1131
1099
  {
1132
1100
  "internalType": "bytes",
1133
1101
  "name": "data",
1134
1102
  "type": "bytes"
1135
1103
  }
1136
1104
  ],
1137
- "name": "upgrade",
1105
+ "name": "upgradeVersionable",
1138
1106
  "outputs": [],
1139
1107
  "stateMutability": "nonpayable",
1140
1108
  "type": "function"
1141
1109
  }
1142
1110
  ],
1143
- "bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6133b180620001346000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063834af1531161010f578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105c4578063e285c9c4146105d7578063ed841d0c146105df578063fdd9ec7d146105e757600080fd5b8063b88da7591461057c578063bf7e214f1461058f578063c2bf08c814610597578063cde749f4146105aa57600080fd5b8063946dfcfe116100de578063946dfcfe146104f4578063a3f4df7e1461051b578063a745e3df14610549578063b3c650151461055c57600080fd5b8063834af153146104b1578063893d20e8146104c45780638fb36037146104cc5780638fbc2d81146104e157600080fd5b80634d459c90116101875780635d966289116101565780635d96628914610460578063644c45e0146104735780637286e5e51461048b5780637a9e5e4b1461049e57600080fd5b80634d459c90146102fc5780634f421333146104155780635ab1bd53146104285780635c992fed1461044d57600080fd5b80630fec111c116101c35780630fec111c14610273578063138461e01461028957806317d7de7c146102935780631eff4b22146102c757600080fd5b806301ffc9a7146101ea57806309824a801461022c5780630d8e6e2c14610257575b600080fd5b6102176101f8366004612915565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612964565b6105fa565b6040516001600160601b039091168152602001610223565b61025f610867565b60405162ffffff9091168152602001610223565b61027b6108f1565b604051610223929190612a42565b610291610a44565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516102239190612a70565b6102ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6103b861030a366004612a94565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061335c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b610217610423366004612a94565b610c66565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61023f61045b366004612bef565b610d19565b61027b61046e366004612cc1565b610e1c565b600154600160a01b90046001600160601b031661023f565b61027b610499366004612cc1565b611021565b6102916104ac366004612964565b6110d0565b61027b6104bf366004612964565b611157565b6104356112df565b6104d46113f8565b6040516102239190612cfa565b61027b6104ef366004612cc1565b611431565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ee565b6102ba6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b610291610557366004612d0f565b6114e0565b61056461163a565b6040516001600160401b039091168152602001610223565b61025f61058a366004612d70565b61165b565b6104356116ac565b61023f6105a5366004612bef565b6116c8565b6105b261174d565b60405160ff9091168152602001610223565b6102916105d2366004612d0f565b6117d0565b610435600181565b6102ee600081565b61027b6105f5366004612964565b6118d9565b60006001600160a01b0382163303610625576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b0382163b15806106485750610648826303fb044760e21b611980565b156106665760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612d94565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa158015610727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074b9190612dbc565b6001600160a01b0316336001600160a01b03161461077c5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610791600090565b6001600160601b03168152602001836001600160601b031681526020016107b6603290565b60ff168152600060208083018290526001600160a01b0380891660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061081c908490600401612dd9565b6020604051808303816000875af115801561083b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085f9190612d94565b949350505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612dec565b905090565b6108f96128d7565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806109456001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161098d6112df565b6001600160a01b031681526020018260010180546109aa90612e09565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690612e09565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190612e4e565b15610b11576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610b3a5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba79190612e4e565b610bcf576040516372657a5160e01b81526001600160a01b0382166004820152602401610b08565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190612d94565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061335c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190612e6b565b1192915050565b6000610d28335b60003661199c565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610d71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d959190612d94565b9050610da28360d2611aa2565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610dd2908690600401612dd9565b6020604051808303816000875af1158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190612d94565b9392505050565b610e246128d7565b6060610e2f33610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610e6290633ad74e8160e01b90600401612cfa565b602060405180830381865afa158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190612e4e565b610ec057604051637a71998760e01b815260040160405180910390fd5b610ecd84606e5b85611b9f565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f429190612d94565b6001546040516352efcf2760e11b81529192506001600160a01b03169063a5df9e4e90610f73908690600401612dd9565b6020604051808303816000875af1158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190612d94565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0387169163138461e091600480830192600092919082900301818387803b15801561100157600080fd5b505af1158015611015573d6000803e3d6000fd5b50505050509250929050565b6110296128d7565b606061103433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061106790632d744d3360e11b90600401612cfa565b602060405180830381865afa158015611084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a89190612e4e565b6110c557604051636f61f64160e01b815260040160405180910390fd5b610ecd84608c610ec7565b336110d96116ac565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b0382166004820152602401610b08565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b08565b61115382611d94565b5050565b61115f6128d7565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790611195906342e19e5f60e01b90600401612cfa565b602060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d69190612e4e565b6111f357604051636795c76360e01b815260040160405180910390fd5b6112008360465b33611b9f565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90611234908590600401612dd9565b6020604051808303816000875af1158015611253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112779190612d94565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190612e4e565b156113e857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612dbc565b506002546001600160a01b031690565b60008051602061331c833981519152805460009190600160a01b900460ff1661142257600061142b565b638fb3603760e01b5b91505090565b6114396128d7565b606061144433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906114779063c8ea96c560e01b90600401612cfa565b602060405180830381865afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612e4e565b6114d5576040516308707e3160e41b815260040160405180910390fd5b610ecd846078610ec7565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611502610867565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612e84565b60008051602061333c8339815191528054600160401b900460ff1680611599575080546001600160401b03808416911610155b156115b75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556115e28585611df5565b6115eb83612094565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006108ec60008051602061333c833981519152546001600160401b031690565b600060008051602061335c833981519152600101828154811061168057611680612ead565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008051602061331c833981519152546001600160a01b031690565b60006116d333610d20565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117409190612d94565b9050610da28360dc611aa2565b6000611757610867565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156117ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612ece565b60008051602061333c8339815191528054600160401b810460ff1615906001600160401b03166000811580156118035750825b90506000826001600160401b0316600114801561181f5750303b155b90508115801561182d575080155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561187557845460ff60401b1916600160401b1785555b61187f8888611df5565b611889878761209c565b83156118cf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6118e16128d7565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061191790631b4612f160e31b90600401612cfa565b602060405180830381865afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612e4e565b61197557604051635458064d60e11b815260040160405180910390fd5b61120083603c6111fa565b600061198b83612389565b8015610e155750610e1583836123bd565b60008051602061331c8339815191526000806119d76119b96116ac565b87306119c9600460008a8c612eeb565b6119d291612f15565b612440565b9150915081611a9a5763ffffffff811615611a7757825460ff60a01b1916600160a01b178355611a056116ac565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a3493929190612f45565b600060405180830381600087803b158015611a4e57600080fd5b505af1158015611a62573d6000803e3d6000fd5b5050845460ff60a01b1916855550611a9a9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b08565b505050505050565b60808201516001600160a01b031615611adf576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610b08565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a9190612e4e565b80611b70575060a08201516001600160a01b0316155b156111535760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610b08565b611ba76128d7565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611be7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0f9190810190612fca565b6001600160a01b03871660808301526040820151919350915060ff858116911614611c60576040808301519051632208245760e11b815260ff80871660048301529091166024820152604401610b08565b60a08201516001600160a01b0380821690851614611c9c5760405163dfc430cb60e01b81526001600160a01b0385166004820152602401610b08565b856001600160a01b0316816001600160a01b031603611cce576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611cf557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6d9190612e4e565b15611d8b57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008051602061331c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611dfd61254c565b60008051602061335c8339815191526000611e2d60008051602061333c833981519152546001600160401b031690565b90506000611e39610867565b9050816001600160401b0316600103611e665760028301805462ffffff191662ffffff8316179055611eb4565b600283015462ffffff90811690821611611eb45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b08565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611f68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8c91906130c2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061162b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e561254c565b60008051602061333c8339815191528054600160401b810460ff1615906001600160401b03166000811580156120cf5750825b90506000826001600160401b031660011480156120eb5750303b155b9050811580156120f9575080155b156121175760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561214157845460ff60401b1916600160401b1785555b6000808780602001905181019061215891906130e9565b9150915061216582612585565b60008961217061174d565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a524906121dc908690869060040161312f565b600060405180830381865af41580156121f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122219190810190613142565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f02906122609085908590600401613176565b602060405180830381865af415801561227d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a19190612dbc565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa1580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190612d94565b905061231c828e612599565b612324610a44565b6123346324cded3360e11b612626565b505050505050831561238057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600061239c826301ffc9a760e01b6123bd565b80156123b757506123b5826001600160e01b03196123bd565b155b92915050565b600080826040516024016123d19190612cfa565b60408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b178152825192935060009283928392909183918a617530fa92503d91506000519050828015612429575060208210155b80156124355750600081115b979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516124af9190613198565b600060405180830381855afa9150503d80600081146124ea576040519150601f19603f3d011682016040523d82523d6000602084013e6124ef565b606091505b50915091508115612541576040815110612521578080602001905181019061251791906131b4565b9094509250612541565b6020815110612541578080602001905181019061253e9190612e4e565b93505b505094509492505050565b60008051602061333c83398151915254600160401b900460ff1661258357604051631afcd79f60e31b815260040160405180910390fd5b565b61258d61254c565b6125968161264b565b50565b60006125c760408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6125cf61174d565b6040516020016125e09291906131ec565b604051602081830303815290604052905060006125fc8461265c565b9050600061260f8583603c8488886126c7565b61261f631b4612f160e31b612626565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61265361254c565b61259681611d94565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156126a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b79190612d94565b6126d18287612752565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612741838261325c565b506123806303fb044760e21b612626565b600280546001600160a01b0319166001600160a01b038416179055611153816001546001600160a01b0316156127aa5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b08565b6001600160a01b0381166127d15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036128075760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061284d9063350fb35160e11b90600401612cfa565b602060405180830381865afa925050508015612886575060408051601f3d908101601f1916820190925261288391810190612e4e565b60015b6128ae5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b806111535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b08565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561292757600080fd5b81356001600160e01b031981168114610e1557600080fd5b6001600160a01b038116811461259657600080fd5b803561295f8161293f565b919050565b60006020828403121561297657600080fd5b8135610e158161293f565b60005b8381101561299c578181015183820152602001612984565b50506000910152565b600081518084526129bd816020860160208601612981565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261085f60e08501826129a5565b604081526000612a5560408301856129d1565b8281036020840152612a6781856129a5565b95945050505050565b602081526000610e1560208301846129a5565b62ffffff8116811461259657600080fd5b600060208284031215612aa657600080fd5b8135610e1581612a83565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612ae957612ae9612ab1565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612b1757612b17612ab1565b604052919050565b6001600160601b038116811461259657600080fd5b803561295f81612b1f565b60ff8116811461259657600080fd5b803561295f81612b3f565b801515811461259657600080fd5b803561295f81612b59565b60006001600160401b03821115612b8b57612b8b612ab1565b50601f01601f191660200190565b600082601f830112612baa57600080fd5b8135612bbd612bb882612b72565b612aef565b818152846020838601011115612bd257600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612c0157600080fd5b81356001600160401b0380821115612c1857600080fd5b9083019060e08286031215612c2c57600080fd5b612c34612ac7565b612c3d83612b34565b8152612c4b60208401612b34565b6020820152612c5c60408401612b4e565b6040820152612c6d60608401612b67565b6060820152612c7e60808401612954565b6080820152612c8f60a08401612954565b60a082015260c083013582811115612ca657600080fd5b612cb287828601612b99565b60c08301525095945050505050565b60008060408385031215612cd457600080fd5b8235612cdf8161293f565b91506020830135612cef8161293f565b809150509250929050565b6001600160e01b031991909116815260200190565b600080600060608486031215612d2457600080fd5b8335612d2f8161293f565b92506020840135612d3f8161293f565b915060408401356001600160401b03811115612d5a57600080fd5b612d6686828701612b99565b9150509250925092565b600060208284031215612d8257600080fd5b5035919050565b805161295f81612b1f565b600060208284031215612da657600080fd5b8151610e1581612b1f565b805161295f8161293f565b600060208284031215612dce57600080fd5b8151610e158161293f565b602081526000610e1560208301846129d1565b600060208284031215612dfe57600080fd5b8151610e1581612a83565b600181811c90821680612e1d57607f821691505b602082108103612e3d57634e487b7160e01b600052602260045260246000fd5b50919050565b805161295f81612b59565b600060208284031215612e6057600080fd5b8151610e1581612b59565b600060208284031215612e7d57600080fd5b5051919050565b600060208284031215612e9657600080fd5b81516001600160401b0381168114610e1557600080fd5b634e487b7160e01b600052603260045260246000fd5b805161295f81612b3f565b600060208284031215612ee057600080fd5b8151610e1581612b3f565b60008085851115612efb57600080fd5b83861115612f0857600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f3d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f9657600080fd5b8151612fa4612bb882612b72565b818152846020838601011115612fb957600080fd5b61085f826020830160208701612981565b60008060408385031215612fdd57600080fd5b82516001600160401b0380821115612ff457600080fd5b9084019060e0828703121561300857600080fd5b613010612ac7565b61301983612d89565b815261302760208401612d89565b602082015261303860408401612ec3565b604082015261304960608401612e43565b606082015261305a60808401612db1565b608082015261306b60a08401612db1565b60a082015260c08301518281111561308257600080fd5b61308e88828601612f85565b60c08301525060208601519094509150808211156130ab57600080fd5b506130b885828601612f85565b9150509250929050565b6000602082840312156130d457600080fd5b815164ffffffffff81168114610e1557600080fd5b600080604083850312156130fc57600080fd5b82516131078161293f565b60208401519092506001600160401b0381111561312357600080fd5b6130b885828601612f85565b604081526000612a5560408301856129a5565b60006020828403121561315457600080fd5b81516001600160401b0381111561316a57600080fd5b61085f84828501612f85565b60408152600061318960408301856129a5565b90508260208301529392505050565b600082516131aa818460208701612981565b9190910192915050565b600080604083850312156131c757600080fd5b82516131d281612b59565b602084015190925063ffffffff81168114612cef57600080fd5b6040815260006131ff60408301856129a5565b905060ff831660208301529392505050565b601f82111561325757600081815260208120601f850160051c810160208610156132385750805b601f850160051c820191505b81811015611a9a57828155600101613244565b505050565b81516001600160401b0381111561327557613275612ab1565b613289816132838454612e09565b84613211565b602080601f8311600181146132be57600084156132a65750858301515b600019600386901b1c1916600185901b178555611a9a565b600085815260208120601f198616915b828110156132ed578886015182559484019460019091019084016132ce565b508582101561330b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206797fac4eb5d32670f241af735878638549434af3dd09b01a273c7677686e6e264736f6c63430008140033",
1144
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063834af1531161010f578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105c4578063e285c9c4146105d7578063ed841d0c146105df578063fdd9ec7d146105e757600080fd5b8063b88da7591461057c578063bf7e214f1461058f578063c2bf08c814610597578063cde749f4146105aa57600080fd5b8063946dfcfe116100de578063946dfcfe146104f4578063a3f4df7e1461051b578063a745e3df14610549578063b3c650151461055c57600080fd5b8063834af153146104b1578063893d20e8146104c45780638fb36037146104cc5780638fbc2d81146104e157600080fd5b80634d459c90116101875780635d966289116101565780635d96628914610460578063644c45e0146104735780637286e5e51461048b5780637a9e5e4b1461049e57600080fd5b80634d459c90146102fc5780634f421333146104155780635ab1bd53146104285780635c992fed1461044d57600080fd5b80630fec111c116101c35780630fec111c14610273578063138461e01461028957806317d7de7c146102935780631eff4b22146102c757600080fd5b806301ffc9a7146101ea57806309824a801461022c5780630d8e6e2c14610257575b600080fd5b6102176101f8366004612915565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612964565b6105fa565b6040516001600160601b039091168152602001610223565b61025f610867565b60405162ffffff9091168152602001610223565b61027b6108f1565b604051610223929190612a42565b610291610a44565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516102239190612a70565b6102ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6103b861030a366004612a94565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061335c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b610217610423366004612a94565b610c66565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61023f61045b366004612bef565b610d19565b61027b61046e366004612cc1565b610e1c565b600154600160a01b90046001600160601b031661023f565b61027b610499366004612cc1565b611021565b6102916104ac366004612964565b6110d0565b61027b6104bf366004612964565b611157565b6104356112df565b6104d46113f8565b6040516102239190612cfa565b61027b6104ef366004612cc1565b611431565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ee565b6102ba6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b610291610557366004612d0f565b6114e0565b61056461163a565b6040516001600160401b039091168152602001610223565b61025f61058a366004612d70565b61165b565b6104356116ac565b61023f6105a5366004612bef565b6116c8565b6105b261174d565b60405160ff9091168152602001610223565b6102916105d2366004612d0f565b6117d0565b610435600181565b6102ee600081565b61027b6105f5366004612964565b6118d9565b60006001600160a01b0382163303610625576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b0382163b15806106485750610648826303fb044760e21b611980565b156106665760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612d94565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa158015610727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074b9190612dbc565b6001600160a01b0316336001600160a01b03161461077c5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610791600090565b6001600160601b03168152602001836001600160601b031681526020016107b6603290565b60ff168152600060208083018290526001600160a01b0380891660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061081c908490600401612dd9565b6020604051808303816000875af115801561083b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085f9190612d94565b949350505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612dec565b905090565b6108f96128d7565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806109456001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161098d6112df565b6001600160a01b031681526020018260010180546109aa90612e09565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690612e09565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190612e4e565b15610b11576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610b3a5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba79190612e4e565b610bcf576040516372657a5160e01b81526001600160a01b0382166004820152602401610b08565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190612d94565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061335c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190612e6b565b1192915050565b6000610d28335b60003661199c565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610d71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d959190612d94565b9050610da28360d2611aa2565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610dd2908690600401612dd9565b6020604051808303816000875af1158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190612d94565b9392505050565b610e246128d7565b6060610e2f33610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610e6290633ad74e8160e01b90600401612cfa565b602060405180830381865afa158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190612e4e565b610ec057604051637a71998760e01b815260040160405180910390fd5b610ecd84606e5b85611b9f565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f429190612d94565b6001546040516352efcf2760e11b81529192506001600160a01b03169063a5df9e4e90610f73908690600401612dd9565b6020604051808303816000875af1158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190612d94565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0387169163138461e091600480830192600092919082900301818387803b15801561100157600080fd5b505af1158015611015573d6000803e3d6000fd5b50505050509250929050565b6110296128d7565b606061103433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061106790632d744d3360e11b90600401612cfa565b602060405180830381865afa158015611084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a89190612e4e565b6110c557604051636f61f64160e01b815260040160405180910390fd5b610ecd84608c610ec7565b336110d96116ac565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b0382166004820152602401610b08565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b08565b61115382611d94565b5050565b61115f6128d7565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790611195906342e19e5f60e01b90600401612cfa565b602060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d69190612e4e565b6111f357604051636795c76360e01b815260040160405180910390fd5b6112008360465b33611b9f565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90611234908590600401612dd9565b6020604051808303816000875af1158015611253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112779190612d94565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190612e4e565b156113e857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612dbc565b506002546001600160a01b031690565b60008051602061331c833981519152805460009190600160a01b900460ff1661142257600061142b565b638fb3603760e01b5b91505090565b6114396128d7565b606061144433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906114779063c8ea96c560e01b90600401612cfa565b602060405180830381865afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612e4e565b6114d5576040516308707e3160e41b815260040160405180910390fd5b610ecd846078610ec7565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611502610867565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612e84565b60008051602061333c8339815191528054600160401b900460ff1680611599575080546001600160401b03808416911610155b156115b75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556115e28585611df5565b6115eb83612094565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006108ec60008051602061333c833981519152546001600160401b031690565b600060008051602061335c833981519152600101828154811061168057611680612ead565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008051602061331c833981519152546001600160a01b031690565b60006116d333610d20565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117409190612d94565b9050610da28360dc611aa2565b6000611757610867565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156117ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612ece565b60008051602061333c8339815191528054600160401b810460ff1615906001600160401b03166000811580156118035750825b90506000826001600160401b0316600114801561181f5750303b155b90508115801561182d575080155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561187557845460ff60401b1916600160401b1785555b61187f8888611df5565b611889878761209c565b83156118cf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6118e16128d7565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061191790631b4612f160e31b90600401612cfa565b602060405180830381865afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612e4e565b61197557604051635458064d60e11b815260040160405180910390fd5b61120083603c6111fa565b600061198b83612389565b8015610e155750610e1583836123bd565b60008051602061331c8339815191526000806119d76119b96116ac565b87306119c9600460008a8c612eeb565b6119d291612f15565b612440565b9150915081611a9a5763ffffffff811615611a7757825460ff60a01b1916600160a01b178355611a056116ac565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a3493929190612f45565b600060405180830381600087803b158015611a4e57600080fd5b505af1158015611a62573d6000803e3d6000fd5b5050845460ff60a01b1916855550611a9a9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b08565b505050505050565b60808201516001600160a01b031615611adf576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610b08565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611b36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5a9190612e4e565b80611b70575060a08201516001600160a01b0316155b156111535760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610b08565b611ba76128d7565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611be7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0f9190810190612fca565b6001600160a01b03871660808301526040820151919350915060ff858116911614611c60576040808301519051632208245760e11b815260ff80871660048301529091166024820152604401610b08565b60a08201516001600160a01b0380821690851614611c9c5760405163dfc430cb60e01b81526001600160a01b0385166004820152602401610b08565b856001600160a01b0316816001600160a01b031603611cce576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611cf557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6d9190612e4e565b15611d8b57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008051602061331c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611dfd61254c565b60008051602061335c8339815191526000611e2d60008051602061333c833981519152546001600160401b031690565b90506000611e39610867565b9050816001600160401b0316600103611e665760028301805462ffffff191662ffffff8316179055611eb4565b600283015462ffffff90811690821611611eb45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b08565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611f68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8c91906130c2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061162b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e561254c565b60008051602061333c8339815191528054600160401b810460ff1615906001600160401b03166000811580156120cf5750825b90506000826001600160401b031660011480156120eb5750303b155b9050811580156120f9575080155b156121175760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561214157845460ff60401b1916600160401b1785555b6000808780602001905181019061215891906130e9565b9150915061216582612585565b60008961217061174d565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a524906121dc908690869060040161312f565b600060405180830381865af41580156121f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122219190810190613142565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f02906122609085908590600401613176565b602060405180830381865af415801561227d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a19190612dbc565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa1580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190612d94565b905061231c828e612599565b612324610a44565b6123346324cded3360e11b612626565b505050505050831561238057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600061239c826301ffc9a760e01b6123bd565b80156123b757506123b5826001600160e01b03196123bd565b155b92915050565b600080826040516024016123d19190612cfa565b60408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b178152825192935060009283928392909183918a617530fa92503d91506000519050828015612429575060208210155b80156124355750600081115b979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516124af9190613198565b600060405180830381855afa9150503d80600081146124ea576040519150601f19603f3d011682016040523d82523d6000602084013e6124ef565b606091505b50915091508115612541576040815110612521578080602001905181019061251791906131b4565b9094509250612541565b6020815110612541578080602001905181019061253e9190612e4e565b93505b505094509492505050565b60008051602061333c83398151915254600160401b900460ff1661258357604051631afcd79f60e31b815260040160405180910390fd5b565b61258d61254c565b6125968161264b565b50565b60006125c760408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6125cf61174d565b6040516020016125e09291906131ec565b604051602081830303815290604052905060006125fc8461265c565b9050600061260f8583603c8488886126c7565b61261f631b4612f160e31b612626565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61265361254c565b61259681611d94565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156126a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b79190612d94565b6126d18287612752565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612741838261325c565b506123806303fb044760e21b612626565b600280546001600160a01b0319166001600160a01b038416179055611153816001546001600160a01b0316156127aa5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b08565b6001600160a01b0381166127d15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036128075760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061284d9063350fb35160e11b90600401612cfa565b602060405180830381865afa925050508015612886575060408051601f3d908101601f1916820190925261288391810190612e4e565b60015b6128ae5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b806111535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b08565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561292757600080fd5b81356001600160e01b031981168114610e1557600080fd5b6001600160a01b038116811461259657600080fd5b803561295f8161293f565b919050565b60006020828403121561297657600080fd5b8135610e158161293f565b60005b8381101561299c578181015183820152602001612984565b50506000910152565b600081518084526129bd816020860160208601612981565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261085f60e08501826129a5565b604081526000612a5560408301856129d1565b8281036020840152612a6781856129a5565b95945050505050565b602081526000610e1560208301846129a5565b62ffffff8116811461259657600080fd5b600060208284031215612aa657600080fd5b8135610e1581612a83565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612ae957612ae9612ab1565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612b1757612b17612ab1565b604052919050565b6001600160601b038116811461259657600080fd5b803561295f81612b1f565b60ff8116811461259657600080fd5b803561295f81612b3f565b801515811461259657600080fd5b803561295f81612b59565b60006001600160401b03821115612b8b57612b8b612ab1565b50601f01601f191660200190565b600082601f830112612baa57600080fd5b8135612bbd612bb882612b72565b612aef565b818152846020838601011115612bd257600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612c0157600080fd5b81356001600160401b0380821115612c1857600080fd5b9083019060e08286031215612c2c57600080fd5b612c34612ac7565b612c3d83612b34565b8152612c4b60208401612b34565b6020820152612c5c60408401612b4e565b6040820152612c6d60608401612b67565b6060820152612c7e60808401612954565b6080820152612c8f60a08401612954565b60a082015260c083013582811115612ca657600080fd5b612cb287828601612b99565b60c08301525095945050505050565b60008060408385031215612cd457600080fd5b8235612cdf8161293f565b91506020830135612cef8161293f565b809150509250929050565b6001600160e01b031991909116815260200190565b600080600060608486031215612d2457600080fd5b8335612d2f8161293f565b92506020840135612d3f8161293f565b915060408401356001600160401b03811115612d5a57600080fd5b612d6686828701612b99565b9150509250925092565b600060208284031215612d8257600080fd5b5035919050565b805161295f81612b1f565b600060208284031215612da657600080fd5b8151610e1581612b1f565b805161295f8161293f565b600060208284031215612dce57600080fd5b8151610e158161293f565b602081526000610e1560208301846129d1565b600060208284031215612dfe57600080fd5b8151610e1581612a83565b600181811c90821680612e1d57607f821691505b602082108103612e3d57634e487b7160e01b600052602260045260246000fd5b50919050565b805161295f81612b59565b600060208284031215612e6057600080fd5b8151610e1581612b59565b600060208284031215612e7d57600080fd5b5051919050565b600060208284031215612e9657600080fd5b81516001600160401b0381168114610e1557600080fd5b634e487b7160e01b600052603260045260246000fd5b805161295f81612b3f565b600060208284031215612ee057600080fd5b8151610e1581612b3f565b60008085851115612efb57600080fd5b83861115612f0857600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f3d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f9657600080fd5b8151612fa4612bb882612b72565b818152846020838601011115612fb957600080fd5b61085f826020830160208701612981565b60008060408385031215612fdd57600080fd5b82516001600160401b0380821115612ff457600080fd5b9084019060e0828703121561300857600080fd5b613010612ac7565b61301983612d89565b815261302760208401612d89565b602082015261303860408401612ec3565b604082015261304960608401612e43565b606082015261305a60808401612db1565b608082015261306b60a08401612db1565b60a082015260c08301518281111561308257600080fd5b61308e88828601612f85565b60c08301525060208601519094509150808211156130ab57600080fd5b506130b885828601612f85565b9150509250929050565b6000602082840312156130d457600080fd5b815164ffffffffff81168114610e1557600080fd5b600080604083850312156130fc57600080fd5b82516131078161293f565b60208401519092506001600160401b0381111561312357600080fd5b6130b885828601612f85565b604081526000612a5560408301856129a5565b60006020828403121561315457600080fd5b81516001600160401b0381111561316a57600080fd5b61085f84828501612f85565b60408152600061318960408301856129a5565b90508260208301529392505050565b600082516131aa818460208701612981565b9190910192915050565b600080604083850312156131c757600080fd5b82516131d281612b59565b602084015190925063ffffffff81168114612cef57600080fd5b6040815260006131ff60408301856129a5565b905060ff831660208301529392505050565b601f82111561325757600081815260208120601f850160051c810160208610156132385750805b601f850160051c820191505b81811015611a9a57828155600101613244565b505050565b81516001600160401b0381111561327557613275612ab1565b613289816132838454612e09565b84613211565b602080601f8311600181146132be57600084156132a65750858301515b600019600386901b1c1916600185901b178555611a9a565b600085815260208120601f198616915b828110156132ed578886015182559484019460019091019084016132ce565b508582101561330b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206797fac4eb5d32670f241af735878638549434af3dd09b01a273c7677686e6e264736f6c63430008140033",
1111
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612d7080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612354565b6104b9565b60405161023991906123dd565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fe565b610a84565b61028e6102e63660046125a6565b610ab1565b61028e6102f936600461263e565b610b3d565b61028e610c8a565b61028e610314366004612672565b610cd0565b61032c6103273660046126c1565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c1565b610e5e565b61025561038a366004612354565b610e74565b600080516020612cdb833981519152546001600160601b031661032c565b61028e6103bb366004612793565b610fb4565b6102556103ce366004612354565b6110c7565b61028e6103e1366004612793565b611174565b61032c6103f43660046126c1565b6111f7565b61035161120d565b610409611344565b60405161023991906127b0565b610255610424366004612354565b61137c565b6102b7600080516020612cdb83398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c5565b61032c61047e3660046126c1565b611a31565b610441611a47565b61028e610499366004612354565b611abe565b6102b7600081565b61028e6104b4366004612354565b611b56565b6104c16122c0565b6104ce335b600036611bcd565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105019063200c173160e01b906004016127b0565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287d565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd3565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123dd565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c2565b905090565b6106e96122c0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e7565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287d565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287d565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a5565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec3565b610ac38287611b56565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612967565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a26565b600080516020612d1b8339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f04565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a61202b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123dd565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a5565b92915050565b6000610e69336104c6565b610de58260d361202b565b610e7c6122c0565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb890631e63cf4560e01b906004016127b0565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287d565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123dd565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a5565b6001600160601b0316815292915050565b610fbc611ec3565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061103890630a3888e560e31b906004016127b0565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287d565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122c0565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063f20236f360e01b906004016127b0565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287d565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612136565b6000611202336104c6565b610de582605061202b565b600080600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287d565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a5a565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfb833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122c0565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090637895d0ed60e01b906004016127b0565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287d565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cfb833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d390565b816000815181106114a3576114a3612a77565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114dc576114dc612a77565b6020026020010151602001819052506114f360d290565b8160018151811061150657611506612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154c5761154c612a77565b602002602001015160200181905250635c992fed60e01b8160018151811061157657611576612a77565b60200260200101516020015160008151811061159457611594612a77565b6001600160e01b0319909216602092830291909101909101526115b560d490565b816002815181106115c8576115c8612a77565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115ff576115ff612a77565b60200260200101516020018190525061161660dc90565b8160038151811061162957611629612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166f5761166f612a77565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169957611699612a77565b6020026020010151602001516000815181106116b7576116b7612a77565b6001600160e01b0319909216602092830291909101909101526116d8606e90565b816004815181106116eb576116eb612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173157611731612a77565b602002602001015160200181905250635d96628960e01b8160048151811061175b5761175b612a77565b60200260200101516020015160008151811061177957611779612a77565b6001600160e01b03199092166020928302919091019091015261179a608c90565b816005815181106117ad576117ad612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f3576117f3612a77565b602002602001015160200181905250637286e5e560e01b8160058151811061181d5761181d612a77565b60200260200101516020015160008151811061183b5761183b612a77565b6001600160e01b03199092166020928302919091019091015261185c607890565b8160068151811061186f5761186f612a77565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b6576118b6612a77565b602002602001015160200181905250638fbc2d8160e01b816006815181106118e0576118e0612a77565b6020026020010151602001516000815181106118fe576118fe612a77565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193557611935612a77565b60200260200101516020015160018151811061195357611953612a77565b6001600160e01b031990921660209283029190910190910152611974604690565b8160078151811061198757611987612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cd576119cd612a77565b60200260200101516020018190525063026bc43b60e01b816007815181106119f7576119f7612a77565b602002602001015160200151600081518110611a1557611a15612a77565b6001600160e01b03199092166020928302919091019091015290565b6000611a3c336104c6565b610de58260dc61202b565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a98565b611ac6611ec3565b611b4682836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2c91906128a5565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5e611ec3565b611b6781610fb4565b611b6f610c8a565b6001600160a01b038216611b965760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cdb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfb833981519152600080611c08611bea611429565b8730611bfa600460008a8c612ab5565b611c0391612adf565b612197565b9150915081611ccb5763ffffffff811615611ca857825460ff60a01b1916600160a01b178355611c36611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6593929190612b0f565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cdb6122c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d19573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d419190810190612b94565b6001600160a01b0385166080820152604081015190915060ff848116911614611d90576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dcc5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfe576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9d919061287d565b15611ebb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1b83398151915254600160401b900460ff16611efa57604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec3565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f375750825b90506000826001600160401b03166001148015611f535750303b155b905081158015611f61575080155b15611f7f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa957845460ff60401b1916600160401b1785555b60008087806020019051810190611fc09190612c57565b91509150611fcd816122a3565b611fd7828a611abe565b611fe763aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206f576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209b57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612113919061287d565b1561213157604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122069190612c86565b600060405180830381855afa9150503d8060008114612241576040519150601f19603f3d011682016040523d82523d6000602084013e612246565b606091505b50915091508115612298576040815110612278578080602001905181019061226e9190612ca2565b9094509250612298565b60208151106122985780806020019051810190612295919061287d565b93505b505094509492505050565b6122ab611ec3565b6110c4816122b7611ec3565b6110c481612136565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561231057600080fd5b81356001600160e01b03198116811461232857600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234f8161232f565b919050565b6000806040838503121561236757600080fd5b82356123728161232f565b915060208301356123828161232f565b809150509250929050565b60005b838110156123a8578181015183820152602001612390565b50506000910152565b600081518084526123c981602086016020860161238d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244660c08401826001600160a01b03169052565b5060c083015160e0808401526124606101008401826123b1565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234f81612468565b60ff811681146110c457600080fd5b803561234f81612488565b80151581146110c457600080fd5b803561234f816124a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f3576124f36124bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612521576125216124bb565b604052919050565b60006001600160401b03821115612542576125426124bb565b50601f01601f191660200190565b600082601f83011261256157600080fd5b813561257461256f82612529565b6124f9565b81815284602083860101111561258957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bf57600080fd5b86356125ca8161232f565b955060208701356125da81612468565b945060408701356125ea81612488565b935060608701356125fa816124a2565b9250608087013561260a8161232f565b915060a08701356001600160401b0381111561262557600080fd5b61263189828a01612550565b9150509295509295509295565b60006020828403121561265057600080fd5b81356001600160401b0381111561266657600080fd5b61246084828501612550565b6000806040838503121561268557600080fd5b82356126908161232f565b915060208301356001600160401b038111156126ab57600080fd5b6126b785828601612550565b9150509250929050565b6000602082840312156126d357600080fd5b81356001600160401b03808211156126ea57600080fd5b9083019060e082860312156126fe57600080fd5b6127066124d1565b61270f8361247d565b815261271d6020840161247d565b602082015261272e60408401612497565b604082015261273f606084016124b0565b606082015261275060808401612344565b608082015261276160a08401612344565b60a082015260c08301358281111561277857600080fd5b61278487828601612550565b60c08301525095945050505050565b6000602082840312156127a557600080fd5b81356123288161232f565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286357898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284e5783516001600160e01b0319168252928b019260019290920191908b0190612824565b50978a019795505050918701916001016127ed565b50919998505050505050505050565b805161234f816124a2565b60006020828403121561288f57600080fd5b8151612328816124a2565b805161234f81612468565b6000602082840312156128b757600080fd5b815161232881612468565b6000602082840312156128d457600080fd5b815162ffffff8116811461232857600080fd5b600181811c908216806128fb57607f821691505b60208210810361291b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213157600081815260208120601f850160051c810160208610156129485750805b601f850160051c820191505b81811015611ccb57828155600101612954565b81516001600160401b03811115612980576129806124bb565b6129948161298e84546128e7565b84612921565b602080601f8311600181146129c957600084156129b15750858301515b600019600386901b1c1916600185901b178555611ccb565b600085815260208120601f198616915b828110156129f8578886015182559484019460019091019084016129d9565b5085821015612a165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3857600080fd5b81516001600160401b038116811461232857600080fd5b805161234f8161232f565b600060208284031215612a6c57600080fd5b81516123288161232f565b634e487b7160e01b600052603260045260246000fd5b805161234f81612488565b600060208284031215612aaa57600080fd5b815161232881612488565b60008085851115612ac557600080fd5b83861115612ad257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b075780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b6057600080fd5b8151612b6e61256f82612529565b818152846020838601011115612b8357600080fd5b61246082602083016020870161238d565b600060208284031215612ba657600080fd5b81516001600160401b0380821115612bbd57600080fd5b9083019060e08286031215612bd157600080fd5b612bd96124d1565b612be28361289a565b8152612bf06020840161289a565b6020820152612c0160408401612a8d565b6040820152612c1260608401612872565b6060820152612c2360808401612a4f565b6080820152612c3460a08401612a4f565b60a082015260c083015182811115612c4b57600080fd5b61278487828601612b4f565b60008060408385031215612c6a57600080fd5b8251612c758161232f565b60208401519092506123828161232f565b60008251612c9881846020870161238d565b9190910192915050565b60008060408385031215612cb557600080fd5b8251612cc0816124a2565b602084015190925063ffffffff8116811461238257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220940b34c78eb07352021b38627d1690d2b589a29e696eeb65f217b0ceaef7004964736f6c63430008140033",
1112
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612354565b6104b9565b60405161023991906123dd565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fe565b610a84565b61028e6102e63660046125a6565b610ab1565b61028e6102f936600461263e565b610b3d565b61028e610c8a565b61028e610314366004612672565b610cd0565b61032c6103273660046126c1565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c1565b610e5e565b61025561038a366004612354565b610e74565b600080516020612cdb833981519152546001600160601b031661032c565b61028e6103bb366004612793565b610fb4565b6102556103ce366004612354565b6110c7565b61028e6103e1366004612793565b611174565b61032c6103f43660046126c1565b6111f7565b61035161120d565b610409611344565b60405161023991906127b0565b610255610424366004612354565b61137c565b6102b7600080516020612cdb83398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c5565b61032c61047e3660046126c1565b611a31565b610441611a47565b61028e610499366004612354565b611abe565b6102b7600081565b61028e6104b4366004612354565b611b56565b6104c16122c0565b6104ce335b600036611bcd565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105019063200c173160e01b906004016127b0565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287d565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd3565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123dd565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c2565b905090565b6106e96122c0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e7565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287d565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287d565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a5565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec3565b610ac38287611b56565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612967565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a26565b600080516020612d1b8339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f04565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a61202b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123dd565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a5565b92915050565b6000610e69336104c6565b610de58260d361202b565b610e7c6122c0565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb890631e63cf4560e01b906004016127b0565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287d565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123dd565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a5565b6001600160601b0316815292915050565b610fbc611ec3565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061103890630a3888e560e31b906004016127b0565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287d565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122c0565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063f20236f360e01b906004016127b0565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287d565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612136565b6000611202336104c6565b610de582605061202b565b600080600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287d565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a5a565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfb833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122c0565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090637895d0ed60e01b906004016127b0565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287d565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cfb833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d390565b816000815181106114a3576114a3612a77565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114dc576114dc612a77565b6020026020010151602001819052506114f360d290565b8160018151811061150657611506612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154c5761154c612a77565b602002602001015160200181905250635c992fed60e01b8160018151811061157657611576612a77565b60200260200101516020015160008151811061159457611594612a77565b6001600160e01b0319909216602092830291909101909101526115b560d490565b816002815181106115c8576115c8612a77565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115ff576115ff612a77565b60200260200101516020018190525061161660dc90565b8160038151811061162957611629612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166f5761166f612a77565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169957611699612a77565b6020026020010151602001516000815181106116b7576116b7612a77565b6001600160e01b0319909216602092830291909101909101526116d8606e90565b816004815181106116eb576116eb612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173157611731612a77565b602002602001015160200181905250635d96628960e01b8160048151811061175b5761175b612a77565b60200260200101516020015160008151811061177957611779612a77565b6001600160e01b03199092166020928302919091019091015261179a608c90565b816005815181106117ad576117ad612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f3576117f3612a77565b602002602001015160200181905250637286e5e560e01b8160058151811061181d5761181d612a77565b60200260200101516020015160008151811061183b5761183b612a77565b6001600160e01b03199092166020928302919091019091015261185c607890565b8160068151811061186f5761186f612a77565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b6576118b6612a77565b602002602001015160200181905250638fbc2d8160e01b816006815181106118e0576118e0612a77565b6020026020010151602001516000815181106118fe576118fe612a77565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193557611935612a77565b60200260200101516020015160018151811061195357611953612a77565b6001600160e01b031990921660209283029190910190910152611974604690565b8160078151811061198757611987612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cd576119cd612a77565b60200260200101516020018190525063026bc43b60e01b816007815181106119f7576119f7612a77565b602002602001015160200151600081518110611a1557611a15612a77565b6001600160e01b03199092166020928302919091019091015290565b6000611a3c336104c6565b610de58260dc61202b565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a98565b611ac6611ec3565b611b4682836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2c91906128a5565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5e611ec3565b611b6781610fb4565b611b6f610c8a565b6001600160a01b038216611b965760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cdb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfb833981519152600080611c08611bea611429565b8730611bfa600460008a8c612ab5565b611c0391612adf565b612197565b9150915081611ccb5763ffffffff811615611ca857825460ff60a01b1916600160a01b178355611c36611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6593929190612b0f565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cdb6122c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d19573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d419190810190612b94565b6001600160a01b0385166080820152604081015190915060ff848116911614611d90576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dcc5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfe576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9d919061287d565b15611ebb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1b83398151915254600160401b900460ff16611efa57604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec3565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f375750825b90506000826001600160401b03166001148015611f535750303b155b905081158015611f61575080155b15611f7f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa957845460ff60401b1916600160401b1785555b60008087806020019051810190611fc09190612c57565b91509150611fcd816122a3565b611fd7828a611abe565b611fe763aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206f576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209b57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612113919061287d565b1561213157604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122069190612c86565b600060405180830381855afa9150503d8060008114612241576040519150601f19603f3d011682016040523d82523d6000602084013e612246565b606091505b50915091508115612298576040815110612278578080602001905181019061226e9190612ca2565b9094509250612298565b60208151106122985780806020019051810190612295919061287d565b93505b505094509492505050565b6122ab611ec3565b6110c4816122b7611ec3565b6110c481612136565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561231057600080fd5b81356001600160e01b03198116811461232857600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234f8161232f565b919050565b6000806040838503121561236757600080fd5b82356123728161232f565b915060208301356123828161232f565b809150509250929050565b60005b838110156123a8578181015183820152602001612390565b50506000910152565b600081518084526123c981602086016020860161238d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244660c08401826001600160a01b03169052565b5060c083015160e0808401526124606101008401826123b1565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234f81612468565b60ff811681146110c457600080fd5b803561234f81612488565b80151581146110c457600080fd5b803561234f816124a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f3576124f36124bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612521576125216124bb565b604052919050565b60006001600160401b03821115612542576125426124bb565b50601f01601f191660200190565b600082601f83011261256157600080fd5b813561257461256f82612529565b6124f9565b81815284602083860101111561258957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bf57600080fd5b86356125ca8161232f565b955060208701356125da81612468565b945060408701356125ea81612488565b935060608701356125fa816124a2565b9250608087013561260a8161232f565b915060a08701356001600160401b0381111561262557600080fd5b61263189828a01612550565b9150509295509295509295565b60006020828403121561265057600080fd5b81356001600160401b0381111561266657600080fd5b61246084828501612550565b6000806040838503121561268557600080fd5b82356126908161232f565b915060208301356001600160401b038111156126ab57600080fd5b6126b785828601612550565b9150509250929050565b6000602082840312156126d357600080fd5b81356001600160401b03808211156126ea57600080fd5b9083019060e082860312156126fe57600080fd5b6127066124d1565b61270f8361247d565b815261271d6020840161247d565b602082015261272e60408401612497565b604082015261273f606084016124b0565b606082015261275060808401612344565b608082015261276160a08401612344565b60a082015260c08301358281111561277857600080fd5b61278487828601612550565b60c08301525095945050505050565b6000602082840312156127a557600080fd5b81356123288161232f565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286357898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284e5783516001600160e01b0319168252928b019260019290920191908b0190612824565b50978a019795505050918701916001016127ed565b50919998505050505050505050565b805161234f816124a2565b60006020828403121561288f57600080fd5b8151612328816124a2565b805161234f81612468565b6000602082840312156128b757600080fd5b815161232881612468565b6000602082840312156128d457600080fd5b815162ffffff8116811461232857600080fd5b600181811c908216806128fb57607f821691505b60208210810361291b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213157600081815260208120601f850160051c810160208610156129485750805b601f850160051c820191505b81811015611ccb57828155600101612954565b81516001600160401b03811115612980576129806124bb565b6129948161298e84546128e7565b84612921565b602080601f8311600181146129c957600084156129b15750858301515b600019600386901b1c1916600185901b178555611ccb565b600085815260208120601f198616915b828110156129f8578886015182559484019460019091019084016129d9565b5085821015612a165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3857600080fd5b81516001600160401b038116811461232857600080fd5b805161234f8161232f565b600060208284031215612a6c57600080fd5b81516123288161232f565b634e487b7160e01b600052603260045260246000fd5b805161234f81612488565b600060208284031215612aaa57600080fd5b815161232881612488565b60008085851115612ac557600080fd5b83861115612ad257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b075780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b6057600080fd5b8151612b6e61256f82612529565b818152846020838601011115612b8357600080fd5b61246082602083016020870161238d565b600060208284031215612ba657600080fd5b81516001600160401b0380821115612bbd57600080fd5b9083019060e08286031215612bd157600080fd5b612bd96124d1565b612be28361289a565b8152612bf06020840161289a565b6020820152612c0160408401612a8d565b6040820152612c1260608401612872565b6060820152612c2360808401612a4f565b6080820152612c3460a08401612a4f565b60a082015260c083015182811115612c4b57600080fd5b61278487828601612b4f565b60008060408385031215612c6a57600080fd5b8251612c758161232f565b60208401519092506123828161232f565b60008251612c9881846020870161238d565b9190910192915050565b60008060408385031215612cb557600080fd5b8251612cc0816124a2565b602084015190925063ffffffff8116811461238257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220940b34c78eb07352021b38627d1690d2b589a29e696eeb65f217b0ceaef7004964736f6c63430008140033",
1145
1113
  "linkReferences": {
1146
- "contracts/shared/ContractDeployerLib.sol": {
1147
- "ContractDeployerLib": [
1148
- {
1149
- "length": 20,
1150
- "start": 8934
1151
- },
1152
- {
1153
- "length": 20,
1154
- "start": 9066
1155
- }
1156
- ]
1157
- },
1158
- "contracts/types/Blocknumber.sol": {
1159
- "BlocknumberLib": [
1160
- {
1161
- "length": 20,
1162
- "start": 3560
1163
- }
1164
- ]
1165
- },
1166
1114
  "contracts/types/NftId.sol": {
1167
1115
  "NftIdLib": [
1168
1116
  {
1169
1117
  "length": 20,
1170
- "start": 2976
1118
+ "start": 2456
1171
1119
  },
1172
1120
  {
1173
1121
  "length": 20,
1174
- "start": 5182
1175
- }
1176
- ]
1177
- },
1178
- "contracts/types/Timestamp.sol": {
1179
- "TimestampLib": [
1180
- {
1181
- "length": 20,
1182
- "start": 8290
1122
+ "start": 4905
1183
1123
  }
1184
1124
  ]
1185
1125
  },
@@ -1187,57 +1127,31 @@
1187
1127
  "VersionLib": [
1188
1128
  {
1189
1129
  "length": 20,
1190
- "start": 2498
1130
+ "start": 1892
1191
1131
  },
1192
1132
  {
1193
1133
  "length": 20,
1194
- "start": 5654
1195
- },
1134
+ "start": 3109
1135
+ }
1136
+ ],
1137
+ "VersionPartLib": [
1196
1138
  {
1197
1139
  "length": 20,
1198
- "start": 6310
1140
+ "start": 6982
1199
1141
  }
1200
1142
  ]
1201
1143
  }
1202
1144
  },
1203
1145
  "deployedLinkReferences": {
1204
- "contracts/shared/ContractDeployerLib.sol": {
1205
- "ContractDeployerLib": [
1206
- {
1207
- "length": 20,
1208
- "start": 8626
1209
- },
1210
- {
1211
- "length": 20,
1212
- "start": 8758
1213
- }
1214
- ]
1215
- },
1216
- "contracts/types/Blocknumber.sol": {
1217
- "BlocknumberLib": [
1218
- {
1219
- "length": 20,
1220
- "start": 3252
1221
- }
1222
- ]
1223
- },
1224
1146
  "contracts/types/NftId.sol": {
1225
1147
  "NftIdLib": [
1226
1148
  {
1227
1149
  "length": 20,
1228
- "start": 2668
1150
+ "start": 2226
1229
1151
  },
1230
1152
  {
1231
1153
  "length": 20,
1232
- "start": 4874
1233
- }
1234
- ]
1235
- },
1236
- "contracts/types/Timestamp.sol": {
1237
- "TimestampLib": [
1238
- {
1239
- "length": 20,
1240
- "start": 7982
1154
+ "start": 4675
1241
1155
  }
1242
1156
  ]
1243
1157
  },
@@ -1245,15 +1159,17 @@
1245
1159
  "VersionLib": [
1246
1160
  {
1247
1161
  "length": 20,
1248
- "start": 2190
1162
+ "start": 1662
1249
1163
  },
1250
1164
  {
1251
1165
  "length": 20,
1252
- "start": 5346
1253
- },
1166
+ "start": 2879
1167
+ }
1168
+ ],
1169
+ "VersionPartLib": [
1254
1170
  {
1255
1171
  "length": 20,
1256
- "start": 6002
1172
+ "start": 6752
1257
1173
  }
1258
1174
  ]
1259
1175
  }