@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe22f0-239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (419) hide show
  1. package/README.md +314 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +858 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1114 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +281 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +695 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +601 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -61
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1099 -159
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1030 -84
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1150 -1021
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +591 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2047 -1067
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1164 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +584 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +728 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  73. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  83. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  84. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  85. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  87. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +897 -0
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +548 -0
  97. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +625 -0
  99. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
  101. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/{base/InstanceBase.sol/InstanceBase.json → service/IDistributionService.sol/IDistributionService.json} +205 -85
  103. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +203 -80
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +209 -150
  109. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
  111. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +546 -86
  115. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +548 -0
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +521 -213
  119. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
  121. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  123. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  125. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  126. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +986 -0
  127. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  128. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  129. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  131. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  133. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  134. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1325 -0
  135. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +575 -0
  137. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  139. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +505 -0
  141. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  142. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +56 -79
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +116 -36
  151. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +174 -117
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  156. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +277 -0
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  158. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  160. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +473 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +293 -25
  163. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.json +601 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  169. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  171. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +309 -26
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  177. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestService.sol/TestService.json +412 -58
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  185. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  186. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  187. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  188. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  192. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  194. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  196. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  198. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  199. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  200. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  202. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  210. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  212. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  214. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  216. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  218. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  220. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  222. package/contracts/components/Component.sol +230 -0
  223. package/contracts/components/Distribution.sol +156 -0
  224. package/contracts/components/IComponent.sol +50 -0
  225. package/contracts/components/IDistributionComponent.sol +47 -0
  226. package/contracts/components/IPoolComponent.sol +65 -35
  227. package/contracts/components/IProductComponent.sol +29 -9
  228. package/contracts/components/Pool.sol +180 -100
  229. package/contracts/components/Product.sol +203 -42
  230. package/contracts/experiment/cloning/Cloner.sol +47 -0
  231. package/contracts/instance/BundleManager.sol +125 -0
  232. package/contracts/instance/Cloneable.sol +46 -0
  233. package/contracts/instance/IInstance.sol +65 -45
  234. package/contracts/instance/IInstanceService.sol +41 -0
  235. package/contracts/instance/Instance.sol +253 -53
  236. package/contracts/instance/InstanceAccessManager.sol +297 -0
  237. package/contracts/instance/InstanceReader.sol +293 -0
  238. package/contracts/instance/InstanceService.sol +434 -0
  239. package/contracts/instance/InstanceServiceManager.sol +54 -0
  240. package/contracts/instance/ObjectManager.sol +84 -0
  241. package/contracts/instance/base/ComponentService.sol +134 -0
  242. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  243. package/contracts/instance/base/ILifecycle.sol +3 -3
  244. package/contracts/instance/base/KeyValueStore.sol +53 -37
  245. package/contracts/instance/base/Lifecycle.sol +16 -11
  246. package/contracts/instance/module/IAccess.sol +47 -0
  247. package/contracts/instance/module/IBundle.sol +20 -0
  248. package/contracts/instance/module/IDistribution.sol +39 -0
  249. package/contracts/instance/module/IPolicy.sol +45 -0
  250. package/contracts/instance/module/IRisk.sol +11 -0
  251. package/contracts/instance/module/ISetup.sol +47 -0
  252. package/contracts/instance/module/ITreasury.sol +23 -0
  253. package/contracts/instance/service/ApplicationService.sol +268 -0
  254. package/contracts/instance/service/BundleService.sol +298 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/DistributionService.sol +105 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +82 -0
  259. package/contracts/instance/service/IBundleService.sol +54 -0
  260. package/contracts/instance/service/IDistributionService.sol +12 -0
  261. package/contracts/instance/service/IPolicyService.sol +88 -0
  262. package/contracts/instance/service/IPoolService.sol +8 -18
  263. package/contracts/instance/service/IProductService.sol +21 -39
  264. package/contracts/instance/service/PolicyService.sol +524 -0
  265. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  266. package/contracts/instance/service/PoolService.sol +78 -92
  267. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  268. package/contracts/instance/service/ProductService.sol +168 -289
  269. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  270. package/contracts/registry/ChainNft.sol +79 -36
  271. package/contracts/registry/IRegistry.sol +66 -24
  272. package/contracts/registry/IRegistryService.sol +65 -0
  273. package/contracts/registry/ITransferInterceptor.sol +6 -0
  274. package/contracts/registry/Registry.sol +364 -283
  275. package/contracts/registry/RegistryAccessManager.sol +216 -0
  276. package/contracts/registry/RegistryService.sol +261 -0
  277. package/contracts/registry/RegistryServiceManager.sol +62 -0
  278. package/contracts/registry/ReleaseManager.sol +332 -0
  279. package/contracts/registry/TokenRegistry.sol +113 -0
  280. package/contracts/shared/ContractDeployerLib.sol +72 -0
  281. package/contracts/shared/ERC165.sol +13 -8
  282. package/contracts/shared/INftOwnable.sol +27 -0
  283. package/contracts/shared/IPolicyHolder.sol +26 -0
  284. package/contracts/shared/IRegisterable.sol +10 -19
  285. package/contracts/shared/IService.sol +16 -0
  286. package/contracts/shared/IVersionable.sol +55 -11
  287. package/contracts/shared/NftOwnable.sol +187 -0
  288. package/contracts/shared/PolicyHolder.sol +52 -0
  289. package/contracts/shared/ProxyManager.sol +95 -0
  290. package/contracts/shared/Registerable.sol +58 -63
  291. package/contracts/shared/Service.sol +60 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +113 -54
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +1 -1
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/types/DistributorType.sol +55 -0
  300. package/contracts/types/Fee.sol +10 -5
  301. package/contracts/types/Key32.sol +8 -3
  302. package/contracts/types/NftIdSet.sol +26 -24
  303. package/contracts/types/NumberId.sol +52 -0
  304. package/contracts/types/ObjectType.sol +55 -14
  305. package/contracts/types/Referral.sol +85 -0
  306. package/contracts/types/RiskId.sol +43 -0
  307. package/contracts/types/RoleId.sol +62 -10
  308. package/contracts/types/StateId.sol +5 -1
  309. package/contracts/types/Timestamp.sol +7 -3
  310. package/contracts/types/UFixed.sol +128 -12
  311. package/contracts/types/Version.sol +13 -1
  312. package/package.json +6 -5
  313. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  315. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  316. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  317. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  318. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  319. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  320. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  321. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  322. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  324. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  328. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  333. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  338. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  342. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  353. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  357. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  359. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  364. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  369. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  371. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  373. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  375. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  376. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  377. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  378. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  379. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  380. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  381. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  382. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  383. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  384. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  385. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  386. package/contracts/components/BaseComponent.sol +0 -88
  387. package/contracts/components/IBaseComponent.sol +0 -19
  388. package/contracts/experiment/statemachine/README.md +0 -112
  389. package/contracts/instance/IInstanceLinked.sol +0 -8
  390. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  391. package/contracts/instance/base/IInstanceBase.sol +0 -14
  392. package/contracts/instance/base/IService.sol +0 -15
  393. package/contracts/instance/base/InstanceBase.sol +0 -80
  394. package/contracts/instance/base/ModuleBase.sol +0 -52
  395. package/contracts/instance/base/ServiceBase.sol +0 -37
  396. package/contracts/instance/module/access/Access.sol +0 -149
  397. package/contracts/instance/module/access/IAccess.sol +0 -53
  398. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  399. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  400. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  401. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  402. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  403. package/contracts/instance/module/component/IComponent.sol +0 -53
  404. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  405. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  406. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  407. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  408. package/contracts/instance/module/risk/IRisk.sol +0 -10
  409. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  410. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  411. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  412. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  413. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  414. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  415. package/contracts/registry/IChainNft.sol +0 -21
  416. package/contracts/registry/IRegistryLinked.sol +0 -8
  417. package/contracts/shared/IOwnable.sol +0 -6
  418. package/contracts/test/TestPool.sol +0 -22
  419. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,575 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryServiceManager",
4
+ "sourceName": "contracts/registry/RegistryServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "initialAuthority",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "registry",
16
+ "type": "address"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "ErrorAlreadyDeployed",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "ErrorAlreadyDeployedWithSalt",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "address",
36
+ "name": "registry",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "internalType": "NftId",
41
+ "name": "nftId",
42
+ "type": "uint96"
43
+ }
44
+ ],
45
+ "name": "ErrorAlreadyLinked",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [
50
+ {
51
+ "internalType": "address",
52
+ "name": "contractAddress",
53
+ "type": "address"
54
+ }
55
+ ],
56
+ "name": "ErrorContractNotRegistered",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "ErrorInitialOwnerZero",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "account",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "ErrorNotOwner",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "registryAddress",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorNotRegistry",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorNotYetDeployed",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorRegistryAddressZero",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "registry",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "ErrorRegistryAlreadyInitialized",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorRegistryNotInitialized",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "InvalidInitialization",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "NotInitializing",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "anonymous": false,
124
+ "inputs": [
125
+ {
126
+ "indexed": false,
127
+ "internalType": "uint64",
128
+ "name": "version",
129
+ "type": "uint64"
130
+ }
131
+ ],
132
+ "name": "Initialized",
133
+ "type": "event"
134
+ },
135
+ {
136
+ "anonymous": false,
137
+ "inputs": [
138
+ {
139
+ "indexed": true,
140
+ "internalType": "address",
141
+ "name": "proxy",
142
+ "type": "address"
143
+ },
144
+ {
145
+ "indexed": false,
146
+ "internalType": "address",
147
+ "name": "initialImplementation",
148
+ "type": "address"
149
+ }
150
+ ],
151
+ "name": "LogProxyDeployed",
152
+ "type": "event"
153
+ },
154
+ {
155
+ "anonymous": false,
156
+ "inputs": [
157
+ {
158
+ "indexed": true,
159
+ "internalType": "address",
160
+ "name": "proxy",
161
+ "type": "address"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "address",
166
+ "name": "initialImplementation",
167
+ "type": "address"
168
+ }
169
+ ],
170
+ "name": "LogProxyDeployedWithSalt",
171
+ "type": "event"
172
+ },
173
+ {
174
+ "anonymous": false,
175
+ "inputs": [
176
+ {
177
+ "indexed": true,
178
+ "internalType": "address",
179
+ "name": "proxy",
180
+ "type": "address"
181
+ },
182
+ {
183
+ "indexed": false,
184
+ "internalType": "address",
185
+ "name": "upgradedImplementation",
186
+ "type": "address"
187
+ }
188
+ ],
189
+ "name": "LogProxyUpgraded",
190
+ "type": "event"
191
+ },
192
+ {
193
+ "inputs": [],
194
+ "name": "ACCESS_MANAGER_CREATION_CODE_HASH",
195
+ "outputs": [
196
+ {
197
+ "internalType": "bytes32",
198
+ "name": "",
199
+ "type": "bytes32"
200
+ }
201
+ ],
202
+ "stateMutability": "view",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "inputs": [],
207
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
208
+ "outputs": [
209
+ {
210
+ "internalType": "bytes32",
211
+ "name": "",
212
+ "type": "bytes32"
213
+ }
214
+ ],
215
+ "stateMutability": "view",
216
+ "type": "function"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "address",
222
+ "name": "initialImplementation",
223
+ "type": "address"
224
+ },
225
+ {
226
+ "internalType": "bytes",
227
+ "name": "initializationData",
228
+ "type": "bytes"
229
+ }
230
+ ],
231
+ "name": "deploy",
232
+ "outputs": [
233
+ {
234
+ "internalType": "contract IVersionable",
235
+ "name": "versionable",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "stateMutability": "nonpayable",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "implementation",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "internalType": "address",
251
+ "name": "proxyOwner",
252
+ "type": "address"
253
+ },
254
+ {
255
+ "internalType": "bytes",
256
+ "name": "deployData",
257
+ "type": "bytes"
258
+ }
259
+ ],
260
+ "name": "getDeployData",
261
+ "outputs": [
262
+ {
263
+ "internalType": "bytes",
264
+ "name": "data",
265
+ "type": "bytes"
266
+ }
267
+ ],
268
+ "stateMutability": "pure",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "inputs": [],
273
+ "name": "getInitialOwner",
274
+ "outputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "",
278
+ "type": "address"
279
+ }
280
+ ],
281
+ "stateMutability": "view",
282
+ "type": "function"
283
+ },
284
+ {
285
+ "inputs": [],
286
+ "name": "getNftId",
287
+ "outputs": [
288
+ {
289
+ "internalType": "NftId",
290
+ "name": "",
291
+ "type": "uint96"
292
+ }
293
+ ],
294
+ "stateMutability": "view",
295
+ "type": "function"
296
+ },
297
+ {
298
+ "inputs": [],
299
+ "name": "getOwner",
300
+ "outputs": [
301
+ {
302
+ "internalType": "address",
303
+ "name": "",
304
+ "type": "address"
305
+ }
306
+ ],
307
+ "stateMutability": "view",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "inputs": [],
312
+ "name": "getProxy",
313
+ "outputs": [
314
+ {
315
+ "internalType": "contract UpgradableProxyWithAdmin",
316
+ "name": "",
317
+ "type": "address"
318
+ }
319
+ ],
320
+ "stateMutability": "nonpayable",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [],
325
+ "name": "getRegistry",
326
+ "outputs": [
327
+ {
328
+ "internalType": "contract IRegistry",
329
+ "name": "",
330
+ "type": "address"
331
+ }
332
+ ],
333
+ "stateMutability": "view",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [],
338
+ "name": "getRegistryService",
339
+ "outputs": [
340
+ {
341
+ "internalType": "contract RegistryService",
342
+ "name": "registryService",
343
+ "type": "address"
344
+ }
345
+ ],
346
+ "stateMutability": "view",
347
+ "type": "function"
348
+ },
349
+ {
350
+ "inputs": [
351
+ {
352
+ "internalType": "address",
353
+ "name": "implementation",
354
+ "type": "address"
355
+ },
356
+ {
357
+ "internalType": "address",
358
+ "name": "proxyOwner",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "internalType": "bytes",
363
+ "name": "upgradeData",
364
+ "type": "bytes"
365
+ }
366
+ ],
367
+ "name": "getUpgradeData",
368
+ "outputs": [
369
+ {
370
+ "internalType": "bytes",
371
+ "name": "data",
372
+ "type": "bytes"
373
+ }
374
+ ],
375
+ "stateMutability": "pure",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "initializeERC165",
381
+ "outputs": [],
382
+ "stateMutability": "nonpayable",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "inputs": [
387
+ {
388
+ "internalType": "address",
389
+ "name": "initialOwner",
390
+ "type": "address"
391
+ },
392
+ {
393
+ "internalType": "address",
394
+ "name": "registryAddress",
395
+ "type": "address"
396
+ }
397
+ ],
398
+ "name": "initializeNftOwnable",
399
+ "outputs": [],
400
+ "stateMutability": "nonpayable",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [
405
+ {
406
+ "internalType": "address",
407
+ "name": "initialOwner",
408
+ "type": "address"
409
+ }
410
+ ],
411
+ "name": "initializeOwner",
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "address",
420
+ "name": "registry",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "name": "linkToNftOwnable",
425
+ "outputs": [],
426
+ "stateMutability": "nonpayable",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "linkToRegisteredNftId",
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "bytes4",
440
+ "name": "interfaceId",
441
+ "type": "bytes4"
442
+ }
443
+ ],
444
+ "name": "registerInterface",
445
+ "outputs": [],
446
+ "stateMutability": "nonpayable",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "bytes4",
453
+ "name": "interfaceId",
454
+ "type": "bytes4"
455
+ }
456
+ ],
457
+ "name": "supportsInterface",
458
+ "outputs": [
459
+ {
460
+ "internalType": "bool",
461
+ "name": "",
462
+ "type": "bool"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "address",
472
+ "name": "newImplementation",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "internalType": "bytes",
477
+ "name": "upgradeData",
478
+ "type": "bytes"
479
+ }
480
+ ],
481
+ "name": "upgrade",
482
+ "outputs": [
483
+ {
484
+ "internalType": "contract IVersionable",
485
+ "name": "versionable",
486
+ "type": "address"
487
+ }
488
+ ],
489
+ "stateMutability": "nonpayable",
490
+ "type": "function"
491
+ }
492
+ ],
493
+ "bytecode": "0x60a06040523480156200001157600080fd5b5060405162006e0e38038062006e0e833981016040819052620000349162000727565b6200003f3362000194565b6001600160a01b038216620000b25760405162461bcd60e51b815260206004820152602e60248201527f5265676973747279536572766963654d616e616765723a20696e697469616c2060448201526d0617574686f7269747920697320360941b60648201526084015b60405180910390fd5b6001600160a01b038116620001185760405162461bcd60e51b815260206004820152602560248201527f5265676973747279536572766963654d616e616765723a207265676973747279604482015264020697320360dc1b6064820152608401620000a9565b604080516001600160a01b038481166020830152831681830152815180820383018152606090910191829052906000906200017d906200015890620006ee565b604051809103906000f08015801562000175573d6000803e3d6000fd5b5083620002cf565b6001600160a01b0316608052506200081492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b0316600081158015620001df5750825b90506000826001600160401b03166001148015620001fc5750303b155b9050811580156200020b575080155b156200022a5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156200025957845460ff60401b1916680100000000000000001785555b62000264866200040d565b6200026e62000480565b6200028063a444b9bb60e01b620004c8565b8315620002c757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620002db620004f7565b6001600160a01b0316336001600160a01b031614620003105760405163700dd81160e01b8152336004820152602401620000a9565b600154600160a01b900460ff16156200033c576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b17905560006200035b620004f7565b90503060006200036d86848762000641565b90508582826040516200038090620006fc565b6200038e939291906200075f565b604051809103906000f080158015620003ab573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b620004176200069d565b6001600160a01b0381166200043f576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6200048a6200069d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620004d26200069d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000580573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a69190620007cb565b156200062f578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000603573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006299190620007f6565b91505090565b600101546001600160a01b0316919050565b6060631647f91e60e01b84848460405160240162000662939291906200075f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620006ec57604051631afcd79f60e31b815260040160405180910390fd5b565b6132a68062002c3983390190565b610f2f8062005edf83390190565b80516001600160a01b03811681146200072257600080fd5b919050565b600080604083850312156200073b57600080fd5b62000746836200070a565b915062000756602084016200070a565b90509250929050565b600060018060a01b038086168352602081861681850152606060408501528451915081606085015260005b82811015620007a8578581018201518582016080015281016200078a565b50506000608082850101526080601f19601f830116840101915050949350505050565b600060208284031215620007de57600080fd5b81518015158114620007ef57600080fd5b9392505050565b6000602082840312156200080957600080fd5b620007ef826200070a565b60805161240262000837600039600081816102d6015261064301526124026000f3fe60806040523480156200001157600080fd5b5060043610620001395760003560e01c80638c5f36bb11620000bb578063caf4e3d4116200007a578063caf4e3d414620002d4578063e97fac0514620002fb578063f68767681462000312578063f7c34ee01462000329578063fb2cb101146200034057600080fd5b80638c5f36bb1462000257578063933a9ce8146200026e578063ada9652e1462000280578063aef485a01462000297578063c987336c14620002bd57600080fd5b806340be2376116200010857806340be237614620001b05780635ab1bd5314620001c7578063644c45e014620001fb5780636bfc9c731462000235578063893d20e8146200024d57600080fd5b806301ffc9a7146200013e578063138461e01462000183578063214cdb80146200018f57806336fc697e14620001a6575b600080fd5b6200016e6200014f36600462001165565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200018d6200034a565b005b6200018d620001a036600462001165565b62000586565b6200018d620005b5565b6200018d620001c1366004620011b1565b620005fd565b600080516020620023ad833981519152546001600160a01b03165b6040516001600160a01b0390911681526020016200017a565b600080516020620023ad83398151915254600160a01b90046001600160601b03166040516001600160601b0390911681526020016200017a565b6200023e600081565b6040519081526020016200017a565b620001e26200066c565b6200018d62000268366004620011b1565b620007a5565b6001546001600160a01b0316620001e2565b6200023e600080516020620023ad83398151915281565b620002ae620002a83660046200127c565b620008d9565b6040516200017a91906200132e565b620001e2620002ce36600462001343565b62000935565b7f0000000000000000000000000000000000000000000000000000000000000000620001e2565b620001e26200030c36600462001343565b62000b02565b620002ae620003233660046200127c565b62000c40565b6200018d6200033a36600462001399565b62000c61565b620001e262000c9d565b6000600080516020620023ad83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620003c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003e79190620013d7565b156200042e5780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316620004575760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015620004a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004c69190620013d7565b620004f0576040516372657a5160e01b81526001600160a01b038216600482015260240162000425565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156200053a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005609190620013fb565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6200059062000cb5565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620005bf62000cb5565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620006076200066c565b6001600160a01b0316336001600160a01b0316146200063c5760405163700dd81160e01b815233600482015260240162000425565b62000668817f000000000000000000000000000000000000000000000000000000000000000062000d01565b5050565b600080600080516020620023ad83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620006e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200070a9190620013d7565b1562000793578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000767573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200078d919062001426565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620007ec5750825b905060008267ffffffffffffffff1660011480156200080a5750303b155b90508115801562000819575080155b15620008385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200086357845460ff60401b1916600160401b1785555b6200086e8662000f67565b62000878620005b5565b6200088a63a444b9bb60e01b62000586565b8315620008d157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6060632a90401860e01b848484604051602401620008fa9392919062001446565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b6000620009416200066c565b6001600160a01b0316336001600160a01b031614620009765760405163700dd81160e01b815233600482015260240162000425565b600154600160a01b900460ff16620009a157604051631e35411160e31b815260040160405180910390fd5b6000620009ad6200066c565b90506000620009c46001546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000a04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a2a919062001426565b6001549091506001600160a01b0316600062000a48878588620008d9565b604051639623609d60e01b81529091506001600160a01b03841690639623609d9062000a7d9085908b90869060040162001446565b600060405180830381600087803b15801562000a9857600080fd5b505af115801562000aad573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000b0e6200066c565b6001600160a01b0316336001600160a01b03161462000b435760405163700dd81160e01b815233600482015260240162000425565b600154600160a01b900460ff161562000b6f576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b179055600062000b8e6200066c565b905030600062000ba086848762000c40565b905085828260405162000bb39062001157565b62000bc19392919062001446565b604051809103906000f08015801562000bde573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b848484604051602401620008fa9392919062001446565b62000c6b62000cb5565b62000c768262000f67565b62000c818162000fda565b62000c8b620005b5565b6200066863a444b9bb60e01b62000586565b6000600080516020620023ad83398151915262000793565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000cff57604051631afcd79f60e31b815260040160405180910390fd5b565b600062000d0d6200066c565b6001600160a01b0316336001600160a01b03161462000d425760405163700dd81160e01b815233600482015260240162000425565b6000600080516020620023ad83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000db9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ddf9190620013d7565b1562000e225780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b0316602482015260440162000425565b62000e2d8462000fda565b805460405163c3c5a54760e01b81526001600160a01b0385811660048301529091169063c3c5a54790602401602060405180830381865afa15801562000e77573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e9d9190620013d7565b62000ec7576040516372657a5160e01b81526001600160a01b038416600482015260240162000425565b8054604051636939560f60e11b81526001600160a01b0385811660048301529091169063d272ac1e90602401602060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f379190620013fb565b81546001600160a01b0316600160a01b6001600160601b0392831681029190911792839055909104169392505050565b62000f7162000cb5565b6001600160a01b03811662000f99576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020620023ad83398151915280546001600160a01b0316156200102357805460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240162000425565b6001600160a01b0382166200104b5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003620010835760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000425565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620010fd575060408051601f3d908101601f19168201909252620010fa91810190620013d7565b60015b620011275760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000425565b80620011525760405163fdeac91f60e01b81526001600160a01b038416600482015260240162000425565b505050565b610f2f806200147e83390190565b6000602082840312156200117857600080fd5b81356001600160e01b0319811681146200119157600080fd5b9392505050565b6001600160a01b0381168114620011ae57600080fd5b50565b600060208284031215620011c457600080fd5b8135620011918162001198565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620011f957600080fd5b813567ffffffffffffffff80821115620012175762001217620011d1565b604051601f8301601f19908116603f01168101908282118183101715620012425762001242620011d1565b816040528381528660208588010111156200125c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200129257600080fd5b83356200129f8162001198565b92506020840135620012b18162001198565b9150604084013567ffffffffffffffff811115620012ce57600080fd5b620012dc86828701620011e7565b9150509250925092565b6000815180845260005b818110156200130e57602081850181015186830182015201620012f0565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620011916020830184620012e6565b600080604083850312156200135757600080fd5b8235620013648162001198565b9150602083013567ffffffffffffffff8111156200138157600080fd5b6200138f85828601620011e7565b9150509250929050565b60008060408385031215620013ad57600080fd5b8235620013ba8162001198565b91506020830135620013cc8162001198565b809150509250929050565b600060208284031215620013ea57600080fd5b815180151581146200119157600080fd5b6000602082840312156200140e57600080fd5b81516001600160601b03811681146200119157600080fd5b6000602082840312156200143957600080fd5b8151620011918162001198565b6001600160a01b038481168252831660208201526060604082018190526000906200147490830184620012e6565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220e808580ecfdf927f540c00bafede7a02ed1d67f8efe5e5931571737ee6670a0764736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6131c080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80637a9e5e4b11610130578063b68d1809116100b8578063cde749f41161007c578063cde749f414610624578063ea8665721461062c578063ed841d0c1461063f578063f7c34ee014610647578063fb2cb1011461065a57600080fd5b8063b68d1809146105cc578063b88da759146105e1578063bf7e214f146105f4578063c13de997146105fc578063c2bf08c81461061157600080fd5b80638fb36037116100ff5780638fb36037146105485780638fbc2d811461055d578063946dfcfe14610570578063ada9652e14610597578063b3c65015146105ac57600080fd5b80637a9e5e4b146105075780638105cc7f1461051a578063893d20e81461052d5780638c5f36bb1461053557600080fd5b80632a904018116101b35780635ab1bd53116101825780635ab1bd53146104715780635c992fed146104915780635d966289146104bc578063644c45e0146104cf5780637286e5e5146104f457600080fd5b80632a9040181461032a57806336fc697e1461033d5780634d459c90146103455780634f4213331461045e57600080fd5b8063138461e0116101fa578063138461e0146102b25780631647f91e146102bc5780631eff4b22146102cf578063214cdb801461030457806327bb7a331461031757600080fd5b806301ffc9a71461022c578063026bc43b1461026e5780630d8e6e2c1461028e5780630fec111c146102aa575b600080fd5b61025961023a366004612702565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028161027c366004612758565b610662565b60405161026591906127e1565b6102966107f6565b60405162ffffff9091168152602001610265565b610281610880565b6102ba610a1c565b005b6102ba6102ca366004612957565b610c4a565b6102f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b6102ba610312366004612702565b610d41565b6102ba610325366004612a0b565b610d6e565b6102ba610338366004612957565b610e0a565b6102ba610f52565b610401610353366004612ab4565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061316b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610265565b61025961046c366004612ab4565b610f98565b61047961104b565b6040516001600160a01b039091168152602001610265565b6104a461049f366004612ad1565b611067565b6040516001600160601b039091168152602001610265565b6102816104ca366004612758565b6110f9565b6000805160206130eb83398151915254600160a01b90046001600160601b03166104a4565b610281610502366004612758565b61122f565b6102ba610515366004612ba3565b6112dc565b6104a4610528366004612ad1565b611363565b610479611379565b6102ba610543366004612ba3565b6114aa565b6105506115ac565b6040516102659190612bc0565b61028161056b366004612758565b6115e4565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102f6565b6102f66000805160206130eb83398151915281565b6105b4611691565b6040516001600160401b039091168152602001610265565b60285b60405160ff9091168152602001610265565b6102966105ef366004612bd5565b6116b2565b610479611703565b61060461171f565b6040516102659190612bee565b6104a461061f366004612ad1565b6119c5565b6105cf6119db565b6102ba61063a366004612758565b611a5e565b6102f6600081565b6102ba610655366004612758565b611ad1565b610479611b03565b61066a6126c4565b610677335b600036611b19565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106aa9063c6b60f2b60e01b90600401612bc0565b602060405180830381865afa1580156106c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106eb9190612c55565b61070857604051636795c76360e01b815260040160405180910390fd5b6107158360465b84611c17565b905061071f61104b565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161074a91906127e1565b6020604051808303816000875af1158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c7d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b1580156107d857600080fd5b505af11580156107ec573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087b9190612c9a565b905090565b6108886126c4565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161091890612cb7565b80601f016020809104026020016040519081016040528092919081815260200182805461094490612cb7565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b50505050508152505090506040518060e001604052806109af600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a00611b03565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206130eb83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190612c55565b15610afb5780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316610b235760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8f9190612c55565b610bb7576040516372657a5160e01b81526001600160a01b0382166004820152602401610af2565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c249190612c7d565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b60008051602061314b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98888611e03565b610d0387876120a2565b8315610d3757845460ff60401b191685556040516001815260008051602061312b8339815191529060200160405180910390a15b5050505050505050565b610d496121c3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610d766121c3565b610d808287611ad1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610df08382612d37565b50610e016303fb044760e21b610d41565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e2c6107f6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e909190612df6565b60008051602061314b8339815191528054600160401b900460ff1680610ec3575080546001600160401b03808416911610155b15610ee15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f0c8585611e03565b610f15836121fc565b805460ff60401b191681556040516001600160401b038316815260008051602061312b833981519152906020015b60405180910390a15050505050565b610f5a6121c3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008051602061316b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611020573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110449190612e1f565b1192915050565b6000805160206130eb833981519152546001600160a01b031690565b60006110723361066f565b61107d8260d3612204565b61108561104b565b6001600160a01b031663a5df9e4e836040518263ffffffff1660e01b81526004016110b091906127e1565b6020604051808303816000875af11580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f39190612c7d565b92915050565b6111016126c4565b61110a3361066f565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061113d906301da8d1160e61b90600401612bc0565b602060405180830381865afa15801561115a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117e9190612c55565b61119b57604051637a71998760e01b815260040160405180910390fd5b6111a683606e61070f565b90506111b061104b565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016111db91906127e1565b6020604051808303816000875af11580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e9190612c7d565b6001600160601b0316815292915050565b6112376126c4565b6112403361066f565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112739063100f51f760e01b90600401612bc0565b602060405180830381865afa158015611290573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b49190612c55565b6112d157604051636f61f64160e01b815260040160405180910390fd5b6111a683608c61070f565b336112e5611703565b6001600160a01b0316816001600160a01b0316146113205760405162d1953b60e31b81526001600160a01b0382166004820152602401610af2565b816001600160a01b03163b600003611356576040516361798f2f60e11b81526001600160a01b0383166004820152602401610af2565b61135f8261230b565b5050565b600061136e3361066f565b61107d826050612204565b6000806000805160206130eb83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156113ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114139190612c55565b15611498578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561146e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114929190612e43565b91505090565b600101546001600160a01b0316919050565b60008051602061314b8339815191528054600160401b810460ff1615906001600160401b03166000811580156114dd5750825b90506000826001600160401b031660011480156114f95750303b155b905081158015611507575080155b156115255760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561154f57845460ff60401b1916600160401b1785555b6115588661236c565b611560610f52565b61157063a444b9bb60e01b610d41565b83156115a457845460ff60401b191685556040516001815260008051602061312b8339815191529060200160405180910390a15b505050505050565b60008051602061310b833981519152805460009190600160a01b900460ff166115d6576000611492565b638fb3603760e01b91505090565b6115ec6126c4565b6115f53361066f565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611628906302ba8bb360e21b90600401612bc0565b602060405180830381865afa158015611645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116699190612c55565b611686576040516308707e3160e41b815260040160405180910390fd5b6111a683607861070f565b600061087b60008051602061314b833981519152546001600160401b031690565b600060008051602061316b83398151915260010182815481106116d7576116d7612e60565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008051602061310b833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b604080518082019091526000808252602082015281526020019060019003908161173757905050905061176860d390565b8160008151811061177b5761177b612e60565b602090810291909101015160ff90911690528051635c992fed60e01b9082906000906117a9576117a9612e60565b6020908102919091018101516001600160e01b03199092169101526117cc60dc90565b816001815181106117df576117df612e60565b602090810291909101015160ff90911690528051631857e11960e31b908290600190811061180f5761180f612e60565b6020908102919091018101516001600160e01b0319909216910152611832606e90565b8160028151811061184557611845612e60565b602090810291909101015160ff90911690528051635d96628960e01b908290600290811061187557611875612e60565b6020908102919091018101516001600160e01b0319909216910152611898608c90565b816003815181106118ab576118ab612e60565b602090810291909101015160ff90911690528051637286e5e560e01b90829060039081106118db576118db612e60565b6020908102919091018101516001600160e01b03199092169101526118fe607890565b8160048151811061191157611911612e60565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600490811061194157611941612e60565b6020908102919091018101516001600160e01b0319909216910152611964604690565b8160058151811061197757611977612e60565b602090810291909101015160ff9091169052805163026bc43b60e01b90829060059081106119a7576119a7612e60565b6020908102919091018101516001600160e01b031990921691015290565b60006119d03361066f565b61107d8260dc612204565b60006119e56107f6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a3a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087b9190612e81565b611a666121c3565b60006028611a726119db565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611aa7846123dc565b90506000611aba8583603c848888610d6e565b611aca637b6a51fd60e01b610d41565b5050505050565b611ad96121c3565b611ae28261236c565b611aeb81612423565b611af3610f52565b61135f63a444b9bb60e01b610d41565b60006000805160206130eb833981519152611498565b60008051602061310b833981519152600080611b54611b36611703565b8730611b46600460008a8c612e9e565b611b4f91612ec8565b612593565b91509150816115a45763ffffffff811615611bf457825460ff60a01b1916600160a01b178355611b82611703565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bb193929190612ef8565b600060405180830381600087803b158015611bcb57600080fd5b505af1158015611bdf573d6000803e3d6000fd5b5050845460ff60a01b19168555506115a49050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610af2565b611c1f6126c4565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c5d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c859190810190612f7d565b6001600160a01b0385166080820152604081015190915060ff848116911614611cd4576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610af2565b60a08101516001600160a01b0380821690841614611d105760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610af2565b846001600160a01b0316816001600160a01b031603611d42576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611d6957604051630fd187d360e01b815260040160405180910390fd5b611d7161104b565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddd9190612c55565b15611dfb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b611e0b6121c3565b60008051602061316b8339815191526000611e3b60008051602061314b833981519152546001600160401b031690565b90506000611e476107f6565b9050816001600160401b0316600103611e745760028301805462ffffff191662ffffff8316179055611ec2565b600283015462ffffff90811690821611611ec25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610af2565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9a9190613040565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f439083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60008051602061314b8339815191528054600160401b810460ff1615906001600160401b03166000811580156120d55750825b90506000826001600160401b031660011480156120f15750303b155b9050811580156120ff575080155b1561211d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561214757845460ff60401b1916600160401b1785555b6000808780602001905181019061215e9190613067565b9150915061216b8261269f565b612175818a611a5e565b612185633f77281960e21b610d41565b50508315610e0157845460ff60401b191685556040516001815260008051602061312b8339815191529060200160405180910390a150505050505050565b60008051602061314b83398151915254600160401b900460ff166121fa57604051631afcd79f60e31b815260040160405180910390fd5b565b6102276121c3565b60006080830152604082015160ff828116911614612248576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610af2565b60a08201516001600160a01b03811661227457604051630fd187d360e01b815260040160405180910390fd5b61227c61104b565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156122c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e89190612c55565b1561230657604051637142ceb360e11b815260040160405180910390fd5b505050565b60008051602061310b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6123746121c3565b6001600160a01b03811661239b576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156110cf573d6000803e3d6000fd5b6000805160206130eb83398151915280546001600160a01b03161561246957805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610af2565b6001600160a01b0382166124905760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036124c65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610af2565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b81526301ffc9a7906125099063230c0c8160e11b90600401612bc0565b602060405180830381865afa925050508015612542575060408051601f3d908101601f1916820190925261253f91810190612c55565b60015b61256a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610af2565b806123065760405163fdeac91f60e01b81526001600160a01b0384166004820152602401610af2565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126029190613096565b600060405180830381855afa9150503d806000811461263d576040519150601f19603f3d011682016040523d82523d6000602084013e612642565b606091505b50915091508115612694576040815110612674578080602001905181019061266a91906130b2565b9094509250612694565b602081511061269457808060200190518101906126919190612c55565b93505b505094509492505050565b6126a76121c3565b6126b0816126b3565b50565b6126bb6121c3565b6126b08161230b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561271457600080fd5b81356001600160e01b03198116811461272c57600080fd5b9392505050565b6001600160a01b03811681146126b057600080fd5b803561275381612733565b919050565b6000806040838503121561276b57600080fd5b823561277681612733565b9150602083013561278681612733565b809150509250929050565b60005b838110156127ac578181015183820152602001612794565b50506000910152565b600081518084526127cd816020860160208601612791565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161284a60c08401826001600160a01b03169052565b5060c083015160e0808401526128646101008401826127b5565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156128a4576128a461286c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156128d2576128d261286c565b604052919050565b60006001600160401b038211156128f3576128f361286c565b50601f01601f191660200190565b600082601f83011261291257600080fd5b8135612925612920826128da565b6128aa565b81815284602083860101111561293a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561296c57600080fd5b833561297781612733565b9250602084013561298781612733565b915060408401356001600160401b038111156129a257600080fd5b6129ae86828701612901565b9150509250925092565b6001600160601b03811681146126b057600080fd5b8035612753816129b8565b60ff811681146126b057600080fd5b8035612753816129d8565b80151581146126b057600080fd5b8035612753816129f2565b60008060008060008060c08789031215612a2457600080fd5b8635612a2f81612733565b95506020870135612a3f816129b8565b94506040870135612a4f816129d8565b93506060870135612a5f816129f2565b92506080870135612a6f81612733565b915060a08701356001600160401b03811115612a8a57600080fd5b612a9689828a01612901565b9150509295509295509295565b62ffffff811681146126b057600080fd5b600060208284031215612ac657600080fd5b813561272c81612aa3565b600060208284031215612ae357600080fd5b81356001600160401b0380821115612afa57600080fd5b9083019060e08286031215612b0e57600080fd5b612b16612882565b612b1f836129cd565b8152612b2d602084016129cd565b6020820152612b3e604084016129e7565b6040820152612b4f60608401612a00565b6060820152612b6060808401612748565b6080820152612b7160a08401612748565b60a082015260c083013582811115612b8857600080fd5b612b9487828601612901565b60c08301525095945050505050565b600060208284031215612bb557600080fd5b813561272c81612733565b6001600160e01b031991909116815260200190565b600060208284031215612be757600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612c3d578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612c0b565b5091979650505050505050565b8051612753816129f2565b600060208284031215612c6757600080fd5b815161272c816129f2565b8051612753816129b8565b600060208284031215612c8f57600080fd5b815161272c816129b8565b600060208284031215612cac57600080fd5b815161272c81612aa3565b600181811c90821680612ccb57607f821691505b602082108103612ceb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561230657600081815260208120601f850160051c81016020861015612d185750805b601f850160051c820191505b818110156115a457828155600101612d24565b81516001600160401b03811115612d5057612d5061286c565b612d6481612d5e8454612cb7565b84612cf1565b602080601f831160018114612d995760008415612d815750858301515b600019600386901b1c1916600185901b1785556115a4565b600085815260208120601f198616915b82811015612dc857888601518255948401946001909101908401612da9565b5085821015612de65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612e0857600080fd5b81516001600160401b038116811461272c57600080fd5b600060208284031215612e3157600080fd5b5051919050565b805161275381612733565b600060208284031215612e5557600080fd5b815161272c81612733565b634e487b7160e01b600052603260045260246000fd5b8051612753816129d8565b600060208284031215612e9357600080fd5b815161272c816129d8565b60008085851115612eae57600080fd5b83861115612ebb57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612ef05780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f4957600080fd5b8151612f57612920826128da565b818152846020838601011115612f6c57600080fd5b612864826020830160208701612791565b600060208284031215612f8f57600080fd5b81516001600160401b0380821115612fa657600080fd5b9083019060e08286031215612fba57600080fd5b612fc2612882565b612fcb83612c72565b8152612fd960208401612c72565b6020820152612fea60408401612e76565b6040820152612ffb60608401612c4a565b606082015261300c60808401612e38565b608082015261301d60a08401612e38565b60a082015260c08301518281111561303457600080fd5b612b9487828601612f38565b60006020828403121561305257600080fd5b815164ffffffffff8116811461272c57600080fd5b6000806040838503121561307a57600080fd5b825161308581612733565b602084015190925061278681612733565b600082516130a8818460208701612791565b9190910192915050565b600080604083850312156130c557600080fd5b82516130d0816129f2565b602084015190925063ffffffff8116811461278657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122016e71bdb9e7473fe1b39b531bc37bd3bcfa38c7606773a2acf71f5c7f15eb2ea64736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
494
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620001395760003560e01c80638c5f36bb11620000bb578063caf4e3d4116200007a578063caf4e3d414620002d4578063e97fac0514620002fb578063f68767681462000312578063f7c34ee01462000329578063fb2cb101146200034057600080fd5b80638c5f36bb1462000257578063933a9ce8146200026e578063ada9652e1462000280578063aef485a01462000297578063c987336c14620002bd57600080fd5b806340be2376116200010857806340be237614620001b05780635ab1bd5314620001c7578063644c45e014620001fb5780636bfc9c731462000235578063893d20e8146200024d57600080fd5b806301ffc9a7146200013e578063138461e01462000183578063214cdb80146200018f57806336fc697e14620001a6575b600080fd5b6200016e6200014f36600462001165565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200018d6200034a565b005b6200018d620001a036600462001165565b62000586565b6200018d620005b5565b6200018d620001c1366004620011b1565b620005fd565b600080516020620023ad833981519152546001600160a01b03165b6040516001600160a01b0390911681526020016200017a565b600080516020620023ad83398151915254600160a01b90046001600160601b03166040516001600160601b0390911681526020016200017a565b6200023e600081565b6040519081526020016200017a565b620001e26200066c565b6200018d62000268366004620011b1565b620007a5565b6001546001600160a01b0316620001e2565b6200023e600080516020620023ad83398151915281565b620002ae620002a83660046200127c565b620008d9565b6040516200017a91906200132e565b620001e2620002ce36600462001343565b62000935565b7f0000000000000000000000000000000000000000000000000000000000000000620001e2565b620001e26200030c36600462001343565b62000b02565b620002ae620003233660046200127c565b62000c40565b6200018d6200033a36600462001399565b62000c61565b620001e262000c9d565b6000600080516020620023ad83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620003c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003e79190620013d7565b156200042e5780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316620004575760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015620004a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004c69190620013d7565b620004f0576040516372657a5160e01b81526001600160a01b038216600482015260240162000425565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156200053a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005609190620013fb565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6200059062000cb5565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620005bf62000cb5565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620006076200066c565b6001600160a01b0316336001600160a01b0316146200063c5760405163700dd81160e01b815233600482015260240162000425565b62000668817f000000000000000000000000000000000000000000000000000000000000000062000d01565b5050565b600080600080516020620023ad83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620006e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200070a9190620013d7565b1562000793578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000767573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200078d919062001426565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620007ec5750825b905060008267ffffffffffffffff1660011480156200080a5750303b155b90508115801562000819575080155b15620008385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200086357845460ff60401b1916600160401b1785555b6200086e8662000f67565b62000878620005b5565b6200088a63a444b9bb60e01b62000586565b8315620008d157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6060632a90401860e01b848484604051602401620008fa9392919062001446565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b6000620009416200066c565b6001600160a01b0316336001600160a01b031614620009765760405163700dd81160e01b815233600482015260240162000425565b600154600160a01b900460ff16620009a157604051631e35411160e31b815260040160405180910390fd5b6000620009ad6200066c565b90506000620009c46001546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000a04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a2a919062001426565b6001549091506001600160a01b0316600062000a48878588620008d9565b604051639623609d60e01b81529091506001600160a01b03841690639623609d9062000a7d9085908b90869060040162001446565b600060405180830381600087803b15801562000a9857600080fd5b505af115801562000aad573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000b0e6200066c565b6001600160a01b0316336001600160a01b03161462000b435760405163700dd81160e01b815233600482015260240162000425565b600154600160a01b900460ff161562000b6f576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b179055600062000b8e6200066c565b905030600062000ba086848762000c40565b905085828260405162000bb39062001157565b62000bc19392919062001446565b604051809103906000f08015801562000bde573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b848484604051602401620008fa9392919062001446565b62000c6b62000cb5565b62000c768262000f67565b62000c818162000fda565b62000c8b620005b5565b6200066863a444b9bb60e01b62000586565b6000600080516020620023ad83398151915262000793565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000cff57604051631afcd79f60e31b815260040160405180910390fd5b565b600062000d0d6200066c565b6001600160a01b0316336001600160a01b03161462000d425760405163700dd81160e01b815233600482015260240162000425565b6000600080516020620023ad83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000db9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ddf9190620013d7565b1562000e225780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b0316602482015260440162000425565b62000e2d8462000fda565b805460405163c3c5a54760e01b81526001600160a01b0385811660048301529091169063c3c5a54790602401602060405180830381865afa15801562000e77573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e9d9190620013d7565b62000ec7576040516372657a5160e01b81526001600160a01b038416600482015260240162000425565b8054604051636939560f60e11b81526001600160a01b0385811660048301529091169063d272ac1e90602401602060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f379190620013fb565b81546001600160a01b0316600160a01b6001600160601b0392831681029190911792839055909104169392505050565b62000f7162000cb5565b6001600160a01b03811662000f99576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b600080516020620023ad83398151915280546001600160a01b0316156200102357805460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240162000425565b6001600160a01b0382166200104b5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003620010835760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000425565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620010fd575060408051601f3d908101601f19168201909252620010fa91810190620013d7565b60015b620011275760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000425565b80620011525760405163fdeac91f60e01b81526001600160a01b038416600482015260240162000425565b505050565b610f2f806200147e83390190565b6000602082840312156200117857600080fd5b81356001600160e01b0319811681146200119157600080fd5b9392505050565b6001600160a01b0381168114620011ae57600080fd5b50565b600060208284031215620011c457600080fd5b8135620011918162001198565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620011f957600080fd5b813567ffffffffffffffff80821115620012175762001217620011d1565b604051601f8301601f19908116603f01168101908282118183101715620012425762001242620011d1565b816040528381528660208588010111156200125c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200129257600080fd5b83356200129f8162001198565b92506020840135620012b18162001198565b9150604084013567ffffffffffffffff811115620012ce57600080fd5b620012dc86828701620011e7565b9150509250925092565b6000815180845260005b818110156200130e57602081850181015186830182015201620012f0565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620011916020830184620012e6565b600080604083850312156200135757600080fd5b8235620013648162001198565b9150602083013567ffffffffffffffff8111156200138157600080fd5b6200138f85828601620011e7565b9150509250929050565b60008060408385031215620013ad57600080fd5b8235620013ba8162001198565b91506020830135620013cc8162001198565b809150509250929050565b600060208284031215620013ea57600080fd5b815180151581146200119157600080fd5b6000602082840312156200140e57600080fd5b81516001600160601b03811681146200119157600080fd5b6000602082840312156200143957600080fd5b8151620011918162001198565b6001600160a01b038481168252831660208201526060604082018190526000906200147490830184620012e6565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220e808580ecfdf927f540c00bafede7a02ed1d67f8efe5e5931571737ee6670a0764736f6c63430008140033",
495
+ "linkReferences": {
496
+ "contracts/types/Blocknumber.sol": {
497
+ "BlocknumberLib": [
498
+ {
499
+ "length": 20,
500
+ "start": 15621
501
+ }
502
+ ]
503
+ },
504
+ "contracts/types/NftId.sol": {
505
+ "NftIdLib": [
506
+ {
507
+ "length": 20,
508
+ "start": 1349
509
+ },
510
+ {
511
+ "length": 20,
512
+ "start": 3005
513
+ },
514
+ {
515
+ "length": 20,
516
+ "start": 3808
517
+ },
518
+ {
519
+ "length": 20,
520
+ "start": 5557
521
+ },
522
+ {
523
+ "length": 20,
524
+ "start": 14198
525
+ },
526
+ {
527
+ "length": 20,
528
+ "start": 16596
529
+ }
530
+ ]
531
+ },
532
+ "contracts/types/Timestamp.sol": {
533
+ "TimestampLib": [
534
+ {
535
+ "length": 20,
536
+ "start": 19547
537
+ }
538
+ ]
539
+ },
540
+ "contracts/types/Version.sol": {
541
+ "VersionLib": [
542
+ {
543
+ "length": 20,
544
+ "start": 13628
545
+ },
546
+ {
547
+ "length": 20,
548
+ "start": 15147
549
+ },
550
+ {
551
+ "length": 20,
552
+ "start": 18207
553
+ }
554
+ ]
555
+ }
556
+ },
557
+ "deployedLinkReferences": {
558
+ "contracts/types/NftId.sol": {
559
+ "NftIdLib": [
560
+ {
561
+ "length": 20,
562
+ "start": 902
563
+ },
564
+ {
565
+ "length": 20,
566
+ "start": 1705
567
+ },
568
+ {
569
+ "length": 20,
570
+ "start": 3454
571
+ }
572
+ ]
573
+ }
574
+ }
575
+ }