@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,560 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleServiceManager",
4
+ "sourceName": "contracts/instance/service/BundleServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registryAddress",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "ErrorAlreadyDeployed",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "ErrorAlreadyDeployedWithSalt",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "registry",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "NftId",
36
+ "name": "nftId",
37
+ "type": "uint96"
38
+ }
39
+ ],
40
+ "name": "ErrorAlreadyLinked",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "contractAddress",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorContractNotRegistered",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "ErrorInitialOwnerZero",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "account",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "ErrorNotOwner",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "registryAddress",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "ErrorNotRegistry",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorNotYetDeployed",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorRegistryAddressZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "registry",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorRegistryAlreadyInitialized",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorRegistryNotInitialized",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "InvalidInitialization",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "NotInitializing",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "anonymous": false,
119
+ "inputs": [
120
+ {
121
+ "indexed": false,
122
+ "internalType": "uint64",
123
+ "name": "version",
124
+ "type": "uint64"
125
+ }
126
+ ],
127
+ "name": "Initialized",
128
+ "type": "event"
129
+ },
130
+ {
131
+ "anonymous": false,
132
+ "inputs": [
133
+ {
134
+ "indexed": true,
135
+ "internalType": "address",
136
+ "name": "proxy",
137
+ "type": "address"
138
+ },
139
+ {
140
+ "indexed": false,
141
+ "internalType": "address",
142
+ "name": "initialImplementation",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "name": "LogProxyDeployed",
147
+ "type": "event"
148
+ },
149
+ {
150
+ "anonymous": false,
151
+ "inputs": [
152
+ {
153
+ "indexed": true,
154
+ "internalType": "address",
155
+ "name": "proxy",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "indexed": false,
160
+ "internalType": "address",
161
+ "name": "initialImplementation",
162
+ "type": "address"
163
+ }
164
+ ],
165
+ "name": "LogProxyDeployedWithSalt",
166
+ "type": "event"
167
+ },
168
+ {
169
+ "anonymous": false,
170
+ "inputs": [
171
+ {
172
+ "indexed": true,
173
+ "internalType": "address",
174
+ "name": "proxy",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "indexed": false,
179
+ "internalType": "address",
180
+ "name": "upgradedImplementation",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "LogProxyUpgraded",
185
+ "type": "event"
186
+ },
187
+ {
188
+ "inputs": [],
189
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
190
+ "outputs": [
191
+ {
192
+ "internalType": "bytes32",
193
+ "name": "",
194
+ "type": "bytes32"
195
+ }
196
+ ],
197
+ "stateMutability": "view",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "address",
204
+ "name": "initialImplementation",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "initializationData",
210
+ "type": "bytes"
211
+ }
212
+ ],
213
+ "name": "deploy",
214
+ "outputs": [
215
+ {
216
+ "internalType": "contract IVersionable",
217
+ "name": "versionable",
218
+ "type": "address"
219
+ }
220
+ ],
221
+ "stateMutability": "nonpayable",
222
+ "type": "function"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "getBundleService",
227
+ "outputs": [
228
+ {
229
+ "internalType": "contract BundleService",
230
+ "name": "",
231
+ "type": "address"
232
+ }
233
+ ],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "implementation",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "address",
246
+ "name": "proxyOwner",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "internalType": "bytes",
251
+ "name": "deployData",
252
+ "type": "bytes"
253
+ }
254
+ ],
255
+ "name": "getDeployData",
256
+ "outputs": [
257
+ {
258
+ "internalType": "bytes",
259
+ "name": "data",
260
+ "type": "bytes"
261
+ }
262
+ ],
263
+ "stateMutability": "pure",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [],
268
+ "name": "getInitialOwner",
269
+ "outputs": [
270
+ {
271
+ "internalType": "address",
272
+ "name": "",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "getNftId",
282
+ "outputs": [
283
+ {
284
+ "internalType": "NftId",
285
+ "name": "",
286
+ "type": "uint96"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "getOwner",
295
+ "outputs": [
296
+ {
297
+ "internalType": "address",
298
+ "name": "",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "stateMutability": "view",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "getProxy",
308
+ "outputs": [
309
+ {
310
+ "internalType": "contract UpgradableProxyWithAdmin",
311
+ "name": "",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "stateMutability": "nonpayable",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "getRegistry",
321
+ "outputs": [
322
+ {
323
+ "internalType": "contract IRegistry",
324
+ "name": "",
325
+ "type": "address"
326
+ }
327
+ ],
328
+ "stateMutability": "view",
329
+ "type": "function"
330
+ },
331
+ {
332
+ "inputs": [
333
+ {
334
+ "internalType": "address",
335
+ "name": "implementation",
336
+ "type": "address"
337
+ },
338
+ {
339
+ "internalType": "address",
340
+ "name": "proxyOwner",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "internalType": "bytes",
345
+ "name": "upgradeData",
346
+ "type": "bytes"
347
+ }
348
+ ],
349
+ "name": "getUpgradeData",
350
+ "outputs": [
351
+ {
352
+ "internalType": "bytes",
353
+ "name": "data",
354
+ "type": "bytes"
355
+ }
356
+ ],
357
+ "stateMutability": "pure",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [],
362
+ "name": "initializeERC165",
363
+ "outputs": [],
364
+ "stateMutability": "nonpayable",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [
369
+ {
370
+ "internalType": "address",
371
+ "name": "initialOwner",
372
+ "type": "address"
373
+ },
374
+ {
375
+ "internalType": "address",
376
+ "name": "registryAddress",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "name": "initializeNftOwnable",
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
+ "name": "initializeOwner",
394
+ "outputs": [],
395
+ "stateMutability": "nonpayable",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [],
400
+ "name": "linkToRegisteredNftId",
401
+ "outputs": [],
402
+ "stateMutability": "nonpayable",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "bytes4",
409
+ "name": "interfaceId",
410
+ "type": "bytes4"
411
+ }
412
+ ],
413
+ "name": "registerInterface",
414
+ "outputs": [],
415
+ "stateMutability": "nonpayable",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "inputs": [
420
+ {
421
+ "internalType": "bytes4",
422
+ "name": "interfaceId",
423
+ "type": "bytes4"
424
+ }
425
+ ],
426
+ "name": "supportsInterface",
427
+ "outputs": [
428
+ {
429
+ "internalType": "bool",
430
+ "name": "",
431
+ "type": "bool"
432
+ }
433
+ ],
434
+ "stateMutability": "view",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [
439
+ {
440
+ "internalType": "address",
441
+ "name": "newImplementation",
442
+ "type": "address"
443
+ },
444
+ {
445
+ "internalType": "bytes",
446
+ "name": "upgradeData",
447
+ "type": "bytes"
448
+ }
449
+ ],
450
+ "name": "upgrade",
451
+ "outputs": [
452
+ {
453
+ "internalType": "contract IVersionable",
454
+ "name": "versionable",
455
+ "type": "address"
456
+ }
457
+ ],
458
+ "stateMutability": "nonpayable",
459
+ "type": "function"
460
+ }
461
+ ],
462
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162007d9538038062007d9583398101604081905262000034916200064b565b6200003f33620000d2565b60006040516200004f906200062f565b604051809103906000f0801580156200006c573d6000803e3d6000fd5b50604080516001600160a01b0385166020820152308183015281518082038301815260609091019091529091506000620000a783836200020d565b600280546001600160a01b0319166001600160a01b0392909216919091179055506200070d92505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03166000811580156200011d5750825b90506000826001600160401b031660011480156200013a5750303b155b90508115801562000149575080155b15620001685760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156200019757845460ff60401b1916680100000000000000001785555b620001a2866200034e565b620001ac620003c1565b620001be63a444b9bb60e01b62000409565b83156200020557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b60006200021962000438565b6001600160a01b0316336001600160a01b031614620002515760405163700dd81160e01b815233600482015260240160405180910390fd5b600154600160a01b900460ff16156200027d576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b17905560006200029c62000438565b9050306000620002ae86848762000582565b9050858282604051620002c1906200063d565b620002cf939291906200067d565b604051809103906000f080158015620002ec573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b62000358620005de565b6001600160a01b03811662000380576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b620003cb620005de565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62000413620005de565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620004c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e79190620006e9565b1562000570578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200056a91906200064b565b91505090565b600101546001600160a01b0316919050565b6060631647f91e60e01b848484604051602401620005a3939291906200067d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200062d57604051631afcd79f60e31b815260040160405180910390fd5b565b614665806200280183390190565b610f2f8062006e6683390190565b6000602082840312156200065e57600080fd5b81516001600160a01b03811681146200067657600080fd5b9392505050565b600060018060a01b038086168352602081861681850152606060408501528451915081606085015260005b82811015620006c657858101820151858201608001528101620006a8565b50506000608082850101526080601f19601f830116840101915050949350505050565b600060208284031215620006fc57600080fd5b815180151581146200067657600080fd5b6120e4806200071d6000396000f3fe60806040523480156200001157600080fd5b5060043610620001215760003560e01c8063933a9ce811620000af578063e97fac05116200007a578063e97fac05146200029c578063f687676814620002b3578063f7c34ee014620002ca578063fb2cb10114620002e1578063fed3d63f14620002eb57600080fd5b8063933a9ce81462000227578063ada9652e1462000239578063aef485a0146200025f578063c987336c146200028557600080fd5b80635ab1bd5311620000f05780635ab1bd531462000198578063644c45e014620001cc578063893d20e814620002065780638c5f36bb146200021057600080fd5b806301ffc9a71462000126578063138461e0146200016b578063214cdb80146200017757806336fc697e146200018e575b600080fd5b620001566200013736600462000e47565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b62000175620002fd565b005b620001756200018836600462000e47565b62000539565b6200017562000568565b6000805160206200208f833981519152546001600160a01b03165b6040516001600160a01b03909116815260200162000162565b6000805160206200208f83398151915254600160a01b90046001600160601b03166040516001600160601b03909116815260200162000162565b620001b3620005b0565b620001756200022136600462000e93565b620006e9565b6001546001600160a01b0316620001b3565b620002506000805160206200208f83398151915281565b60405190815260200162000162565b620002766200027036600462000f5e565b6200081d565b60405162000162919062001010565b620001b36200029636600462001025565b62000879565b620001b3620002ad36600462001025565b62000a46565b62000276620002c436600462000f5e565b62000b84565b62000175620002db3660046200107b565b62000ba5565b620001b362000be5565b6002546001600160a01b0316620001b3565b60006000805160206200208f83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039a9190620010b9565b15620003e15780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b03166200040a5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801562000453573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004799190620010b9565b620004a3576040516372657a5160e01b81526001600160a01b0382166004820152602401620003d8565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620004ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005139190620010dd565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6200054362000bfd565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200057262000bfd565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206200208f83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000628573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200064e9190620010b9565b15620006d7578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015620006ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006d1919062001108565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620007305750825b905060008267ffffffffffffffff1660011480156200074e5750303b155b9050811580156200075d575080155b156200077c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620007a757845460ff60401b1916600160401b1785555b620007b28662000c49565b620007bc62000568565b620007ce63a444b9bb60e01b62000539565b83156200081557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6060632a90401860e01b8484846040516024016200083e9392919062001128565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600062000885620005b0565b6001600160a01b0316336001600160a01b031614620008ba5760405163700dd81160e01b8152336004820152602401620003d8565b600154600160a01b900460ff16620008e557604051631e35411160e31b815260040160405180910390fd5b6000620008f1620005b0565b90506000620009086001546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000948573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200096e919062001108565b6001549091506001600160a01b031660006200098c8785886200081d565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620009c19085908b90869060040162001128565b600060405180830381600087803b158015620009dc57600080fd5b505af1158015620009f1573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000a52620005b0565b6001600160a01b0316336001600160a01b03161462000a875760405163700dd81160e01b8152336004820152602401620003d8565b600154600160a01b900460ff161562000ab3576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b179055600062000ad2620005b0565b905030600062000ae486848762000b84565b905085828260405162000af79062000e39565b62000b059392919062001128565b604051809103906000f08015801562000b22573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b8484846040516024016200083e9392919062001128565b62000baf62000bfd565b62000bba8262000c49565b62000bc58162000cbc565b62000bcf62000568565b62000be163a444b9bb60e01b62000539565b5050565b60006000805160206200208f833981519152620006d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000c4757604051631afcd79f60e31b815260040160405180910390fd5b565b62000c5362000bfd565b6001600160a01b03811662000c7b576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6000805160206200208f83398151915280546001600160a01b03161562000d0557805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620003d8565b6001600160a01b03821662000d2d5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b60000362000d655760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003d8565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000ddf575060408051601f3d908101601f1916820190925262000ddc91810190620010b9565b60015b62000e095760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003d8565b8062000e345760405163fdeac91f60e01b81526001600160a01b0384166004820152602401620003d8565b505050565b610f2f806200116083390190565b60006020828403121562000e5a57600080fd5b81356001600160e01b03198116811462000e7357600080fd5b9392505050565b6001600160a01b038116811462000e9057600080fd5b50565b60006020828403121562000ea657600080fd5b813562000e738162000e7a565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000edb57600080fd5b813567ffffffffffffffff8082111562000ef95762000ef962000eb3565b604051601f8301601f19908116603f0116810190828211818310171562000f245762000f2462000eb3565b8160405283815286602085880101111562000f3e57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121562000f7457600080fd5b833562000f818162000e7a565b9250602084013562000f938162000e7a565b9150604084013567ffffffffffffffff81111562000fb057600080fd5b62000fbe8682870162000ec9565b9150509250925092565b6000815180845260005b8181101562000ff05760208185018101518683018201520162000fd2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000e73602083018462000fc8565b600080604083850312156200103957600080fd5b8235620010468162000e7a565b9150602083013567ffffffffffffffff8111156200106357600080fd5b620010718582860162000ec9565b9150509250929050565b600080604083850312156200108f57600080fd5b82356200109c8162000e7a565b91506020830135620010ae8162000e7a565b809150509250929050565b600060208284031215620010cc57600080fd5b8151801515811462000e7357600080fd5b600060208284031215620010f057600080fd5b81516001600160601b038116811462000e7357600080fd5b6000602082840312156200111b57600080fd5b815162000e738162000e7a565b6001600160a01b03848116825283166020820152606060408201819052600090620011569083018462000fc8565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220a9161a888c2091d1447d64221f74bdd99c68b76468ec2fbd153a21af56a3381f64736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61457f80620000e66000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638c5f36bb11610125578063caf4e3d4116100ad578063e3458d531161007c578063e3458d531461061b578063ea8665721461062e578063f7c34ee014610641578063fb2cb10114610654578063fde0a3cd1461065c57600080fd5b8063caf4e3d4146105f0578063cc9fc59a146105f8578063cde749f414610600578063cf7e5db81461060857600080fd5b8063a7e0dea7116100f4578063a7e0dea714610573578063ada9652e14610593578063b3c65015146105a8578063b68d1809146105c8578063b88da759146105dd57600080fd5b80638c5f36bb146104ed578063946dfcfe146105005780639babe3bf14610527578063a3f4df7e1461053a57600080fd5b806336fc697e116101a85780635ab1bd53116101775780635ab1bd5314610466578063636450f514610486578063644c45e0146104995780636f10e8a0146104d2578063893d20e8146104e557600080fd5b806336fc697e1461031f5780633c5c0610146103275780634d459c901461033a5780634f4213331461045357600080fd5b80631647f91e116101ef5780631647f91e1461029e5780631eff4b22146102b1578063214cdb80146102e657806327bb7a33146102f95780632a9040181461030c57600080fd5b806301ffc9a7146102215780630d8e6e2c146102635780630fec111c1461027f578063138461e014610294575b600080fd5b61024e61022f366004613410565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b61066f565b60405162ffffff909116815260200161025a565b6102876106f9565b60405161025a9190613491565b61029c6108ad565b005b61029c6102ac3660046136aa565b610adb565b6102d87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b61029c6102f4366004613410565b610bd2565b61029c610307366004613758565b610bff565b61029c61031a3660046136aa565b610c9b565b61029c610de3565b61029c6103353660046137f0565b610e29565b6103f6610348366004613852565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061452a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161025a565b61024e610461366004613852565b61101d565b61046e6110d0565b6040516001600160a01b03909116815260200161025a565b61029c61049436600461389f565b6110ec565b6000805160206144ca83398151915254600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161025a565b61029c6104e03660046138d5565b611387565b61046e61145c565b61029c6104fb3660046138f2565b61158d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102d8565b61029c61053536600461390f565b61168f565b6105666040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161025a9190613950565b610586610581366004613963565b611881565b60405161025a9190613a5d565b6102d86000805160206144ca83398151915281565b6105b0611a9c565b6040516001600160401b03909116815260200161025a565b60dc5b60405160ff909116815260200161025a565b61026b6105eb366004613a70565b611abd565b61046e611b0e565b61046e611ba1565b6105cb611bc1565b61029c610616366004613aa7565b611c44565b6104ba610629366004613bbd565b611d8f565b61029c61063c366004613c65565b6120eb565b61029c61064f366004613c65565b61215e565b61046e612194565b61029c61066a3660046138d5565b6121aa565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f49190613c9e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906107a990613cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546107d590613cbb565b80156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b50505050508152505090506040518060e00160405280610840600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610891612194565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206144ca83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190613d00565b1561098c5780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b03166109b45760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190613d00565b610a48576040516372657a5160e01b81526001600160a01b0382166004820152602401610983565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190613d28565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b0e5750825b90506000826001600160401b03166001148015610b2a5750303b155b905081158015610b38575080155b15610b565760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b8057845460ff60401b1916600160401b1785555b610b8a8888612255565b610b9487876124f4565b8315610bc857845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a15b5050505050505050565b610bda61260d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610c0761260d565b610c11828761215e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610c818382613d8b565b50610c926303fb044760e21b610bd2565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610cbd61066f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190613e4a565b60008051602061450a8339815191528054600160401b900460ff1680610d54575080546001600160401b03808416911610155b15610d725760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d9d8585612255565b610da683612646565b805460ff60401b191681556040516001600160401b03831681526000805160206144ea833981519152906020015b60405180910390a15050505050565b610deb61260d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b33610e326110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190613d00565b610eba5760405162461bcd60e51b815260040161098390613e73565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e9190613e9e565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610f71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f999190810190613f3b565b90508381608001818151610fad9190614031565b9052506040516307f8b57360e31b81526001600160a01b03881690633fc5ab9890610fe1908890859060ff90600401614044565b600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b50505050610c92878761264e565b60008060008051602061452a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156110a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c99190614079565b1192915050565b6000805160206144ca833981519152546001600160a01b031690565b6000806110f9608c612963565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561113d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111619190613e9e565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156111b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111df9190810190613f3b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561123d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112619190613d00565b6112ad5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610983565b80516001600160601b038084169116146113145760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610983565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab989061134c908a90859060ff90600401614044565b600060405180830381600087803b15801561136657600080fd5b505af115801561137a573d6000803e3d6000fd5b5050505050505050505050565b6000611393608c612963565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fa9190613e9e565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561144857600080fd5b505af1158015610c92573d6000803e3d6000fd5b6000806000805160206144ca83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f69190613d00565b1561157b578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115759190613e9e565b91505090565b600101546001600160a01b0316919050565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b03166000811580156115c05750825b90506000826001600160401b031660011480156115dc5750303b155b9050811580156115ea575080155b156116085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561163257845460ff60401b1916600160401b1785555b61163b86612bfe565b611643610de3565b61165363a444b9bb60e01b610bd2565b831561168757845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a15b505050505050565b336116986110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156116e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117049190613d00565b6117205760405162461bcd60e51b815260040161098390613e73565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611760573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117849190613e9e565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156117d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ff9190810190613f3b565b9050838160a001818151611813919061409d565b9052506040516307f8b57360e31b81526001600160a01b03871690633fc5ab9890611847908890859060ff90600401614044565b600060405180830381600087803b15801561186157600080fd5b505af1158015611875573d6000803e3d6000fd5b50505050505050505050565b611889613392565b336118926110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156118da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fe9190613d00565b61191a5760405162461bcd60e51b815260040161098390613e73565b6000876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190613e9e565b604051634793b4ab60e01b81526001600160601b03881660048201529091506001600160a01b03821690634793b4ab90602401600060405180830381865afa1580156119ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119f69190810190613f3b565b92508483608001818151611a0a919061409d565b90525060a083018051859190611a2190839061409d565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890611a55908990879060ff90600401614044565b600060405180830381600087803b158015611a6f57600080fd5b505af1158015611a83573d6000803e3d6000fd5b50505050611a918888612c6e565b505095945050505050565b60006106f460008051602061450a833981519152546001600160401b031690565b600060008051602061452a8339815191526001018281548110611ae257611ae26140b0565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611b196110d0565b6001600160a01b031663d39e604360285b611b32611bc1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190613e9e565b92915050565b600080611bac6110d0565b6001600160a01b031663d39e60436046611b2a565b6000611bcb61066f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c20573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f491906140d1565b33611c4d6110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611c95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb99190613d00565b611cd55760405162461bcd60e51b815260040161098390613e73565b6000611cdf6110d0565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d5691908101906140ee565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061134c90899089908990600401614044565b60008080611d9d608c612963565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613e9e565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611e90600090565b64ffffffffff16815260006020909101529050611eab611b0e565b6001600160a01b031663c2bf08c86040518060e00160405280611ecc600090565b6001600160601b03168152602001856001600160601b03168152602001611ef160dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611f329190613a5d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611f609190613491565b6020604051808303816000875af1158015611f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa39190613d28565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611fd490899085906004016141c0565b600060405180830381600087803b158015611fee57600080fd5b505af1158015612002573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206a9190613e9e565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b1580156120b757600080fd5b505af11580156120cb573d6000803e3d6000fd5b505050506120db8484898e612f27565b5050505050509695505050505050565b6120f361260d565b600060dc6120ff611bc1565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612134846131b7565b905060006121478583603c848888610bff565b612157637b6a51fd60e01b610bd2565b5050505050565b61216661260d565b61216f82612bfe565b61217881613222565b612180610de3565b61219063a444b9bb60e01b610bd2565b5050565b60006000805160206144ca83398151915261157b565b60006121b6608c612963565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190613e9e565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161142e565b61225d61260d565b60008051602061452a833981519152600061228d60008051602061450a833981519152546001600160401b031690565b9050600061229961066f565b9050816001600160401b03166001036122c65760028301805462ffffff191662ffffff8316179055612314565b600283015462ffffff908116908216116123145760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610983565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156123c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ec91906141e2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd49083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b03166000811580156125275750825b90506000826001600160401b031660011480156125435750303b155b905081158015612551575080155b1561256f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561259957845460ff60401b1916600160401b1785555b600080878060200190518101906125b091906141ff565b90925090506125bf828a6120eb565b6125cf63ddb8f07b60e01b610bd2565b50508315610c9257845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a150505050505050565b60008051602061450a83398151915254600160401b900460ff1661264457604051631afcd79f60e31b815260040160405180910390fd5b565b61021c61260d565b336126576110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561269f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c39190613d00565b6126df5760405162461bcd60e51b815260040161098390613e73565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561271f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127439190613e9e565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612796573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127be9190810190614258565b61016081015190915061ffff1615612805576101608101516040516309fa740360e41b81526001600160601b038616600482015261ffff9091166024820152604401610983565b61288a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612851573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287591906141e2565b826101c0015164ffffffffff90811691161090565b801561289e57508060800151816101800151105b156128c7576040516389670e9b60e01b81526001600160601b0385166004820152602401610983565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292b9190613e9e565b604051631351fccf60e31b81526001600160601b03871660048201529091506001600160a01b03821690639a8fe67890602401611847565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015290806129a46110d0565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156129eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a1391908101906140ee565b9250612a2983604001518560ff90811691161490565b612a6b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610983565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612ac1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae991908101906140ee565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b569190613e9e565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc79190613d00565b15612bf657608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610983565b505050915091565b612c0661260d565b6001600160a01b038116612c2d576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b33612c776110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190613d00565b612cff5760405162461bcd60e51b815260040161098390613e73565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d639190613e9e565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612db6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dde9190810190614258565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190613d00565b15612e8b57604051639218a15160e01b81526001600160601b0385166004820152602401610983565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eef9190613e9e565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401611847565b80156131b1576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a9906024016101c060405180830381865afa158015612f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa291906143bd565b60208101519091506000612fb46110d0565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613003573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130279190613e9e565b6101008401516101408501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b15801561308b57600080fd5b505af115801561309f573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506130da90849060040161448e565b602060405180830381865af41580156130f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311b9190613d00565b610bc85760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a891906144a5565b50505050505050505b50505050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156131fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190613d28565b6000805160206144ca83398151915280546001600160a01b03161561326857805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610983565b6001600160a01b03821661328f5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036132c55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610983565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561333c575060408051601f3d908101601f1916820190925261333991810190613d00565b60015b6133645760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610983565b8061338d5760405163fdeac91f60e01b81526001600160a01b0384166004820152602401610983565b505050565b60405180610120016040528060006001600160601b031681526020016133cb604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561342257600080fd5b81356001600160e01b03198116811461343a57600080fd5b9392505050565b60005b8381101561345c578181015183820152602001613444565b50506000910152565b6000815180845261347d816020860160208601613441565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134fa60c08401826001600160a01b03169052565b5060c083015160e080840152613514610100840182613465565b949350505050565b6001600160a01b038116811461353157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561356c5761356c613534565b60405290565b60405161012081016001600160401b038111828210171561356c5761356c613534565b60405160e081016001600160401b038111828210171561356c5761356c613534565b60405161020081016001600160401b038111828210171561356c5761356c613534565b60405161016081016001600160401b038111828210171561356c5761356c613534565b604051601f8201601f191681016001600160401b038111828210171561362557613625613534565b604052919050565b60006001600160401b0382111561364657613646613534565b50601f01601f191660200190565b600082601f83011261366557600080fd5b81356136786136738261362d565b6135fd565b81815284602083860101111561368d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156136bf57600080fd5b83356136ca8161351c565b925060208401356136da8161351c565b915060408401356001600160401b038111156136f557600080fd5b61370186828701613654565b9150509250925092565b6001600160601b038116811461353157600080fd5b803561372b8161370b565b919050565b60ff8116811461353157600080fd5b803561372b81613730565b801515811461353157600080fd5b60008060008060008060c0878903121561377157600080fd5b863561377c8161351c565b9550602087013561378c8161370b565b9450604087013561379c81613730565b935060608701356137ac8161374a565b925060808701356137bc8161351c565b915060a08701356001600160401b038111156137d757600080fd5b6137e389828a01613654565b9150509295509295509295565b6000806000806080858703121561380657600080fd5b84356138118161351c565b935060208501356138218161370b565b925060408501356138318161370b565b9396929550929360600135925050565b62ffffff8116811461353157600080fd5b60006020828403121561386457600080fd5b813561343a81613841565b60006040828403121561388157600080fd5b61388961354a565b9050813581526020820135602082015292915050565b600080606083850312156138b257600080fd5b82356138bd8161370b565b91506138cc846020850161386f565b90509250929050565b6000602082840312156138e757600080fd5b813561343a8161370b565b60006020828403121561390457600080fd5b813561343a8161351c565b60008060006060848603121561392457600080fd5b833561392f8161351c565b9250602084013561393f8161370b565b929592945050506040919091013590565b60208152600061343a6020830184613465565b600080600080600060a0868803121561397b57600080fd5b85356139868161351c565b945060208601356139968161370b565b935060408601356139a68161370b565b94979396509394606081013594506080013592915050565b80516001600160601b0316825260006101406020838101518051868301529081015160408601525060408301518160608601526139fd82860182613465565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613a428187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b60208152600061343a60208301846139be565b600060208284031215613a8257600080fd5b5035919050565b64ffffffffff8116811461353157600080fd5b803561372b81613a89565b60008060008060808587031215613abd57600080fd5b8435613ac88161370b565b93506020850135613ad88161370b565b925060408501356001600160401b0380821115613af457600080fd5b908601906101408289031215613b0957600080fd5b613b11613572565b613b1a83613720565b8152613b29896020850161386f565b6020820152606083013582811115613b4057600080fd5b613b4c8a828601613654565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613b8a828401613a9c565b60e0820152613b9c6101208401613a9c565b82820152809450505050613bb26060860161373f565b905092959194509250565b60008060008060008060c08789031215613bd657600080fd5b8635613be18161351c565b9550613bf0886020890161386f565b9450606087013593506080870135925060a08701356001600160401b0380821115613c1a57600080fd5b818901915089601f830112613c2e57600080fd5b813581811115613c3d57600080fd5b8a6020828501011115613c4f57600080fd5b6020830194508093505050509295509295509295565b60008060408385031215613c7857600080fd5b8235613c838161351c565b91506020830135613c938161351c565b809150509250929050565b600060208284031215613cb057600080fd5b815161343a81613841565b600181811c90821680613ccf57607f821691505b602082108103613cef57634e487b7160e01b600052602260045260246000fd5b50919050565b805161372b8161374a565b600060208284031215613d1257600080fd5b815161343a8161374a565b805161372b8161370b565b600060208284031215613d3a57600080fd5b815161343a8161370b565b601f82111561338d57600081815260208120601f850160051c81016020861015613d6c5750805b601f850160051c820191505b8181101561168757828155600101613d78565b81516001600160401b03811115613da457613da4613534565b613db881613db28454613cbb565b84613d45565b602080601f831160018114613ded5760008415613dd55750858301515b600019600386901b1c1916600185901b178555611687565b600085815260208120601f198616915b82811015613e1c57888601518255948401946001909101908401613dfd565b5085821015613e3a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613e5c57600080fd5b81516001600160401b038116811461343a57600080fd5b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613eb057600080fd5b815161343a8161351c565b600060408284031215613ecd57600080fd5b613ed561354a565b9050815181526020820151602082015292915050565b600082601f830112613efc57600080fd5b8151613f0a6136738261362d565b818152846020838601011115613f1f57600080fd5b613514826020830160208701613441565b805161372b81613a89565b600060208284031215613f4d57600080fd5b81516001600160401b0380821115613f6457600080fd5b908301906101408286031215613f7957600080fd5b613f81613572565b613f8a83613d1d565b8152613f998660208501613ebb565b6020820152606083015182811115613fb057600080fd5b613fbc87828601613eeb565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613ffa828401613f30565b60e082015261400c6101208401613f30565b91810191909152949350505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115611b9b57611b9b61401b565b6001600160601b038416815260606020820152600061406660608301856139be565b905060ff83166040830152949350505050565b60006020828403121561408b57600080fd5b5051919050565b805161372b8161351c565b80820180821115611b9b57611b9b61401b565b634e487b7160e01b600052603260045260246000fd5b805161372b81613730565b6000602082840312156140e357600080fd5b815161343a81613730565b60006020828403121561410057600080fd5b81516001600160401b038082111561411757600080fd5b9083019060e0828603121561412b57600080fd5b614133613595565b61413c83613d1d565b815261414a60208401613d1d565b602082015261415b604084016140c6565b604082015261416c60608401613cf5565b606082015261417d60808401614092565b608082015261418e60a08401614092565b60a082015260c0830151828111156141a557600080fd5b6141b187828601613eeb565b60c08301525095945050505050565b6001600160601b038316815260406020820152600061351460408301846139be565b6000602082840312156141f457600080fd5b815161343a81613a89565b6000806040838503121561421257600080fd5b825161421d8161351c565b6020840151909250613c938161351c565b80516001600160c01b03198116811461372b57600080fd5b805161ffff8116811461372b57600080fd5b60006020828403121561426a57600080fd5b81516001600160401b038082111561428157600080fd5b90830190610200828603121561429657600080fd5b61429e6135b7565b6142a783613d1d565b81526142b560208401613d1d565b60208201526142c66040840161422e565b60408201526142d76060840161422e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561431857600080fd5b61432488828701613eeb565b828401525050610120808401518381111561433e57600080fd5b61434a88828701613eeb565b8284015250506101409150614360828401614246565b828201526101609150614374828401614246565b82820152610180915081830151828201526101a09150614395828401613f30565b828201526101c091506143a9828401613f30565b828201526101e0915061400c828401613f30565b60006101c082840312156143d057600080fd5b6143d86135da565b6143e183613d1d565b81526143ef60208401614092565b602082015261440060408401613cf5565b604082015261441160608401613cf5565b606082015261442260808401613cf5565b608082015260a083015160a082015260c083015160c08201526144488460e08501613ebb565b60e082015261012061445c85828601613ebb565b610100830152614470856101608601613ebb565b908201526144816101a08401614092565b6101408201529392505050565b815181526020808301519082015260408101611b9b565b600080604083850312156144b857600080fd5b50508051602090910151909290915056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212202f56c8bc0cc53fa985f13f690cebcdba01298f84e60b49d3ba798b21be0e373064736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
463
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620001215760003560e01c8063933a9ce811620000af578063e97fac05116200007a578063e97fac05146200029c578063f687676814620002b3578063f7c34ee014620002ca578063fb2cb10114620002e1578063fed3d63f14620002eb57600080fd5b8063933a9ce81462000227578063ada9652e1462000239578063aef485a0146200025f578063c987336c146200028557600080fd5b80635ab1bd5311620000f05780635ab1bd531462000198578063644c45e014620001cc578063893d20e814620002065780638c5f36bb146200021057600080fd5b806301ffc9a71462000126578063138461e0146200016b578063214cdb80146200017757806336fc697e146200018e575b600080fd5b620001566200013736600462000e47565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b62000175620002fd565b005b620001756200018836600462000e47565b62000539565b6200017562000568565b6000805160206200208f833981519152546001600160a01b03165b6040516001600160a01b03909116815260200162000162565b6000805160206200208f83398151915254600160a01b90046001600160601b03166040516001600160601b03909116815260200162000162565b620001b3620005b0565b620001756200022136600462000e93565b620006e9565b6001546001600160a01b0316620001b3565b620002506000805160206200208f83398151915281565b60405190815260200162000162565b620002766200027036600462000f5e565b6200081d565b60405162000162919062001010565b620001b36200029636600462001025565b62000879565b620001b3620002ad36600462001025565b62000a46565b62000276620002c436600462000f5e565b62000b84565b62000175620002db3660046200107b565b62000ba5565b620001b362000be5565b6002546001600160a01b0316620001b3565b60006000805160206200208f83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039a9190620010b9565b15620003e15780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b03166200040a5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801562000453573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004799190620010b9565b620004a3576040516372657a5160e01b81526001600160a01b0382166004820152602401620003d8565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620004ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005139190620010dd565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6200054362000bfd565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200057262000bfd565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206200208f83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000628573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200064e9190620010b9565b15620006d7578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015620006ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006d1919062001108565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620007305750825b905060008267ffffffffffffffff1660011480156200074e5750303b155b9050811580156200075d575080155b156200077c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620007a757845460ff60401b1916600160401b1785555b620007b28662000c49565b620007bc62000568565b620007ce63a444b9bb60e01b62000539565b83156200081557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6060632a90401860e01b8484846040516024016200083e9392919062001128565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600062000885620005b0565b6001600160a01b0316336001600160a01b031614620008ba5760405163700dd81160e01b8152336004820152602401620003d8565b600154600160a01b900460ff16620008e557604051631e35411160e31b815260040160405180910390fd5b6000620008f1620005b0565b90506000620009086001546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000948573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200096e919062001108565b6001549091506001600160a01b031660006200098c8785886200081d565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620009c19085908b90869060040162001128565b600060405180830381600087803b158015620009dc57600080fd5b505af1158015620009f1573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000a52620005b0565b6001600160a01b0316336001600160a01b03161462000a875760405163700dd81160e01b8152336004820152602401620003d8565b600154600160a01b900460ff161562000ab3576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b179055600062000ad2620005b0565b905030600062000ae486848762000b84565b905085828260405162000af79062000e39565b62000b059392919062001128565b604051809103906000f08015801562000b22573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b8484846040516024016200083e9392919062001128565b62000baf62000bfd565b62000bba8262000c49565b62000bc58162000cbc565b62000bcf62000568565b62000be163a444b9bb60e01b62000539565b5050565b60006000805160206200208f833981519152620006d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000c4757604051631afcd79f60e31b815260040160405180910390fd5b565b62000c5362000bfd565b6001600160a01b03811662000c7b576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6000805160206200208f83398151915280546001600160a01b03161562000d0557805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620003d8565b6001600160a01b03821662000d2d5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b60000362000d655760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003d8565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000ddf575060408051601f3d908101601f1916820190925262000ddc91810190620010b9565b60015b62000e095760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003d8565b8062000e345760405163fdeac91f60e01b81526001600160a01b0384166004820152602401620003d8565b505050565b610f2f806200116083390190565b60006020828403121562000e5a57600080fd5b81356001600160e01b03198116811462000e7357600080fd5b9392505050565b6001600160a01b038116811462000e9057600080fd5b50565b60006020828403121562000ea657600080fd5b813562000e738162000e7a565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000edb57600080fd5b813567ffffffffffffffff8082111562000ef95762000ef962000eb3565b604051601f8301601f19908116603f0116810190828211818310171562000f245762000f2462000eb3565b8160405283815286602085880101111562000f3e57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121562000f7457600080fd5b833562000f818162000e7a565b9250602084013562000f938162000e7a565b9150604084013567ffffffffffffffff81111562000fb057600080fd5b62000fbe8682870162000ec9565b9150509250925092565b6000815180845260005b8181101562000ff05760208185018101518683018201520162000fd2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000e73602083018462000fc8565b600080604083850312156200103957600080fd5b8235620010468162000e7a565b9150602083013567ffffffffffffffff8111156200106357600080fd5b620010718582860162000ec9565b9150509250929050565b600080604083850312156200108f57600080fd5b82356200109c8162000e7a565b91506020830135620010ae8162000e7a565b809150509250929050565b600060208284031215620010cc57600080fd5b8151801515811462000e7357600080fd5b600060208284031215620010f057600080fd5b81516001600160601b038116811462000e7357600080fd5b6000602082840312156200111b57600080fd5b815162000e738162000e7a565b6001600160a01b03848116825283166020820152606060408201819052600090620011569083018462000fc8565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220a9161a888c2091d1447d64221f74bdd99c68b76468ec2fbd153a21af56a3381f64736f6c63430008140033",
464
+ "linkReferences": {
465
+ "contracts/types/Blocknumber.sol": {
466
+ "BlocknumberLib": [
467
+ {
468
+ "length": 20,
469
+ "start": 14674
470
+ }
471
+ ]
472
+ },
473
+ "contracts/types/Fee.sol": {
474
+ "FeeLib": [
475
+ {
476
+ "length": 20,
477
+ "start": 22935
478
+ },
479
+ {
480
+ "length": 20,
481
+ "start": 23090
482
+ }
483
+ ]
484
+ },
485
+ "contracts/types/NftId.sol": {
486
+ "NftIdLib": [
487
+ {
488
+ "length": 20,
489
+ "start": 1158
490
+ },
491
+ {
492
+ "length": 20,
493
+ "start": 2646
494
+ },
495
+ {
496
+ "length": 20,
497
+ "start": 3338
498
+ },
499
+ {
500
+ "length": 20,
501
+ "start": 12751
502
+ },
503
+ {
504
+ "length": 20,
505
+ "start": 15082
506
+ },
507
+ {
508
+ "length": 20,
509
+ "start": 15743
510
+ }
511
+ ]
512
+ },
513
+ "contracts/types/Timestamp.sol": {
514
+ "TimestampLib": [
515
+ {
516
+ "length": 20,
517
+ "start": 19573
518
+ },
519
+ {
520
+ "length": 20,
521
+ "start": 20721
522
+ },
523
+ {
524
+ "length": 20,
525
+ "start": 22251
526
+ }
527
+ ]
528
+ },
529
+ "contracts/types/Version.sol": {
530
+ "VersionLib": [
531
+ {
532
+ "length": 20,
533
+ "start": 12157
534
+ },
535
+ {
536
+ "length": 20,
537
+ "start": 13700
538
+ },
539
+ {
540
+ "length": 20,
541
+ "start": 17613
542
+ }
543
+ ]
544
+ }
545
+ },
546
+ "deployedLinkReferences": {
547
+ "contracts/types/NftId.sol": {
548
+ "NftIdLib": [
549
+ {
550
+ "length": 20,
551
+ "start": 825
552
+ },
553
+ {
554
+ "length": 20,
555
+ "start": 1517
556
+ }
557
+ ]
558
+ }
559
+ }
560
+ }