@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7bec40-735

Sign up to get free protection for your applications and to get access to all the features.
Files changed (486) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1023 -204
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +862 -39
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +916 -129
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +694 -40
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +958 -267
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +778 -194
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +226 -1822
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +444 -2190
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +282 -195
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  46. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +67 -245
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  53. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  59. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  61. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  62. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  64. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  65. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  66. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1103 -177
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +231 -204
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -146
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +669 -153
  95. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPricingService.sol/IPricingService.json} +245 -203
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +88 -397
  99. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  101. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1080 -211
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  107. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  109. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  111. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +327 -531
  113. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  115. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  117. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  119. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  121. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  123. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  125. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  126. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  127. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +422 -269
  129. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +311 -122
  131. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  135. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  136. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  137. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  140. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  142. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  146. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  147. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  148. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  149. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +93 -67
  150. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  152. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  154. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  155. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  160. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  161. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  162. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +187 -180
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  170. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  171. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  176. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  177. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -200
  178. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  180. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  184. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  185. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  186. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  189. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  191. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  194. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  196. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  198. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  200. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  202. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  203. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  204. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  206. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  208. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  210. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  212. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  214. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  216. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  218. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  220. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +51 -7
  222. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  223. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  224. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  226. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  227. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  228. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  229. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  230. package/contracts/components/Component.sol +272 -0
  231. package/contracts/components/Distribution.sol +209 -79
  232. package/contracts/components/IComponent.sol +90 -0
  233. package/contracts/components/IDistributionComponent.sol +43 -18
  234. package/contracts/components/IPoolComponent.sol +90 -40
  235. package/contracts/components/IProductComponent.sol +17 -13
  236. package/contracts/components/Pool.sol +222 -166
  237. package/contracts/components/Product.sol +258 -182
  238. package/contracts/instance/BundleManager.sol +126 -0
  239. package/contracts/instance/Cloneable.sol +51 -0
  240. package/contracts/instance/IInstance.sol +63 -40
  241. package/contracts/instance/IInstanceService.sol +73 -0
  242. package/contracts/instance/Instance.sol +213 -71
  243. package/contracts/instance/InstanceAccessManager.sol +541 -0
  244. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  245. package/contracts/instance/InstanceReader.sol +368 -0
  246. package/contracts/instance/InstanceService.sol +308 -0
  247. package/contracts/instance/InstanceServiceManager.sol +54 -0
  248. package/contracts/instance/InstanceStore.sol +212 -0
  249. package/contracts/instance/ObjectManager.sol +82 -0
  250. package/contracts/instance/base/ComponentService.sol +148 -0
  251. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  252. package/contracts/instance/base/ILifecycle.sol +3 -3
  253. package/contracts/instance/base/KeyValueStore.sol +30 -42
  254. package/contracts/instance/base/Lifecycle.sol +27 -7
  255. package/contracts/instance/module/IAccess.sol +54 -0
  256. package/contracts/instance/module/IBundle.sol +23 -0
  257. package/contracts/instance/module/IComponents.sol +41 -0
  258. package/contracts/instance/module/IDistribution.sol +42 -0
  259. package/contracts/instance/module/IPolicy.sol +77 -0
  260. package/contracts/instance/module/IRisk.sol +11 -0
  261. package/contracts/instance/module/ISetup.sol +33 -0
  262. package/contracts/instance/module/ITreasury.sol +23 -0
  263. package/contracts/instance/service/ApplicationService.sol +186 -0
  264. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  265. package/contracts/instance/service/BundleService.sol +382 -0
  266. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  267. package/contracts/instance/service/ClaimService.sol +437 -0
  268. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  269. package/contracts/instance/service/DistributionService.sol +317 -23
  270. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  271. package/contracts/instance/service/IApplicationService.sol +62 -0
  272. package/contracts/instance/service/IBundleService.sol +118 -0
  273. package/contracts/instance/service/IClaimService.sol +90 -0
  274. package/contracts/instance/service/IDistributionService.sol +77 -2
  275. package/contracts/instance/service/IPolicyService.sol +80 -0
  276. package/contracts/instance/service/IPoolService.sol +95 -18
  277. package/contracts/instance/service/IPricingService.sol +37 -0
  278. package/contracts/instance/service/IProductService.sol +9 -76
  279. package/contracts/instance/service/PolicyService.sol +376 -0
  280. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  281. package/contracts/instance/service/PoolService.sol +339 -85
  282. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  283. package/contracts/instance/service/PricingService.sol +275 -0
  284. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  285. package/contracts/instance/service/ProductService.sol +135 -435
  286. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  287. package/contracts/registry/ChainNft.sol +49 -26
  288. package/contracts/registry/IRegistry.sol +53 -25
  289. package/contracts/registry/IRegistryService.sol +53 -16
  290. package/contracts/registry/ITransferInterceptor.sol +1 -0
  291. package/contracts/registry/Registry.sol +289 -313
  292. package/contracts/registry/RegistryAccessManager.sol +216 -0
  293. package/contracts/registry/RegistryService.sol +165 -247
  294. package/contracts/registry/RegistryServiceManager.sol +30 -11
  295. package/contracts/registry/ReleaseManager.sol +324 -0
  296. package/contracts/registry/TokenRegistry.sol +116 -0
  297. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  298. package/contracts/shared/ERC165.sol +15 -9
  299. package/contracts/shared/INftOwnable.sol +11 -10
  300. package/contracts/shared/IPolicyHolder.sol +40 -0
  301. package/contracts/shared/IRegisterable.sol +4 -6
  302. package/contracts/shared/IRegistryLinked.sol +11 -0
  303. package/contracts/shared/IService.sol +18 -0
  304. package/contracts/shared/IVersionable.sol +4 -47
  305. package/contracts/shared/NftOwnable.sol +65 -83
  306. package/contracts/shared/PolicyHolder.sol +94 -0
  307. package/contracts/shared/ProxyManager.sol +101 -26
  308. package/contracts/shared/Registerable.sol +25 -39
  309. package/contracts/shared/RegistryLinked.sol +43 -0
  310. package/contracts/shared/Service.sol +72 -0
  311. package/contracts/shared/TokenHandler.sol +35 -0
  312. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  313. package/contracts/shared/Versionable.sol +5 -93
  314. package/contracts/test/TestFee.sol +2 -2
  315. package/contracts/test/TestRegisterable.sol +1 -1
  316. package/contracts/test/TestRoleId.sol +1 -1
  317. package/contracts/test/TestService.sol +6 -7
  318. package/contracts/types/Amount.sol +109 -0
  319. package/contracts/types/Blocknumber.sol +1 -0
  320. package/contracts/types/ClaimId.sol +75 -0
  321. package/contracts/types/DistributorType.sol +55 -0
  322. package/contracts/types/Fee.sol +19 -10
  323. package/contracts/types/Key32.sol +8 -3
  324. package/contracts/types/NftId.sol +8 -0
  325. package/contracts/types/NftIdSet.sol +26 -24
  326. package/contracts/types/NumberId.sol +52 -0
  327. package/contracts/types/ObjectType.sol +44 -14
  328. package/contracts/types/PayoutId.sol +82 -0
  329. package/contracts/types/Referral.sol +89 -0
  330. package/contracts/types/RoleId.sol +68 -9
  331. package/contracts/types/Seconds.sol +54 -0
  332. package/contracts/types/StateId.sol +12 -3
  333. package/contracts/types/Timestamp.sol +22 -13
  334. package/contracts/types/UFixed.sol +129 -12
  335. package/contracts/types/Version.sol +5 -1
  336. package/package.json +6 -5
  337. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  339. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  340. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  342. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  344. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  346. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  348. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  350. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  352. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  354. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  357. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  359. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  361. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  365. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  367. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  369. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  371. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  372. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  373. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
  379. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  380. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  381. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  384. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  387. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  389. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  392. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  394. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  396. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  398. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  400. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  401. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  403. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  406. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  408. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  410. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  412. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  414. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  415. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  417. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  418. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  419. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  420. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  422. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  423. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  424. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  426. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
  428. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  429. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  430. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  431. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  432. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  433. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  434. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  435. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  437. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  439. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  440. package/contracts/components/BaseComponent.sol +0 -79
  441. package/contracts/components/IBaseComponent.sol +0 -19
  442. package/contracts/experiment/errors/Require.sol +0 -38
  443. package/contracts/experiment/errors/Revert.sol +0 -44
  444. package/contracts/experiment/inheritance/A.sol +0 -53
  445. package/contracts/experiment/inheritance/B.sol +0 -28
  446. package/contracts/experiment/inheritance/C.sol +0 -34
  447. package/contracts/experiment/inheritance/IA.sol +0 -13
  448. package/contracts/experiment/inheritance/IB.sol +0 -10
  449. package/contracts/experiment/inheritance/IC.sol +0 -12
  450. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  451. package/contracts/experiment/statemachine/ISM.sol +0 -25
  452. package/contracts/experiment/statemachine/SM.sol +0 -57
  453. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  454. package/contracts/experiment/types/TypeA.sol +0 -47
  455. package/contracts/experiment/types/TypeB.sol +0 -29
  456. package/contracts/instance/IInstanceLinked.sol +0 -8
  457. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  458. package/contracts/instance/base/IInstanceBase.sol +0 -23
  459. package/contracts/instance/base/IService.sol +0 -15
  460. package/contracts/instance/base/InstanceBase.sol +0 -89
  461. package/contracts/instance/base/ModuleBase.sol +0 -57
  462. package/contracts/instance/base/ServiceBase.sol +0 -44
  463. package/contracts/instance/module/access/Access.sol +0 -149
  464. package/contracts/instance/module/access/IAccess.sol +0 -53
  465. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  466. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  467. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  468. package/contracts/instance/module/component/IComponent.sol +0 -28
  469. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  470. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  471. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  472. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  473. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  474. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  475. package/contracts/instance/module/risk/IRisk.sol +0 -26
  476. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  477. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  478. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  479. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  480. package/contracts/instance/service/ComponentOwnerService.sol +0 -275
  481. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  482. package/contracts/registry/IChainNft.sol +0 -22
  483. package/contracts/test/TestDistribution.sol +0 -22
  484. package/contracts/test/TestPool.sol +0 -27
  485. package/contracts/test/TestProduct.sol +0 -74
  486. package/contracts/types/ReferralId.sol +0 -48
@@ -7,81 +7,92 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
12
  }
18
13
  ],
19
- "name": "ErrorAlreadyLinked",
14
+ "name": "AccessManagedInvalidAuthority",
20
15
  "type": "error"
21
16
  },
22
17
  {
23
18
  "inputs": [
24
19
  {
25
20
  "internalType": "address",
26
- "name": "contractAddress",
21
+ "name": "caller",
27
22
  "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
28
  }
29
29
  ],
30
- "name": "ErrorContractNotRegistered",
30
+ "name": "AccessManagedRequiredDelay",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
35
  {
36
36
  "internalType": "address",
37
- "name": "account",
37
+ "name": "caller",
38
38
  "type": "address"
39
39
  }
40
40
  ],
41
- "name": "ErrorNotOwner",
41
+ "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
44
  {
45
45
  "inputs": [
46
46
  {
47
- "internalType": "address",
48
- "name": "registryAddress",
49
- "type": "address"
47
+ "internalType": "NftId",
48
+ "name": "nftId",
49
+ "type": "uint96"
50
50
  }
51
51
  ],
52
- "name": "ErrorNotRegistry",
52
+ "name": "ErrorNftOwnableAlreadyLinked",
53
53
  "type": "error"
54
54
  },
55
55
  {
56
56
  "inputs": [
57
57
  {
58
58
  "internalType": "address",
59
- "name": "registryAddress",
59
+ "name": "contractAddress",
60
60
  "type": "address"
61
61
  }
62
62
  ],
63
- "name": "ErrorRegisterableNotRegistry",
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
64
  "type": "error"
65
65
  },
66
66
  {
67
67
  "inputs": [],
68
- "name": "ErrorRegistryAddressZero",
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
69
  "type": "error"
70
70
  },
71
71
  {
72
72
  "inputs": [
73
73
  {
74
74
  "internalType": "address",
75
- "name": "registry",
75
+ "name": "account",
76
76
  "type": "address"
77
77
  }
78
78
  ],
79
- "name": "ErrorRegistryAlreadyInitialized",
79
+ "name": "ErrorNftOwnableNotOwner",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "registryAddress",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorNotRegistry",
80
91
  "type": "error"
81
92
  },
82
93
  {
83
94
  "inputs": [],
84
- "name": "ErrorRegistryNotInitialized",
95
+ "name": "ErrorServiceNotImplemented",
85
96
  "type": "error"
86
97
  },
87
98
  {
@@ -112,34 +123,39 @@
112
123
  "type": "error"
113
124
  },
114
125
  {
115
- "inputs": [
116
- {
117
- "internalType": "ObjectType",
118
- "name": "objectType",
119
- "type": "uint8"
120
- }
121
- ],
122
- "name": "InvalidType",
126
+ "inputs": [],
127
+ "name": "NotDistribution",
123
128
  "type": "error"
124
129
  },
125
130
  {
126
131
  "inputs": [],
127
- "name": "MissingAllowance",
132
+ "name": "NotInitializing",
128
133
  "type": "error"
129
134
  },
130
135
  {
131
136
  "inputs": [],
132
- "name": "NotComponent",
137
+ "name": "NotInstance",
133
138
  "type": "error"
134
139
  },
135
140
  {
136
141
  "inputs": [],
137
- "name": "NotInitializing",
142
+ "name": "NotPool",
138
143
  "type": "error"
139
144
  },
140
145
  {
141
146
  "inputs": [],
142
- "name": "NotInstance",
147
+ "name": "NotProduct",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "expectedOwner",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "NotRegisterableOwner",
143
159
  "type": "error"
144
160
  },
145
161
  {
@@ -154,7 +170,12 @@
154
170
  },
155
171
  {
156
172
  "inputs": [],
157
- "name": "NotToken",
173
+ "name": "RegisterableOwnerIsRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "RegisterableOwnerIsZero",
158
179
  "type": "error"
159
180
  },
160
181
  {
@@ -163,51 +184,55 @@
163
184
  "type": "error"
164
185
  },
165
186
  {
166
- "anonymous": false,
167
187
  "inputs": [
168
188
  {
169
- "indexed": false,
170
- "internalType": "uint64",
171
- "name": "version",
172
- "type": "uint64"
189
+ "internalType": "ObjectType",
190
+ "name": "expected",
191
+ "type": "uint8"
192
+ },
193
+ {
194
+ "internalType": "ObjectType",
195
+ "name": "found",
196
+ "type": "uint8"
173
197
  }
174
198
  ],
175
- "name": "Initialized",
176
- "type": "event"
199
+ "name": "UnexpectedRegisterableType",
200
+ "type": "error"
177
201
  },
178
202
  {
179
203
  "anonymous": false,
180
204
  "inputs": [
181
- {
182
- "indexed": false,
183
- "internalType": "Version",
184
- "name": "version",
185
- "type": "uint24"
186
- },
187
205
  {
188
206
  "indexed": false,
189
207
  "internalType": "address",
190
- "name": "implementation",
208
+ "name": "authority",
191
209
  "type": "address"
192
- },
210
+ }
211
+ ],
212
+ "name": "AuthorityUpdated",
213
+ "type": "event"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
193
218
  {
194
219
  "indexed": false,
195
- "internalType": "address",
196
- "name": "activatedBy",
197
- "type": "address"
220
+ "internalType": "uint64",
221
+ "name": "version",
222
+ "type": "uint64"
198
223
  }
199
224
  ],
200
- "name": "LogVersionableInitialized",
225
+ "name": "Initialized",
201
226
  "type": "event"
202
227
  },
203
228
  {
204
229
  "inputs": [],
205
- "name": "NAME",
230
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
206
231
  "outputs": [
207
232
  {
208
- "internalType": "string",
233
+ "internalType": "bytes32",
209
234
  "name": "",
210
- "type": "string"
235
+ "type": "bytes32"
211
236
  }
212
237
  ],
213
238
  "stateMutability": "view",
@@ -215,12 +240,12 @@
215
240
  },
216
241
  {
217
242
  "inputs": [],
218
- "name": "NFT_LOCK_ADDRESS",
243
+ "name": "REGISTERABLE_LOCATION_V1",
219
244
  "outputs": [
220
245
  {
221
- "internalType": "address",
246
+ "internalType": "bytes32",
222
247
  "name": "",
223
- "type": "address"
248
+ "type": "bytes32"
224
249
  }
225
250
  ],
226
251
  "stateMutability": "view",
@@ -228,7 +253,7 @@
228
253
  },
229
254
  {
230
255
  "inputs": [],
231
- "name": "REGISTERABLE_LOCATION_V1",
256
+ "name": "REGISTRY_CREATION_CODE_HASH",
232
257
  "outputs": [
233
258
  {
234
259
  "internalType": "bytes32",
@@ -241,17 +266,55 @@
241
266
  },
242
267
  {
243
268
  "inputs": [],
244
- "name": "REGISTRY_CREATION_CODE_HASH",
269
+ "name": "authority",
245
270
  "outputs": [
246
271
  {
247
- "internalType": "bytes32",
272
+ "internalType": "address",
248
273
  "name": "",
249
- "type": "bytes32"
274
+ "type": "address"
250
275
  }
251
276
  ],
252
277
  "stateMutability": "view",
253
278
  "type": "function"
254
279
  },
280
+ {
281
+ "inputs": [],
282
+ "name": "getDomain",
283
+ "outputs": [
284
+ {
285
+ "internalType": "ObjectType",
286
+ "name": "serviceDomain",
287
+ "type": "uint8"
288
+ }
289
+ ],
290
+ "stateMutability": "pure",
291
+ "type": "function"
292
+ },
293
+ {
294
+ "inputs": [],
295
+ "name": "getFunctionConfigs",
296
+ "outputs": [
297
+ {
298
+ "components": [
299
+ {
300
+ "internalType": "ObjectType",
301
+ "name": "serviceDomain",
302
+ "type": "uint8"
303
+ },
304
+ {
305
+ "internalType": "bytes4[]",
306
+ "name": "selectors",
307
+ "type": "bytes4[]"
308
+ }
309
+ ],
310
+ "internalType": "struct IRegistryService.FunctionConfig[]",
311
+ "name": "config",
312
+ "type": "tuple[]"
313
+ }
314
+ ],
315
+ "stateMutability": "pure",
316
+ "type": "function"
317
+ },
255
318
  {
256
319
  "inputs": [],
257
320
  "name": "getInitialInfo",
@@ -295,57 +358,13 @@
295
358
  }
296
359
  ],
297
360
  "internalType": "struct IRegistry.ObjectInfo",
298
- "name": "",
361
+ "name": "info",
299
362
  "type": "tuple"
300
- },
301
- {
302
- "internalType": "bytes",
303
- "name": "data",
304
- "type": "bytes"
305
- }
306
- ],
307
- "stateMutability": "view",
308
- "type": "function"
309
- },
310
- {
311
- "inputs": [],
312
- "name": "getInitializedVersion",
313
- "outputs": [
314
- {
315
- "internalType": "uint64",
316
- "name": "",
317
- "type": "uint64"
318
363
  }
319
364
  ],
320
365
  "stateMutability": "view",
321
366
  "type": "function"
322
367
  },
323
- {
324
- "inputs": [],
325
- "name": "getMajorVersion",
326
- "outputs": [
327
- {
328
- "internalType": "VersionPart",
329
- "name": "majorVersion",
330
- "type": "uint8"
331
- }
332
- ],
333
- "stateMutability": "view",
334
- "type": "function"
335
- },
336
- {
337
- "inputs": [],
338
- "name": "getName",
339
- "outputs": [
340
- {
341
- "internalType": "string",
342
- "name": "",
343
- "type": "string"
344
- }
345
- ],
346
- "stateMutability": "pure",
347
- "type": "function"
348
- },
349
368
  {
350
369
  "inputs": [],
351
370
  "name": "getNftId",
@@ -398,91 +417,107 @@
398
417
  "stateMutability": "pure",
399
418
  "type": "function"
400
419
  },
420
+ {
421
+ "inputs": [],
422
+ "name": "initializeERC165",
423
+ "outputs": [],
424
+ "stateMutability": "nonpayable",
425
+ "type": "function"
426
+ },
401
427
  {
402
428
  "inputs": [
403
429
  {
404
- "internalType": "uint256",
405
- "name": "idx",
406
- "type": "uint256"
407
- }
408
- ],
409
- "name": "getVersion",
410
- "outputs": [
430
+ "internalType": "address",
431
+ "name": "initialOwner",
432
+ "type": "address"
433
+ },
411
434
  {
412
- "internalType": "Version",
413
- "name": "",
414
- "type": "uint24"
435
+ "internalType": "address",
436
+ "name": "registryAddress",
437
+ "type": "address"
415
438
  }
416
439
  ],
417
- "stateMutability": "view",
440
+ "name": "initializeNftOwnable",
441
+ "outputs": [],
442
+ "stateMutability": "nonpayable",
418
443
  "type": "function"
419
444
  },
420
445
  {
421
- "inputs": [],
422
- "name": "getVersionCount",
423
- "outputs": [
446
+ "inputs": [
424
447
  {
425
- "internalType": "uint256",
426
- "name": "",
427
- "type": "uint256"
448
+ "internalType": "address",
449
+ "name": "registryAddress",
450
+ "type": "address"
451
+ },
452
+ {
453
+ "internalType": "NftId",
454
+ "name": "parentNftId",
455
+ "type": "uint96"
456
+ },
457
+ {
458
+ "internalType": "ObjectType",
459
+ "name": "objectType",
460
+ "type": "uint8"
461
+ },
462
+ {
463
+ "internalType": "bool",
464
+ "name": "isInterceptor",
465
+ "type": "bool"
466
+ },
467
+ {
468
+ "internalType": "address",
469
+ "name": "initialOwner",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "bytes",
474
+ "name": "registryData",
475
+ "type": "bytes"
428
476
  }
429
477
  ],
430
- "stateMutability": "view",
478
+ "name": "initializeRegisterable",
479
+ "outputs": [],
480
+ "stateMutability": "nonpayable",
431
481
  "type": "function"
432
482
  },
433
483
  {
434
484
  "inputs": [
435
485
  {
436
- "internalType": "Version",
437
- "name": "_version",
438
- "type": "uint24"
486
+ "internalType": "address",
487
+ "name": "registryAddress",
488
+ "type": "address"
439
489
  }
440
490
  ],
441
- "name": "getVersionInfo",
442
- "outputs": [
491
+ "name": "initializeRegistryLinked",
492
+ "outputs": [],
493
+ "stateMutability": "nonpayable",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [
443
498
  {
444
- "components": [
445
- {
446
- "internalType": "Version",
447
- "name": "version",
448
- "type": "uint24"
449
- },
450
- {
451
- "internalType": "address",
452
- "name": "implementation",
453
- "type": "address"
454
- },
455
- {
456
- "internalType": "address",
457
- "name": "activatedBy",
458
- "type": "address"
459
- },
460
- {
461
- "internalType": "Timestamp",
462
- "name": "activatedAt",
463
- "type": "uint40"
464
- },
465
- {
466
- "internalType": "Blocknumber",
467
- "name": "activatedIn",
468
- "type": "uint32"
469
- }
470
- ],
471
- "internalType": "struct IVersionable.VersionInfo",
472
- "name": "",
473
- "type": "tuple"
499
+ "internalType": "address",
500
+ "name": "registry",
501
+ "type": "address"
502
+ },
503
+ {
504
+ "internalType": "address",
505
+ "name": "authority",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "internalType": "address",
510
+ "name": "initialOwner",
511
+ "type": "address"
474
512
  }
475
513
  ],
476
- "stateMutability": "view",
514
+ "name": "initializeService",
515
+ "outputs": [],
516
+ "stateMutability": "nonpayable",
477
517
  "type": "function"
478
518
  },
479
519
  {
480
520
  "inputs": [
481
- {
482
- "internalType": "address",
483
- "name": "implementation",
484
- "type": "address"
485
- },
486
521
  {
487
522
  "internalType": "address",
488
523
  "name": "activatedBy",
@@ -494,25 +529,19 @@
494
529
  "type": "bytes"
495
530
  }
496
531
  ],
497
- "name": "initialize",
532
+ "name": "initializeVersionable",
498
533
  "outputs": [],
499
534
  "stateMutability": "nonpayable",
500
535
  "type": "function"
501
536
  },
502
537
  {
503
- "inputs": [
504
- {
505
- "internalType": "Version",
506
- "name": "_version",
507
- "type": "uint24"
508
- }
509
- ],
510
- "name": "isInitialized",
538
+ "inputs": [],
539
+ "name": "isConsumingScheduledOp",
511
540
  "outputs": [
512
541
  {
513
- "internalType": "bool",
542
+ "internalType": "bytes4",
514
543
  "name": "",
515
- "type": "bool"
544
+ "type": "bytes4"
516
545
  }
517
546
  ],
518
547
  "stateMutability": "view",
@@ -584,22 +613,17 @@
584
613
  {
585
614
  "inputs": [
586
615
  {
587
- "internalType": "contract IBaseComponent",
588
- "name": "component",
616
+ "internalType": "contract IComponent",
617
+ "name": "distribution",
589
618
  "type": "address"
590
619
  },
591
- {
592
- "internalType": "ObjectType",
593
- "name": "componentType",
594
- "type": "uint8"
595
- },
596
620
  {
597
621
  "internalType": "address",
598
622
  "name": "owner",
599
623
  "type": "address"
600
624
  }
601
625
  ],
602
- "name": "registerComponent",
626
+ "name": "registerDistribution",
603
627
  "outputs": [
604
628
  {
605
629
  "components": [
@@ -642,11 +666,62 @@
642
666
  "internalType": "struct IRegistry.ObjectInfo",
643
667
  "name": "info",
644
668
  "type": "tuple"
645
- },
669
+ }
670
+ ],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
646
676
  {
647
- "internalType": "bytes",
648
- "name": "data",
649
- "type": "bytes"
677
+ "components": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "nftId",
681
+ "type": "uint96"
682
+ },
683
+ {
684
+ "internalType": "NftId",
685
+ "name": "parentNftId",
686
+ "type": "uint96"
687
+ },
688
+ {
689
+ "internalType": "ObjectType",
690
+ "name": "objectType",
691
+ "type": "uint8"
692
+ },
693
+ {
694
+ "internalType": "bool",
695
+ "name": "isInterceptor",
696
+ "type": "bool"
697
+ },
698
+ {
699
+ "internalType": "address",
700
+ "name": "objectAddress",
701
+ "type": "address"
702
+ },
703
+ {
704
+ "internalType": "address",
705
+ "name": "initialOwner",
706
+ "type": "address"
707
+ },
708
+ {
709
+ "internalType": "bytes",
710
+ "name": "data",
711
+ "type": "bytes"
712
+ }
713
+ ],
714
+ "internalType": "struct IRegistry.ObjectInfo",
715
+ "name": "info",
716
+ "type": "tuple"
717
+ }
718
+ ],
719
+ "name": "registerDistributor",
720
+ "outputs": [
721
+ {
722
+ "internalType": "NftId",
723
+ "name": "nftId",
724
+ "type": "uint96"
650
725
  }
651
726
  ],
652
727
  "stateMutability": "nonpayable",
@@ -658,6 +733,11 @@
658
733
  "internalType": "contract IRegisterable",
659
734
  "name": "instance",
660
735
  "type": "address"
736
+ },
737
+ {
738
+ "internalType": "address",
739
+ "name": "owner",
740
+ "type": "address"
661
741
  }
662
742
  ],
663
743
  "name": "registerInstance",
@@ -703,13 +783,21 @@
703
783
  "internalType": "struct IRegistry.ObjectInfo",
704
784
  "name": "info",
705
785
  "type": "tuple"
706
- },
786
+ }
787
+ ],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
707
793
  {
708
- "internalType": "bytes",
709
- "name": "data",
710
- "type": "bytes"
794
+ "internalType": "bytes4",
795
+ "name": "interfaceId",
796
+ "type": "bytes4"
711
797
  }
712
798
  ],
799
+ "name": "registerInterface",
800
+ "outputs": [],
713
801
  "stateMutability": "nonpayable",
714
802
  "type": "function"
715
803
  },
@@ -772,12 +860,17 @@
772
860
  {
773
861
  "inputs": [
774
862
  {
775
- "internalType": "contract IService",
776
- "name": "service",
863
+ "internalType": "contract IComponent",
864
+ "name": "pool",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "internalType": "address",
869
+ "name": "owner",
777
870
  "type": "address"
778
871
  }
779
872
  ],
780
- "name": "registerService",
873
+ "name": "registerPool",
781
874
  "outputs": [
782
875
  {
783
876
  "components": [
@@ -820,11 +913,6 @@
820
913
  "internalType": "struct IRegistry.ObjectInfo",
821
914
  "name": "info",
822
915
  "type": "tuple"
823
- },
824
- {
825
- "internalType": "bytes",
826
- "name": "data",
827
- "type": "bytes"
828
916
  }
829
917
  ],
830
918
  "stateMutability": "nonpayable",
@@ -832,13 +920,111 @@
832
920
  },
833
921
  {
834
922
  "inputs": [
923
+ {
924
+ "internalType": "contract IComponent",
925
+ "name": "product",
926
+ "type": "address"
927
+ },
835
928
  {
836
929
  "internalType": "address",
837
- "name": "tokenAddress",
930
+ "name": "owner",
838
931
  "type": "address"
839
932
  }
840
933
  ],
841
- "name": "registerToken",
934
+ "name": "registerProduct",
935
+ "outputs": [
936
+ {
937
+ "components": [
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "nftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "NftId",
945
+ "name": "parentNftId",
946
+ "type": "uint96"
947
+ },
948
+ {
949
+ "internalType": "ObjectType",
950
+ "name": "objectType",
951
+ "type": "uint8"
952
+ },
953
+ {
954
+ "internalType": "bool",
955
+ "name": "isInterceptor",
956
+ "type": "bool"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "objectAddress",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "address",
965
+ "name": "initialOwner",
966
+ "type": "address"
967
+ },
968
+ {
969
+ "internalType": "bytes",
970
+ "name": "data",
971
+ "type": "bytes"
972
+ }
973
+ ],
974
+ "internalType": "struct IRegistry.ObjectInfo",
975
+ "name": "info",
976
+ "type": "tuple"
977
+ }
978
+ ],
979
+ "stateMutability": "nonpayable",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "components": [
986
+ {
987
+ "internalType": "NftId",
988
+ "name": "nftId",
989
+ "type": "uint96"
990
+ },
991
+ {
992
+ "internalType": "NftId",
993
+ "name": "parentNftId",
994
+ "type": "uint96"
995
+ },
996
+ {
997
+ "internalType": "ObjectType",
998
+ "name": "objectType",
999
+ "type": "uint8"
1000
+ },
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "isInterceptor",
1004
+ "type": "bool"
1005
+ },
1006
+ {
1007
+ "internalType": "address",
1008
+ "name": "objectAddress",
1009
+ "type": "address"
1010
+ },
1011
+ {
1012
+ "internalType": "address",
1013
+ "name": "initialOwner",
1014
+ "type": "address"
1015
+ },
1016
+ {
1017
+ "internalType": "bytes",
1018
+ "name": "data",
1019
+ "type": "bytes"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct IRegistry.ObjectInfo",
1023
+ "name": "info",
1024
+ "type": "tuple"
1025
+ }
1026
+ ],
1027
+ "name": "registerStake",
842
1028
  "outputs": [
843
1029
  {
844
1030
  "internalType": "NftId",
@@ -849,6 +1035,19 @@
849
1035
  "stateMutability": "nonpayable",
850
1036
  "type": "function"
851
1037
  },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "address",
1042
+ "name": "newAuthority",
1043
+ "type": "address"
1044
+ }
1045
+ ],
1046
+ "name": "setAuthority",
1047
+ "outputs": [],
1048
+ "stateMutability": "nonpayable",
1049
+ "type": "function"
1050
+ },
852
1051
  {
853
1052
  "inputs": [
854
1053
  {
@@ -870,60 +1069,30 @@
870
1069
  },
871
1070
  {
872
1071
  "inputs": [
873
- {
874
- "internalType": "address",
875
- "name": "implementation",
876
- "type": "address"
877
- },
878
- {
879
- "internalType": "address",
880
- "name": "activatedBy",
881
- "type": "address"
882
- },
883
1072
  {
884
1073
  "internalType": "bytes",
885
1074
  "name": "data",
886
1075
  "type": "bytes"
887
1076
  }
888
1077
  ],
889
- "name": "upgrade",
1078
+ "name": "upgradeVersionable",
890
1079
  "outputs": [],
891
1080
  "stateMutability": "nonpayable",
892
1081
  "type": "function"
893
1082
  }
894
1083
  ],
895
- "bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612f2880620001346000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046125e9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e3366004612638565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107f1565b60405162ffffff90911681526020016101cc565b61022461087b565b6040516101cc92919061271e565b61023a6109bc565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061274c565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612770565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612ed383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612770565b610bde565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e86104043660046128cb565b610c91565b600154600160a01b90046001600160601b03166101e8565b61022461042f366004612638565b610e30565b6103de610fbd565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f36600461299d565b6110d6565b6104ac611230565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046129fe565b611251565b6101e86104e53660046128cb565b6112a2565b6104f26113c7565b60405160ff90911681526020016101cc565b61023a61051236600461299d565b61144a565b610224610525366004612a17565b611553565b6103de600181565b610297600081565b610224610548366004612638565b6117eb565b6040516301ffc9a760e01b8152600090829082906001600160a01b038316906301ffc9a790610587906303fb044760e21b90600401612a62565b602060405180830381865afa9250505080156105c0575060408051601f3d908101601f191682019092526105bd91810190612a82565b60015b6105cc575060006105cf565b90505b80156105ee5760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d39190612ad2565b6001600160a01b0316336001600160a01b0316146107045760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610719600090565b6001600160601b03168152602001836001600160601b0316815260200161073e601e90565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e906107a4908490600401612aef565b6020604051808303816000875af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190612aaa565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612b02565b905090565b6108836125ab565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108bd600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610905610fbd565b6001600160a01b0316815260200182600101805461092290612b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461094e90612b1f565b801561099b5780601f106109705761010080835404028352916020019161099b565b820191906000526020600020905b81548152906001019060200180831161097e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a429190612a82565b15610a89576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610ab25760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610afb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f9190612a82565b610b47576040516372657a5160e01b81526001600160a01b0382166004820152602401610a80565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb59190612aaa565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612ed383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612b59565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d029190612aaa565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d899190612a82565b1515600003610dab57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360d2611a97565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de6908690600401612aef565b6020604051808303816000875af1158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190612aaa565b9392505050565b610e386125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610e6e90630de7806f60e41b90600401612a62565b602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190612a82565b1515600003610ed157604051636795c76360e01b815260040160405180910390fd5b610ede8360325b33611bcd565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610f12908590600401612aef565b6020604051808303816000875af1158015610f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f559190612aaa565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b158015610fa057600080fd5b505af1158015610fb4573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110469190612a82565b156110c657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612ad2565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110f86107f1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115c9190612b72565b600080516020612eb38339815191528054600160401b900460ff168061118f575080546001600160401b03808416911610155b156111ad5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111d88585611da9565b6111e183611fe4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610876600080516020612eb3833981519152546001600160401b031690565b6000600080516020612ed3833981519152600101828154811061127657611276612b9b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113139190612aaa565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015611376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139a9190612a82565b15156000036113bc57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360dc611a97565b60006113d16107f1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611426573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612bbc565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561147d5750825b90506000826001600160401b031660011480156114995750303b155b9050811580156114a7575080155b156114c55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114ef57845460ff60401b1916600160401b1785555b6114f98888611da9565b6115038787611fec565b831561154957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61155b6125ab565b6040516301ffc9a760e01b81526060906001600160a01b038616906301ffc9a79061159190631b1599eb60e21b90600401612a62565b602060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d29190612a82565b6115ef57604051634138dc2760e11b815260040160405180910390fd5b6115fa858585611bcd565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190612aaa565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190612a82565b61170b57604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061173b908690600401612aef565b6020604051808303816000875af115801561175a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b1580156117c957600080fd5b505af11580156117dd573d6000803e3d6000fd5b50505050505b935093915050565b6117f36125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061182990631b4612f160e31b90600401612a62565b602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a9190612a82565b151560000361188c57604051635458064d60e11b815260040160405180910390fd5b611897836028610ed8565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa1580156118e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa15801561195f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119839190612ad2565b6001600160a01b0316336001600160a01b0316146119b45760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906119eb908690600401612aef565b6020604051808303816000875af1158015611a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b158015611a7957600080fd5b505af1158015611a8d573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611ad4576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4f9190612a82565b80611b65575060a08201516001600160a01b0316155b15611b945760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b604082015160ff828116911614611bc957604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b5050565b611bd56125ab565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c3d9190810190612c1e565b608082015191935091506001600160a01b03868116911614611c83576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb9190612a82565b80611d1c5750826001600160a01b03168260a001516001600160a01b031614155b15611d4b5760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0385163303611d74576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff8581169116146117e357604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b611db16122b6565b600080516020612ed38339815191526000611de1600080516020612eb3833981519152546001600160401b031690565b90506000611ded6107f1565b9050816001600160401b0316600103611e1a5760028301805462ffffff191662ffffff8316179055611e68565b600283015462ffffff90811690821611611e685760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a80565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611edc4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112219083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e6122b6565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561201f5750825b90506000826001600160401b0316600114801561203b5750303b155b905081158015612049575080155b156120675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561209157845460ff60401b1916600160401b1785555b60008761209c6113c7565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490612108908b908690600401612d16565b600060405180830381865af4158015612125573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214d9190810190612d29565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f029061218c9085908590600401612d5d565b602060405180830381865af41580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190612ad2565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223d9190612aaa565b905061224a83828e6122ef565b6122526109bc565b61226263183a225360e11b612373565b505050505083156122ad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612eb383398151915254600160401b900460ff166122ed57604051631afcd79f60e31b815260040160405180910390fd5b565b600061231d60408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6123256113c7565b604051602001612336929190612d7f565b604051602081830303815290604052905061235d8484612354602890565b60008686612398565b61236d631b4612f160e31b612373565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6123a28287612423565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124128382612df3565b506122ad6303fb044760e21b612373565b600280546001600160a01b0319166001600160a01b038416179055611bc9816001546001600160a01b03161561247b5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0381166124a25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124d85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061251e90632c1c764b60e11b90600401612a62565b602060405180830381865afa925050508015612557575060408051601f3d908101601f1916820190925261255491810190612a82565b60015b61257f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b80611bc95760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a80565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156125fb57600080fd5b81356001600160e01b031981168114610e2957600080fd5b6001600160a01b03811681146125a857600080fd5b803561263381612613565b919050565b60006020828403121561264a57600080fd5b8135610e2981612613565b60005b83811015612670578181015183820152602001612658565b50506000910152565b60008151808452612691816020860160208601612655565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261271660e0850182612679565b949350505050565b60408152600061273160408301856126a5565b82810360208401526127438185612679565b95945050505050565b602081526000610e296020830184612679565b62ffffff811681146125a857600080fd5b60006020828403121561278257600080fd5b8135610e298161275f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127c5576127c561278d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127f3576127f361278d565b604052919050565b6001600160601b03811681146125a857600080fd5b8035612633816127fb565b60ff811681146125a857600080fd5b80356126338161281b565b80151581146125a857600080fd5b803561263381612835565b60006001600160401b038211156128675761286761278d565b50601f01601f191660200190565b600082601f83011261288657600080fd5b81356128996128948261284e565b6127cb565b8181528460208386010111156128ae57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156128dd57600080fd5b81356001600160401b03808211156128f457600080fd5b9083019060e0828603121561290857600080fd5b6129106127a3565b61291983612810565b815261292760208401612810565b60208201526129386040840161282a565b604082015261294960608401612843565b606082015261295a60808401612628565b608082015261296b60a08401612628565b60a082015260c08301358281111561298257600080fd5b61298e87828601612875565b60c08301525095945050505050565b6000806000606084860312156129b257600080fd5b83356129bd81612613565b925060208401356129cd81612613565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612875565b9150509250925092565b600060208284031215612a1057600080fd5b5035919050565b600080600060608486031215612a2c57600080fd5b8335612a3781612613565b92506020840135612a478161281b565b91506040840135612a5781612613565b809150509250925092565b6001600160e01b031991909116815260200190565b805161263381612835565b600060208284031215612a9457600080fd5b8151610e2981612835565b8051612633816127fb565b600060208284031215612abc57600080fd5b8151610e29816127fb565b805161263381612613565b600060208284031215612ae457600080fd5b8151610e2981612613565b602081526000610e2960208301846126a5565b600060208284031215612b1457600080fd5b8151610e298161275f565b600181811c90821680612b3357607f821691505b602082108103612b5357634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612b6b57600080fd5b5051919050565b600060208284031215612b8457600080fd5b81516001600160401b0381168114610e2957600080fd5b634e487b7160e01b600052603260045260246000fd5b80516126338161281b565b600060208284031215612bce57600080fd5b8151610e298161281b565b600082601f830112612bea57600080fd5b8151612bf86128948261284e565b818152846020838601011115612c0d57600080fd5b612716826020830160208701612655565b60008060408385031215612c3157600080fd5b82516001600160401b0380821115612c4857600080fd5b9084019060e08287031215612c5c57600080fd5b612c646127a3565b612c6d83612a9f565b8152612c7b60208401612a9f565b6020820152612c8c60408401612bb1565b6040820152612c9d60608401612a77565b6060820152612cae60808401612ac7565b6080820152612cbf60a08401612ac7565b60a082015260c083015182811115612cd657600080fd5b612ce288828601612bd9565b60c0830152506020860151909450915080821115612cff57600080fd5b50612d0c85828601612bd9565b9150509250929050565b6040815260006127316040830185612679565b600060208284031215612d3b57600080fd5b81516001600160401b03811115612d5157600080fd5b61271684828501612bd9565b604081526000612d706040830185612679565b90508260208301529392505050565b604081526000612d926040830185612679565b905060ff831660208301529392505050565b601f821115612dee57600081815260208120601f850160051c81016020861015612dcb5750805b601f850160051c820191505b81811015612dea57828155600101612dd7565b5050505b505050565b81516001600160401b03811115612e0c57612e0c61278d565b612e2081612e1a8454612b1f565b84612da4565b602080601f831160018114612e555760008415612e3d5750858301515b600019600386901b1c1916600185901b178555612dea565b600085815260208120601f198616915b82811015612e8457888601518255948401946001909101908401612e65565b5085821015612ea25787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c26a3db4026ab2ed0ce89b761a0c8cf34c0b8cc5adec67e2d9f17d6e19b32cf064736f6c63430008140033",
896
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046125e9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e3366004612638565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107f1565b60405162ffffff90911681526020016101cc565b61022461087b565b6040516101cc92919061271e565b61023a6109bc565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061274c565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612770565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612ed383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612770565b610bde565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e86104043660046128cb565b610c91565b600154600160a01b90046001600160601b03166101e8565b61022461042f366004612638565b610e30565b6103de610fbd565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f36600461299d565b6110d6565b6104ac611230565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046129fe565b611251565b6101e86104e53660046128cb565b6112a2565b6104f26113c7565b60405160ff90911681526020016101cc565b61023a61051236600461299d565b61144a565b610224610525366004612a17565b611553565b6103de600181565b610297600081565b610224610548366004612638565b6117eb565b6040516301ffc9a760e01b8152600090829082906001600160a01b038316906301ffc9a790610587906303fb044760e21b90600401612a62565b602060405180830381865afa9250505080156105c0575060408051601f3d908101601f191682019092526105bd91810190612a82565b60015b6105cc575060006105cf565b90505b80156105ee5760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d39190612ad2565b6001600160a01b0316336001600160a01b0316146107045760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610719600090565b6001600160601b03168152602001836001600160601b0316815260200161073e601e90565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e906107a4908490600401612aef565b6020604051808303816000875af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190612aaa565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612b02565b905090565b6108836125ab565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108bd600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610905610fbd565b6001600160a01b0316815260200182600101805461092290612b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461094e90612b1f565b801561099b5780601f106109705761010080835404028352916020019161099b565b820191906000526020600020905b81548152906001019060200180831161097e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a429190612a82565b15610a89576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610ab25760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610afb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f9190612a82565b610b47576040516372657a5160e01b81526001600160a01b0382166004820152602401610a80565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb59190612aaa565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612ed383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612b59565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d029190612aaa565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d899190612a82565b1515600003610dab57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360d2611a97565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de6908690600401612aef565b6020604051808303816000875af1158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190612aaa565b9392505050565b610e386125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610e6e90630de7806f60e41b90600401612a62565b602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190612a82565b1515600003610ed157604051636795c76360e01b815260040160405180910390fd5b610ede8360325b33611bcd565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610f12908590600401612aef565b6020604051808303816000875af1158015610f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f559190612aaa565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b158015610fa057600080fd5b505af1158015610fb4573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110469190612a82565b156110c657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612ad2565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110f86107f1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115c9190612b72565b600080516020612eb38339815191528054600160401b900460ff168061118f575080546001600160401b03808416911610155b156111ad5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111d88585611da9565b6111e183611fe4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610876600080516020612eb3833981519152546001600160401b031690565b6000600080516020612ed3833981519152600101828154811061127657611276612b9b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113139190612aaa565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015611376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139a9190612a82565b15156000036113bc57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360dc611a97565b60006113d16107f1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611426573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612bbc565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561147d5750825b90506000826001600160401b031660011480156114995750303b155b9050811580156114a7575080155b156114c55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114ef57845460ff60401b1916600160401b1785555b6114f98888611da9565b6115038787611fec565b831561154957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61155b6125ab565b6040516301ffc9a760e01b81526060906001600160a01b038616906301ffc9a79061159190631b1599eb60e21b90600401612a62565b602060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d29190612a82565b6115ef57604051634138dc2760e11b815260040160405180910390fd5b6115fa858585611bcd565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190612aaa565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190612a82565b61170b57604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061173b908690600401612aef565b6020604051808303816000875af115801561175a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b1580156117c957600080fd5b505af11580156117dd573d6000803e3d6000fd5b50505050505b935093915050565b6117f36125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061182990631b4612f160e31b90600401612a62565b602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a9190612a82565b151560000361188c57604051635458064d60e11b815260040160405180910390fd5b611897836028610ed8565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa1580156118e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa15801561195f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119839190612ad2565b6001600160a01b0316336001600160a01b0316146119b45760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906119eb908690600401612aef565b6020604051808303816000875af1158015611a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b158015611a7957600080fd5b505af1158015611a8d573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611ad4576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4f9190612a82565b80611b65575060a08201516001600160a01b0316155b15611b945760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b604082015160ff828116911614611bc957604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b5050565b611bd56125ab565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c3d9190810190612c1e565b608082015191935091506001600160a01b03868116911614611c83576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb9190612a82565b80611d1c5750826001600160a01b03168260a001516001600160a01b031614155b15611d4b5760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0385163303611d74576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff8581169116146117e357604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b611db16122b6565b600080516020612ed38339815191526000611de1600080516020612eb3833981519152546001600160401b031690565b90506000611ded6107f1565b9050816001600160401b0316600103611e1a5760028301805462ffffff191662ffffff8316179055611e68565b600283015462ffffff90811690821611611e685760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a80565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611edc4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112219083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e6122b6565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561201f5750825b90506000826001600160401b0316600114801561203b5750303b155b905081158015612049575080155b156120675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561209157845460ff60401b1916600160401b1785555b60008761209c6113c7565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490612108908b908690600401612d16565b600060405180830381865af4158015612125573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214d9190810190612d29565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f029061218c9085908590600401612d5d565b602060405180830381865af41580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190612ad2565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223d9190612aaa565b905061224a83828e6122ef565b6122526109bc565b61226263183a225360e11b612373565b505050505083156122ad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612eb383398151915254600160401b900460ff166122ed57604051631afcd79f60e31b815260040160405180910390fd5b565b600061231d60408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6123256113c7565b604051602001612336929190612d7f565b604051602081830303815290604052905061235d8484612354602890565b60008686612398565b61236d631b4612f160e31b612373565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6123a28287612423565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124128382612df3565b506122ad6303fb044760e21b612373565b600280546001600160a01b0319166001600160a01b038416179055611bc9816001546001600160a01b03161561247b5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0381166124a25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124d85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061251e90632c1c764b60e11b90600401612a62565b602060405180830381865afa925050508015612557575060408051601f3d908101601f1916820190925261255491810190612a82565b60015b61257f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b80611bc95760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a80565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156125fb57600080fd5b81356001600160e01b031981168114610e2957600080fd5b6001600160a01b03811681146125a857600080fd5b803561263381612613565b919050565b60006020828403121561264a57600080fd5b8135610e2981612613565b60005b83811015612670578181015183820152602001612658565b50506000910152565b60008151808452612691816020860160208601612655565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261271660e0850182612679565b949350505050565b60408152600061273160408301856126a5565b82810360208401526127438185612679565b95945050505050565b602081526000610e296020830184612679565b62ffffff811681146125a857600080fd5b60006020828403121561278257600080fd5b8135610e298161275f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127c5576127c561278d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127f3576127f361278d565b604052919050565b6001600160601b03811681146125a857600080fd5b8035612633816127fb565b60ff811681146125a857600080fd5b80356126338161281b565b80151581146125a857600080fd5b803561263381612835565b60006001600160401b038211156128675761286761278d565b50601f01601f191660200190565b600082601f83011261288657600080fd5b81356128996128948261284e565b6127cb565b8181528460208386010111156128ae57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156128dd57600080fd5b81356001600160401b03808211156128f457600080fd5b9083019060e0828603121561290857600080fd5b6129106127a3565b61291983612810565b815261292760208401612810565b60208201526129386040840161282a565b604082015261294960608401612843565b606082015261295a60808401612628565b608082015261296b60a08401612628565b60a082015260c08301358281111561298257600080fd5b61298e87828601612875565b60c08301525095945050505050565b6000806000606084860312156129b257600080fd5b83356129bd81612613565b925060208401356129cd81612613565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612875565b9150509250925092565b600060208284031215612a1057600080fd5b5035919050565b600080600060608486031215612a2c57600080fd5b8335612a3781612613565b92506020840135612a478161281b565b91506040840135612a5781612613565b809150509250925092565b6001600160e01b031991909116815260200190565b805161263381612835565b600060208284031215612a9457600080fd5b8151610e2981612835565b8051612633816127fb565b600060208284031215612abc57600080fd5b8151610e29816127fb565b805161263381612613565b600060208284031215612ae457600080fd5b8151610e2981612613565b602081526000610e2960208301846126a5565b600060208284031215612b1457600080fd5b8151610e298161275f565b600181811c90821680612b3357607f821691505b602082108103612b5357634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612b6b57600080fd5b5051919050565b600060208284031215612b8457600080fd5b81516001600160401b0381168114610e2957600080fd5b634e487b7160e01b600052603260045260246000fd5b80516126338161281b565b600060208284031215612bce57600080fd5b8151610e298161281b565b600082601f830112612bea57600080fd5b8151612bf86128948261284e565b818152846020838601011115612c0d57600080fd5b612716826020830160208701612655565b60008060408385031215612c3157600080fd5b82516001600160401b0380821115612c4857600080fd5b9084019060e08287031215612c5c57600080fd5b612c646127a3565b612c6d83612a9f565b8152612c7b60208401612a9f565b6020820152612c8c60408401612bb1565b6040820152612c9d60608401612a77565b6060820152612cae60808401612ac7565b6080820152612cbf60a08401612ac7565b60a082015260c083015182811115612cd657600080fd5b612ce288828601612bd9565b60c0830152506020860151909450915080821115612cff57600080fd5b50612d0c85828601612bd9565b9150509250929050565b6040815260006127316040830185612679565b600060208284031215612d3b57600080fd5b81516001600160401b03811115612d5157600080fd5b61271684828501612bd9565b604081526000612d706040830185612679565b90508260208301529392505050565b604081526000612d926040830185612679565b905060ff831660208301529392505050565b601f821115612dee57600081815260208120601f850160051c81016020861015612dcb5750805b601f850160051c820191505b81811015612dea57828155600101612dd7565b5050505b505050565b81516001600160401b03811115612e0c57612e0c61278d565b612e2081612e1a8454612b1f565b84612da4565b602080601f831160018114612e555760008415612e3d5750858301515b600019600386901b1c1916600185901b178555612dea565b600085815260208120601f198616915b82811015612e8457888601518255948401946001909101908401612e65565b5085821015612ea25787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c26a3db4026ab2ed0ce89b761a0c8cf34c0b8cc5adec67e2d9f17d6e19b32cf064736f6c63430008140033",
1084
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612eb880620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f5780638fbc2d81116100a2578063c13de99711610071578063c13de99714610452578063c2bf08c814610467578063ed841d0c1461047a578063f7c34ee01461048257600080fd5b80638fbc2d8114610413578063ada9652e14610426578063b68d18091461043b578063bf7e214f1461044a57600080fd5b80638105cc7f116100de5780638105cc7f146103d0578063893d20e8146103e35780638e32e979146103eb5780638fb36037146103fe57600080fd5b8063644c45e014610379578063675393bf146103975780637286e5e5146103aa5780637a9e5e4b146103bd57600080fd5b806327bb7a331161018757806357a8fba71161015657806357a8fba7146103035780635ab1bd531461032e5780635c992fed146103535780635d9662891461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806349bb9e4b146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f83660046123fb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612451565b610495565b60405161022391906124da565b610254610633565b60405162ffffff9091168152602001610223565b61023f6106bd565b6102786107de565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd3660046123fb565b6109e5565b6102786102d03660046126a3565b610a12565b6102786102e336600461273b565b610ab7565b610278610c04565b6102786102fe36600461276f565b610c4a565b6103166103113660046127be565b610d49565b6040516001600160601b039091168152602001610223565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103166103613660046127be565b610dd8565b61023f610374366004612451565b610dee565b600080516020612e23833981519152546001600160601b0316610316565b6102786103a5366004612890565b610f2e565b61023f6103b8366004612451565b611041565b6102786103cb366004612890565b6110ee565b6103166103de3660046127be565b611171565b61033b611187565b6102786103f93660046128ad565b6112be565b6104066114f7565b60405161022391906128f8565b61023f610421366004612451565b61152f565b6102a1600080516020612e2383398151915281565b60405160288152602001610223565b61033b6115dc565b61045a6115f8565b604051610223919061290d565b6103166104753660046127be565b611c45565b6102a1600081565b610278610490366004612451565b611c5b565b61049d6123bd565b6104aa335b600036611cd2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104dd9063425ec80560e01b906004016128f8565b602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e91906129c5565b61053b57604051636795c76360e01b815260040160405180910390fd5b6105488360465b84611dd8565b905061055c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161058791906124da565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906129ed565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561061557600080fd5b505af1158015610629573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b89190612a0a565b905090565b6106c56123bd565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161073a611187565b6001600160a01b0316815260200182600101805461075790612a2f565b80601f016020809104026020016040519081016040528092919081815260200182805461078390612a2f565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b505050505081525091505090565b6000600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c5565b156108a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906129c5565b6109495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610899565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c191906129ed565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ed611fc8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a611fc8565b610a248287611c5b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610aad8382612aaf565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ad9610633565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190612b6e565b600080516020612e638339815191528054600160401b900460ff1680610b70575080546001600160401b03808416911610155b15610b8e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bb883612001565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c0c611fc8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98787612009565b8315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d54336104a2565b610d5f82607a612128565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d8f9085906004016124da565b6020604051808303816000875af1158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd291906129ed565b92915050565b6000610de3336104a2565b610d5f8260d3612128565b610df66123bd565b610dff336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e329063058d03e760e21b906004016128f8565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7391906129c5565b610e9057604051637a71998760e01b815260040160405180910390fd5b610e9b83606e610542565b9050610eaf6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610eda91906124da565b6020604051808303816000875af1158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906129ed565b6001600160601b0316815292915050565b610f36611fc8565b806001600160a01b03163b600003610f6c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fb290630a3888e560e31b906004016128f8565b602060405180830381865afa925050508015610feb575060408051601f3d908101601f19168201909252610fe8918101906129c5565b60015b6110135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b8061103c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610899565b505b50565b6110496123bd565b611052336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061108590630d02010f60e31b906004016128f8565b602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c691906129c5565b6110e357604051636f61f64160e01b815260040160405180910390fd5b610e9b83608c610542565b336110f76115dc565b6001600160a01b0316816001600160a01b0316146111325760405162d1953b60e31b81526001600160a01b0382166004820152602401610899565b816001600160a01b03163b600003611168576040516361798f2f60e11b81526001600160a01b0383166004820152602401610899565b61103c8261222e565b600061117c336104a2565b610d5f826050612128565b600080600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b91906129c5565b156112a8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a29190612ba2565b91505090565b54600160601b90046001600160a01b0316919050565b6112c6611fc8565b61134683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c91906129ed565b603c60008560405180602001604052806000815250610a12565b6001600160a01b038216156113635761135e8261228f565b6114d2565b60006113776001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190612bca565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114649190612ba2565b90506114d0816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb9190612ba2565b61228f565b505b6114e2634a531f3360e01b6109e5565b6114f263b68d180960e01b6109e5565b505050565b600080516020612e43833981519152805460009190600160a01b900460ff166115215760006112a2565b638fb3603760e01b91505090565b6115376123bd565b611540336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157390637895d0ed60e01b906004016128f8565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b491906129c5565b6115d1576040516308707e3160e41b815260040160405180910390fd5b610e9b836078610542565b600080516020612e43833981519152546001600160a01b031690565b6040805160098082526101408201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161161157905050905061164360d390565b8160008151811061165657611656612be7565b60209081029190910181015160ff9290921690915260408051600080825292810190915290508160008151811061168f5761168f612be7565b6020026020010151602001819052506116a660d290565b816001815181106116b9576116b9612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816001815181106116ff576116ff612be7565b602002602001015160200181905250635c992fed60e01b8160018151811061172957611729612be7565b60200260200101516020015160008151811061174757611747612be7565b6001600160e01b03199092166020928302919091019091015261176860d490565b8160028151811061177b5761177b612be7565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106117b2576117b2612be7565b6020026020010151602001819052506117c9606e90565b816003815181106117dc576117dc612be7565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061182257611822612be7565b602002602001015160200181905250635d96628960e01b8160038151811061184c5761184c612be7565b60200260200101516020015160008151811061186a5761186a612be7565b6001600160e01b03199092166020928302919091019091015261188b608c90565b8160048151811061189e5761189e612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816004815181106118e4576118e4612be7565b602002602001015160200181905250637286e5e560e01b8160048151811061190e5761190e612be7565b60200260200101516020015160008151811061192c5761192c612be7565b6001600160e01b03199092166020928302919091019091015261194d60dc90565b8160058151811061196057611960612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106119a6576119a6612be7565b60200260200101516020018190525063c2bf08c860e01b816005815181106119d0576119d0612be7565b6020026020010151602001516000815181106119ee576119ee612be7565b6001600160e01b031990921660209283029190910190910152611a0f60e690565b81600681518110611a2257611a22612be7565b60209081029190910181015160ff9290921690915260408051600081529182019052815182906006908110611a5957611a59612be7565b602002602001015160200181905250611a70607890565b81600781518110611a8357611a83612be7565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600781518110611aca57611aca612be7565b602002602001015160200181905250638fbc2d8160e01b81600781518110611af457611af4612be7565b602002602001015160200151600081518110611b1257611b12612be7565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906007908110611b4957611b49612be7565b602002602001015160200151600181518110611b6757611b67612be7565b6001600160e01b031990921660209283029190910190910152611b88604690565b81600881518110611b9b57611b9b612be7565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600881518110611be157611be1612be7565b60200260200101516020018190525063026bc43b60e01b81600881518110611c0b57611c0b612be7565b602002602001015160200151600081518110611c2957611c29612be7565b6001600160e01b03199092166020928302919091019091015290565b6000611c50336104a2565b610d5f8260dc612128565b611c63611fc8565b611c6c81610f2e565b611c74610c04565b6001600160a01b038216611c9b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612e2383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612e43833981519152600080611d0d611cef6115dc565b8730611cff600460008a8c612bfd565b611d0891612c27565b6122a0565b9150915081611dd05763ffffffff811615611dad57825460ff60a01b1916600160a01b178355611d3b6115dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d6a93929190612c57565b600060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b5050845460ff60a01b1916855550611dd09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610899565b505050505050565b611de06123bd565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e469190810190612cdc565b6001600160a01b0385166080820152604081015190915060ff848116911614611e95576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610899565b60a08101516001600160a01b0380821690841614611ed15760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610899565b846001600160a01b0316816001600160a01b031603611f03576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611f2a57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa291906129c5565b15611fc057604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e6383398151915254600160401b900460ff16611fff57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611fc8565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b031660008115801561203c5750825b90506000826001600160401b031660011480156120585750303b155b905081158015612066575080155b156120845760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ae57845460ff60401b1916600160401b1785555b600080878060200190518101906120c59190612d9f565b915091506120d482828b6112be565b6120e463aa745bc360e01b6109e5565b50508315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d37565b60006080830152604082015160ff82811691161461216c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610899565b60a08201516001600160a01b03811661219857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221091906129c5565b156114f257604051637142ceb360e11b815260040160405180910390fd5b600080516020612e4383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612297611fc8565b61103e816123ac565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161230f9190612dce565b600060405180830381855afa9150503d806000811461234a576040519150601f19603f3d011682016040523d82523d6000602084013e61234f565b606091505b509150915081156123a157604081511061238157808060200190518101906123779190612dea565b90945092506123a1565b60208151106123a1578080602001905181019061239e91906129c5565b93505b505094509492505050565b6123b4611fc8565b61103e8161222e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561240d57600080fd5b81356001600160e01b03198116811461242557600080fd5b9392505050565b6001600160a01b038116811461103e57600080fd5b803561244c8161242c565b919050565b6000806040838503121561246457600080fd5b823561246f8161242c565b9150602083013561247f8161242c565b809150509250929050565b60005b838110156124a557818101518382015260200161248d565b50506000910152565b600081518084526124c681602086016020860161248a565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161254360c08401826001600160a01b03169052565b5060c083015160e08084015261255d6101008401826124ae565b949350505050565b6001600160601b038116811461103e57600080fd5b803561244c81612565565b60ff8116811461103e57600080fd5b803561244c81612585565b801515811461103e57600080fd5b803561244c8161259f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125f0576125f06125b8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561261e5761261e6125b8565b604052919050565b60006001600160401b0382111561263f5761263f6125b8565b50601f01601f191660200190565b600082601f83011261265e57600080fd5b813561267161266c82612626565b6125f6565b81815284602083860101111561268657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126bc57600080fd5b86356126c78161242c565b955060208701356126d781612565565b945060408701356126e781612585565b935060608701356126f78161259f565b925060808701356127078161242c565b915060a08701356001600160401b0381111561272257600080fd5b61272e89828a0161264d565b9150509295509295509295565b60006020828403121561274d57600080fd5b81356001600160401b0381111561276357600080fd5b61255d8482850161264d565b6000806040838503121561278257600080fd5b823561278d8161242c565b915060208301356001600160401b038111156127a857600080fd5b6127b48582860161264d565b9150509250929050565b6000602082840312156127d057600080fd5b81356001600160401b03808211156127e757600080fd5b9083019060e082860312156127fb57600080fd5b6128036125ce565b61280c8361257a565b815261281a6020840161257a565b602082015261282b60408401612594565b604082015261283c606084016125ad565b606082015261284d60808401612441565b608082015261285e60a08401612441565b60a082015260c08301358281111561287557600080fd5b6128818782860161264d565b60c08301525095945050505050565b6000602082840312156128a257600080fd5b81356124258161242c565b6000806000606084860312156128c257600080fd5b83356128cd8161242c565b925060208401356128dd8161242c565b915060408401356128ed8161242c565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156129ab57898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129965783516001600160e01b0319168252928b019260019290920191908b019061296c565b50978a01979550505091870191600101612935565b50919998505050505050505050565b805161244c8161259f565b6000602082840312156129d757600080fd5b81516124258161259f565b805161244c81612565565b6000602082840312156129ff57600080fd5b815161242581612565565b600060208284031215612a1c57600080fd5b815162ffffff8116811461242557600080fd5b600181811c90821680612a4357607f821691505b602082108103612a6357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f257600081815260208120601f850160051c81016020861015612a905750805b601f850160051c820191505b81811015611dd057828155600101612a9c565b81516001600160401b03811115612ac857612ac86125b8565b612adc81612ad68454612a2f565b84612a69565b602080601f831160018114612b115760008415612af95750858301515b600019600386901b1c1916600185901b178555611dd0565b600085815260208120601f198616915b82811015612b4057888601518255948401946001909101908401612b21565b5085821015612b5e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b8057600080fd5b81516001600160401b038116811461242557600080fd5b805161244c8161242c565b600060208284031215612bb457600080fd5b81516124258161242c565b805161244c81612585565b600060208284031215612bdc57600080fd5b815161242581612585565b634e487b7160e01b600052603260045260246000fd5b60008085851115612c0d57600080fd5b83861115612c1a57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c4f5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612ca857600080fd5b8151612cb661266c82612626565b818152846020838601011115612ccb57600080fd5b61255d82602083016020870161248a565b600060208284031215612cee57600080fd5b81516001600160401b0380821115612d0557600080fd5b9083019060e08286031215612d1957600080fd5b612d216125ce565b612d2a836129e2565b8152612d38602084016129e2565b6020820152612d4960408401612bbf565b6040820152612d5a606084016129ba565b6060820152612d6b60808401612b97565b6080820152612d7c60a08401612b97565b60a082015260c083015182811115612d9357600080fd5b61288187828601612c97565b60008060408385031215612db257600080fd5b8251612dbd8161242c565b602084015190925061247f8161242c565b60008251612de081846020870161248a565b9190910192915050565b60008060408385031215612dfd57600080fd5b8251612e088161259f565b602084015190925063ffffffff8116811461247f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200365553b7bde7b24e0dec5a86ca7102872a46f5733ee03de83f44e988538e3f064736f6c63430008140033",
1085
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f5780638fbc2d81116100a2578063c13de99711610071578063c13de99714610452578063c2bf08c814610467578063ed841d0c1461047a578063f7c34ee01461048257600080fd5b80638fbc2d8114610413578063ada9652e14610426578063b68d18091461043b578063bf7e214f1461044a57600080fd5b80638105cc7f116100de5780638105cc7f146103d0578063893d20e8146103e35780638e32e979146103eb5780638fb36037146103fe57600080fd5b8063644c45e014610379578063675393bf146103975780637286e5e5146103aa5780637a9e5e4b146103bd57600080fd5b806327bb7a331161018757806357a8fba71161015657806357a8fba7146103035780635ab1bd531461032e5780635c992fed146103535780635d9662891461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806349bb9e4b146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f83660046123fb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612451565b610495565b60405161022391906124da565b610254610633565b60405162ffffff9091168152602001610223565b61023f6106bd565b6102786107de565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd3660046123fb565b6109e5565b6102786102d03660046126a3565b610a12565b6102786102e336600461273b565b610ab7565b610278610c04565b6102786102fe36600461276f565b610c4a565b6103166103113660046127be565b610d49565b6040516001600160601b039091168152602001610223565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103166103613660046127be565b610dd8565b61023f610374366004612451565b610dee565b600080516020612e23833981519152546001600160601b0316610316565b6102786103a5366004612890565b610f2e565b61023f6103b8366004612451565b611041565b6102786103cb366004612890565b6110ee565b6103166103de3660046127be565b611171565b61033b611187565b6102786103f93660046128ad565b6112be565b6104066114f7565b60405161022391906128f8565b61023f610421366004612451565b61152f565b6102a1600080516020612e2383398151915281565b60405160288152602001610223565b61033b6115dc565b61045a6115f8565b604051610223919061290d565b6103166104753660046127be565b611c45565b6102a1600081565b610278610490366004612451565b611c5b565b61049d6123bd565b6104aa335b600036611cd2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104dd9063425ec80560e01b906004016128f8565b602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e91906129c5565b61053b57604051636795c76360e01b815260040160405180910390fd5b6105488360465b84611dd8565b905061055c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161058791906124da565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906129ed565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561061557600080fd5b505af1158015610629573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b89190612a0a565b905090565b6106c56123bd565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161073a611187565b6001600160a01b0316815260200182600101805461075790612a2f565b80601f016020809104026020016040519081016040528092919081815260200182805461078390612a2f565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b505050505081525091505090565b6000600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c5565b156108a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906129c5565b6109495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610899565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c191906129ed565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ed611fc8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a611fc8565b610a248287611c5b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610aad8382612aaf565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ad9610633565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190612b6e565b600080516020612e638339815191528054600160401b900460ff1680610b70575080546001600160401b03808416911610155b15610b8e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bb883612001565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c0c611fc8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98787612009565b8315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d54336104a2565b610d5f82607a612128565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d8f9085906004016124da565b6020604051808303816000875af1158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd291906129ed565b92915050565b6000610de3336104a2565b610d5f8260d3612128565b610df66123bd565b610dff336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e329063058d03e760e21b906004016128f8565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7391906129c5565b610e9057604051637a71998760e01b815260040160405180910390fd5b610e9b83606e610542565b9050610eaf6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610eda91906124da565b6020604051808303816000875af1158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906129ed565b6001600160601b0316815292915050565b610f36611fc8565b806001600160a01b03163b600003610f6c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fb290630a3888e560e31b906004016128f8565b602060405180830381865afa925050508015610feb575060408051601f3d908101601f19168201909252610fe8918101906129c5565b60015b6110135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b8061103c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610899565b505b50565b6110496123bd565b611052336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061108590630d02010f60e31b906004016128f8565b602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c691906129c5565b6110e357604051636f61f64160e01b815260040160405180910390fd5b610e9b83608c610542565b336110f76115dc565b6001600160a01b0316816001600160a01b0316146111325760405162d1953b60e31b81526001600160a01b0382166004820152602401610899565b816001600160a01b03163b600003611168576040516361798f2f60e11b81526001600160a01b0383166004820152602401610899565b61103c8261222e565b600061117c336104a2565b610d5f826050612128565b600080600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b91906129c5565b156112a8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a29190612ba2565b91505090565b54600160601b90046001600160a01b0316919050565b6112c6611fc8565b61134683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c91906129ed565b603c60008560405180602001604052806000815250610a12565b6001600160a01b038216156113635761135e8261228f565b6114d2565b60006113776001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190612bca565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114649190612ba2565b90506114d0816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb9190612ba2565b61228f565b505b6114e2634a531f3360e01b6109e5565b6114f263b68d180960e01b6109e5565b505050565b600080516020612e43833981519152805460009190600160a01b900460ff166115215760006112a2565b638fb3603760e01b91505090565b6115376123bd565b611540336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157390637895d0ed60e01b906004016128f8565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b491906129c5565b6115d1576040516308707e3160e41b815260040160405180910390fd5b610e9b836078610542565b600080516020612e43833981519152546001600160a01b031690565b6040805160098082526101408201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161161157905050905061164360d390565b8160008151811061165657611656612be7565b60209081029190910181015160ff9290921690915260408051600080825292810190915290508160008151811061168f5761168f612be7565b6020026020010151602001819052506116a660d290565b816001815181106116b9576116b9612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816001815181106116ff576116ff612be7565b602002602001015160200181905250635c992fed60e01b8160018151811061172957611729612be7565b60200260200101516020015160008151811061174757611747612be7565b6001600160e01b03199092166020928302919091019091015261176860d490565b8160028151811061177b5761177b612be7565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106117b2576117b2612be7565b6020026020010151602001819052506117c9606e90565b816003815181106117dc576117dc612be7565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061182257611822612be7565b602002602001015160200181905250635d96628960e01b8160038151811061184c5761184c612be7565b60200260200101516020015160008151811061186a5761186a612be7565b6001600160e01b03199092166020928302919091019091015261188b608c90565b8160048151811061189e5761189e612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816004815181106118e4576118e4612be7565b602002602001015160200181905250637286e5e560e01b8160048151811061190e5761190e612be7565b60200260200101516020015160008151811061192c5761192c612be7565b6001600160e01b03199092166020928302919091019091015261194d60dc90565b8160058151811061196057611960612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106119a6576119a6612be7565b60200260200101516020018190525063c2bf08c860e01b816005815181106119d0576119d0612be7565b6020026020010151602001516000815181106119ee576119ee612be7565b6001600160e01b031990921660209283029190910190910152611a0f60e690565b81600681518110611a2257611a22612be7565b60209081029190910181015160ff9290921690915260408051600081529182019052815182906006908110611a5957611a59612be7565b602002602001015160200181905250611a70607890565b81600781518110611a8357611a83612be7565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600781518110611aca57611aca612be7565b602002602001015160200181905250638fbc2d8160e01b81600781518110611af457611af4612be7565b602002602001015160200151600081518110611b1257611b12612be7565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906007908110611b4957611b49612be7565b602002602001015160200151600181518110611b6757611b67612be7565b6001600160e01b031990921660209283029190910190910152611b88604690565b81600881518110611b9b57611b9b612be7565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600881518110611be157611be1612be7565b60200260200101516020018190525063026bc43b60e01b81600881518110611c0b57611c0b612be7565b602002602001015160200151600081518110611c2957611c29612be7565b6001600160e01b03199092166020928302919091019091015290565b6000611c50336104a2565b610d5f8260dc612128565b611c63611fc8565b611c6c81610f2e565b611c74610c04565b6001600160a01b038216611c9b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612e2383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612e43833981519152600080611d0d611cef6115dc565b8730611cff600460008a8c612bfd565b611d0891612c27565b6122a0565b9150915081611dd05763ffffffff811615611dad57825460ff60a01b1916600160a01b178355611d3b6115dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d6a93929190612c57565b600060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b5050845460ff60a01b1916855550611dd09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610899565b505050505050565b611de06123bd565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e469190810190612cdc565b6001600160a01b0385166080820152604081015190915060ff848116911614611e95576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610899565b60a08101516001600160a01b0380821690841614611ed15760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610899565b846001600160a01b0316816001600160a01b031603611f03576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611f2a57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa291906129c5565b15611fc057604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e6383398151915254600160401b900460ff16611fff57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611fc8565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b031660008115801561203c5750825b90506000826001600160401b031660011480156120585750303b155b905081158015612066575080155b156120845760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ae57845460ff60401b1916600160401b1785555b600080878060200190518101906120c59190612d9f565b915091506120d482828b6112be565b6120e463aa745bc360e01b6109e5565b50508315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d37565b60006080830152604082015160ff82811691161461216c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610899565b60a08201516001600160a01b03811661219857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221091906129c5565b156114f257604051637142ceb360e11b815260040160405180910390fd5b600080516020612e4383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612297611fc8565b61103e816123ac565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161230f9190612dce565b600060405180830381855afa9150503d806000811461234a576040519150601f19603f3d011682016040523d82523d6000602084013e61234f565b606091505b509150915081156123a157604081511061238157808060200190518101906123779190612dea565b90945092506123a1565b60208151106123a1578080602001905181019061239e91906129c5565b93505b505094509492505050565b6123b4611fc8565b61103e8161222e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561240d57600080fd5b81356001600160e01b03198116811461242557600080fd5b9392505050565b6001600160a01b038116811461103e57600080fd5b803561244c8161242c565b919050565b6000806040838503121561246457600080fd5b823561246f8161242c565b9150602083013561247f8161242c565b809150509250929050565b60005b838110156124a557818101518382015260200161248d565b50506000910152565b600081518084526124c681602086016020860161248a565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161254360c08401826001600160a01b03169052565b5060c083015160e08084015261255d6101008401826124ae565b949350505050565b6001600160601b038116811461103e57600080fd5b803561244c81612565565b60ff8116811461103e57600080fd5b803561244c81612585565b801515811461103e57600080fd5b803561244c8161259f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125f0576125f06125b8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561261e5761261e6125b8565b604052919050565b60006001600160401b0382111561263f5761263f6125b8565b50601f01601f191660200190565b600082601f83011261265e57600080fd5b813561267161266c82612626565b6125f6565b81815284602083860101111561268657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126bc57600080fd5b86356126c78161242c565b955060208701356126d781612565565b945060408701356126e781612585565b935060608701356126f78161259f565b925060808701356127078161242c565b915060a08701356001600160401b0381111561272257600080fd5b61272e89828a0161264d565b9150509295509295509295565b60006020828403121561274d57600080fd5b81356001600160401b0381111561276357600080fd5b61255d8482850161264d565b6000806040838503121561278257600080fd5b823561278d8161242c565b915060208301356001600160401b038111156127a857600080fd5b6127b48582860161264d565b9150509250929050565b6000602082840312156127d057600080fd5b81356001600160401b03808211156127e757600080fd5b9083019060e082860312156127fb57600080fd5b6128036125ce565b61280c8361257a565b815261281a6020840161257a565b602082015261282b60408401612594565b604082015261283c606084016125ad565b606082015261284d60808401612441565b608082015261285e60a08401612441565b60a082015260c08301358281111561287557600080fd5b6128818782860161264d565b60c08301525095945050505050565b6000602082840312156128a257600080fd5b81356124258161242c565b6000806000606084860312156128c257600080fd5b83356128cd8161242c565b925060208401356128dd8161242c565b915060408401356128ed8161242c565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156129ab57898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129965783516001600160e01b0319168252928b019260019290920191908b019061296c565b50978a01979550505091870191600101612935565b50919998505050505050505050565b805161244c8161259f565b6000602082840312156129d757600080fd5b81516124258161259f565b805161244c81612565565b6000602082840312156129ff57600080fd5b815161242581612565565b600060208284031215612a1c57600080fd5b815162ffffff8116811461242557600080fd5b600181811c90821680612a4357607f821691505b602082108103612a6357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f257600081815260208120601f850160051c81016020861015612a905750805b601f850160051c820191505b81811015611dd057828155600101612a9c565b81516001600160401b03811115612ac857612ac86125b8565b612adc81612ad68454612a2f565b84612a69565b602080601f831160018114612b115760008415612af95750858301515b600019600386901b1c1916600185901b178555611dd0565b600085815260208120601f198616915b82811015612b4057888601518255948401946001909101908401612b21565b5085821015612b5e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b8057600080fd5b81516001600160401b038116811461242557600080fd5b805161244c8161242c565b600060208284031215612bb457600080fd5b81516124258161242c565b805161244c81612585565b600060208284031215612bdc57600080fd5b815161242581612585565b634e487b7160e01b600052603260045260246000fd5b60008085851115612c0d57600080fd5b83861115612c1a57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c4f5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612ca857600080fd5b8151612cb661266c82612626565b818152846020838601011115612ccb57600080fd5b61255d82602083016020870161248a565b600060208284031215612cee57600080fd5b81516001600160401b0380821115612d0557600080fd5b9083019060e08286031215612d1957600080fd5b612d216125ce565b612d2a836129e2565b8152612d38602084016129e2565b6020820152612d4960408401612bbf565b6040820152612d5a606084016129ba565b6060820152612d6b60808401612b97565b6080820152612d7c60a08401612b97565b60a082015260c083015182811115612d9357600080fd5b61288187828601612c97565b60008060408385031215612db257600080fd5b8251612dbd8161242c565b602084015190925061247f8161242c565b60008251612de081846020870161248a565b9190910192915050565b60008060408385031215612dfd57600080fd5b8251612e088161259f565b602084015190925063ffffffff8116811461247f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200365553b7bde7b24e0dec5a86ca7102872a46f5733ee03de83f44e988538e3f064736f6c63430008140033",
897
1086
  "linkReferences": {
898
- "contracts/shared/ContractDeployerLib.sol": {
899
- "ContractDeployerLib": [
900
- {
901
- "length": 20,
902
- "start": 8722
903
- },
904
- {
905
- "length": 20,
906
- "start": 8854
907
- }
908
- ]
909
- },
910
- "contracts/types/Blocknumber.sol": {
911
- "BlocknumberLib": [
912
- {
913
- "length": 20,
914
- "start": 3424
915
- }
916
- ]
917
- },
918
1087
  "contracts/types/NftId.sol": {
919
1088
  "NftIdLib": [
920
1089
  {
921
1090
  "length": 20,
922
- "start": 2840
1091
+ "start": 2297
923
1092
  },
924
1093
  {
925
1094
  "length": 20,
926
- "start": 4380
1095
+ "start": 4771
927
1096
  }
928
1097
  ]
929
1098
  },
@@ -931,49 +1100,31 @@
931
1100
  "VersionLib": [
932
1101
  {
933
1102
  "length": 20,
934
- "start": 2380
1103
+ "start": 1856
935
1104
  },
936
1105
  {
937
1106
  "length": 20,
938
- "start": 4620
939
- },
1107
+ "start": 2975
1108
+ }
1109
+ ],
1110
+ "VersionPartLib": [
940
1111
  {
941
1112
  "length": 20,
942
- "start": 5408
1113
+ "start": 5251
943
1114
  }
944
1115
  ]
945
1116
  }
946
1117
  },
947
1118
  "deployedLinkReferences": {
948
- "contracts/shared/ContractDeployerLib.sol": {
949
- "ContractDeployerLib": [
950
- {
951
- "length": 20,
952
- "start": 8414
953
- },
954
- {
955
- "length": 20,
956
- "start": 8546
957
- }
958
- ]
959
- },
960
- "contracts/types/Blocknumber.sol": {
961
- "BlocknumberLib": [
962
- {
963
- "length": 20,
964
- "start": 3116
965
- }
966
- ]
967
- },
968
1119
  "contracts/types/NftId.sol": {
969
1120
  "NftIdLib": [
970
1121
  {
971
1122
  "length": 20,
972
- "start": 2532
1123
+ "start": 2067
973
1124
  },
974
1125
  {
975
1126
  "length": 20,
976
- "start": 4072
1127
+ "start": 4541
977
1128
  }
978
1129
  ]
979
1130
  },
@@ -981,15 +1132,17 @@
981
1132
  "VersionLib": [
982
1133
  {
983
1134
  "length": 20,
984
- "start": 2072
1135
+ "start": 1626
985
1136
  },
986
1137
  {
987
1138
  "length": 20,
988
- "start": 4312
989
- },
1139
+ "start": 2745
1140
+ }
1141
+ ],
1142
+ "VersionPartLib": [
990
1143
  {
991
1144
  "length": 20,
992
- "start": 5100
1145
+ "start": 5021
993
1146
  }
994
1147
  ]
995
1148
  }