@etherisc/gif-next 0.0.2-d250c72 → 0.0.2-d288ca9-933

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. package/README.md +297 -7
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +149 -162
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +610 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/component/IComponent.sol/IComponentModule.json → components/IBaseComponent.sol/IBaseComponent.json} +129 -107
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +249 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +598 -37
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +570 -47
  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/Require.sol/Require.json +2 -2
  26. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  28. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  30. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  32. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  42. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  43. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  44. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  45. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  46. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  47. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  48. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  50. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  51. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  52. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  53. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +114 -0
  54. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  55. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  56. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +247 -788
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +421 -0
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +2994 -550
  64. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +930 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1283 -0
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +724 -0
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +432 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +481 -0
  74. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  76. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  78. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  80. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/IService.sol/IService.json +421 -0
  82. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  84. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  86. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  87. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +468 -0
  88. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  90. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  92. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  94. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  96. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  98. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/ISetup.sol/ISetup.json} +2 -2
  100. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  102. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +249 -84
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +872 -0
  118. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +451 -85
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1261 -0
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +504 -0
  126. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +201 -0
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  143. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  145. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  146. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  148. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  149. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  150. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  151. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
  152. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  153. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  154. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  155. package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
  156. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  157. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  158. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  160. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  162. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  163. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  165. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  166. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  167. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  168. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +249 -0
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  202. package/contracts/components/BaseComponent.sol +86 -0
  203. package/contracts/components/Distribution.sol +166 -0
  204. package/contracts/components/IBaseComponent.sol +24 -0
  205. package/contracts/components/IDistributionComponent.sol +43 -0
  206. package/contracts/components/IPoolComponent.sol +62 -0
  207. package/contracts/components/IProductComponent.sol +35 -0
  208. package/contracts/components/Pool.sol +248 -18
  209. package/contracts/components/Product.sol +267 -36
  210. package/contracts/experiment/cloning/Cloner.sol +47 -0
  211. package/contracts/experiment/errors/Require.sol +10 -5
  212. package/contracts/experiment/errors/Revert.sol +13 -8
  213. package/contracts/experiment/inheritance/A.sol +8 -11
  214. package/contracts/experiment/inheritance/B.sol +10 -5
  215. package/contracts/experiment/inheritance/C.sol +11 -5
  216. package/contracts/experiment/inheritance/IA.sol +2 -7
  217. package/contracts/experiment/inheritance/IB.sol +3 -2
  218. package/contracts/experiment/inheritance/IC.sol +4 -3
  219. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  220. package/contracts/experiment/statemachine/ISM.sol +25 -0
  221. package/contracts/experiment/statemachine/SM.sol +57 -0
  222. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  223. package/contracts/experiment/types/TypeA.sol +14 -9
  224. package/contracts/experiment/types/TypeB.sol +14 -9
  225. package/contracts/instance/AccessManagedSimple.sol +122 -0
  226. package/contracts/instance/AccessManagerSimple.sol +692 -0
  227. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  228. package/contracts/instance/IInstance.sol +23 -15
  229. package/contracts/instance/IInstanceService.sol +17 -0
  230. package/contracts/instance/Instance.sol +422 -44
  231. package/contracts/instance/InstanceAccessManager.sol +288 -0
  232. package/contracts/instance/InstanceReader.sol +290 -0
  233. package/contracts/instance/InstanceService.sol +136 -0
  234. package/contracts/instance/InstanceServiceManager.sol +56 -0
  235. package/contracts/instance/base/ComponentServiceBase.sol +49 -0
  236. package/contracts/instance/base/IInstanceBase.sol +23 -0
  237. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  238. package/contracts/instance/base/ILifecycle.sol +30 -0
  239. package/contracts/instance/base/IService.sol +15 -0
  240. package/contracts/instance/base/KeyValueStore.sol +172 -0
  241. package/contracts/instance/base/Lifecycle.sol +100 -0
  242. package/contracts/instance/base/ServiceBase.sol +44 -0
  243. package/contracts/instance/module/IAccess.sol +38 -0
  244. package/contracts/instance/module/IBundle.sol +19 -0
  245. package/contracts/instance/module/IDistribution.sol +39 -0
  246. package/contracts/instance/module/IPolicy.sol +45 -0
  247. package/contracts/instance/module/IRisk.sol +11 -0
  248. package/contracts/instance/module/ISetup.sol +43 -0
  249. package/contracts/instance/module/ITreasury.sol +23 -0
  250. package/contracts/instance/service/ComponentOwnerService.sol +317 -0
  251. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  252. package/contracts/instance/service/IDistributionService.sol +12 -0
  253. package/contracts/instance/service/IPoolService.sol +37 -0
  254. package/contracts/instance/service/IProductService.sol +107 -0
  255. package/contracts/registry/ChainNft.sol +138 -109
  256. package/contracts/registry/IRegistry.sol +43 -56
  257. package/contracts/registry/IRegistryService.sol +35 -0
  258. package/contracts/registry/ITransferInterceptor.sol +6 -0
  259. package/contracts/registry/Registry.sol +363 -122
  260. package/contracts/registry/RegistryService.sol +439 -0
  261. package/contracts/registry/RegistryServiceManager.sol +64 -0
  262. package/contracts/shared/ContractDeployerLib.sol +72 -0
  263. package/contracts/shared/ERC165.sol +21 -0
  264. package/contracts/shared/INftOwnable.sol +22 -0
  265. package/contracts/shared/IRegisterable.sol +17 -0
  266. package/contracts/shared/IVersionable.sol +96 -0
  267. package/contracts/shared/NftOwnable.sol +136 -0
  268. package/contracts/shared/ProxyManager.sol +94 -0
  269. package/contracts/shared/Registerable.sol +89 -0
  270. package/contracts/shared/TokenHandler.sol +27 -0
  271. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  272. package/contracts/shared/Versionable.sol +147 -0
  273. package/contracts/test/TestFee.sol +25 -0
  274. package/contracts/test/TestRegisterable.sol +18 -0
  275. package/contracts/test/TestRoleId.sol +14 -0
  276. package/contracts/test/TestService.sol +26 -0
  277. package/contracts/test/TestToken.sol +26 -0
  278. package/contracts/test/TestVersion.sol +44 -0
  279. package/contracts/test/TestVersionable.sol +17 -0
  280. package/contracts/test/Usdc.sol +26 -0
  281. package/contracts/types/AddressSet.sol +58 -0
  282. package/contracts/types/Blocknumber.sol +118 -0
  283. package/contracts/types/ChainId.sol +24 -10
  284. package/contracts/types/DistributorType.sol +55 -0
  285. package/contracts/types/Fee.sol +56 -0
  286. package/contracts/types/Key32.sol +50 -0
  287. package/contracts/types/NftId.sol +48 -11
  288. package/contracts/types/NftIdSet.sol +60 -0
  289. package/contracts/types/NumberId.sol +52 -0
  290. package/contracts/types/ObjectType.sol +152 -0
  291. package/contracts/types/Referral.sol +85 -0
  292. package/contracts/types/RiskId.sol +43 -0
  293. package/contracts/types/RoleId.sol +82 -0
  294. package/contracts/types/StateId.sol +101 -0
  295. package/contracts/types/Timestamp.sol +127 -0
  296. package/contracts/types/UFixed.sol +325 -0
  297. package/contracts/types/Version.sol +104 -0
  298. package/package.json +21 -6
  299. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  300. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  301. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  302. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  303. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  305. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  307. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  309. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  310. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  311. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  312. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  313. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  314. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  315. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  316. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  318. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  319. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  320. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  321. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  322. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  324. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  325. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  326. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  327. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  328. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  330. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  332. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  333. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  335. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  337. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  339. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  340. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  341. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  343. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  344. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  345. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  346. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  347. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  348. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  349. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  350. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  351. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  353. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  354. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  355. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  356. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  357. package/contracts/components/Component.sol +0 -62
  358. package/contracts/components/IPool.sol +0 -9
  359. package/contracts/components/IProduct.sol +0 -12
  360. package/contracts/instance/access/Access.sol +0 -218
  361. package/contracts/instance/access/IAccess.sol +0 -83
  362. package/contracts/instance/component/ComponentModule.sol +0 -248
  363. package/contracts/instance/component/IComponent.sol +0 -95
  364. package/contracts/instance/policy/IPolicy.sol +0 -66
  365. package/contracts/instance/policy/PolicyModule.sol +0 -107
  366. package/contracts/instance/pool/IPoolModule.sol +0 -41
  367. package/contracts/instance/pool/PoolModule.sol +0 -86
  368. package/contracts/instance/product/IProductService.sol +0 -46
  369. package/contracts/instance/product/ProductService.sol +0 -108
  370. package/contracts/registry/IChainNft.sol +0 -18
@@ -3,18 +3,181 @@
3
3
  "contractName": "Registry",
4
4
  "sourceName": "contracts/registry/Registry.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registryOwner",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "VersionPart",
15
+ "name": "majorVersion",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "objectAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ContractAlreadyRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "VersionPart",
37
+ "name": "majorVersion",
38
+ "type": "uint8"
39
+ }
40
+ ],
41
+ "name": "InvalidServiceVersion",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "ObjectType",
48
+ "name": "objectType",
49
+ "type": "uint8"
50
+ },
51
+ {
52
+ "internalType": "ObjectType",
53
+ "name": "parentType",
54
+ "type": "uint8"
55
+ }
56
+ ],
57
+ "name": "InvalidTypesCombination",
58
+ "type": "error"
59
+ },
6
60
  {
7
61
  "inputs": [],
8
- "name": "BUNDLE",
9
- "outputs": [
62
+ "name": "NotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
10
67
  {
11
- "internalType": "uint256",
12
- "name": "",
13
- "type": "uint256"
68
+ "internalType": "NftId",
69
+ "name": "registrarNftId",
70
+ "type": "uint96"
14
71
  }
15
72
  ],
16
- "stateMutability": "pure",
17
- "type": "function"
73
+ "name": "NotRegisteredContract",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "NotRegistryService",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "registrarNftId",
86
+ "type": "uint96"
87
+ }
88
+ ],
89
+ "name": "NotService",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "string",
96
+ "name": "name",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "internalType": "VersionPart",
101
+ "name": "majorVersion",
102
+ "type": "uint8"
103
+ }
104
+ ],
105
+ "name": "ServiceNameAlreadyRegistered",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "ZeroParentAddress",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "anonymous": false,
115
+ "inputs": [
116
+ {
117
+ "components": [
118
+ {
119
+ "internalType": "NftId",
120
+ "name": "nftId",
121
+ "type": "uint96"
122
+ },
123
+ {
124
+ "internalType": "NftId",
125
+ "name": "parentNftId",
126
+ "type": "uint96"
127
+ },
128
+ {
129
+ "internalType": "ObjectType",
130
+ "name": "objectType",
131
+ "type": "uint8"
132
+ },
133
+ {
134
+ "internalType": "bool",
135
+ "name": "isInterceptor",
136
+ "type": "bool"
137
+ },
138
+ {
139
+ "internalType": "address",
140
+ "name": "objectAddress",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "internalType": "address",
145
+ "name": "initialOwner",
146
+ "type": "address"
147
+ },
148
+ {
149
+ "internalType": "bytes",
150
+ "name": "data",
151
+ "type": "bytes"
152
+ }
153
+ ],
154
+ "indexed": false,
155
+ "internalType": "struct IRegistry.ObjectInfo",
156
+ "name": "info",
157
+ "type": "tuple"
158
+ }
159
+ ],
160
+ "name": "LogRegistration",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "anonymous": false,
165
+ "inputs": [
166
+ {
167
+ "indexed": false,
168
+ "internalType": "string",
169
+ "name": "serviceName",
170
+ "type": "string"
171
+ },
172
+ {
173
+ "indexed": false,
174
+ "internalType": "VersionPart",
175
+ "name": "majorVersion",
176
+ "type": "uint8"
177
+ }
178
+ ],
179
+ "name": "LogServiceNameRegistration",
180
+ "type": "event"
18
181
  },
19
182
  {
20
183
  "inputs": [],
@@ -31,7 +194,7 @@
31
194
  },
32
195
  {
33
196
  "inputs": [],
34
- "name": "INSTANCE",
197
+ "name": "MAJOR_VERSION_MIN",
35
198
  "outputs": [
36
199
  {
37
200
  "internalType": "uint256",
@@ -39,25 +202,25 @@
39
202
  "type": "uint256"
40
203
  }
41
204
  ],
42
- "stateMutability": "pure",
205
+ "stateMutability": "view",
43
206
  "type": "function"
44
207
  },
45
208
  {
46
209
  "inputs": [],
47
- "name": "ORACLE",
210
+ "name": "NFT_LOCK_ADDRESS",
48
211
  "outputs": [
49
212
  {
50
- "internalType": "uint256",
213
+ "internalType": "address",
51
214
  "name": "",
52
- "type": "uint256"
215
+ "type": "address"
53
216
  }
54
217
  ],
55
- "stateMutability": "pure",
218
+ "stateMutability": "view",
56
219
  "type": "function"
57
220
  },
58
221
  {
59
222
  "inputs": [],
60
- "name": "POLICY",
223
+ "name": "REGISTRY_SERVICE_TOKEN_SEQUENCE_ID",
61
224
  "outputs": [
62
225
  {
63
226
  "internalType": "uint256",
@@ -65,25 +228,44 @@
65
228
  "type": "uint256"
66
229
  }
67
230
  ],
68
- "stateMutability": "pure",
231
+ "stateMutability": "view",
69
232
  "type": "function"
70
233
  },
71
234
  {
72
235
  "inputs": [],
73
- "name": "POOL",
236
+ "name": "getChainNft",
74
237
  "outputs": [
75
238
  {
76
- "internalType": "uint256",
239
+ "internalType": "contract ChainNft",
77
240
  "name": "",
78
- "type": "uint256"
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "stateMutability": "view",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "object",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "getNftId",
256
+ "outputs": [
257
+ {
258
+ "internalType": "NftId",
259
+ "name": "id",
260
+ "type": "uint96"
79
261
  }
80
262
  ],
81
- "stateMutability": "pure",
263
+ "stateMutability": "view",
82
264
  "type": "function"
83
265
  },
84
266
  {
85
267
  "inputs": [],
86
- "name": "PRODUCT",
268
+ "name": "getObjectCount",
87
269
  "outputs": [
88
270
  {
89
271
  "internalType": "uint256",
@@ -91,20 +273,63 @@
91
273
  "type": "uint256"
92
274
  }
93
275
  ],
94
- "stateMutability": "pure",
276
+ "stateMutability": "view",
95
277
  "type": "function"
96
278
  },
97
279
  {
98
- "inputs": [],
99
- "name": "TOKEN",
280
+ "inputs": [
281
+ {
282
+ "internalType": "address",
283
+ "name": "object",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "name": "getObjectInfo",
100
288
  "outputs": [
101
289
  {
102
- "internalType": "uint256",
290
+ "components": [
291
+ {
292
+ "internalType": "NftId",
293
+ "name": "nftId",
294
+ "type": "uint96"
295
+ },
296
+ {
297
+ "internalType": "NftId",
298
+ "name": "parentNftId",
299
+ "type": "uint96"
300
+ },
301
+ {
302
+ "internalType": "ObjectType",
303
+ "name": "objectType",
304
+ "type": "uint8"
305
+ },
306
+ {
307
+ "internalType": "bool",
308
+ "name": "isInterceptor",
309
+ "type": "bool"
310
+ },
311
+ {
312
+ "internalType": "address",
313
+ "name": "objectAddress",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "internalType": "address",
318
+ "name": "initialOwner",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "bytes",
323
+ "name": "data",
324
+ "type": "bytes"
325
+ }
326
+ ],
327
+ "internalType": "struct IRegistry.ObjectInfo",
103
328
  "name": "",
104
- "type": "uint256"
329
+ "type": "tuple"
105
330
  }
106
331
  ],
107
- "stateMutability": "pure",
332
+ "stateMutability": "view",
108
333
  "type": "function"
109
334
  },
110
335
  {
@@ -115,7 +340,7 @@
115
340
  "type": "uint96"
116
341
  }
117
342
  ],
118
- "name": "getInfo",
343
+ "name": "getObjectInfo",
119
344
  "outputs": [
120
345
  {
121
346
  "components": [
@@ -130,9 +355,14 @@
130
355
  "type": "uint96"
131
356
  },
132
357
  {
133
- "internalType": "uint256",
358
+ "internalType": "ObjectType",
134
359
  "name": "objectType",
135
- "type": "uint256"
360
+ "type": "uint8"
361
+ },
362
+ {
363
+ "internalType": "bool",
364
+ "name": "isInterceptor",
365
+ "type": "bool"
136
366
  },
137
367
  {
138
368
  "internalType": "address",
@@ -143,10 +373,15 @@
143
373
  "internalType": "address",
144
374
  "name": "initialOwner",
145
375
  "type": "address"
376
+ },
377
+ {
378
+ "internalType": "bytes",
379
+ "name": "data",
380
+ "type": "bytes"
146
381
  }
147
382
  ],
148
- "internalType": "struct IRegistry.RegistryInfo",
149
- "name": "info",
383
+ "internalType": "struct IRegistry.ObjectInfo",
384
+ "name": "",
150
385
  "type": "tuple"
151
386
  }
152
387
  ],
@@ -155,11 +390,11 @@
155
390
  },
156
391
  {
157
392
  "inputs": [],
158
- "name": "getNftAddress",
393
+ "name": "getOwner",
159
394
  "outputs": [
160
395
  {
161
396
  "internalType": "address",
162
- "name": "nft",
397
+ "name": "owner",
163
398
  "type": "address"
164
399
  }
165
400
  ],
@@ -168,31 +403,61 @@
168
403
  },
169
404
  {
170
405
  "inputs": [
406
+ {
407
+ "internalType": "string",
408
+ "name": "serviceName",
409
+ "type": "string"
410
+ },
411
+ {
412
+ "internalType": "VersionPart",
413
+ "name": "majorVersion",
414
+ "type": "uint8"
415
+ }
416
+ ],
417
+ "name": "getServiceAddress",
418
+ "outputs": [
171
419
  {
172
420
  "internalType": "address",
173
- "name": "object",
421
+ "name": "",
174
422
  "type": "address"
175
423
  }
176
424
  ],
177
- "name": "getNftId",
178
- "outputs": [
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
179
430
  {
180
431
  "internalType": "NftId",
181
- "name": "id",
432
+ "name": "nftId",
182
433
  "type": "uint96"
183
434
  }
184
435
  ],
436
+ "name": "getServiceName",
437
+ "outputs": [
438
+ {
439
+ "internalType": "string",
440
+ "name": "",
441
+ "type": "string"
442
+ }
443
+ ],
185
444
  "stateMutability": "view",
186
445
  "type": "function"
187
446
  },
188
447
  {
189
- "inputs": [],
190
- "name": "getObjectCount",
448
+ "inputs": [
449
+ {
450
+ "internalType": "address",
451
+ "name": "object",
452
+ "type": "address"
453
+ }
454
+ ],
455
+ "name": "isRegistered",
191
456
  "outputs": [
192
457
  {
193
- "internalType": "uint256",
458
+ "internalType": "bool",
194
459
  "name": "",
195
- "type": "uint256"
460
+ "type": "bool"
196
461
  }
197
462
  ],
198
463
  "stateMutability": "view",
@@ -206,12 +471,12 @@
206
471
  "type": "uint96"
207
472
  }
208
473
  ],
209
- "name": "getOwner",
474
+ "name": "isRegistered",
210
475
  "outputs": [
211
476
  {
212
- "internalType": "address",
477
+ "internalType": "bool",
213
478
  "name": "",
214
- "type": "address"
479
+ "type": "bool"
215
480
  }
216
481
  ],
217
482
  "stateMutability": "view",
@@ -221,29 +486,35 @@
221
486
  "inputs": [
222
487
  {
223
488
  "internalType": "address",
224
- "name": "chainNft",
489
+ "name": "contractAddress",
225
490
  "type": "address"
226
491
  }
227
492
  ],
228
- "name": "initialize",
229
- "outputs": [],
230
- "stateMutability": "nonpayable",
493
+ "name": "ownerOf",
494
+ "outputs": [
495
+ {
496
+ "internalType": "address",
497
+ "name": "",
498
+ "type": "address"
499
+ }
500
+ ],
501
+ "stateMutability": "view",
231
502
  "type": "function"
232
503
  },
233
504
  {
234
505
  "inputs": [
235
506
  {
236
- "internalType": "address",
237
- "name": "object",
238
- "type": "address"
507
+ "internalType": "NftId",
508
+ "name": "nftId",
509
+ "type": "uint96"
239
510
  }
240
511
  ],
241
- "name": "isRegistered",
512
+ "name": "ownerOf",
242
513
  "outputs": [
243
514
  {
244
- "internalType": "bool",
515
+ "internalType": "address",
245
516
  "name": "",
246
- "type": "bool"
517
+ "type": "address"
247
518
  }
248
519
  ],
249
520
  "stateMutability": "view",
@@ -252,9 +523,46 @@
252
523
  {
253
524
  "inputs": [
254
525
  {
255
- "internalType": "address",
256
- "name": "objectAddress",
257
- "type": "address"
526
+ "components": [
527
+ {
528
+ "internalType": "NftId",
529
+ "name": "nftId",
530
+ "type": "uint96"
531
+ },
532
+ {
533
+ "internalType": "NftId",
534
+ "name": "parentNftId",
535
+ "type": "uint96"
536
+ },
537
+ {
538
+ "internalType": "ObjectType",
539
+ "name": "objectType",
540
+ "type": "uint8"
541
+ },
542
+ {
543
+ "internalType": "bool",
544
+ "name": "isInterceptor",
545
+ "type": "bool"
546
+ },
547
+ {
548
+ "internalType": "address",
549
+ "name": "objectAddress",
550
+ "type": "address"
551
+ },
552
+ {
553
+ "internalType": "address",
554
+ "name": "initialOwner",
555
+ "type": "address"
556
+ },
557
+ {
558
+ "internalType": "bytes",
559
+ "name": "data",
560
+ "type": "bytes"
561
+ }
562
+ ],
563
+ "internalType": "struct IRegistry.ObjectInfo",
564
+ "name": "info",
565
+ "type": "tuple"
258
566
  }
259
567
  ],
260
568
  "name": "register",
@@ -271,53 +579,81 @@
271
579
  {
272
580
  "inputs": [
273
581
  {
274
- "internalType": "NftId",
275
- "name": "parentNftId",
276
- "type": "uint96"
277
- },
278
- {
279
- "internalType": "uint256",
280
- "name": "objectType",
281
- "type": "uint256"
282
- },
283
- {
284
- "internalType": "address",
285
- "name": "initialOwner",
286
- "type": "address"
582
+ "internalType": "bytes4",
583
+ "name": "interfaceId",
584
+ "type": "bytes4"
287
585
  }
288
586
  ],
289
- "name": "registerObjectForInstance",
587
+ "name": "supportsInterface",
290
588
  "outputs": [
291
589
  {
292
- "internalType": "NftId",
293
- "name": "nftId",
294
- "type": "uint96"
590
+ "internalType": "bool",
591
+ "name": "",
592
+ "type": "bool"
295
593
  }
296
594
  ],
297
- "stateMutability": "nonpayable",
595
+ "stateMutability": "view",
298
596
  "type": "function"
299
597
  }
300
598
  ],
301
- "bytecode": "0x608060405234801561001057600080fd5b50611e92806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80637535d246116100a2578063c4d66de811610071578063c4d66de8146102c0578063d15db8b4146102dc578063d272ac1e146102fa578063dadbccee1461032a578063df33330b146103485761010b565b80637535d2461461023657806382bfefc814610254578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b85780634c3371cd146101e857806353bed7c3146102185761010b565b80631a848cfb1461011057806325425a911461012e578063294624ad1461014c57806338013f021461017c575b600080fd5b610118610378565b6040516101259190611649565b60405180910390f35b610136610410565b6040516101439190611649565b60405180910390f35b61016660048036038101906101619190611737565b610419565b60405161017391906117c5565b60405180910390f35b6101846106e8565b6040516101919190611649565b60405180910390f35b6101a26106f1565b6040516101af9190611870565b60405180910390f35b6101d260048036038101906101cd9190611892565b610704565b6040516101df91906117c5565b60405180910390f35b61020260048036038101906101fd91906118bf565b611094565b60405161020f9190611981565b60405180910390f35b61022061120e565b60405161022d9190611649565b60405180910390f35b61023e611217565b60405161024b9190611649565b60405180910390f35b61025c611220565b6040516102699190611649565b60405180910390f35b61027a611229565b60405161028791906119ab565b60405180910390f35b6102aa60048036038101906102a59190611892565b611253565b6040516102b791906119e1565b60405180910390f35b6102da60048036038101906102d59190611892565b61133b565b005b6102e4611410565b6040516102f19190611649565b60405180910390f35b610314600480360381019061030f9190611892565b611419565b60405161032191906117c5565b60405180910390f35b61033261147a565b60405161033f9190611649565b60405180910390f35b610362600480360381019061035d91906118bf565b611483565b60405161036f91906119ab565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040b9190611a11565b905090565b60006032905090565b600061042361147a565b831480610436575061043361120e565b83145b610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90611a8a565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016104e3929190611aaa565b6020604051808303816000875af1158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611a11565b9050610531816115af565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff168152602001868152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6000603c905090565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b81526004016107a49190611ae9565b602060405180830381865af41580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190611b30565b610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90611ba9565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108989190611b30565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611c15565b60405180910390fd5b6108df611410565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611a11565b14610bfd5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190611c4a565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610b7b9190611ae9565b602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611b30565b610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611cc3565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac9190611cf8565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610cd9929190611aaa565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c9190611a11565b9050610d27816115af565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611c4a565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611a11565b81526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611cf8565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b61109c6115b9565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016112f39190611ae9565b602060405180830381865af4158015611310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113349190611b30565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c390611d97565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b60006050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b815260040161150a9190611ae9565b602060405180830381865af4158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190611de3565b6040518263ffffffff1660e01b81526004016115679190611e41565b602060405180830381865afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a89190611cf8565b9050919050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61164381611630565b82525050565b600060208201905061165e600083018461163a565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61168a81611669565b811461169557600080fd5b50565b6000813590506116a781611681565b92915050565b6116b681611630565b81146116c157600080fd5b50565b6000813590506116d3816116ad565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611704826116d9565b9050919050565b611714816116f9565b811461171f57600080fd5b50565b6000813590506117318161170b565b92915050565b6000806000606084860312156117505761174f611664565b5b600061175e86828701611698565b935050602061176f868287016116c4565b925050604061178086828701611722565b9150509250925092565b6000819050919050565b60006117af6117aa6117a584611669565b61178a565b611669565b9050919050565b6117bf81611794565b82525050565b60006020820190506117da60008301846117b6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561181a5780820151818401526020810190506117ff565b60008484015250505050565b6000601f19601f8301169050919050565b6000611842826117e0565b61184c81856117eb565b935061185c8185602086016117fc565b61186581611826565b840191505092915050565b6000602082019050818103600083015261188a8184611837565b905092915050565b6000602082840312156118a8576118a7611664565b5b60006118b684828501611722565b91505092915050565b6000602082840312156118d5576118d4611664565b5b60006118e384828501611698565b91505092915050565b6118f581611794565b82525050565b61190481611630565b82525050565b611913816116f9565b82525050565b60a08201600082015161192f60008501826118ec565b50602082015161194260208501826118ec565b50604082015161195560408501826118fb565b506060820151611968606085018261190a565b50608082015161197b608085018261190a565b50505050565b600060a0820190506119966000830184611919565b92915050565b6119a5816116f9565b82525050565b60006020820190506119c0600083018461199c565b92915050565b60008115159050919050565b6119db816119c6565b82525050565b60006020820190506119f660008301846119d2565b92915050565b600081519050611a0b816116ad565b92915050565b600060208284031215611a2757611a26611664565b5b6000611a35848285016119fc565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a74601a836117eb565b9150611a7f82611a3e565b602082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000604082019050611abf600083018561199c565b8181036020830152611ad18184611837565b90509392505050565b611ae381611794565b82525050565b6000602082019050611afe6000830184611ada565b92915050565b611b0d816119c6565b8114611b1857600080fd5b50565b600081519050611b2a81611b04565b92915050565b600060208284031215611b4657611b45611664565b5b6000611b5484828501611b1b565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b936020836117eb565b9150611b9e82611b5d565b602082019050919050565b60006020820190508181036000830152611bc281611b86565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611bff601e836117eb565b9150611c0a82611bc9565b602082019050919050565b60006020820190508181036000830152611c2e81611bf2565b9050919050565b600081519050611c4481611681565b92915050565b600060208284031215611c6057611c5f611664565b5b6000611c6e84828501611c35565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611cad601e836117eb565b9150611cb882611c77565b602082019050919050565b60006020820190508181036000830152611cdc81611ca0565b9050919050565b600081519050611cf28161170b565b92915050565b600060208284031215611d0e57611d0d611664565b5b6000611d1c84828501611ce3565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d816021836117eb565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b9050919050565b611dc081611669565b8114611dcb57600080fd5b50565b600081519050611ddd81611db7565b92915050565b600060208284031215611df957611df8611664565b5b6000611e0784828501611dce565b91505092915050565b6000611e2b611e26611e2184611669565b61178a565b611630565b9050919050565b611e3b81611e10565b82525050565b6000602082019050611e566000830184611e32565b9291505056fea2646970667358221220fee9d9bf8bf0766cf8a048f91bea4d0e0f0d4756a9457230d54d3f35f3d81f1e64736f6c63430008140033",
302
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80637535d246116100a2578063c4d66de811610071578063c4d66de8146102c0578063d15db8b4146102dc578063d272ac1e146102fa578063dadbccee1461032a578063df33330b146103485761010b565b80637535d2461461023657806382bfefc814610254578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b85780634c3371cd146101e857806353bed7c3146102185761010b565b80631a848cfb1461011057806325425a911461012e578063294624ad1461014c57806338013f021461017c575b600080fd5b610118610378565b6040516101259190611649565b60405180910390f35b610136610410565b6040516101439190611649565b60405180910390f35b61016660048036038101906101619190611737565b610419565b60405161017391906117c5565b60405180910390f35b6101846106e8565b6040516101919190611649565b60405180910390f35b6101a26106f1565b6040516101af9190611870565b60405180910390f35b6101d260048036038101906101cd9190611892565b610704565b6040516101df91906117c5565b60405180910390f35b61020260048036038101906101fd91906118bf565b611094565b60405161020f9190611981565b60405180910390f35b61022061120e565b60405161022d9190611649565b60405180910390f35b61023e611217565b60405161024b9190611649565b60405180910390f35b61025c611220565b6040516102699190611649565b60405180910390f35b61027a611229565b60405161028791906119ab565b60405180910390f35b6102aa60048036038101906102a59190611892565b611253565b6040516102b791906119e1565b60405180910390f35b6102da60048036038101906102d59190611892565b61133b565b005b6102e4611410565b6040516102f19190611649565b60405180910390f35b610314600480360381019061030f9190611892565b611419565b60405161032191906117c5565b60405180910390f35b61033261147a565b60405161033f9190611649565b60405180910390f35b610362600480360381019061035d91906118bf565b611483565b60405161036f91906119ab565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040b9190611a11565b905090565b60006032905090565b600061042361147a565b831480610436575061043361120e565b83145b610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90611a8a565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016104e3929190611aaa565b6020604051808303816000875af1158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611a11565b9050610531816115af565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff168152602001868152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6000603c905090565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b81526004016107a49190611ae9565b602060405180830381865af41580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190611b30565b610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90611ba9565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108989190611b30565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611c15565b60405180910390fd5b6108df611410565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611a11565b14610bfd5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190611c4a565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610b7b9190611ae9565b602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611b30565b610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611cc3565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac9190611cf8565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610cd9929190611aaa565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c9190611a11565b9050610d27816115af565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611c4a565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611a11565b81526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611cf8565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b61109c6115b9565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016112f39190611ae9565b602060405180830381865af4158015611310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113349190611b30565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c390611d97565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b60006050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b815260040161150a9190611ae9565b602060405180830381865af4158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190611de3565b6040518263ffffffff1660e01b81526004016115679190611e41565b602060405180830381865afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a89190611cf8565b9050919050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61164381611630565b82525050565b600060208201905061165e600083018461163a565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61168a81611669565b811461169557600080fd5b50565b6000813590506116a781611681565b92915050565b6116b681611630565b81146116c157600080fd5b50565b6000813590506116d3816116ad565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611704826116d9565b9050919050565b611714816116f9565b811461171f57600080fd5b50565b6000813590506117318161170b565b92915050565b6000806000606084860312156117505761174f611664565b5b600061175e86828701611698565b935050602061176f868287016116c4565b925050604061178086828701611722565b9150509250925092565b6000819050919050565b60006117af6117aa6117a584611669565b61178a565b611669565b9050919050565b6117bf81611794565b82525050565b60006020820190506117da60008301846117b6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561181a5780820151818401526020810190506117ff565b60008484015250505050565b6000601f19601f8301169050919050565b6000611842826117e0565b61184c81856117eb565b935061185c8185602086016117fc565b61186581611826565b840191505092915050565b6000602082019050818103600083015261188a8184611837565b905092915050565b6000602082840312156118a8576118a7611664565b5b60006118b684828501611722565b91505092915050565b6000602082840312156118d5576118d4611664565b5b60006118e384828501611698565b91505092915050565b6118f581611794565b82525050565b61190481611630565b82525050565b611913816116f9565b82525050565b60a08201600082015161192f60008501826118ec565b50602082015161194260208501826118ec565b50604082015161195560408501826118fb565b506060820151611968606085018261190a565b50608082015161197b608085018261190a565b50505050565b600060a0820190506119966000830184611919565b92915050565b6119a5816116f9565b82525050565b60006020820190506119c0600083018461199c565b92915050565b60008115159050919050565b6119db816119c6565b82525050565b60006020820190506119f660008301846119d2565b92915050565b600081519050611a0b816116ad565b92915050565b600060208284031215611a2757611a26611664565b5b6000611a35848285016119fc565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a74601a836117eb565b9150611a7f82611a3e565b602082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000604082019050611abf600083018561199c565b8181036020830152611ad18184611837565b90509392505050565b611ae381611794565b82525050565b6000602082019050611afe6000830184611ada565b92915050565b611b0d816119c6565b8114611b1857600080fd5b50565b600081519050611b2a81611b04565b92915050565b600060208284031215611b4657611b45611664565b5b6000611b5484828501611b1b565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b936020836117eb565b9150611b9e82611b5d565b602082019050919050565b60006020820190508181036000830152611bc281611b86565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611bff601e836117eb565b9150611c0a82611bc9565b602082019050919050565b60006020820190508181036000830152611c2e81611bf2565b9050919050565b600081519050611c4481611681565b92915050565b600060208284031215611c6057611c5f611664565b5b6000611c6e84828501611c35565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611cad601e836117eb565b9150611cb882611c77565b602082019050919050565b60006020820190508181036000830152611cdc81611ca0565b9050919050565b600081519050611cf28161170b565b92915050565b600060208284031215611d0e57611d0d611664565b5b6000611d1c84828501611ce3565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d816021836117eb565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b9050919050565b611dc081611669565b8114611dcb57600080fd5b50565b600081519050611ddd81611db7565b92915050565b600060208284031215611df957611df8611664565b5b6000611e0784828501611dce565b91505092915050565b6000611e2b611e26611e2184611669565b61178a565b611630565b9050919050565b611e3b81611e10565b82525050565b6000602082019050611e566000830184611e32565b9291505056fea2646970667358221220fee9d9bf8bf0766cf8a048f91bea4d0e0f0d4756a9457230d54d3f35f3d81f1e64736f6c63430008140033",
599
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162004b1038038062004b108339810160408190526200003491620010fb565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556001600160a01b038216620000cc5760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e6572206973203000000060448201526064015b60405180910390fd5b604051632b10f60d60e21b815260ff8216600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000148919062001140565b14620001d25760405162461bcd60e51b815260206004820152604c60248201527f52656769737472793a20696e697469616c206d616a6f722076657273696f6e2060448201527f6f662072656769737472792073657276696365206973206e6f74204d414a4f5260648201526b2fab22a929a4a7a72fa6a4a760a11b608482015260a401620000c3565b30604051620001e190620010d6565b6001600160a01b039091168152602001604051809103906000f0801580156200020e573d6000803e3d6000fd5b50600980546001600160a01b0319166001600160a01b0392909216919091179055620002396200029d565b6200024482620004be565b6200024f826200086b565b6200025962000bf0565b63350fb35160e11b60009081526020527ffc1ecf3da91e251fac09686d97475cbb38910d14bd40d7697ca0d44f8af08409805460ff19166001179055505062001340565b60095460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620002e8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030e919062001140565b90506000816009546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200036257600080fd5b505af115801562000377573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b03168152602001620003a562000f4a60201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620004b79082620011ff565b5050505050565b600954604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa15801562000509573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200052f919062001140565b60095460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200057f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a5919062001140565b83146200063457620005b662000f4f565b60095460408051632e85b1f360e01b815290516200062c926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000603573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000629919062001140565b90565b905062000684565b60095460408051632cc7144960e11b8152905162000681926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801562000603573d6000803e3d6000fd5b90505b6009546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b158015620006d357600080fd5b505af1158015620006e8573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b0316815260200162000725620010c260201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260018086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b031990971693909216929092179490941792909216929092179390931783559284015190820180549184166001600160a01b031992831617905560a08401516002830180549190941691161790915560c082015160038201906200082b9082620011ff565b505030600090815260026020526040902080546001600160601b039094166001600160601b03199485168117909155600880549094161790925550505050565b600954604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620008b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008dc919062001140565b90506000816009546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b1580156200093257600080fd5b505af115801562000947573d6000803e3d6000fd5b50506040805160e0810182526001600160601b0385811680835260085482166020808501918252603c85870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526001968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a16179690961793909316969096179590951783555190820180549185166001600160a01b031992831617905594516002820180549190941695169490941790915551909350909150600382019062000a5f9082620011ff565b505033600090815260026020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000ac191849101620012cb565b60408051808303601f19018152828252805160209182012060008181526007909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000b39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b5f91906200131b565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526006909152902062000bb58382620011ff565b5050600880546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f018c877a3c1f175f42ac2fd4d91e2c99e438afe50496f22ceaf98c7ffc168eb2805460ff19166001908117909155603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd09062000c56602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000c8a604690565b60ff1660ff168152602001908152602001600020600062000cb0620010c260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000ce4606e90565b60ff1660ff168152602001908152602001600020600062000d0a620010c760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d3e607890565b60ff1660ff168152602001908152602001600020600062000d64620010c760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d98608290565b60ff1660ff168152602001908152602001600020600062000dbe620010c760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000df2608c90565b60ff1660ff168152602001908152602001600020600062000e18620010c760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000e4c60d290565b60ff1660ff168152602001908152602001600020600062000e72620010cc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000ea660dc90565b60ff1660ff168152602001908152602001600020600062000ecc620010d160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000f00605090565b60ff1660ff168152602001908152602001600020600062000f26620010d160201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b60095460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000f9a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fc0919062001140565b6009546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200100f57600080fd5b505af115801562001024573d6000803e3d6000fd5b5050505060006200103b826200062960201b60201c565b90506040518060e00160405280826001600160601b03168152602001620010af600960009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000603573d6000803e3d6000fd5b6001600160601b03168152602001620003b65b602890565b604690565b606e90565b608c90565b611e3d8062002cd383390190565b805160ff81168114620010f657600080fd5b919050565b600080604083850312156200110f57600080fd5b82516001600160a01b03811681146200112757600080fd5b91506200113760208401620010e4565b90509250929050565b6000602082840312156200115357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200118557607f821691505b602082108103620011a657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620011fa57600081815260208120601f850160051c81016020861015620011d55750805b601f850160051c820191505b81811015620011f657828155600101620011e1565b5050505b505050565b81516001600160401b038111156200121b576200121b6200115a565b62001233816200122c845462001170565b84620011ac565b602080601f8311600181146200126b5760008415620012525750858301515b600019600386901b1c1916600185901b178555620011f6565b600085815260208120601f198616915b828110156200129c578886015182559484019460019091019084016200127b565b5085821015620012bb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620012fa57858101830151858201604001528201620012dc565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156200132e57600080fd5b6200133982620010e4565b9392505050565b61198380620013506000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063a48f42e0116100a2578063bc36dc9111610071578063bc36dc9114610268578063c3c5a54714610279578063d272ac1e1461028c578063e285c9c4146102be578063e74d052f146102c657600080fd5b8063a48f42e014610217578063a5df9e4e1461022a578063b69b2e1114610255578063bb826b621461015d57600080fd5b806338bb429a116100e957806338bb429a146101a65780633fe9300e146101b9578063893d20e8146101dc5780638b09a5f0146101e4578063a3bcd81d1461020457600080fd5b806301ffc9a71461011b5780630dab67c51461015d57806314afd79e146101735780631a848cfb1461019e575b600080fd5b61014861012936600461127e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610165600381565b604051908152602001610154565b6101866101813660046112d7565b6102d9565b6040516001600160a01b039091168152602001610154565b6101656103ef565b6101866101b4366004611314565b610462565b6101cf6040518060200160405280600081525081565b6040516101549190611381565b6101866104b8565b6101f76101f23660046112d7565b6104c3565b6040516101549190611394565b610186610212366004611507565b61062a565b6101f7610225366004611314565b610680565b61023d6102383660046115a6565b610752565b6040516001600160601b039091168152602001610154565b6101cf610263366004611314565b610d1d565b6009546001600160a01b0316610186565b6101486102873660046112d7565b610dc9565b61023d61029a3660046112d7565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610186600181565b6101486102d4366004611314565b610e60565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af415801561035d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103819190611679565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156103c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e99190611696565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045d91906116b3565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610340565b600061045d306102d9565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906105a1906116cc565b80601f01602080910402602001604051908101604052809291908181526020018280546105cd906116cc565b801561061a5780601f106105ef5761010080835404028352916020019161061a565b820191906000526020600020905b8154815290600101906020018083116105fd57829003601f168201915b5050505050815250509050919050565b6000808360405160200161063e9190611381565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906105a1906116cc565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b0316331461079f576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610842906116cc565b80601f016020809104026020016040519081016040528092919081815260200182805461086e906116cc565b80156108bb5780601f10610890576101008083540402835291602001916108bb565b820191906000526020600020905b81548152906001019060200180831161089e57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166108fa5760405163b0014c0760e01b815260040160405180910390fd5b600061091488606001518960800151866060015185610eba565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a69261095f929091879190600401611706565b6020604051808303816000875af115801561097e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a291906116b3565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610af5919061178a565b50505060808901516001600160a01b031615610c885760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610b6257604051638880f20760e01b815260ff8089166004830152851660248201526044015b60405180910390fd5b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfe919061184a565b15610c275760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610b59565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610c7488610c69603c90565b60ff90811691161490565b15610c8257610c828a610ef8565b50610cda565b60ff8088166000908152600560209081526040808320888516845290915281205490911615159003610cda57604051638880f20760e01b815260ff808916600483015285166024820152604401610b59565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c8389604051610d099190611394565b60405180910390a150505050505050919050565b6001600160601b0381166000908152600660205260409020805460609190610d44906116cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d70906116cc565b8015610dbd5780601f10610d9257610100808354040283529160200191610dbd565b820191906000526020600020905b815481529060010190602001808311610da057829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610e3c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e9919061184a565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610e1f565b60006001600160a01b038416610edf578215610ed7575080610ef0565b506000610ef0565b8415610eec575082610ef0565b5060005b949350505050565b6000808260c00151806020019051810190610f139190611867565b91509150600082604051602001610f2a9190611381565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbb91906116b3565b10806111705750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b91906116b3565b11801561117057506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e891906116b3565b6110f291906118ea565b6040518263ffffffff1660e01b815260040161111091815260200190565b602060405180830381865af415801561112d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611151919061190b565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111935760405163124574bd60e01b815260ff83166004820152602401610b59565b600081815260076020908152604080832060ff861684529091529020546001600160a01b0316156111db5782826040516361b38f9b60e01b8152600401610b59929190611928565b83516001600160601b031660009081526006602052604090206111fe848261178a565b506080840151600082815260076020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112709085908590611928565b60405180910390a150505050565b60006020828403121561129057600080fd5b81356001600160e01b0319811681146112a857600080fd5b9392505050565b6001600160a01b03811681146112c457600080fd5b50565b80356112d2816112af565b919050565b6000602082840312156112e957600080fd5b81356112a8816112af565b6001600160601b03811681146112c457600080fd5b80356112d2816112f4565b60006020828403121561132657600080fd5b81356112a8816112f4565b60005b8381101561134c578181015183820152602001611334565b50506000910152565b6000815180845261136d816020860160208601611331565b601f01601f19169290920160200192915050565b6020815260006112a86020830184611355565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516113fd60c08401826001600160a01b03169052565b5060c083015160e080840152610ef0610100840182611355565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561145057611450611417565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561147f5761147f611417565b604052919050565b600067ffffffffffffffff8211156114a1576114a1611417565b50601f01601f191660200190565b60006114c26114bd84611487565b611456565b90508281528383830111156114d657600080fd5b828260208301376000602084830101529392505050565b60ff811681146112c457600080fd5b80356112d2816114ed565b6000806040838503121561151a57600080fd5b823567ffffffffffffffff81111561153157600080fd5b8301601f8101851361154257600080fd5b611551858235602084016114af565b9250506020830135611562816114ed565b809150509250929050565b80151581146112c457600080fd5b80356112d28161156d565b600082601f83011261159757600080fd5b6112a8838335602085016114af565b6000602082840312156115b857600080fd5b813567ffffffffffffffff808211156115d057600080fd5b9083019060e082860312156115e457600080fd5b6115ec61142d565b6115f583611309565b815261160360208401611309565b6020820152611614604084016114fc565b60408201526116256060840161157b565b6060820152611636608084016112c7565b608082015261164760a084016112c7565b60a082015260c08301358281111561165e57600080fd5b61166a87828601611586565b60c08301525095945050505050565b60006020828403121561168b57600080fd5b81516112a8816112f4565b6000602082840312156116a857600080fd5b81516112a8816112af565b6000602082840312156116c557600080fd5b5051919050565b600181811c908216806116e057607f821691505b60208210810361170057634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0384811682528316602082015260606040820181905260009061173290830184611355565b95945050505050565b601f82111561178557600081815260208120601f850160051c810160208610156117625750805b601f850160051c820191505b818110156117815782815560010161176e565b5050505b505050565b815167ffffffffffffffff8111156117a4576117a4611417565b6117b8816117b284546116cc565b8461173b565b602080601f8311600181146117ed57600084156117d55750858301515b600019600386901b1c1916600185901b178555611781565b600085815260208120601f198616915b8281101561181c578886015182559484019460019091019084016117fd565b508582101561183a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185c57600080fd5b81516112a88161156d565b6000806040838503121561187a57600080fd5b825167ffffffffffffffff81111561189157600080fd5b8301601f810185136118a257600080fd5b80516118b06114bd82611487565b8181528660208385010111156118c557600080fd5b6118d6826020830160208601611331565b8094505050506020830151611562816114ed565b818103818111156103e957634e487b7160e01b600052601160045260246000fd5b60006020828403121561191d57600080fd5b81516112a8816114ed565b60408152600061193b6040830185611355565b905060ff83166020830152939250505056fea264697066735822122079527f4fcd380a89e7cd31cad5a843253bd9f77f636835914ffe73be9b3d063f64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220c02111bfc1745238d5ed0c2884c130c5bf93d8ad7a5e25aae3575fdca7d43f7564736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
600
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063a48f42e0116100a2578063bc36dc9111610071578063bc36dc9114610268578063c3c5a54714610279578063d272ac1e1461028c578063e285c9c4146102be578063e74d052f146102c657600080fd5b8063a48f42e014610217578063a5df9e4e1461022a578063b69b2e1114610255578063bb826b621461015d57600080fd5b806338bb429a116100e957806338bb429a146101a65780633fe9300e146101b9578063893d20e8146101dc5780638b09a5f0146101e4578063a3bcd81d1461020457600080fd5b806301ffc9a71461011b5780630dab67c51461015d57806314afd79e146101735780631a848cfb1461019e575b600080fd5b61014861012936600461127e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610165600381565b604051908152602001610154565b6101866101813660046112d7565b6102d9565b6040516001600160a01b039091168152602001610154565b6101656103ef565b6101866101b4366004611314565b610462565b6101cf6040518060200160405280600081525081565b6040516101549190611381565b6101866104b8565b6101f76101f23660046112d7565b6104c3565b6040516101549190611394565b610186610212366004611507565b61062a565b6101f7610225366004611314565b610680565b61023d6102383660046115a6565b610752565b6040516001600160601b039091168152602001610154565b6101cf610263366004611314565b610d1d565b6009546001600160a01b0316610186565b6101486102873660046112d7565b610dc9565b61023d61029a3660046112d7565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610186600181565b6101486102d4366004611314565b610e60565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af415801561035d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103819190611679565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156103c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e99190611696565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045d91906116b3565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610340565b600061045d306102d9565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906105a1906116cc565b80601f01602080910402602001604051908101604052809291908181526020018280546105cd906116cc565b801561061a5780601f106105ef5761010080835404028352916020019161061a565b820191906000526020600020905b8154815290600101906020018083116105fd57829003601f168201915b5050505050815250509050919050565b6000808360405160200161063e9190611381565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906105a1906116cc565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b0316331461079f576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610842906116cc565b80601f016020809104026020016040519081016040528092919081815260200182805461086e906116cc565b80156108bb5780601f10610890576101008083540402835291602001916108bb565b820191906000526020600020905b81548152906001019060200180831161089e57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166108fa5760405163b0014c0760e01b815260040160405180910390fd5b600061091488606001518960800151866060015185610eba565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a69261095f929091879190600401611706565b6020604051808303816000875af115801561097e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a291906116b3565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610af5919061178a565b50505060808901516001600160a01b031615610c885760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610b6257604051638880f20760e01b815260ff8089166004830152851660248201526044015b60405180910390fd5b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfe919061184a565b15610c275760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610b59565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610c7488610c69603c90565b60ff90811691161490565b15610c8257610c828a610ef8565b50610cda565b60ff8088166000908152600560209081526040808320888516845290915281205490911615159003610cda57604051638880f20760e01b815260ff808916600483015285166024820152604401610b59565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c8389604051610d099190611394565b60405180910390a150505050505050919050565b6001600160601b0381166000908152600660205260409020805460609190610d44906116cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d70906116cc565b8015610dbd5780601f10610d9257610100808354040283529160200191610dbd565b820191906000526020600020905b815481529060010190602001808311610da057829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610e3c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e9919061184a565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610e1f565b60006001600160a01b038416610edf578215610ed7575080610ef0565b506000610ef0565b8415610eec575082610ef0565b5060005b949350505050565b6000808260c00151806020019051810190610f139190611867565b91509150600082604051602001610f2a9190611381565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbb91906116b3565b10806111705750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b91906116b3565b11801561117057506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e891906116b3565b6110f291906118ea565b6040518263ffffffff1660e01b815260040161111091815260200190565b602060405180830381865af415801561112d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611151919061190b565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111935760405163124574bd60e01b815260ff83166004820152602401610b59565b600081815260076020908152604080832060ff861684529091529020546001600160a01b0316156111db5782826040516361b38f9b60e01b8152600401610b59929190611928565b83516001600160601b031660009081526006602052604090206111fe848261178a565b506080840151600082815260076020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112709085908590611928565b60405180910390a150505050565b60006020828403121561129057600080fd5b81356001600160e01b0319811681146112a857600080fd5b9392505050565b6001600160a01b03811681146112c457600080fd5b50565b80356112d2816112af565b919050565b6000602082840312156112e957600080fd5b81356112a8816112af565b6001600160601b03811681146112c457600080fd5b80356112d2816112f4565b60006020828403121561132657600080fd5b81356112a8816112f4565b60005b8381101561134c578181015183820152602001611334565b50506000910152565b6000815180845261136d816020860160208601611331565b601f01601f19169290920160200192915050565b6020815260006112a86020830184611355565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516113fd60c08401826001600160a01b03169052565b5060c083015160e080840152610ef0610100840182611355565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561145057611450611417565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561147f5761147f611417565b604052919050565b600067ffffffffffffffff8211156114a1576114a1611417565b50601f01601f191660200190565b60006114c26114bd84611487565b611456565b90508281528383830111156114d657600080fd5b828260208301376000602084830101529392505050565b60ff811681146112c457600080fd5b80356112d2816114ed565b6000806040838503121561151a57600080fd5b823567ffffffffffffffff81111561153157600080fd5b8301601f8101851361154257600080fd5b611551858235602084016114af565b9250506020830135611562816114ed565b809150509250929050565b80151581146112c457600080fd5b80356112d28161156d565b600082601f83011261159757600080fd5b6112a8838335602085016114af565b6000602082840312156115b857600080fd5b813567ffffffffffffffff808211156115d057600080fd5b9083019060e082860312156115e457600080fd5b6115ec61142d565b6115f583611309565b815261160360208401611309565b6020820152611614604084016114fc565b60408201526116256060840161157b565b6060820152611636608084016112c7565b608082015261164760a084016112c7565b60a082015260c08301358281111561165e57600080fd5b61166a87828601611586565b60c08301525095945050505050565b60006020828403121561168b57600080fd5b81516112a8816112f4565b6000602082840312156116a857600080fd5b81516112a8816112af565b6000602082840312156116c557600080fd5b5051919050565b600181811c908216806116e057607f821691505b60208210810361170057634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0384811682528316602082015260606040820181905260009061173290830184611355565b95945050505050565b601f82111561178557600081815260208120601f850160051c810160208610156117625750805b601f850160051c820191505b818110156117815782815560010161176e565b5050505b505050565b815167ffffffffffffffff8111156117a4576117a4611417565b6117b8816117b284546116cc565b8461173b565b602080601f8311600181146117ed57600084156117d55750858301515b600019600386901b1c1916600185901b178555611781565b600085815260208120601f198616915b8281101561181c578886015182559484019460019091019084016117fd565b508582101561183a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185c57600080fd5b81516112a88161156d565b6000806040838503121561187a57600080fd5b825167ffffffffffffffff81111561189157600080fd5b8301601f810185136118a257600080fd5b80516118b06114bd82611487565b8181528660208385010111156118c557600080fd5b6118d6826020830160208601611331565b8094505050506020830151611562816114ed565b818103818111156103e957634e487b7160e01b600052601160045260246000fd5b60006020828403121561191d57600080fd5b81516112a8816114ed565b60408152600061193b6040830185611355565b905060ff83166020830152939250505056fea264697066735822122079527f4fcd380a89e7cd31cad5a843253bd9f77f636835914ffe73be9b3d063f64736f6c63430008140033",
303
601
  "linkReferences": {
304
602
  "contracts/types/NftId.sol": {
305
603
  "NftIdLib": [
306
604
  {
307
605
  "length": 20,
308
- "start": 1934
606
+ "start": 5746
607
+ },
608
+ {
609
+ "length": 20,
610
+ "start": 6118
309
611
  },
310
612
  {
311
613
  "length": 20,
312
- "start": 2917
614
+ "start": 7920
313
615
  },
314
616
  {
315
617
  "length": 20,
316
- "start": 4829
618
+ "start": 8529
619
+ }
620
+ ]
621
+ },
622
+ "contracts/types/ObjectType.sol": {
623
+ "ObjectTypeLib": [
624
+ {
625
+ "length": 20,
626
+ "start": 8680
627
+ }
628
+ ]
629
+ },
630
+ "contracts/types/Version.sol": {
631
+ "VersionLib": [
632
+ {
633
+ "length": 20,
634
+ "start": 2814
317
635
  },
318
636
  {
319
637
  "length": 20,
320
- "start": 5364
638
+ "start": 9147
639
+ }
640
+ ],
641
+ "VersionPartLib": [
642
+ {
643
+ "length": 20,
644
+ "start": 231
645
+ },
646
+ {
647
+ "length": 20,
648
+ "start": 8877
649
+ },
650
+ {
651
+ "length": 20,
652
+ "start": 9005
653
+ },
654
+ {
655
+ "length": 20,
656
+ "start": 9178
321
657
  }
322
658
  ]
323
659
  }
@@ -327,19 +663,49 @@
327
663
  "NftIdLib": [
328
664
  {
329
665
  "length": 20,
330
- "start": 1902
666
+ "start": 802
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 1174
331
671
  },
332
672
  {
333
673
  "length": 20,
334
- "start": 2885
674
+ "start": 2976
675
+ },
676
+ {
677
+ "length": 20,
678
+ "start": 3585
679
+ }
680
+ ]
681
+ },
682
+ "contracts/types/ObjectType.sol": {
683
+ "ObjectTypeLib": [
684
+ {
685
+ "length": 20,
686
+ "start": 3736
687
+ }
688
+ ]
689
+ },
690
+ "contracts/types/Version.sol": {
691
+ "VersionLib": [
692
+ {
693
+ "length": 20,
694
+ "start": 4203
695
+ }
696
+ ],
697
+ "VersionPartLib": [
698
+ {
699
+ "length": 20,
700
+ "start": 3933
335
701
  },
336
702
  {
337
703
  "length": 20,
338
- "start": 4797
704
+ "start": 4061
339
705
  },
340
706
  {
341
707
  "length": 20,
342
- "start": 5332
708
+ "start": 4234
343
709
  }
344
710
  ]
345
711
  }