@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e20063b-144

Sign up to get free protection for your applications and to get access to all the features.
Files changed (458) hide show
  1. package/README.md +167 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +978 -190
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +284 -147
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +816 -24
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +883 -127
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +656 -33
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +925 -265
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +712 -159
  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/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1803 -1132
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2094 -1152
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1403 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1140 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -0
  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/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +250 -187
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +67 -245
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IComponents.sol/IComponents.json} +2 -2
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  57. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  62. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  63. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  64. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  65. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
  67. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
  69. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
  71. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  73. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
  75. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  77. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1372 -228
  79. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  81. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
  85. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +327 -191
  87. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  89. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
  91. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +674 -190
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +300 -528
  105. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  115. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  117. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -314
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +312 -132
  123. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  125. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  132. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  136. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  137. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  138. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  139. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +102 -68
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  166. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -198
  168. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  173. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  175. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
  177. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  179. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  204. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  206. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  208. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +51 -7
  210. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  212. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  214. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  218. package/contracts/components/Component.sol +253 -0
  219. package/contracts/components/Distribution.sol +208 -79
  220. package/contracts/components/IComponent.sol +76 -0
  221. package/contracts/components/IDistributionComponent.sol +43 -18
  222. package/contracts/components/IPoolComponent.sol +88 -39
  223. package/contracts/components/IProductComponent.sol +12 -9
  224. package/contracts/components/Pool.sol +221 -165
  225. package/contracts/components/Product.sol +250 -178
  226. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  227. package/contracts/instance/BundleManager.sol +126 -0
  228. package/contracts/instance/Cloneable.sol +51 -0
  229. package/contracts/instance/IInstance.sol +91 -41
  230. package/contracts/instance/IInstanceService.sol +68 -0
  231. package/contracts/instance/Instance.sol +293 -66
  232. package/contracts/instance/InstanceAccessManager.sol +527 -0
  233. package/contracts/instance/InstanceReader.sol +317 -0
  234. package/contracts/instance/InstanceService.sol +478 -0
  235. package/contracts/instance/InstanceServiceManager.sol +54 -0
  236. package/contracts/instance/ObjectManager.sol +82 -0
  237. package/contracts/instance/base/ComponentService.sol +121 -0
  238. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  239. package/contracts/instance/base/ILifecycle.sol +3 -3
  240. package/contracts/instance/base/KeyValueStore.sol +60 -41
  241. package/contracts/instance/base/Lifecycle.sol +24 -7
  242. package/contracts/instance/module/IAccess.sol +54 -0
  243. package/contracts/instance/module/IBundle.sol +23 -0
  244. package/contracts/instance/module/IComponents.sol +41 -0
  245. package/contracts/instance/module/IDistribution.sol +41 -0
  246. package/contracts/instance/module/IPolicy.sol +77 -0
  247. package/contracts/instance/module/IRisk.sol +11 -0
  248. package/contracts/instance/module/ISetup.sol +33 -0
  249. package/contracts/instance/module/ITreasury.sol +23 -0
  250. package/contracts/instance/service/ApplicationService.sol +355 -0
  251. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  252. package/contracts/instance/service/BundleService.sol +436 -0
  253. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  254. package/contracts/instance/service/ClaimService.sol +239 -0
  255. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  256. package/contracts/instance/service/DistributionService.sol +399 -22
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +78 -0
  259. package/contracts/instance/service/IBundleService.sol +96 -0
  260. package/contracts/instance/service/IClaimService.sol +92 -0
  261. package/contracts/instance/service/IDistributionService.sol +88 -1
  262. package/contracts/instance/service/IPolicyService.sol +137 -0
  263. package/contracts/instance/service/IPoolService.sol +80 -18
  264. package/contracts/instance/service/IProductService.sol +9 -76
  265. package/contracts/instance/service/PolicyService.sol +541 -0
  266. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  267. package/contracts/instance/service/PoolService.sol +248 -94
  268. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  269. package/contracts/instance/service/ProductService.sol +133 -433
  270. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  271. package/contracts/registry/ChainNft.sol +47 -24
  272. package/contracts/registry/IRegistry.sol +52 -8
  273. package/contracts/registry/IRegistryService.sol +53 -20
  274. package/contracts/registry/ITransferInterceptor.sol +1 -0
  275. package/contracts/registry/Registry.sol +277 -236
  276. package/contracts/registry/RegistryAccessManager.sol +216 -0
  277. package/contracts/registry/RegistryService.sol +114 -273
  278. package/contracts/registry/RegistryServiceManager.sol +24 -25
  279. package/contracts/registry/ReleaseManager.sol +324 -0
  280. package/contracts/registry/TokenRegistry.sol +116 -0
  281. package/contracts/shared/ERC165.sol +14 -8
  282. package/contracts/shared/INftOwnable.sol +11 -10
  283. package/contracts/shared/IPolicyHolder.sol +26 -0
  284. package/contracts/shared/IRegisterable.sol +4 -6
  285. package/contracts/shared/IRegistryLinked.sol +12 -0
  286. package/contracts/shared/IService.sol +16 -0
  287. package/contracts/shared/IVersionable.sol +4 -47
  288. package/contracts/shared/NftOwnable.sol +67 -83
  289. package/contracts/shared/PolicyHolder.sol +81 -0
  290. package/contracts/shared/ProxyManager.sol +100 -25
  291. package/contracts/shared/Registerable.sol +16 -31
  292. package/contracts/shared/RegistryLinked.sol +48 -0
  293. package/contracts/shared/Service.sol +72 -0
  294. package/contracts/shared/TokenHandler.sol +33 -0
  295. package/contracts/shared/Versionable.sol +4 -92
  296. package/contracts/test/TestRegisterable.sol +1 -1
  297. package/contracts/test/TestRoleId.sol +1 -1
  298. package/contracts/test/TestService.sol +6 -7
  299. package/contracts/types/Amount.sol +65 -0
  300. package/contracts/types/Blocknumber.sol +1 -0
  301. package/contracts/types/ClaimId.sol +75 -0
  302. package/contracts/types/DistributorType.sol +55 -0
  303. package/contracts/types/Fee.sol +13 -5
  304. package/contracts/types/Key32.sol +8 -3
  305. package/contracts/types/NftId.sol +8 -0
  306. package/contracts/types/NftIdSet.sol +26 -24
  307. package/contracts/types/NumberId.sol +52 -0
  308. package/contracts/types/ObjectType.sol +41 -15
  309. package/contracts/types/PayoutId.sol +82 -0
  310. package/contracts/types/Referral.sol +89 -0
  311. package/contracts/types/RoleId.sol +67 -15
  312. package/contracts/types/Seconds.sol +54 -0
  313. package/contracts/types/StateId.sol +12 -3
  314. package/contracts/types/Timestamp.sol +22 -13
  315. package/contracts/types/UFixed.sol +1 -0
  316. package/contracts/types/Version.sol +5 -1
  317. package/package.json +3 -3
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  337. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  354. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  355. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  356. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  357. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  359. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  360. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
  361. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  362. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  363. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  366. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  369. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  371. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  373. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  376. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  379. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  382. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  384. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  387. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  389. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  392. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  394. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  397. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  399. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  401. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  403. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  404. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  405. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  406. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  408. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  409. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  410. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  411. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  412. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  413. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  414. package/contracts/components/BaseComponent.sol +0 -79
  415. package/contracts/components/IBaseComponent.sol +0 -19
  416. package/contracts/experiment/errors/Require.sol +0 -38
  417. package/contracts/experiment/errors/Revert.sol +0 -44
  418. package/contracts/experiment/inheritance/A.sol +0 -53
  419. package/contracts/experiment/inheritance/B.sol +0 -28
  420. package/contracts/experiment/inheritance/C.sol +0 -34
  421. package/contracts/experiment/inheritance/IA.sol +0 -13
  422. package/contracts/experiment/inheritance/IB.sol +0 -10
  423. package/contracts/experiment/inheritance/IC.sol +0 -12
  424. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  425. package/contracts/experiment/statemachine/ISM.sol +0 -25
  426. package/contracts/experiment/statemachine/SM.sol +0 -57
  427. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  428. package/contracts/experiment/types/TypeA.sol +0 -47
  429. package/contracts/experiment/types/TypeB.sol +0 -29
  430. package/contracts/instance/IInstanceLinked.sol +0 -8
  431. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  432. package/contracts/instance/base/IInstanceBase.sol +0 -23
  433. package/contracts/instance/base/IService.sol +0 -15
  434. package/contracts/instance/base/InstanceBase.sol +0 -89
  435. package/contracts/instance/base/ModuleBase.sol +0 -57
  436. package/contracts/instance/base/ServiceBase.sol +0 -44
  437. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  438. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  439. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  440. package/contracts/instance/module/component/IComponent.sol +0 -28
  441. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  442. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  443. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  444. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  445. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  446. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  447. package/contracts/instance/module/risk/IRisk.sol +0 -26
  448. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  449. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  450. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  451. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  452. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  453. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  454. package/contracts/registry/IChainNft.sol +0 -22
  455. package/contracts/test/TestDistribution.sol +0 -22
  456. package/contracts/test/TestPool.sol +0 -27
  457. package/contracts/test/TestProduct.sol +0 -74
  458. package/contracts/types/ReferralId.sol +0 -48
@@ -43,18 +43,13 @@
43
43
  },
44
44
  {
45
45
  "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "registry",
49
- "type": "address"
50
- },
51
46
  {
52
47
  "internalType": "NftId",
53
48
  "name": "nftId",
54
49
  "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorNftOwnableAlreadyLinked",
58
53
  "type": "error"
59
54
  },
60
55
  {
@@ -65,29 +60,23 @@
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorNftOwnableContractNotRegistered",
69
64
  "type": "error"
70
65
  },
71
66
  {
72
- "inputs": [
73
- {
74
- "internalType": "address",
75
- "name": "account",
76
- "type": "address"
77
- }
78
- ],
79
- "name": "ErrorNotOwner",
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
80
69
  "type": "error"
81
70
  },
82
71
  {
83
72
  "inputs": [
84
73
  {
85
74
  "internalType": "address",
86
- "name": "registryAddress",
75
+ "name": "account",
87
76
  "type": "address"
88
77
  }
89
78
  ],
90
- "name": "ErrorNotRegistry",
79
+ "name": "ErrorNftOwnableNotOwner",
91
80
  "type": "error"
92
81
  },
93
82
  {
@@ -98,28 +87,7 @@
98
87
  "type": "address"
99
88
  }
100
89
  ],
101
- "name": "ErrorRegisterableNotRegistry",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "ErrorRegistryAddressZero",
107
- "type": "error"
108
- },
109
- {
110
- "inputs": [
111
- {
112
- "internalType": "address",
113
- "name": "registry",
114
- "type": "address"
115
- }
116
- ],
117
- "name": "ErrorRegistryAlreadyInitialized",
118
- "type": "error"
119
- },
120
- {
121
- "inputs": [],
122
- "name": "ErrorRegistryNotInitialized",
90
+ "name": "ErrorNotRegistry",
123
91
  "type": "error"
124
92
  },
125
93
  {
@@ -195,11 +163,6 @@
195
163
  "name": "NotService",
196
164
  "type": "error"
197
165
  },
198
- {
199
- "inputs": [],
200
- "name": "NotToken",
201
- "type": "error"
202
- },
203
166
  {
204
167
  "inputs": [],
205
168
  "name": "RegisterableOwnerIsRegistered",
@@ -258,38 +221,26 @@
258
221
  "type": "event"
259
222
  },
260
223
  {
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
- },
224
+ "inputs": [],
225
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
226
+ "outputs": [
275
227
  {
276
- "indexed": false,
277
- "internalType": "address",
278
- "name": "activatedBy",
279
- "type": "address"
228
+ "internalType": "bytes32",
229
+ "name": "",
230
+ "type": "bytes32"
280
231
  }
281
232
  ],
282
- "name": "LogVersionableInitialized",
283
- "type": "event"
233
+ "stateMutability": "view",
234
+ "type": "function"
284
235
  },
285
236
  {
286
237
  "inputs": [],
287
- "name": "NAME",
238
+ "name": "REGISTERABLE_LOCATION_V1",
288
239
  "outputs": [
289
240
  {
290
- "internalType": "string",
241
+ "internalType": "bytes32",
291
242
  "name": "",
292
- "type": "string"
243
+ "type": "bytes32"
293
244
  }
294
245
  ],
295
246
  "stateMutability": "view",
@@ -297,12 +248,12 @@
297
248
  },
298
249
  {
299
250
  "inputs": [],
300
- "name": "NFT_LOCK_ADDRESS",
251
+ "name": "REGISTRY_CREATION_CODE_HASH",
301
252
  "outputs": [
302
253
  {
303
- "internalType": "address",
254
+ "internalType": "bytes32",
304
255
  "name": "",
305
- "type": "address"
256
+ "type": "bytes32"
306
257
  }
307
258
  ],
308
259
  "stateMutability": "view",
@@ -310,12 +261,12 @@
310
261
  },
311
262
  {
312
263
  "inputs": [],
313
- "name": "REGISTERABLE_LOCATION_V1",
264
+ "name": "authority",
314
265
  "outputs": [
315
266
  {
316
- "internalType": "bytes32",
267
+ "internalType": "address",
317
268
  "name": "",
318
- "type": "bytes32"
269
+ "type": "address"
319
270
  }
320
271
  ],
321
272
  "stateMutability": "view",
@@ -323,28 +274,40 @@
323
274
  },
324
275
  {
325
276
  "inputs": [],
326
- "name": "REGISTRY_CREATION_CODE_HASH",
277
+ "name": "getDomain",
327
278
  "outputs": [
328
279
  {
329
- "internalType": "bytes32",
330
- "name": "",
331
- "type": "bytes32"
280
+ "internalType": "ObjectType",
281
+ "name": "serviceDomain",
282
+ "type": "uint8"
332
283
  }
333
284
  ],
334
- "stateMutability": "view",
285
+ "stateMutability": "pure",
335
286
  "type": "function"
336
287
  },
337
288
  {
338
289
  "inputs": [],
339
- "name": "authority",
290
+ "name": "getFunctionConfigs",
340
291
  "outputs": [
341
292
  {
342
- "internalType": "address",
343
- "name": "",
344
- "type": "address"
293
+ "components": [
294
+ {
295
+ "internalType": "ObjectType",
296
+ "name": "serviceDomain",
297
+ "type": "uint8"
298
+ },
299
+ {
300
+ "internalType": "bytes4[]",
301
+ "name": "selectors",
302
+ "type": "bytes4[]"
303
+ }
304
+ ],
305
+ "internalType": "struct IRegistryService.FunctionConfig[]",
306
+ "name": "config",
307
+ "type": "tuple[]"
345
308
  }
346
309
  ],
347
- "stateMutability": "view",
310
+ "stateMutability": "pure",
348
311
  "type": "function"
349
312
  },
350
313
  {
@@ -390,57 +353,13 @@
390
353
  }
391
354
  ],
392
355
  "internalType": "struct IRegistry.ObjectInfo",
393
- "name": "",
356
+ "name": "info",
394
357
  "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
358
  }
414
359
  ],
415
360
  "stateMutability": "view",
416
361
  "type": "function"
417
362
  },
418
- {
419
- "inputs": [],
420
- "name": "getMajorVersion",
421
- "outputs": [
422
- {
423
- "internalType": "VersionPart",
424
- "name": "majorVersion",
425
- "type": "uint8"
426
- }
427
- ],
428
- "stateMutability": "view",
429
- "type": "function"
430
- },
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
363
  {
445
364
  "inputs": [],
446
365
  "name": "getNftId",
@@ -482,25 +401,19 @@
482
401
  },
483
402
  {
484
403
  "inputs": [],
485
- "name": "getVersion",
404
+ "name": "getRegistryAddress",
486
405
  "outputs": [
487
406
  {
488
- "internalType": "Version",
407
+ "internalType": "address",
489
408
  "name": "",
490
- "type": "uint24"
409
+ "type": "address"
491
410
  }
492
411
  ],
493
- "stateMutability": "pure",
412
+ "stateMutability": "view",
494
413
  "type": "function"
495
414
  },
496
415
  {
497
- "inputs": [
498
- {
499
- "internalType": "uint256",
500
- "name": "idx",
501
- "type": "uint256"
502
- }
503
- ],
416
+ "inputs": [],
504
417
  "name": "getVersion",
505
418
  "outputs": [
506
419
  {
@@ -509,75 +422,110 @@
509
422
  "type": "uint24"
510
423
  }
511
424
  ],
512
- "stateMutability": "view",
425
+ "stateMutability": "pure",
513
426
  "type": "function"
514
427
  },
515
428
  {
516
429
  "inputs": [],
517
- "name": "getVersionCount",
518
- "outputs": [
430
+ "name": "initializeERC165",
431
+ "outputs": [],
432
+ "stateMutability": "nonpayable",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [
519
437
  {
520
- "internalType": "uint256",
521
- "name": "",
522
- "type": "uint256"
438
+ "internalType": "address",
439
+ "name": "initialOwner",
440
+ "type": "address"
441
+ },
442
+ {
443
+ "internalType": "address",
444
+ "name": "registryAddress",
445
+ "type": "address"
523
446
  }
524
447
  ],
525
- "stateMutability": "view",
448
+ "name": "initializeNftOwnable",
449
+ "outputs": [],
450
+ "stateMutability": "nonpayable",
526
451
  "type": "function"
527
452
  },
528
453
  {
529
454
  "inputs": [
530
455
  {
531
- "internalType": "Version",
532
- "name": "_version",
533
- "type": "uint24"
456
+ "internalType": "address",
457
+ "name": "registryAddress",
458
+ "type": "address"
459
+ },
460
+ {
461
+ "internalType": "NftId",
462
+ "name": "parentNftId",
463
+ "type": "uint96"
464
+ },
465
+ {
466
+ "internalType": "ObjectType",
467
+ "name": "objectType",
468
+ "type": "uint8"
469
+ },
470
+ {
471
+ "internalType": "bool",
472
+ "name": "isInterceptor",
473
+ "type": "bool"
474
+ },
475
+ {
476
+ "internalType": "address",
477
+ "name": "initialOwner",
478
+ "type": "address"
479
+ },
480
+ {
481
+ "internalType": "bytes",
482
+ "name": "registryData",
483
+ "type": "bytes"
534
484
  }
535
485
  ],
536
- "name": "getVersionInfo",
537
- "outputs": [
486
+ "name": "initializeRegisterable",
487
+ "outputs": [],
488
+ "stateMutability": "nonpayable",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [
538
493
  {
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"
494
+ "internalType": "address",
495
+ "name": "registryAddress",
496
+ "type": "address"
569
497
  }
570
498
  ],
571
- "stateMutability": "view",
499
+ "name": "initializeRegistryLinked",
500
+ "outputs": [],
501
+ "stateMutability": "nonpayable",
572
502
  "type": "function"
573
503
  },
574
504
  {
575
505
  "inputs": [
576
506
  {
577
507
  "internalType": "address",
578
- "name": "implementation",
508
+ "name": "registry",
509
+ "type": "address"
510
+ },
511
+ {
512
+ "internalType": "address",
513
+ "name": "authority",
579
514
  "type": "address"
580
515
  },
516
+ {
517
+ "internalType": "address",
518
+ "name": "initialOwner",
519
+ "type": "address"
520
+ }
521
+ ],
522
+ "name": "initializeService",
523
+ "outputs": [],
524
+ "stateMutability": "nonpayable",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [
581
529
  {
582
530
  "internalType": "address",
583
531
  "name": "activatedBy",
@@ -589,7 +537,7 @@
589
537
  "type": "bytes"
590
538
  }
591
539
  ],
592
- "name": "initialize",
540
+ "name": "initializeVersionable",
593
541
  "outputs": [],
594
542
  "stateMutability": "nonpayable",
595
543
  "type": "function"
@@ -607,25 +555,6 @@
607
555
  "stateMutability": "view",
608
556
  "type": "function"
609
557
  },
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
558
  {
630
559
  "inputs": [],
631
560
  "name": "linkToRegisteredNftId",
@@ -692,7 +621,7 @@
692
621
  {
693
622
  "inputs": [
694
623
  {
695
- "internalType": "contract IBaseComponent",
624
+ "internalType": "contract IComponent",
696
625
  "name": "distribution",
697
626
  "type": "address"
698
627
  },
@@ -745,11 +674,62 @@
745
674
  "internalType": "struct IRegistry.ObjectInfo",
746
675
  "name": "info",
747
676
  "type": "tuple"
748
- },
677
+ }
678
+ ],
679
+ "stateMutability": "nonpayable",
680
+ "type": "function"
681
+ },
682
+ {
683
+ "inputs": [
749
684
  {
750
- "internalType": "bytes",
751
- "name": "data",
752
- "type": "bytes"
685
+ "components": [
686
+ {
687
+ "internalType": "NftId",
688
+ "name": "nftId",
689
+ "type": "uint96"
690
+ },
691
+ {
692
+ "internalType": "NftId",
693
+ "name": "parentNftId",
694
+ "type": "uint96"
695
+ },
696
+ {
697
+ "internalType": "ObjectType",
698
+ "name": "objectType",
699
+ "type": "uint8"
700
+ },
701
+ {
702
+ "internalType": "bool",
703
+ "name": "isInterceptor",
704
+ "type": "bool"
705
+ },
706
+ {
707
+ "internalType": "address",
708
+ "name": "objectAddress",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "internalType": "address",
713
+ "name": "initialOwner",
714
+ "type": "address"
715
+ },
716
+ {
717
+ "internalType": "bytes",
718
+ "name": "data",
719
+ "type": "bytes"
720
+ }
721
+ ],
722
+ "internalType": "struct IRegistry.ObjectInfo",
723
+ "name": "info",
724
+ "type": "tuple"
725
+ }
726
+ ],
727
+ "name": "registerDistributor",
728
+ "outputs": [
729
+ {
730
+ "internalType": "NftId",
731
+ "name": "nftId",
732
+ "type": "uint96"
753
733
  }
754
734
  ],
755
735
  "stateMutability": "nonpayable",
@@ -761,6 +741,11 @@
761
741
  "internalType": "contract IRegisterable",
762
742
  "name": "instance",
763
743
  "type": "address"
744
+ },
745
+ {
746
+ "internalType": "address",
747
+ "name": "owner",
748
+ "type": "address"
764
749
  }
765
750
  ],
766
751
  "name": "registerInstance",
@@ -806,13 +791,21 @@
806
791
  "internalType": "struct IRegistry.ObjectInfo",
807
792
  "name": "info",
808
793
  "type": "tuple"
809
- },
794
+ }
795
+ ],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
810
801
  {
811
- "internalType": "bytes",
812
- "name": "data",
813
- "type": "bytes"
802
+ "internalType": "bytes4",
803
+ "name": "interfaceId",
804
+ "type": "bytes4"
814
805
  }
815
806
  ],
807
+ "name": "registerInterface",
808
+ "outputs": [],
816
809
  "stateMutability": "nonpayable",
817
810
  "type": "function"
818
811
  },
@@ -875,7 +868,7 @@
875
868
  {
876
869
  "inputs": [
877
870
  {
878
- "internalType": "contract IBaseComponent",
871
+ "internalType": "contract IComponent",
879
872
  "name": "pool",
880
873
  "type": "address"
881
874
  },
@@ -928,11 +921,6 @@
928
921
  "internalType": "struct IRegistry.ObjectInfo",
929
922
  "name": "info",
930
923
  "type": "tuple"
931
- },
932
- {
933
- "internalType": "bytes",
934
- "name": "data",
935
- "type": "bytes"
936
924
  }
937
925
  ],
938
926
  "stateMutability": "nonpayable",
@@ -941,7 +929,7 @@
941
929
  {
942
930
  "inputs": [
943
931
  {
944
- "internalType": "contract IBaseComponent",
932
+ "internalType": "contract IComponent",
945
933
  "name": "product",
946
934
  "type": "address"
947
935
  },
@@ -994,11 +982,6 @@
994
982
  "internalType": "struct IRegistry.ObjectInfo",
995
983
  "name": "info",
996
984
  "type": "tuple"
997
- },
998
- {
999
- "internalType": "bytes",
1000
- "name": "data",
1001
- "type": "bytes"
1002
985
  }
1003
986
  ],
1004
987
  "stateMutability": "nonpayable",
@@ -1006,14 +989,6 @@
1006
989
  },
1007
990
  {
1008
991
  "inputs": [
1009
- {
1010
- "internalType": "contract IService",
1011
- "name": "service",
1012
- "type": "address"
1013
- }
1014
- ],
1015
- "name": "registerService",
1016
- "outputs": [
1017
992
  {
1018
993
  "components": [
1019
994
  {
@@ -1055,25 +1030,9 @@
1055
1030
  "internalType": "struct IRegistry.ObjectInfo",
1056
1031
  "name": "info",
1057
1032
  "type": "tuple"
1058
- },
1059
- {
1060
- "internalType": "bytes",
1061
- "name": "data",
1062
- "type": "bytes"
1063
1033
  }
1064
1034
  ],
1065
- "stateMutability": "nonpayable",
1066
- "type": "function"
1067
- },
1068
- {
1069
- "inputs": [
1070
- {
1071
- "internalType": "address",
1072
- "name": "tokenAddress",
1073
- "type": "address"
1074
- }
1075
- ],
1076
- "name": "registerToken",
1035
+ "name": "registerStake",
1077
1036
  "outputs": [
1078
1037
  {
1079
1038
  "internalType": "NftId",
@@ -1118,60 +1077,30 @@
1118
1077
  },
1119
1078
  {
1120
1079
  "inputs": [
1121
- {
1122
- "internalType": "address",
1123
- "name": "implementation",
1124
- "type": "address"
1125
- },
1126
- {
1127
- "internalType": "address",
1128
- "name": "activatedBy",
1129
- "type": "address"
1130
- },
1131
1080
  {
1132
1081
  "internalType": "bytes",
1133
1082
  "name": "data",
1134
1083
  "type": "bytes"
1135
1084
  }
1136
1085
  ],
1137
- "name": "upgrade",
1086
+ "name": "upgradeVersionable",
1138
1087
  "outputs": [],
1139
1088
  "stateMutability": "nonpayable",
1140
1089
  "type": "function"
1141
1090
  }
1142
1091
  ],
1143
- "bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61338680620001346000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063834af1531161010f578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105c4578063e285c9c4146105d7578063ed841d0c146105df578063fdd9ec7d146105e757600080fd5b8063b88da7591461057c578063bf7e214f1461058f578063c2bf08c814610597578063cde749f4146105aa57600080fd5b8063946dfcfe116100de578063946dfcfe146104f4578063a3f4df7e1461051b578063a745e3df14610549578063b3c650151461055c57600080fd5b8063834af153146104b1578063893d20e8146104c45780638fb36037146104cc5780638fbc2d81146104e157600080fd5b80634d459c90116101875780635d966289116101565780635d96628914610460578063644c45e0146104735780637286e5e51461048b5780637a9e5e4b1461049e57600080fd5b80634d459c90146102fc5780634f421333146104155780635ab1bd53146104285780635c992fed1461044d57600080fd5b80630fec111c116101c35780630fec111c14610273578063138461e01461028957806317d7de7c146102935780631eff4b22146102c757600080fd5b806301ffc9a7146101ea57806309824a801461022c5780630d8e6e2c14610257575b600080fd5b6102176101f8366004612911565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612960565b6105fa565b6040516001600160601b039091168152602001610223565b61025f610867565b60405162ffffff9091168152602001610223565b61027b6108f1565b604051610223929190612a3e565b610291610a44565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516102239190612a6c565b6102ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6103b861030a366004612a90565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061333183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b610217610423366004612a90565b610c66565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61023f61045b366004612beb565b610d19565b61027b61046e366004612cbd565b610e1c565b600154600160a01b90046001600160601b031661023f565b61027b610499366004612cbd565b611021565b6102916104ac366004612960565b6110d0565b61027b6104bf366004612960565b611157565b6104356112df565b6104d46113f8565b6040516102239190612cf6565b61027b6104ef366004612cbd565b611431565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ee565b6102ba6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b610291610557366004612d0b565b6114e0565b61056461163a565b6040516001600160401b039091168152602001610223565b61025f61058a366004612d6c565b61165b565b6104356116ac565b61023f6105a5366004612beb565b6116c8565b6105b261174d565b60405160ff9091168152602001610223565b6102916105d2366004612d0b565b6117d0565b610435600181565b6102ee600081565b61027b6105f5366004612960565b6118d9565b60006001600160a01b0382163303610625576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b0382163b15806106485750610648826303fb044760e21b611a53565b156106665760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612d90565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa158015610727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074b9190612db8565b6001600160a01b0316336001600160a01b03161461077c5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610791600090565b6001600160601b03168152602001836001600160601b031681526020016107b6601e90565b60ff168152600060208083018290526001600160a01b0380891660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061081c908490600401612dd5565b6020604051808303816000875af115801561083b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085f9190612d90565b949350505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612de8565b905090565b6108f96128d3565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806109456001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161098d6112df565b6001600160a01b031681526020018260010180546109aa90612e05565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690612e05565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190612e4a565b15610b11576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610b3a5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba79190612e4a565b610bcf576040516372657a5160e01b81526001600160a01b0382166004820152602401610b08565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190612d90565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061333183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190612e67565b1192915050565b6000610d28335b600036611a6f565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610d71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d959190612d90565b9050610da28360d2611b75565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610dd2908690600401612dd5565b6020604051808303816000875af1158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190612d90565b9392505050565b610e246128d3565b6060610e2f33610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610e62906379fc0e7160e11b90600401612cf6565b602060405180830381865afa158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190612e4a565b610ec057604051637a71998760e01b815260040160405180910390fd5b610ecd84606e5b85611c72565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f429190612d90565b6001546040516352efcf2760e11b81529192506001600160a01b03169063a5df9e4e90610f73908690600401612dd5565b6020604051808303816000875af1158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190612d90565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0387169163138461e091600480830192600092919082900301818387803b15801561100157600080fd5b505af1158015611015573d6000803e3d6000fd5b50505050509250929050565b6110296128d3565b606061103433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061106790638165cf9760e01b90600401612cf6565b602060405180830381865afa158015611084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a89190612e4a565b6110c557604051636f61f64160e01b815260040160405180910390fd5b610ecd84608c610ec7565b336110d96116ac565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b0382166004820152602401610b08565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b08565b61115382611e67565b5050565b61115f6128d3565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061119590630de7806f60e41b90600401612cf6565b602060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d69190612e4a565b6111f357604051636795c76360e01b815260040160405180910390fd5b6112008360325b33611c72565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90611234908590600401612dd5565b6020604051808303816000875af1158015611253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112779190612d90565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190612e4a565b156113e857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612db8565b506002546001600160a01b031690565b6000805160206132f1833981519152805460009190600160a01b900460ff1661142257600061142b565b638fb3603760e01b5b91505090565b6114396128d3565b606061144433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906114779063b4d7c7a360e01b90600401612cf6565b602060405180830381865afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612e4a565b6114d5576040516308707e3160e41b815260040160405180910390fd5b610ecd846078610ec7565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611502610867565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612e80565b6000805160206133118339815191528054600160401b900460ff1680611599575080546001600160401b03808416911610155b156115b75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556115e28585611ec8565b6115eb83612103565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006108ec600080516020613311833981519152546001600160401b031690565b6000600080516020613331833981519152600101828154811061168057611680612ea9565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000805160206132f1833981519152546001600160a01b031690565b60006116d333610d20565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117409190612d90565b9050610da28360dc611b75565b6000611757610867565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156117ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612eca565b6000805160206133118339815191528054600160401b810460ff1615906001600160401b03166000811580156118035750825b90506000826001600160401b0316600114801561181f5750303b155b90508115801561182d575080155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561187557845460ff60401b1916600160401b1785555b61187f8888611ec8565b611889878761210b565b83156118cf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6118e16128d3565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061191790631b4612f160e31b90600401612cf6565b602060405180830381865afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612e4a565b61197557604051635458064d60e11b815260040160405180910390fd5b6119808360286111fa565b60015460408051631127a41d60e31b815290519395509193506001600160a01b03169163893d20e8916004808201926020929091908290030181865afa1580156119ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f29190612db8565b6001600160a01b0316336001600160a01b031614611a235760405163778d468d60e11b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90611234908590600401612dd5565b6000611a5e836123f9565b8015610e155750610e15838361242d565b6000805160206132f1833981519152600080611aaa611a8c6116ac565b8730611a9c600460008a8c612ee7565b611aa591612f11565b6124b0565b9150915081611b6d5763ffffffff811615611b4a57825460ff60a01b1916600160a01b178355611ad86116ac565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b0793929190612f41565b600060405180830381600087803b158015611b2157600080fd5b505af1158015611b35573d6000803e3d6000fd5b5050845460ff60a01b1916855550611b6d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b08565b505050505050565b60808201516001600160a01b031615611bb2576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610b08565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2d9190612e4a565b80611c43575060a08201516001600160a01b0316155b156111535760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610b08565b611c7a6128d3565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611cba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce29190810190612fc6565b6001600160a01b03871660808301526040820151919350915060ff858116911614611d33576040808301519051632208245760e11b815260ff80871660048301529091166024820152604401610b08565b60a08201516001600160a01b0380821690851614611d6f5760405163dfc430cb60e01b81526001600160a01b0385166004820152602401610b08565b856001600160a01b0316816001600160a01b031603611da1576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611dc857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e409190612e4a565b15611e5e57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b6000805160206132f183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ed06125bc565b6000805160206133318339815191526000611f00600080516020613311833981519152546001600160401b031690565b90506000611f0c610867565b9050816001600160401b0316600103611f395760028301805462ffffff191662ffffff8316179055611f87565b600283015462ffffff90811690821611611f875760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b08565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611ffb4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061162b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e56125bc565b6000805160206133118339815191528054600160401b810460ff1615906001600160401b031660008115801561213e5750825b90506000826001600160401b0316600114801561215a5750303b155b905081158015612168575080155b156121865760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121b057845460ff60401b1916600160401b1785555b600080878060200190518101906121c791906130be565b915091506121d4826125f5565b6000896121df61174d565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a5249061224b9086908690600401613104565b600060405180830381865af4158015612268573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122909190810190613117565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f02906122cf908590859060040161314b565b602060405180830381865af41580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190612db8565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa15801561235b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237f9190612d90565b905061238c82828f612609565b612394610a44565b6123a46324cded3360e11b61268d565b50505050505083156123f057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600061240c826301ffc9a760e01b61242d565b80156124275750612425826001600160e01b031961242d565b155b92915050565b600080826040516024016124419190612cf6565b60408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b178152825192935060009283928392909183918a617530fa92503d91506000519050828015612499575060208210155b80156124a55750600081115b979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161251f919061316d565b600060405180830381855afa9150503d806000811461255a576040519150601f19603f3d011682016040523d82523d6000602084013e61255f565b606091505b509150915081156125b157604081511061259157808060200190518101906125879190613189565b90945092506125b1565b60208151106125b157808060200190518101906125ae9190612e4a565b93505b505094509492505050565b60008051602061331183398151915254600160401b900460ff166125f357604051631afcd79f60e31b815260040160405180910390fd5b565b6125fd6125bc565b612606816126b2565b50565b600061263760408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b61263f61174d565b6040516020016126509291906131c1565b6040516020818303038152906040529050612677848461266e602890565b600086866126c3565b612687631b4612f160e31b61268d565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6126ba6125bc565b61260681611e67565b6126cd828761274e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161273d8382613231565b506123f06303fb044760e21b61268d565b600280546001600160a01b0319166001600160a01b038416179055611153816001546001600160a01b0316156127a65760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b08565b6001600160a01b0381166127cd5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036128035760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906128499063350fb35160e11b90600401612cf6565b602060405180830381865afa925050508015612882575060408051601f3d908101601f1916820190925261287f91810190612e4a565b60015b6128aa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b806111535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b08565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561292357600080fd5b81356001600160e01b031981168114610e1557600080fd5b6001600160a01b038116811461260657600080fd5b803561295b8161293b565b919050565b60006020828403121561297257600080fd5b8135610e158161293b565b60005b83811015612998578181015183820152602001612980565b50506000910152565b600081518084526129b981602086016020860161297d565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261085f60e08501826129a1565b604081526000612a5160408301856129cd565b8281036020840152612a6381856129a1565b95945050505050565b602081526000610e1560208301846129a1565b62ffffff8116811461260657600080fd5b600060208284031215612aa257600080fd5b8135610e1581612a7f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612ae557612ae5612aad565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612b1357612b13612aad565b604052919050565b6001600160601b038116811461260657600080fd5b803561295b81612b1b565b60ff8116811461260657600080fd5b803561295b81612b3b565b801515811461260657600080fd5b803561295b81612b55565b60006001600160401b03821115612b8757612b87612aad565b50601f01601f191660200190565b600082601f830112612ba657600080fd5b8135612bb9612bb482612b6e565b612aeb565b818152846020838601011115612bce57600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612bfd57600080fd5b81356001600160401b0380821115612c1457600080fd5b9083019060e08286031215612c2857600080fd5b612c30612ac3565b612c3983612b30565b8152612c4760208401612b30565b6020820152612c5860408401612b4a565b6040820152612c6960608401612b63565b6060820152612c7a60808401612950565b6080820152612c8b60a08401612950565b60a082015260c083013582811115612ca257600080fd5b612cae87828601612b95565b60c08301525095945050505050565b60008060408385031215612cd057600080fd5b8235612cdb8161293b565b91506020830135612ceb8161293b565b809150509250929050565b6001600160e01b031991909116815260200190565b600080600060608486031215612d2057600080fd5b8335612d2b8161293b565b92506020840135612d3b8161293b565b915060408401356001600160401b03811115612d5657600080fd5b612d6286828701612b95565b9150509250925092565b600060208284031215612d7e57600080fd5b5035919050565b805161295b81612b1b565b600060208284031215612da257600080fd5b8151610e1581612b1b565b805161295b8161293b565b600060208284031215612dca57600080fd5b8151610e158161293b565b602081526000610e1560208301846129cd565b600060208284031215612dfa57600080fd5b8151610e1581612a7f565b600181811c90821680612e1957607f821691505b602082108103612e3957634e487b7160e01b600052602260045260246000fd5b50919050565b805161295b81612b55565b600060208284031215612e5c57600080fd5b8151610e1581612b55565b600060208284031215612e7957600080fd5b5051919050565b600060208284031215612e9257600080fd5b81516001600160401b0381168114610e1557600080fd5b634e487b7160e01b600052603260045260246000fd5b805161295b81612b3b565b600060208284031215612edc57600080fd5b8151610e1581612b3b565b60008085851115612ef757600080fd5b83861115612f0457600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f395780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f9257600080fd5b8151612fa0612bb482612b6e565b818152846020838601011115612fb557600080fd5b61085f82602083016020870161297d565b60008060408385031215612fd957600080fd5b82516001600160401b0380821115612ff057600080fd5b9084019060e0828703121561300457600080fd5b61300c612ac3565b61301583612d85565b815261302360208401612d85565b602082015261303460408401612ebf565b604082015261304560608401612e3f565b606082015261305660808401612dad565b608082015261306760a08401612dad565b60a082015260c08301518281111561307e57600080fd5b61308a88828601612f81565b60c08301525060208601519094509150808211156130a757600080fd5b506130b485828601612f81565b9150509250929050565b600080604083850312156130d157600080fd5b82516130dc8161293b565b60208401519092506001600160401b038111156130f857600080fd5b6130b485828601612f81565b604081526000612a5160408301856129a1565b60006020828403121561312957600080fd5b81516001600160401b0381111561313f57600080fd5b61085f84828501612f81565b60408152600061315e60408301856129a1565b90508260208301529392505050565b6000825161317f81846020870161297d565b9190910192915050565b6000806040838503121561319c57600080fd5b82516131a781612b55565b602084015190925063ffffffff81168114612ceb57600080fd5b6040815260006131d460408301856129a1565b905060ff831660208301529392505050565b601f82111561322c57600081815260208120601f850160051c8101602086101561320d5750805b601f850160051c820191505b81811015611b6d57828155600101613219565b505050565b81516001600160401b0381111561324a5761324a612aad565b61325e816132588454612e05565b846131e6565b602080601f831160018114613293576000841561327b5750858301515b600019600386901b1c1916600185901b178555611b6d565b600085815260208120601f198616915b828110156132c2578886015182559484019460019091019084016132a3565b50858210156132e05787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122071a07f3da317d4bb48a1125601ae5342e7a20e8e319f7dcc52749d8ce81cf94464736f6c63430008140033",
1144
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063834af1531161010f578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105c4578063e285c9c4146105d7578063ed841d0c146105df578063fdd9ec7d146105e757600080fd5b8063b88da7591461057c578063bf7e214f1461058f578063c2bf08c814610597578063cde749f4146105aa57600080fd5b8063946dfcfe116100de578063946dfcfe146104f4578063a3f4df7e1461051b578063a745e3df14610549578063b3c650151461055c57600080fd5b8063834af153146104b1578063893d20e8146104c45780638fb36037146104cc5780638fbc2d81146104e157600080fd5b80634d459c90116101875780635d966289116101565780635d96628914610460578063644c45e0146104735780637286e5e51461048b5780637a9e5e4b1461049e57600080fd5b80634d459c90146102fc5780634f421333146104155780635ab1bd53146104285780635c992fed1461044d57600080fd5b80630fec111c116101c35780630fec111c14610273578063138461e01461028957806317d7de7c146102935780631eff4b22146102c757600080fd5b806301ffc9a7146101ea57806309824a801461022c5780630d8e6e2c14610257575b600080fd5b6102176101f8366004612911565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612960565b6105fa565b6040516001600160601b039091168152602001610223565b61025f610867565b60405162ffffff9091168152602001610223565b61027b6108f1565b604051610223929190612a3e565b610291610a44565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516102239190612a6c565b6102ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6103b861030a366004612a90565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061333183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b610217610423366004612a90565b610c66565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61023f61045b366004612beb565b610d19565b61027b61046e366004612cbd565b610e1c565b600154600160a01b90046001600160601b031661023f565b61027b610499366004612cbd565b611021565b6102916104ac366004612960565b6110d0565b61027b6104bf366004612960565b611157565b6104356112df565b6104d46113f8565b6040516102239190612cf6565b61027b6104ef366004612cbd565b611431565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ee565b6102ba6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b610291610557366004612d0b565b6114e0565b61056461163a565b6040516001600160401b039091168152602001610223565b61025f61058a366004612d6c565b61165b565b6104356116ac565b61023f6105a5366004612beb565b6116c8565b6105b261174d565b60405160ff9091168152602001610223565b6102916105d2366004612d0b565b6117d0565b610435600181565b6102ee600081565b61027b6105f5366004612960565b6118d9565b60006001600160a01b0382163303610625576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b0382163b15806106485750610648826303fb044760e21b611a53565b156106665760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612d90565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa158015610727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074b9190612db8565b6001600160a01b0316336001600160a01b03161461077c5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610791600090565b6001600160601b03168152602001836001600160601b031681526020016107b6601e90565b60ff168152600060208083018290526001600160a01b0380891660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061081c908490600401612dd5565b6020604051808303816000875af115801561083b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085f9190612d90565b949350505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612de8565b905090565b6108f96128d3565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806109456001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161098d6112df565b6001600160a01b031681526020018260010180546109aa90612e05565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690612e05565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190612e4a565b15610b11576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610b3a5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba79190612e4a565b610bcf576040516372657a5160e01b81526001600160a01b0382166004820152602401610b08565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d9190612d90565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061333183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190612e67565b1192915050565b6000610d28335b600036611a6f565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610d71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d959190612d90565b9050610da28360d2611b75565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610dd2908690600401612dd5565b6020604051808303816000875af1158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190612d90565b9392505050565b610e246128d3565b6060610e2f33610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610e62906379fc0e7160e11b90600401612cf6565b602060405180830381865afa158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190612e4a565b610ec057604051637a71998760e01b815260040160405180910390fd5b610ecd84606e5b85611c72565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f429190612d90565b6001546040516352efcf2760e11b81529192506001600160a01b03169063a5df9e4e90610f73908690600401612dd5565b6020604051808303816000875af1158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190612d90565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0387169163138461e091600480830192600092919082900301818387803b15801561100157600080fd5b505af1158015611015573d6000803e3d6000fd5b50505050509250929050565b6110296128d3565b606061103433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061106790638165cf9760e01b90600401612cf6565b602060405180830381865afa158015611084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a89190612e4a565b6110c557604051636f61f64160e01b815260040160405180910390fd5b610ecd84608c610ec7565b336110d96116ac565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b0382166004820152602401610b08565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b08565b61115382611e67565b5050565b61115f6128d3565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061119590630de7806f60e41b90600401612cf6565b602060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d69190612e4a565b6111f357604051636795c76360e01b815260040160405180910390fd5b6112008360325b33611c72565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90611234908590600401612dd5565b6020604051808303816000875af1158015611253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112779190612d90565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190612e4a565b156113e857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612db8565b506002546001600160a01b031690565b6000805160206132f1833981519152805460009190600160a01b900460ff1661142257600061142b565b638fb3603760e01b5b91505090565b6114396128d3565b606061144433610d20565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906114779063b4d7c7a360e01b90600401612cf6565b602060405180830381865afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612e4a565b6114d5576040516308707e3160e41b815260040160405180910390fd5b610ecd846078610ec7565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611502610867565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612e80565b6000805160206133118339815191528054600160401b900460ff1680611599575080546001600160401b03808416911610155b156115b75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556115e28585611ec8565b6115eb83612103565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006108ec600080516020613311833981519152546001600160401b031690565b6000600080516020613331833981519152600101828154811061168057611680612ea9565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000805160206132f1833981519152546001600160a01b031690565b60006116d333610d20565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561171c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117409190612d90565b9050610da28360dc611b75565b6000611757610867565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156117ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190612eca565b6000805160206133118339815191528054600160401b810460ff1615906001600160401b03166000811580156118035750825b90506000826001600160401b0316600114801561181f5750303b155b90508115801561182d575080155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561187557845460ff60401b1916600160401b1785555b61187f8888611ec8565b611889878761210b565b83156118cf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6118e16128d3565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061191790631b4612f160e31b90600401612cf6565b602060405180830381865afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612e4a565b61197557604051635458064d60e11b815260040160405180910390fd5b6119808360286111fa565b60015460408051631127a41d60e31b815290519395509193506001600160a01b03169163893d20e8916004808201926020929091908290030181865afa1580156119ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f29190612db8565b6001600160a01b0316336001600160a01b031614611a235760405163778d468d60e11b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90611234908590600401612dd5565b6000611a5e836123f9565b8015610e155750610e15838361242d565b6000805160206132f1833981519152600080611aaa611a8c6116ac565b8730611a9c600460008a8c612ee7565b611aa591612f11565b6124b0565b9150915081611b6d5763ffffffff811615611b4a57825460ff60a01b1916600160a01b178355611ad86116ac565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b0793929190612f41565b600060405180830381600087803b158015611b2157600080fd5b505af1158015611b35573d6000803e3d6000fd5b5050845460ff60a01b1916855550611b6d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b08565b505050505050565b60808201516001600160a01b031615611bb2576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610b08565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2d9190612e4a565b80611c43575060a08201516001600160a01b0316155b156111535760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610b08565b611c7a6128d3565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611cba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce29190810190612fc6565b6001600160a01b03871660808301526040820151919350915060ff858116911614611d33576040808301519051632208245760e11b815260ff80871660048301529091166024820152604401610b08565b60a08201516001600160a01b0380821690851614611d6f5760405163dfc430cb60e01b81526001600160a01b0385166004820152602401610b08565b856001600160a01b0316816001600160a01b031603611da1576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611dc857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e409190612e4a565b15611e5e57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b6000805160206132f183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ed06125bc565b6000805160206133318339815191526000611f00600080516020613311833981519152546001600160401b031690565b90506000611f0c610867565b9050816001600160401b0316600103611f395760028301805462ffffff191662ffffff8316179055611f87565b600283015462ffffff90811690821611611f875760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b08565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611ffb4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061162b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e56125bc565b6000805160206133118339815191528054600160401b810460ff1615906001600160401b031660008115801561213e5750825b90506000826001600160401b0316600114801561215a5750303b155b905081158015612168575080155b156121865760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121b057845460ff60401b1916600160401b1785555b600080878060200190518101906121c791906130be565b915091506121d4826125f5565b6000896121df61174d565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a5249061224b9086908690600401613104565b600060405180830381865af4158015612268573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122909190810190613117565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f02906122cf908590859060040161314b565b602060405180830381865af41580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190612db8565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa15801561235b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237f9190612d90565b905061238c82828f612609565b612394610a44565b6123a46324cded3360e11b61268d565b50505050505083156123f057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600061240c826301ffc9a760e01b61242d565b80156124275750612425826001600160e01b031961242d565b155b92915050565b600080826040516024016124419190612cf6565b60408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b178152825192935060009283928392909183918a617530fa92503d91506000519050828015612499575060208210155b80156124a55750600081115b979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161251f919061316d565b600060405180830381855afa9150503d806000811461255a576040519150601f19603f3d011682016040523d82523d6000602084013e61255f565b606091505b509150915081156125b157604081511061259157808060200190518101906125879190613189565b90945092506125b1565b60208151106125b157808060200190518101906125ae9190612e4a565b93505b505094509492505050565b60008051602061331183398151915254600160401b900460ff166125f357604051631afcd79f60e31b815260040160405180910390fd5b565b6125fd6125bc565b612606816126b2565b50565b600061263760408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b61263f61174d565b6040516020016126509291906131c1565b6040516020818303038152906040529050612677848461266e602890565b600086866126c3565b612687631b4612f160e31b61268d565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6126ba6125bc565b61260681611e67565b6126cd828761274e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161273d8382613231565b506123f06303fb044760e21b61268d565b600280546001600160a01b0319166001600160a01b038416179055611153816001546001600160a01b0316156127a65760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b08565b6001600160a01b0381166127cd5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036128035760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906128499063350fb35160e11b90600401612cf6565b602060405180830381865afa925050508015612882575060408051601f3d908101601f1916820190925261287f91810190612e4a565b60015b6128aa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b08565b806111535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b08565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561292357600080fd5b81356001600160e01b031981168114610e1557600080fd5b6001600160a01b038116811461260657600080fd5b803561295b8161293b565b919050565b60006020828403121561297257600080fd5b8135610e158161293b565b60005b83811015612998578181015183820152602001612980565b50506000910152565b600081518084526129b981602086016020860161297d565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261085f60e08501826129a1565b604081526000612a5160408301856129cd565b8281036020840152612a6381856129a1565b95945050505050565b602081526000610e1560208301846129a1565b62ffffff8116811461260657600080fd5b600060208284031215612aa257600080fd5b8135610e1581612a7f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612ae557612ae5612aad565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612b1357612b13612aad565b604052919050565b6001600160601b038116811461260657600080fd5b803561295b81612b1b565b60ff8116811461260657600080fd5b803561295b81612b3b565b801515811461260657600080fd5b803561295b81612b55565b60006001600160401b03821115612b8757612b87612aad565b50601f01601f191660200190565b600082601f830112612ba657600080fd5b8135612bb9612bb482612b6e565b612aeb565b818152846020838601011115612bce57600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612bfd57600080fd5b81356001600160401b0380821115612c1457600080fd5b9083019060e08286031215612c2857600080fd5b612c30612ac3565b612c3983612b30565b8152612c4760208401612b30565b6020820152612c5860408401612b4a565b6040820152612c6960608401612b63565b6060820152612c7a60808401612950565b6080820152612c8b60a08401612950565b60a082015260c083013582811115612ca257600080fd5b612cae87828601612b95565b60c08301525095945050505050565b60008060408385031215612cd057600080fd5b8235612cdb8161293b565b91506020830135612ceb8161293b565b809150509250929050565b6001600160e01b031991909116815260200190565b600080600060608486031215612d2057600080fd5b8335612d2b8161293b565b92506020840135612d3b8161293b565b915060408401356001600160401b03811115612d5657600080fd5b612d6286828701612b95565b9150509250925092565b600060208284031215612d7e57600080fd5b5035919050565b805161295b81612b1b565b600060208284031215612da257600080fd5b8151610e1581612b1b565b805161295b8161293b565b600060208284031215612dca57600080fd5b8151610e158161293b565b602081526000610e1560208301846129cd565b600060208284031215612dfa57600080fd5b8151610e1581612a7f565b600181811c90821680612e1957607f821691505b602082108103612e3957634e487b7160e01b600052602260045260246000fd5b50919050565b805161295b81612b55565b600060208284031215612e5c57600080fd5b8151610e1581612b55565b600060208284031215612e7957600080fd5b5051919050565b600060208284031215612e9257600080fd5b81516001600160401b0381168114610e1557600080fd5b634e487b7160e01b600052603260045260246000fd5b805161295b81612b3b565b600060208284031215612edc57600080fd5b8151610e1581612b3b565b60008085851115612ef757600080fd5b83861115612f0457600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f395780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f9257600080fd5b8151612fa0612bb482612b6e565b818152846020838601011115612fb557600080fd5b61085f82602083016020870161297d565b60008060408385031215612fd957600080fd5b82516001600160401b0380821115612ff057600080fd5b9084019060e0828703121561300457600080fd5b61300c612ac3565b61301583612d85565b815261302360208401612d85565b602082015261303460408401612ebf565b604082015261304560608401612e3f565b606082015261305660808401612dad565b608082015261306760a08401612dad565b60a082015260c08301518281111561307e57600080fd5b61308a88828601612f81565b60c08301525060208601519094509150808211156130a757600080fd5b506130b485828601612f81565b9150509250929050565b600080604083850312156130d157600080fd5b82516130dc8161293b565b60208401519092506001600160401b038111156130f857600080fd5b6130b485828601612f81565b604081526000612a5160408301856129a1565b60006020828403121561312957600080fd5b81516001600160401b0381111561313f57600080fd5b61085f84828501612f81565b60408152600061315e60408301856129a1565b90508260208301529392505050565b6000825161317f81846020870161297d565b9190910192915050565b6000806040838503121561319c57600080fd5b82516131a781612b55565b602084015190925063ffffffff81168114612ceb57600080fd5b6040815260006131d460408301856129a1565b905060ff831660208301529392505050565b601f82111561322c57600081815260208120601f850160051c8101602086101561320d5750805b601f850160051c820191505b81811015611b6d57828155600101613219565b505050565b81516001600160401b0381111561324a5761324a612aad565b61325e816132588454612e05565b846131e6565b602080601f831160018114613293576000841561327b5750858301515b600019600386901b1c1916600185901b178555611b6d565b600085815260208120601f198616915b828110156132c2578886015182559484019460019091019084016132a3565b50858210156132e05787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122071a07f3da317d4bb48a1125601ae5342e7a20e8e319f7dcc52749d8ce81cf94464736f6c63430008140033",
1092
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612ec480620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063675393bf1161010f578063ada9652e116100a2578063c2bf08c811610071578063c2bf08c814610472578063ed841d0c14610485578063f21de1e814610339578063f7c34ee01461048d57600080fd5b8063ada9652e14610431578063b68d180914610446578063bf7e214f14610455578063c13de9971461045d57600080fd5b8063893d20e8116100de578063893d20e8146103ee5780638e32e979146103f65780638fb36037146104095780638fbc2d811461041e57600080fd5b8063675393bf146103a25780637286e5e5146103b55780637a9e5e4b146103c85780638105cc7f146103db57600080fd5b8063329d6e74116101875780635ab1bd53116101565780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e01461038457600080fd5b8063329d6e74146102e057806336fc697e146102f357806349bb9e4b146102fb57806357a8fba71461030e57600080fd5b8063138461e0116101c3578063138461e01461027b5780631eff4b2214610285578063214cdb80146102ba57806327bb7a33146102cd57600080fd5b806301ffc9a7146101f5578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b600080fd5b610222610203366004612407565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a61024536600461245d565b6104a0565b60405161022e91906124e6565b61025f61063e565b60405162ffffff909116815260200161022e565b61024a6106c8565b610283610864565b005b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102836102c8366004612407565b610a6b565b6102836102db3660046126af565b610a98565b6102836102ee366004612747565b610b24565b610283610c71565b61028361030936600461277b565b610cb7565b61032161031c3660046127ca565b610db6565b6040516001600160601b03909116815260200161022e565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61032161036c3660046127ca565b610e45565b61024a61037f36600461245d565b610e5b565b600080516020612e2f833981519152546001600160601b0316610321565b6102836103b036600461289c565b610f9b565b61024a6103c336600461245d565b6110ae565b6102836103d636600461289c565b61115b565b6103216103e93660046127ca565b6111de565b6103466111f4565b6102836104043660046128b9565b61132b565b610411611564565b60405161022e9190612904565b61024a61042c36600461245d565b61159c565b6102ac600080516020612e2f83398151915281565b6040516028815260200161022e565b610346611649565b610465611665565b60405161022e9190612919565b6103216104803660046127ca565b611c51565b6102ac600081565b61028361049b36600461245d565b611c67565b6104a86123c9565b6104b5335b600036611cde565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104e890632d7f9b4d60e11b90600401612904565b602060405180830381865afa158015610505573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052991906129d1565b61054657604051636795c76360e01b815260040160405180910390fd5b6105538360465b84611de4565b90506105676001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161059291906124e6565b6020604051808303816000875af11580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d591906129f9565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561062057600080fd5b505af1158015610634573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561069f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c39190612a16565b905090565b6106d06123c9565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161076090612a3b565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90612a3b565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b50505050508152505090506040518060e001604052806107f7600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016108486111f4565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612e2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f791906129d1565b156109285780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061093b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906129d1565b6109cf5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161091f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4791906129f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a73611fd4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610aa0611fd4565b610aaa8287611c67565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b1a8382612abb565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b4661063e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190612b7a565b600080516020612e6f8339815191528054600160401b900460ff1680610bdd575080546001600160401b03808416911610155b15610bfb5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c258361200d565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c79611fd4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e6f8339815191528054600160401b810460ff1615906001600160401b0316600081158015610cea5750825b90506000826001600160401b03166001148015610d065750303b155b905081158015610d14575080155b15610d325760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d5c57845460ff60401b1916600160401b1785555b610d668787612015565b8315610dad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dc1336104ad565b610dcc82607a612134565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610dfc9085906004016124e6565b6020604051808303816000875af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f91906129f9565b92915050565b6000610e50336104ad565b610dcc8260d3612134565b610e636123c9565b610e6c336104ad565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e9f90631e63cf4560e01b90600401612904565b602060405180830381865afa158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee091906129d1565b610efd57604051637a71998760e01b815260040160405180910390fd5b610f0883606e61054d565b9050610f1c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f4791906124e6565b6020604051808303816000875af1158015610f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8a91906129f9565b6001600160601b0316815292915050565b610fa3611fd4565b806001600160a01b03163b600003610fd95760405163fdeac91f60e01b81526001600160a01b038216600482015260240161091f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061101f90630a3888e560e31b90600401612904565b602060405180830381865afa925050508015611058575060408051601f3d908101601f19168201909252611055918101906129d1565b60015b6110805760405163fdeac91f60e01b81526001600160a01b038216600482015260240161091f565b806110a95760405163fdeac91f60e01b81526001600160a01b038316600482015260240161091f565b505b50565b6110b66123c9565b6110bf336104ad565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906110f29063f20236f360e01b90600401612904565b602060405180830381865afa15801561110f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113391906129d1565b61115057604051636f61f64160e01b815260040160405180910390fd5b610f0883608c61054d565b33611164611649565b6001600160a01b0316816001600160a01b03161461119f5760405162d1953b60e31b81526001600160a01b038216600482015260240161091f565b816001600160a01b03163b6000036111d5576040516361798f2f60e11b81526001600160a01b038316600482015260240161091f565b6110a98261223a565b60006111e9336104ad565b610dcc826050612134565b600080600080516020612e2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611264573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128891906129d1565b15611315576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156112eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130f9190612bae565b91505090565b54600160601b90046001600160a01b0316919050565b611333611fd4565b6113b383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139991906129f9565b603c60008560405180602001604052806000815250610a98565b6001600160a01b038216156113d0576113cb8261229b565b61153f565b60006113e46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114689190612bd6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156114ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d19190612bae565b905061153d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611514573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115389190612bae565b61229b565b505b61154f634a531f3360e01b610a6b565b61155f63b68d180960e01b610a6b565b505050565b600080516020612e4f833981519152805460009190600160a01b900460ff1661158e57600061130f565b638fb3603760e01b91505090565b6115a46123c9565b6115ad336104ad565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906115e090637895d0ed60e01b90600401612904565b602060405180830381865afa1580156115fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162191906129d1565b61163e576040516308707e3160e41b815260040160405180910390fd5b610f0883607861054d565b600080516020612e4f833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161167e5790505090506116b060d390565b816000815181106116c3576116c3612bf3565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106116fc576116fc612bf3565b60200260200101516020018190525061171360d290565b8160018151811061172657611726612bf3565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061176c5761176c612bf3565b602002602001015160200181905250635c992fed60e01b8160018151811061179657611796612bf3565b6020026020010151602001516000815181106117b4576117b4612bf3565b6001600160e01b0319909216602092830291909101909101526117d560d490565b816002815181106117e8576117e8612bf3565b60209081029190910181015160ff929092169091526040805160008152918201905281518290600290811061181f5761181f612bf3565b602002602001015160200181905250611836606e90565b8160038151811061184957611849612bf3565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061188f5761188f612bf3565b602002602001015160200181905250635d96628960e01b816003815181106118b9576118b9612bf3565b6020026020010151602001516000815181106118d7576118d7612bf3565b6001600160e01b0319909216602092830291909101909101526118f8608c90565b8160048151811061190b5761190b612bf3565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061195157611951612bf3565b602002602001015160200181905250637286e5e560e01b8160048151811061197b5761197b612bf3565b60200260200101516020015160008151811061199957611999612bf3565b6001600160e01b0319909216602092830291909101909101526119ba60dc90565b816005815181106119cd576119cd612bf3565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600581518110611a1357611a13612bf3565b60200260200101516020018190525063c2bf08c860e01b81600581518110611a3d57611a3d612bf3565b602002602001015160200151600081518110611a5b57611a5b612bf3565b6001600160e01b031990921660209283029190910190910152611a7c607890565b81600681518110611a8f57611a8f612bf3565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600681518110611ad657611ad6612bf3565b602002602001015160200181905250638fbc2d8160e01b81600681518110611b0057611b00612bf3565b602002602001015160200151600081518110611b1e57611b1e612bf3565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906006908110611b5557611b55612bf3565b602002602001015160200151600181518110611b7357611b73612bf3565b6001600160e01b031990921660209283029190910190910152611b94604690565b81600781518110611ba757611ba7612bf3565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600781518110611bed57611bed612bf3565b60200260200101516020018190525063026bc43b60e01b81600781518110611c1757611c17612bf3565b602002602001015160200151600081518110611c3557611c35612bf3565b6001600160e01b03199092166020928302919091019091015290565b6000611c5c336104ad565b610dcc8260dc612134565b611c6f611fd4565b611c7881610f9b565b611c80610c71565b6001600160a01b038216611ca75760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612e2f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612e4f833981519152600080611d19611cfb611649565b8730611d0b600460008a8c612c09565b611d1491612c33565b6122ac565b9150915081611ddc5763ffffffff811615611db957825460ff60a01b1916600160a01b178355611d47611649565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d7693929190612c63565b600060405180830381600087803b158015611d9057600080fd5b505af1158015611da4573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ddc9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161091f565b505050505050565b611dec6123c9565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611e2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e529190810190612ce8565b6001600160a01b0385166080820152604081015190915060ff848116911614611ea1576040808201519051632208245760e11b815260ff8086166004830152909116602482015260440161091f565b60a08101516001600160a01b0380821690841614611edd5760405163dfc430cb60e01b81526001600160a01b038416600482015260240161091f565b846001600160a01b0316816001600160a01b031603611f0f576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611f3657604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fae91906129d1565b15611fcc57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e6f83398151915254600160401b900460ff1661200b57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f0611fd4565b600080516020612e6f8339815191528054600160401b810460ff1615906001600160401b03166000811580156120485750825b90506000826001600160401b031660011480156120645750303b155b905081158015612072575080155b156120905760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ba57845460ff60401b1916600160401b1785555b600080878060200190518101906120d19190612dab565b915091506120e082828b61132b565b6120f063aa745bc360e01b610a6b565b50508315610dad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610da4565b60006080830152604082015160ff828116911614612178576040808301519051632208245760e11b815260ff8084166004830152909116602482015260440161091f565b60a08201516001600160a01b0381166121a457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221c91906129d1565b1561155f57604051637142ceb360e11b815260040160405180910390fd5b600080516020612e4f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122a3611fd4565b6110ab816123b8565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161231b9190612dda565b600060405180830381855afa9150503d8060008114612356576040519150601f19603f3d011682016040523d82523d6000602084013e61235b565b606091505b509150915081156123ad57604081511061238d57808060200190518101906123839190612df6565b90945092506123ad565b60208151106123ad57808060200190518101906123aa91906129d1565b93505b505094509492505050565b6123c0611fd4565b6110ab8161223a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561241957600080fd5b81356001600160e01b03198116811461243157600080fd5b9392505050565b6001600160a01b03811681146110ab57600080fd5b803561245881612438565b919050565b6000806040838503121561247057600080fd5b823561247b81612438565b9150602083013561248b81612438565b809150509250929050565b60005b838110156124b1578181015183820152602001612499565b50506000910152565b600081518084526124d2816020860160208601612496565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161254f60c08401826001600160a01b03169052565b5060c083015160e0808401526125696101008401826124ba565b949350505050565b6001600160601b03811681146110ab57600080fd5b803561245881612571565b60ff811681146110ab57600080fd5b803561245881612591565b80151581146110ab57600080fd5b8035612458816125ab565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125fc576125fc6125c4565b60405290565b604051601f8201601f191681016001600160401b038111828210171561262a5761262a6125c4565b604052919050565b60006001600160401b0382111561264b5761264b6125c4565b50601f01601f191660200190565b600082601f83011261266a57600080fd5b813561267d61267882612632565b612602565b81815284602083860101111561269257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126c857600080fd5b86356126d381612438565b955060208701356126e381612571565b945060408701356126f381612591565b93506060870135612703816125ab565b9250608087013561271381612438565b915060a08701356001600160401b0381111561272e57600080fd5b61273a89828a01612659565b9150509295509295509295565b60006020828403121561275957600080fd5b81356001600160401b0381111561276f57600080fd5b61256984828501612659565b6000806040838503121561278e57600080fd5b823561279981612438565b915060208301356001600160401b038111156127b457600080fd5b6127c085828601612659565b9150509250929050565b6000602082840312156127dc57600080fd5b81356001600160401b03808211156127f357600080fd5b9083019060e0828603121561280757600080fd5b61280f6125da565b61281883612586565b815261282660208401612586565b6020820152612837604084016125a0565b6040820152612848606084016125b9565b60608201526128596080840161244d565b608082015261286a60a0840161244d565b60a082015260c08301358281111561288157600080fd5b61288d87828601612659565b60c08301525095945050505050565b6000602082840312156128ae57600080fd5b813561243181612438565b6000806000606084860312156128ce57600080fd5b83356128d981612438565b925060208401356128e981612438565b915060408401356128f981612438565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156129b757898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129a25783516001600160e01b0319168252928b019260019290920191908b0190612978565b50978a01979550505091870191600101612941565b50919998505050505050505050565b8051612458816125ab565b6000602082840312156129e357600080fd5b8151612431816125ab565b805161245881612571565b600060208284031215612a0b57600080fd5b815161243181612571565b600060208284031215612a2857600080fd5b815162ffffff8116811461243157600080fd5b600181811c90821680612a4f57607f821691505b602082108103612a6f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561155f57600081815260208120601f850160051c81016020861015612a9c5750805b601f850160051c820191505b81811015611ddc57828155600101612aa8565b81516001600160401b03811115612ad457612ad46125c4565b612ae881612ae28454612a3b565b84612a75565b602080601f831160018114612b1d5760008415612b055750858301515b600019600386901b1c1916600185901b178555611ddc565b600085815260208120601f198616915b82811015612b4c57888601518255948401946001909101908401612b2d565b5085821015612b6a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b8c57600080fd5b81516001600160401b038116811461243157600080fd5b805161245881612438565b600060208284031215612bc057600080fd5b815161243181612438565b805161245881612591565b600060208284031215612be857600080fd5b815161243181612591565b634e487b7160e01b600052603260045260246000fd5b60008085851115612c1957600080fd5b83861115612c2657600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c5b5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612cb457600080fd5b8151612cc261267882612632565b818152846020838601011115612cd757600080fd5b612569826020830160208701612496565b600060208284031215612cfa57600080fd5b81516001600160401b0380821115612d1157600080fd5b9083019060e08286031215612d2557600080fd5b612d2d6125da565b612d36836129ee565b8152612d44602084016129ee565b6020820152612d5560408401612bcb565b6040820152612d66606084016129c6565b6060820152612d7760808401612ba3565b6080820152612d8860a08401612ba3565b60a082015260c083015182811115612d9f57600080fd5b61288d87828601612ca3565b60008060408385031215612dbe57600080fd5b8251612dc981612438565b602084015190925061248b81612438565b60008251612dec818460208701612496565b9190910192915050565b60008060408385031215612e0957600080fd5b8251612e14816125ab565b602084015190925063ffffffff8116811461248b57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122061ac1a7346f4ea1f70be19292dfdec6475635fbf3366746b8237c81f099ff0c064736f6c63430008140033",
1093
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063675393bf1161010f578063ada9652e116100a2578063c2bf08c811610071578063c2bf08c814610472578063ed841d0c14610485578063f21de1e814610339578063f7c34ee01461048d57600080fd5b8063ada9652e14610431578063b68d180914610446578063bf7e214f14610455578063c13de9971461045d57600080fd5b8063893d20e8116100de578063893d20e8146103ee5780638e32e979146103f65780638fb36037146104095780638fbc2d811461041e57600080fd5b8063675393bf146103a25780637286e5e5146103b55780637a9e5e4b146103c85780638105cc7f146103db57600080fd5b8063329d6e74116101875780635ab1bd53116101565780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e01461038457600080fd5b8063329d6e74146102e057806336fc697e146102f357806349bb9e4b146102fb57806357a8fba71461030e57600080fd5b8063138461e0116101c3578063138461e01461027b5780631eff4b2214610285578063214cdb80146102ba57806327bb7a33146102cd57600080fd5b806301ffc9a7146101f5578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b600080fd5b610222610203366004612407565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a61024536600461245d565b6104a0565b60405161022e91906124e6565b61025f61063e565b60405162ffffff909116815260200161022e565b61024a6106c8565b610283610864565b005b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102836102c8366004612407565b610a6b565b6102836102db3660046126af565b610a98565b6102836102ee366004612747565b610b24565b610283610c71565b61028361030936600461277b565b610cb7565b61032161031c3660046127ca565b610db6565b6040516001600160601b03909116815260200161022e565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61032161036c3660046127ca565b610e45565b61024a61037f36600461245d565b610e5b565b600080516020612e2f833981519152546001600160601b0316610321565b6102836103b036600461289c565b610f9b565b61024a6103c336600461245d565b6110ae565b6102836103d636600461289c565b61115b565b6103216103e93660046127ca565b6111de565b6103466111f4565b6102836104043660046128b9565b61132b565b610411611564565b60405161022e9190612904565b61024a61042c36600461245d565b61159c565b6102ac600080516020612e2f83398151915281565b6040516028815260200161022e565b610346611649565b610465611665565b60405161022e9190612919565b6103216104803660046127ca565b611c51565b6102ac600081565b61028361049b36600461245d565b611c67565b6104a86123c9565b6104b5335b600036611cde565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104e890632d7f9b4d60e11b90600401612904565b602060405180830381865afa158015610505573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052991906129d1565b61054657604051636795c76360e01b815260040160405180910390fd5b6105538360465b84611de4565b90506105676001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161059291906124e6565b6020604051808303816000875af11580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d591906129f9565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561062057600080fd5b505af1158015610634573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561069f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c39190612a16565b905090565b6106d06123c9565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161076090612a3b565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90612a3b565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b50505050508152505090506040518060e001604052806107f7600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016108486111f4565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612e2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f791906129d1565b156109285780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061093b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906129d1565b6109cf5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161091f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4791906129f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a73611fd4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610aa0611fd4565b610aaa8287611c67565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b1a8382612abb565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b4661063e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190612b7a565b600080516020612e6f8339815191528054600160401b900460ff1680610bdd575080546001600160401b03808416911610155b15610bfb5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c258361200d565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c79611fd4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e6f8339815191528054600160401b810460ff1615906001600160401b0316600081158015610cea5750825b90506000826001600160401b03166001148015610d065750303b155b905081158015610d14575080155b15610d325760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d5c57845460ff60401b1916600160401b1785555b610d668787612015565b8315610dad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dc1336104ad565b610dcc82607a612134565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610dfc9085906004016124e6565b6020604051808303816000875af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f91906129f9565b92915050565b6000610e50336104ad565b610dcc8260d3612134565b610e636123c9565b610e6c336104ad565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e9f90631e63cf4560e01b90600401612904565b602060405180830381865afa158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee091906129d1565b610efd57604051637a71998760e01b815260040160405180910390fd5b610f0883606e61054d565b9050610f1c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f4791906124e6565b6020604051808303816000875af1158015610f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8a91906129f9565b6001600160601b0316815292915050565b610fa3611fd4565b806001600160a01b03163b600003610fd95760405163fdeac91f60e01b81526001600160a01b038216600482015260240161091f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061101f90630a3888e560e31b90600401612904565b602060405180830381865afa925050508015611058575060408051601f3d908101601f19168201909252611055918101906129d1565b60015b6110805760405163fdeac91f60e01b81526001600160a01b038216600482015260240161091f565b806110a95760405163fdeac91f60e01b81526001600160a01b038316600482015260240161091f565b505b50565b6110b66123c9565b6110bf336104ad565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906110f29063f20236f360e01b90600401612904565b602060405180830381865afa15801561110f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113391906129d1565b61115057604051636f61f64160e01b815260040160405180910390fd5b610f0883608c61054d565b33611164611649565b6001600160a01b0316816001600160a01b03161461119f5760405162d1953b60e31b81526001600160a01b038216600482015260240161091f565b816001600160a01b03163b6000036111d5576040516361798f2f60e11b81526001600160a01b038316600482015260240161091f565b6110a98261223a565b60006111e9336104ad565b610dcc826050612134565b600080600080516020612e2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611264573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128891906129d1565b15611315576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156112eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130f9190612bae565b91505090565b54600160601b90046001600160a01b0316919050565b611333611fd4565b6113b383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139991906129f9565b603c60008560405180602001604052806000815250610a98565b6001600160a01b038216156113d0576113cb8261229b565b61153f565b60006113e46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114689190612bd6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156114ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d19190612bae565b905061153d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611514573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115389190612bae565b61229b565b505b61154f634a531f3360e01b610a6b565b61155f63b68d180960e01b610a6b565b505050565b600080516020612e4f833981519152805460009190600160a01b900460ff1661158e57600061130f565b638fb3603760e01b91505090565b6115a46123c9565b6115ad336104ad565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906115e090637895d0ed60e01b90600401612904565b602060405180830381865afa1580156115fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162191906129d1565b61163e576040516308707e3160e41b815260040160405180910390fd5b610f0883607861054d565b600080516020612e4f833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161167e5790505090506116b060d390565b816000815181106116c3576116c3612bf3565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106116fc576116fc612bf3565b60200260200101516020018190525061171360d290565b8160018151811061172657611726612bf3565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061176c5761176c612bf3565b602002602001015160200181905250635c992fed60e01b8160018151811061179657611796612bf3565b6020026020010151602001516000815181106117b4576117b4612bf3565b6001600160e01b0319909216602092830291909101909101526117d560d490565b816002815181106117e8576117e8612bf3565b60209081029190910181015160ff929092169091526040805160008152918201905281518290600290811061181f5761181f612bf3565b602002602001015160200181905250611836606e90565b8160038151811061184957611849612bf3565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061188f5761188f612bf3565b602002602001015160200181905250635d96628960e01b816003815181106118b9576118b9612bf3565b6020026020010151602001516000815181106118d7576118d7612bf3565b6001600160e01b0319909216602092830291909101909101526118f8608c90565b8160048151811061190b5761190b612bf3565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061195157611951612bf3565b602002602001015160200181905250637286e5e560e01b8160048151811061197b5761197b612bf3565b60200260200101516020015160008151811061199957611999612bf3565b6001600160e01b0319909216602092830291909101909101526119ba60dc90565b816005815181106119cd576119cd612bf3565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600581518110611a1357611a13612bf3565b60200260200101516020018190525063c2bf08c860e01b81600581518110611a3d57611a3d612bf3565b602002602001015160200151600081518110611a5b57611a5b612bf3565b6001600160e01b031990921660209283029190910190910152611a7c607890565b81600681518110611a8f57611a8f612bf3565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600681518110611ad657611ad6612bf3565b602002602001015160200181905250638fbc2d8160e01b81600681518110611b0057611b00612bf3565b602002602001015160200151600081518110611b1e57611b1e612bf3565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906006908110611b5557611b55612bf3565b602002602001015160200151600181518110611b7357611b73612bf3565b6001600160e01b031990921660209283029190910190910152611b94604690565b81600781518110611ba757611ba7612bf3565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600781518110611bed57611bed612bf3565b60200260200101516020018190525063026bc43b60e01b81600781518110611c1757611c17612bf3565b602002602001015160200151600081518110611c3557611c35612bf3565b6001600160e01b03199092166020928302919091019091015290565b6000611c5c336104ad565b610dcc8260dc612134565b611c6f611fd4565b611c7881610f9b565b611c80610c71565b6001600160a01b038216611ca75760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612e2f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612e4f833981519152600080611d19611cfb611649565b8730611d0b600460008a8c612c09565b611d1491612c33565b6122ac565b9150915081611ddc5763ffffffff811615611db957825460ff60a01b1916600160a01b178355611d47611649565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d7693929190612c63565b600060405180830381600087803b158015611d9057600080fd5b505af1158015611da4573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ddc9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161091f565b505050505050565b611dec6123c9565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611e2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e529190810190612ce8565b6001600160a01b0385166080820152604081015190915060ff848116911614611ea1576040808201519051632208245760e11b815260ff8086166004830152909116602482015260440161091f565b60a08101516001600160a01b0380821690841614611edd5760405163dfc430cb60e01b81526001600160a01b038416600482015260240161091f565b846001600160a01b0316816001600160a01b031603611f0f576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611f3657604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fae91906129d1565b15611fcc57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e6f83398151915254600160401b900460ff1661200b57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f0611fd4565b600080516020612e6f8339815191528054600160401b810460ff1615906001600160401b03166000811580156120485750825b90506000826001600160401b031660011480156120645750303b155b905081158015612072575080155b156120905760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ba57845460ff60401b1916600160401b1785555b600080878060200190518101906120d19190612dab565b915091506120e082828b61132b565b6120f063aa745bc360e01b610a6b565b50508315610dad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610da4565b60006080830152604082015160ff828116911614612178576040808301519051632208245760e11b815260ff8084166004830152909116602482015260440161091f565b60a08201516001600160a01b0381166121a457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221c91906129d1565b1561155f57604051637142ceb360e11b815260040160405180910390fd5b600080516020612e4f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122a3611fd4565b6110ab816123b8565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161231b9190612dda565b600060405180830381855afa9150503d8060008114612356576040519150601f19603f3d011682016040523d82523d6000602084013e61235b565b606091505b509150915081156123ad57604081511061238d57808060200190518101906123839190612df6565b90945092506123ad565b60208151106123ad57808060200190518101906123aa91906129d1565b93505b505094509492505050565b6123c0611fd4565b6110ab8161223a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561241957600080fd5b81356001600160e01b03198116811461243157600080fd5b9392505050565b6001600160a01b03811681146110ab57600080fd5b803561245881612438565b919050565b6000806040838503121561247057600080fd5b823561247b81612438565b9150602083013561248b81612438565b809150509250929050565b60005b838110156124b1578181015183820152602001612499565b50506000910152565b600081518084526124d2816020860160208601612496565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161254f60c08401826001600160a01b03169052565b5060c083015160e0808401526125696101008401826124ba565b949350505050565b6001600160601b03811681146110ab57600080fd5b803561245881612571565b60ff811681146110ab57600080fd5b803561245881612591565b80151581146110ab57600080fd5b8035612458816125ab565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125fc576125fc6125c4565b60405290565b604051601f8201601f191681016001600160401b038111828210171561262a5761262a6125c4565b604052919050565b60006001600160401b0382111561264b5761264b6125c4565b50601f01601f191660200190565b600082601f83011261266a57600080fd5b813561267d61267882612632565b612602565b81815284602083860101111561269257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126c857600080fd5b86356126d381612438565b955060208701356126e381612571565b945060408701356126f381612591565b93506060870135612703816125ab565b9250608087013561271381612438565b915060a08701356001600160401b0381111561272e57600080fd5b61273a89828a01612659565b9150509295509295509295565b60006020828403121561275957600080fd5b81356001600160401b0381111561276f57600080fd5b61256984828501612659565b6000806040838503121561278e57600080fd5b823561279981612438565b915060208301356001600160401b038111156127b457600080fd5b6127c085828601612659565b9150509250929050565b6000602082840312156127dc57600080fd5b81356001600160401b03808211156127f357600080fd5b9083019060e0828603121561280757600080fd5b61280f6125da565b61281883612586565b815261282660208401612586565b6020820152612837604084016125a0565b6040820152612848606084016125b9565b60608201526128596080840161244d565b608082015261286a60a0840161244d565b60a082015260c08301358281111561288157600080fd5b61288d87828601612659565b60c08301525095945050505050565b6000602082840312156128ae57600080fd5b813561243181612438565b6000806000606084860312156128ce57600080fd5b83356128d981612438565b925060208401356128e981612438565b915060408401356128f981612438565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156129b757898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129a25783516001600160e01b0319168252928b019260019290920191908b0190612978565b50978a01979550505091870191600101612941565b50919998505050505050505050565b8051612458816125ab565b6000602082840312156129e357600080fd5b8151612431816125ab565b805161245881612571565b600060208284031215612a0b57600080fd5b815161243181612571565b600060208284031215612a2857600080fd5b815162ffffff8116811461243157600080fd5b600181811c90821680612a4f57607f821691505b602082108103612a6f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561155f57600081815260208120601f850160051c81016020861015612a9c5750805b601f850160051c820191505b81811015611ddc57828155600101612aa8565b81516001600160401b03811115612ad457612ad46125c4565b612ae881612ae28454612a3b565b84612a75565b602080601f831160018114612b1d5760008415612b055750858301515b600019600386901b1c1916600185901b178555611ddc565b600085815260208120601f198616915b82811015612b4c57888601518255948401946001909101908401612b2d565b5085821015612b6a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b8c57600080fd5b81516001600160401b038116811461243157600080fd5b805161245881612438565b600060208284031215612bc057600080fd5b815161243181612438565b805161245881612591565b600060208284031215612be857600080fd5b815161243181612591565b634e487b7160e01b600052603260045260246000fd5b60008085851115612c1957600080fd5b83861115612c2657600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c5b5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612cb457600080fd5b8151612cc261267882612632565b818152846020838601011115612cd757600080fd5b612569826020830160208701612496565b600060208284031215612cfa57600080fd5b81516001600160401b0380821115612d1157600080fd5b9083019060e08286031215612d2557600080fd5b612d2d6125da565b612d36836129ee565b8152612d44602084016129ee565b6020820152612d5560408401612bcb565b6040820152612d66606084016129c6565b6060820152612d7760808401612ba3565b6080820152612d8860a08401612ba3565b60a082015260c083015182811115612d9f57600080fd5b61288d87828601612ca3565b60008060408385031215612dbe57600080fd5b8251612dc981612438565b602084015190925061248b81612438565b60008251612dec818460208701612496565b9190910192915050565b60008060408385031215612e0957600080fd5b8251612e14816125ab565b602084015190925063ffffffff8116811461248b57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122061ac1a7346f4ea1f70be19292dfdec6475635fbf3366746b8237c81f099ff0c064736f6c63430008140033",
1145
1094
  "linkReferences": {
1146
- "contracts/shared/ContractDeployerLib.sol": {
1147
- "ContractDeployerLib": [
1148
- {
1149
- "length": 20,
1150
- "start": 9045
1151
- },
1152
- {
1153
- "length": 20,
1154
- "start": 9177
1155
- }
1156
- ]
1157
- },
1158
- "contracts/types/Blocknumber.sol": {
1159
- "BlocknumberLib": [
1160
- {
1161
- "length": 20,
1162
- "start": 3560
1163
- }
1164
- ]
1165
- },
1166
1095
  "contracts/types/NftId.sol": {
1167
1096
  "NftIdLib": [
1168
1097
  {
1169
1098
  "length": 20,
1170
- "start": 2976
1099
+ "start": 2431
1171
1100
  },
1172
1101
  {
1173
1102
  "length": 20,
1174
- "start": 5182
1103
+ "start": 4880
1175
1104
  }
1176
1105
  ]
1177
1106
  },
@@ -1179,49 +1108,31 @@
1179
1108
  "VersionLib": [
1180
1109
  {
1181
1110
  "length": 20,
1182
- "start": 2498
1111
+ "start": 1867
1183
1112
  },
1184
1113
  {
1185
1114
  "length": 20,
1186
- "start": 5654
1187
- },
1115
+ "start": 3084
1116
+ }
1117
+ ],
1118
+ "VersionPartLib": [
1188
1119
  {
1189
1120
  "length": 20,
1190
- "start": 6310
1121
+ "start": 5360
1191
1122
  }
1192
1123
  ]
1193
1124
  }
1194
1125
  },
1195
1126
  "deployedLinkReferences": {
1196
- "contracts/shared/ContractDeployerLib.sol": {
1197
- "ContractDeployerLib": [
1198
- {
1199
- "length": 20,
1200
- "start": 8737
1201
- },
1202
- {
1203
- "length": 20,
1204
- "start": 8869
1205
- }
1206
- ]
1207
- },
1208
- "contracts/types/Blocknumber.sol": {
1209
- "BlocknumberLib": [
1210
- {
1211
- "length": 20,
1212
- "start": 3252
1213
- }
1214
- ]
1215
- },
1216
1127
  "contracts/types/NftId.sol": {
1217
1128
  "NftIdLib": [
1218
1129
  {
1219
1130
  "length": 20,
1220
- "start": 2668
1131
+ "start": 2201
1221
1132
  },
1222
1133
  {
1223
1134
  "length": 20,
1224
- "start": 4874
1135
+ "start": 4650
1225
1136
  }
1226
1137
  ]
1227
1138
  },
@@ -1229,15 +1140,17 @@
1229
1140
  "VersionLib": [
1230
1141
  {
1231
1142
  "length": 20,
1232
- "start": 2190
1143
+ "start": 1637
1233
1144
  },
1234
1145
  {
1235
1146
  "length": 20,
1236
- "start": 5346
1237
- },
1147
+ "start": 2854
1148
+ }
1149
+ ],
1150
+ "VersionPartLib": [
1238
1151
  {
1239
1152
  "length": 20,
1240
- "start": 6002
1153
+ "start": 5130
1241
1154
  }
1242
1155
  ]
1243
1156
  }