@etherisc/gif-next 0.0.2-d3ee0cc-268 → 0.0.2-d48ae55-246

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