@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7eda15-119

Sign up to get free protection for your applications and to get access to all the features.
Files changed (408) hide show
  1. package/README.md +331 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +491 -40
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +849 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +244 -241
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +648 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +769 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +748 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +760 -118
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +738 -135
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1310 -809
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +586 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2242 -908
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1034 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1381 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1024 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +473 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +603 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  69. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  81. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  82. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  83. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  84. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  86. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  88. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
  90. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
  92. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +772 -0
  94. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +437 -0
  96. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +715 -0
  98. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +441 -0
  100. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
  102. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +494 -0
  104. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +531 -0
  106. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
  108. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
  110. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +806 -0
  112. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +437 -0
  114. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +856 -0
  116. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -0
  118. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  119. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +567 -31
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +981 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  126. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/Registry.sol/Registry.json +644 -74
  128. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  130. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1200 -0
  132. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +464 -0
  134. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  135. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  136. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  137. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +394 -0
  138. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  141. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +196 -0
  146. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IService.sol/IService.json +416 -0
  148. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  150. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +171 -0
  152. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  153. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +362 -0
  154. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +282 -0
  156. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  157. package/artifacts/contracts/shared/Service.sol/Service.json +476 -0
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  159. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +313 -0
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  170. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestService.sol/TestService.json +608 -0
  172. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  174. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  176. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  178. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  179. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  180. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  181. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  182. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  204. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  206. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  208. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  210. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  212. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  214. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  216. package/contracts/components/Component.sol +186 -47
  217. package/contracts/components/Distribution.sol +150 -0
  218. package/contracts/components/IComponent.sol +43 -0
  219. package/contracts/components/IDistributionComponent.sol +47 -0
  220. package/contracts/components/IPoolComponent.sol +60 -0
  221. package/contracts/components/IProductComponent.sol +39 -0
  222. package/contracts/components/Pool.sol +200 -25
  223. package/contracts/components/Product.sol +222 -46
  224. package/contracts/experiment/cloning/Cloner.sol +47 -0
  225. package/contracts/instance/BundleManager.sol +125 -0
  226. package/contracts/instance/Cloneable.sol +46 -0
  227. package/contracts/instance/IInstance.sol +71 -24
  228. package/contracts/instance/IInstanceService.sol +41 -0
  229. package/contracts/instance/Instance.sol +248 -51
  230. package/contracts/instance/InstanceAccessManager.sol +298 -0
  231. package/contracts/instance/InstanceReader.sol +293 -0
  232. package/contracts/instance/InstanceService.sol +435 -0
  233. package/contracts/instance/InstanceServiceManager.sol +54 -0
  234. package/contracts/instance/ObjectManager.sol +84 -0
  235. package/contracts/instance/base/ComponentService.sol +134 -0
  236. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  237. package/contracts/instance/base/ILifecycle.sol +30 -0
  238. package/contracts/instance/base/KeyValueStore.sol +172 -0
  239. package/contracts/instance/base/Lifecycle.sol +100 -0
  240. package/contracts/instance/module/IAccess.sol +48 -0
  241. package/contracts/instance/module/IBundle.sol +20 -0
  242. package/contracts/instance/module/IDistribution.sol +39 -0
  243. package/contracts/instance/module/IPolicy.sol +45 -0
  244. package/contracts/instance/module/IRisk.sol +11 -0
  245. package/contracts/instance/module/ISetup.sol +46 -0
  246. package/contracts/instance/module/ITreasury.sol +23 -0
  247. package/contracts/instance/service/BundleService.sol +293 -0
  248. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  249. package/contracts/instance/service/DistributionService.sol +106 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IBundleService.sol +44 -0
  252. package/contracts/instance/service/IDistributionService.sol +12 -0
  253. package/contracts/instance/service/IPolicyService.sol +94 -0
  254. package/contracts/instance/service/IPoolService.sol +20 -0
  255. package/contracts/instance/service/IProductService.sol +40 -0
  256. package/contracts/instance/service/PolicyService.sol +538 -0
  257. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  258. package/contracts/instance/service/PoolService.sol +110 -0
  259. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  260. package/contracts/instance/service/ProductService.sol +234 -0
  261. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  262. package/contracts/registry/ChainNft.sol +129 -62
  263. package/contracts/registry/IRegistry.sol +72 -41
  264. package/contracts/registry/IRegistryService.sol +65 -0
  265. package/contracts/registry/ITransferInterceptor.sol +6 -0
  266. package/contracts/registry/Registry.sol +401 -131
  267. package/contracts/registry/RegistryAccessManager.sol +216 -0
  268. package/contracts/registry/RegistryService.sol +262 -0
  269. package/contracts/registry/RegistryServiceManager.sol +62 -0
  270. package/contracts/registry/ReleaseManager.sol +332 -0
  271. package/contracts/registry/TokenRegistry.sol +112 -0
  272. package/contracts/shared/ContractDeployerLib.sol +72 -0
  273. package/contracts/shared/ERC165.sol +25 -0
  274. package/contracts/shared/INftOwnable.sol +22 -0
  275. package/contracts/shared/IRegisterable.sol +15 -0
  276. package/contracts/shared/IService.sol +16 -0
  277. package/contracts/shared/IVersionable.sol +96 -0
  278. package/contracts/shared/NftOwnable.sol +139 -0
  279. package/contracts/shared/ProxyManager.sol +94 -0
  280. package/contracts/shared/Registerable.sol +86 -0
  281. package/contracts/shared/Service.sol +60 -0
  282. package/contracts/shared/TokenHandler.sol +27 -0
  283. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  284. package/contracts/shared/Versionable.sol +147 -0
  285. package/contracts/test/TestFee.sol +25 -0
  286. package/contracts/test/TestRegisterable.sol +18 -0
  287. package/contracts/test/TestRoleId.sol +14 -0
  288. package/contracts/test/TestService.sol +25 -0
  289. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  290. package/contracts/test/TestVersion.sol +44 -0
  291. package/contracts/test/TestVersionable.sol +17 -0
  292. package/contracts/{mock → test}/Usdc.sol +1 -1
  293. package/contracts/types/AddressSet.sol +58 -0
  294. package/contracts/types/DistributorType.sol +55 -0
  295. package/contracts/types/Fee.sol +44 -20
  296. package/contracts/types/Key32.sol +50 -0
  297. package/contracts/types/NftId.sol +22 -1
  298. package/contracts/types/NftIdSet.sol +62 -0
  299. package/contracts/types/NumberId.sol +52 -0
  300. package/contracts/types/ObjectType.sol +60 -15
  301. package/contracts/types/Referral.sol +85 -0
  302. package/contracts/types/RiskId.sol +43 -0
  303. package/contracts/types/RoleId.sol +90 -0
  304. package/contracts/types/StateId.sol +18 -4
  305. package/contracts/types/Timestamp.sol +29 -4
  306. package/contracts/types/UFixed.sol +138 -23
  307. package/contracts/types/Version.sol +107 -0
  308. package/package.json +11 -5
  309. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  310. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  311. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  312. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  313. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  315. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  316. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  317. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  318. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  319. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  320. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  321. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  322. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  324. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  325. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  326. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  327. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  328. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  329. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  330. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  331. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  333. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  334. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  335. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  336. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  337. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  338. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  339. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  341. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  342. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  343. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  345. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  347. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  348. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  350. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  352. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  354. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  356. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  358. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  359. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  360. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  361. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  363. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  364. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  365. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  367. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  368. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  369. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  370. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  371. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  372. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  373. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  374. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  375. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  376. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  377. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  378. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  379. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  380. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  381. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  382. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  383. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  384. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  385. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  386. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  387. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  388. package/contracts/components/IPool.sol +0 -15
  389. package/contracts/components/IProduct.sol +0 -16
  390. package/contracts/experiment/statemachine/README.md +0 -112
  391. package/contracts/instance/access/Access.sol +0 -165
  392. package/contracts/instance/access/IAccess.sol +0 -63
  393. package/contracts/instance/component/ComponentModule.sol +0 -274
  394. package/contracts/instance/component/IComponent.sol +0 -74
  395. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  396. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  397. package/contracts/instance/policy/IPolicy.sol +0 -50
  398. package/contracts/instance/policy/PolicyModule.sol +0 -114
  399. package/contracts/instance/pool/IPoolModule.sol +0 -23
  400. package/contracts/instance/pool/PoolModule.sol +0 -81
  401. package/contracts/instance/product/IProductService.sol +0 -36
  402. package/contracts/instance/product/ProductService.sol +0 -136
  403. package/contracts/instance/treasury/ITreasury.sol +0 -91
  404. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  405. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  406. package/contracts/mock/TestPool.sol +0 -16
  407. package/contracts/mock/TestProduct.sol +0 -39
  408. package/contracts/registry/IChainNft.sol +0 -21
@@ -3,6 +3,136 @@
3
3
  "contractName": "Registry",
4
4
  "sourceName": "contracts/registry/Registry.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "CallerNotRegistryService",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "CallerNotReleaseManager",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "address",
25
+ "name": "objectAddress",
26
+ "type": "address"
27
+ }
28
+ ],
29
+ "name": "ContractAlreadyRegistered",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "CoreTypeRegistration",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "ObjectType",
41
+ "name": "objectType",
42
+ "type": "uint8"
43
+ },
44
+ {
45
+ "internalType": "ObjectType",
46
+ "name": "parentType",
47
+ "type": "uint8"
48
+ }
49
+ ],
50
+ "name": "InvalidTypesCombination",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [
55
+ {
56
+ "internalType": "address",
57
+ "name": "service",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "name": "ServiceAlreadyRegistered",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "ServiceRegistration",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "ZeroParentAddress",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "anonymous": false,
76
+ "inputs": [
77
+ {
78
+ "indexed": false,
79
+ "internalType": "NftId",
80
+ "name": "nftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "indexed": false,
85
+ "internalType": "NftId",
86
+ "name": "parentNftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "indexed": false,
91
+ "internalType": "ObjectType",
92
+ "name": "objectType",
93
+ "type": "uint8"
94
+ },
95
+ {
96
+ "indexed": false,
97
+ "internalType": "bool",
98
+ "name": "isInterceptor",
99
+ "type": "bool"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "address",
104
+ "name": "objectAddress",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "address",
110
+ "name": "initialOwner",
111
+ "type": "address"
112
+ }
113
+ ],
114
+ "name": "LogRegistration",
115
+ "type": "event"
116
+ },
117
+ {
118
+ "anonymous": false,
119
+ "inputs": [
120
+ {
121
+ "indexed": false,
122
+ "internalType": "VersionPart",
123
+ "name": "majorVersion",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "indexed": false,
128
+ "internalType": "ObjectType",
129
+ "name": "domain",
130
+ "type": "uint8"
131
+ }
132
+ ],
133
+ "name": "LogServiceRegistration",
134
+ "type": "event"
135
+ },
6
136
  {
7
137
  "inputs": [],
8
138
  "name": "EMPTY_URI",
@@ -16,46 +146,279 @@
16
146
  "stateMutability": "view",
17
147
  "type": "function"
18
148
  },
149
+ {
150
+ "inputs": [],
151
+ "name": "NFT_LOCK_ADDRESS",
152
+ "outputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "REGISTRY_TOKEN_SEQUENCE_ID",
165
+ "outputs": [
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [],
177
+ "name": "getChainNft",
178
+ "outputs": [
179
+ {
180
+ "internalType": "contract ChainNft",
181
+ "name": "",
182
+ "type": "address"
183
+ }
184
+ ],
185
+ "stateMutability": "view",
186
+ "type": "function"
187
+ },
188
+ {
189
+ "inputs": [],
190
+ "name": "getInitialVersion",
191
+ "outputs": [
192
+ {
193
+ "internalType": "VersionPart",
194
+ "name": "",
195
+ "type": "uint8"
196
+ }
197
+ ],
198
+ "stateMutability": "view",
199
+ "type": "function"
200
+ },
201
+ {
202
+ "inputs": [],
203
+ "name": "getLatestVersion",
204
+ "outputs": [
205
+ {
206
+ "internalType": "VersionPart",
207
+ "name": "",
208
+ "type": "uint8"
209
+ }
210
+ ],
211
+ "stateMutability": "view",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "getNextVersion",
217
+ "outputs": [
218
+ {
219
+ "internalType": "VersionPart",
220
+ "name": "",
221
+ "type": "uint8"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "getNftId",
230
+ "outputs": [
231
+ {
232
+ "internalType": "NftId",
233
+ "name": "nftId",
234
+ "type": "uint96"
235
+ }
236
+ ],
237
+ "stateMutability": "view",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "address",
244
+ "name": "object",
245
+ "type": "address"
246
+ }
247
+ ],
248
+ "name": "getNftId",
249
+ "outputs": [
250
+ {
251
+ "internalType": "NftId",
252
+ "name": "id",
253
+ "type": "uint96"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getObjectCount",
262
+ "outputs": [
263
+ {
264
+ "internalType": "uint256",
265
+ "name": "",
266
+ "type": "uint256"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "address",
276
+ "name": "object",
277
+ "type": "address"
278
+ }
279
+ ],
280
+ "name": "getObjectInfo",
281
+ "outputs": [
282
+ {
283
+ "components": [
284
+ {
285
+ "internalType": "NftId",
286
+ "name": "nftId",
287
+ "type": "uint96"
288
+ },
289
+ {
290
+ "internalType": "NftId",
291
+ "name": "parentNftId",
292
+ "type": "uint96"
293
+ },
294
+ {
295
+ "internalType": "ObjectType",
296
+ "name": "objectType",
297
+ "type": "uint8"
298
+ },
299
+ {
300
+ "internalType": "bool",
301
+ "name": "isInterceptor",
302
+ "type": "bool"
303
+ },
304
+ {
305
+ "internalType": "address",
306
+ "name": "objectAddress",
307
+ "type": "address"
308
+ },
309
+ {
310
+ "internalType": "address",
311
+ "name": "initialOwner",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "internalType": "bytes",
316
+ "name": "data",
317
+ "type": "bytes"
318
+ }
319
+ ],
320
+ "internalType": "struct IRegistry.ObjectInfo",
321
+ "name": "",
322
+ "type": "tuple"
323
+ }
324
+ ],
325
+ "stateMutability": "view",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "NftId",
332
+ "name": "nftId",
333
+ "type": "uint96"
334
+ }
335
+ ],
336
+ "name": "getObjectInfo",
337
+ "outputs": [
338
+ {
339
+ "components": [
340
+ {
341
+ "internalType": "NftId",
342
+ "name": "nftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "internalType": "NftId",
347
+ "name": "parentNftId",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "ObjectType",
352
+ "name": "objectType",
353
+ "type": "uint8"
354
+ },
355
+ {
356
+ "internalType": "bool",
357
+ "name": "isInterceptor",
358
+ "type": "bool"
359
+ },
360
+ {
361
+ "internalType": "address",
362
+ "name": "objectAddress",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "internalType": "address",
367
+ "name": "initialOwner",
368
+ "type": "address"
369
+ },
370
+ {
371
+ "internalType": "bytes",
372
+ "name": "data",
373
+ "type": "bytes"
374
+ }
375
+ ],
376
+ "internalType": "struct IRegistry.ObjectInfo",
377
+ "name": "",
378
+ "type": "tuple"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "getOwner",
387
+ "outputs": [
388
+ {
389
+ "internalType": "address",
390
+ "name": "owner",
391
+ "type": "address"
392
+ }
393
+ ],
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
19
397
  {
20
398
  "inputs": [
21
399
  {
22
- "internalType": "NftId",
23
- "name": "nftId",
24
- "type": "uint96"
400
+ "internalType": "VersionPart",
401
+ "name": "version",
402
+ "type": "uint8"
25
403
  }
26
404
  ],
27
- "name": "getInfo",
405
+ "name": "getReleaseInfo",
28
406
  "outputs": [
29
407
  {
30
408
  "components": [
31
409
  {
32
- "internalType": "NftId",
33
- "name": "nftId",
34
- "type": "uint96"
35
- },
36
- {
37
- "internalType": "NftId",
38
- "name": "parentNftId",
39
- "type": "uint96"
40
- },
41
- {
42
- "internalType": "ObjectType",
43
- "name": "objectType",
44
- "type": "uint8"
45
- },
46
- {
47
- "internalType": "address",
48
- "name": "objectAddress",
49
- "type": "address"
410
+ "internalType": "ObjectType[]",
411
+ "name": "domains",
412
+ "type": "uint8[]"
50
413
  },
51
414
  {
52
- "internalType": "address",
53
- "name": "initialOwner",
54
- "type": "address"
415
+ "internalType": "Timestamp",
416
+ "name": "createdAt",
417
+ "type": "uint40"
55
418
  }
56
419
  ],
57
- "internalType": "struct IRegistry.RegistryInfo",
58
- "name": "info",
420
+ "internalType": "struct IRegistry.ReleaseInfo",
421
+ "name": "",
59
422
  "type": "tuple"
60
423
  }
61
424
  ],
@@ -63,12 +426,23 @@
63
426
  "type": "function"
64
427
  },
65
428
  {
66
- "inputs": [],
67
- "name": "getNftAddress",
429
+ "inputs": [
430
+ {
431
+ "internalType": "ObjectType",
432
+ "name": "serviceDomain",
433
+ "type": "uint8"
434
+ },
435
+ {
436
+ "internalType": "VersionPart",
437
+ "name": "releaseVersion",
438
+ "type": "uint8"
439
+ }
440
+ ],
441
+ "name": "getServiceAddress",
68
442
  "outputs": [
69
443
  {
70
444
  "internalType": "address",
71
- "name": "nft",
445
+ "name": "service",
72
446
  "type": "address"
73
447
  }
74
448
  ],
@@ -83,25 +457,31 @@
83
457
  "type": "address"
84
458
  }
85
459
  ],
86
- "name": "getNftId",
460
+ "name": "isRegistered",
87
461
  "outputs": [
88
462
  {
89
- "internalType": "NftId",
90
- "name": "id",
91
- "type": "uint96"
463
+ "internalType": "bool",
464
+ "name": "",
465
+ "type": "bool"
92
466
  }
93
467
  ],
94
468
  "stateMutability": "view",
95
469
  "type": "function"
96
470
  },
97
471
  {
98
- "inputs": [],
99
- "name": "getObjectCount",
472
+ "inputs": [
473
+ {
474
+ "internalType": "NftId",
475
+ "name": "nftId",
476
+ "type": "uint96"
477
+ }
478
+ ],
479
+ "name": "isRegistered",
100
480
  "outputs": [
101
481
  {
102
- "internalType": "uint256",
482
+ "internalType": "bool",
103
483
  "name": "",
104
- "type": "uint256"
484
+ "type": "bool"
105
485
  }
106
486
  ],
107
487
  "stateMutability": "view",
@@ -110,17 +490,17 @@
110
490
  {
111
491
  "inputs": [
112
492
  {
113
- "internalType": "NftId",
114
- "name": "nftId",
115
- "type": "uint96"
493
+ "internalType": "address",
494
+ "name": "object",
495
+ "type": "address"
116
496
  }
117
497
  ],
118
- "name": "getOwner",
498
+ "name": "isRegisteredService",
119
499
  "outputs": [
120
500
  {
121
- "internalType": "address",
501
+ "internalType": "bool",
122
502
  "name": "",
123
- "type": "address"
503
+ "type": "bool"
124
504
  }
125
505
  ],
126
506
  "stateMutability": "view",
@@ -129,30 +509,36 @@
129
509
  {
130
510
  "inputs": [
131
511
  {
132
- "internalType": "address",
133
- "name": "chainNft",
134
- "type": "address"
512
+ "internalType": "VersionPart",
513
+ "name": "version",
514
+ "type": "uint8"
135
515
  }
136
516
  ],
137
- "name": "initialize",
138
- "outputs": [],
139
- "stateMutability": "nonpayable",
517
+ "name": "isValidRelease",
518
+ "outputs": [
519
+ {
520
+ "internalType": "bool",
521
+ "name": "",
522
+ "type": "bool"
523
+ }
524
+ ],
525
+ "stateMutability": "view",
140
526
  "type": "function"
141
527
  },
142
528
  {
143
529
  "inputs": [
144
530
  {
145
531
  "internalType": "address",
146
- "name": "object",
532
+ "name": "contractAddress",
147
533
  "type": "address"
148
534
  }
149
535
  ],
150
- "name": "isRegistered",
536
+ "name": "ownerOf",
151
537
  "outputs": [
152
538
  {
153
- "internalType": "bool",
539
+ "internalType": "address",
154
540
  "name": "",
155
- "type": "bool"
541
+ "type": "address"
156
542
  }
157
543
  ],
158
544
  "stateMutability": "view",
@@ -160,12 +546,68 @@
160
546
  },
161
547
  {
162
548
  "inputs": [
549
+ {
550
+ "internalType": "NftId",
551
+ "name": "nftId",
552
+ "type": "uint96"
553
+ }
554
+ ],
555
+ "name": "ownerOf",
556
+ "outputs": [
163
557
  {
164
558
  "internalType": "address",
165
- "name": "objectAddress",
559
+ "name": "",
166
560
  "type": "address"
167
561
  }
168
562
  ],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [
568
+ {
569
+ "components": [
570
+ {
571
+ "internalType": "NftId",
572
+ "name": "nftId",
573
+ "type": "uint96"
574
+ },
575
+ {
576
+ "internalType": "NftId",
577
+ "name": "parentNftId",
578
+ "type": "uint96"
579
+ },
580
+ {
581
+ "internalType": "ObjectType",
582
+ "name": "objectType",
583
+ "type": "uint8"
584
+ },
585
+ {
586
+ "internalType": "bool",
587
+ "name": "isInterceptor",
588
+ "type": "bool"
589
+ },
590
+ {
591
+ "internalType": "address",
592
+ "name": "objectAddress",
593
+ "type": "address"
594
+ },
595
+ {
596
+ "internalType": "address",
597
+ "name": "initialOwner",
598
+ "type": "address"
599
+ },
600
+ {
601
+ "internalType": "bytes",
602
+ "name": "data",
603
+ "type": "bytes"
604
+ }
605
+ ],
606
+ "internalType": "struct IRegistry.ObjectInfo",
607
+ "name": "info",
608
+ "type": "tuple"
609
+ }
610
+ ],
169
611
  "name": "register",
170
612
  "outputs": [
171
613
  {
@@ -180,22 +622,115 @@
180
622
  {
181
623
  "inputs": [
182
624
  {
183
- "internalType": "NftId",
184
- "name": "parentNftId",
185
- "type": "uint96"
625
+ "components": [
626
+ {
627
+ "internalType": "NftId",
628
+ "name": "nftId",
629
+ "type": "uint96"
630
+ },
631
+ {
632
+ "internalType": "NftId",
633
+ "name": "parentNftId",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "internalType": "ObjectType",
638
+ "name": "objectType",
639
+ "type": "uint8"
640
+ },
641
+ {
642
+ "internalType": "bool",
643
+ "name": "isInterceptor",
644
+ "type": "bool"
645
+ },
646
+ {
647
+ "internalType": "address",
648
+ "name": "objectAddress",
649
+ "type": "address"
650
+ },
651
+ {
652
+ "internalType": "address",
653
+ "name": "initialOwner",
654
+ "type": "address"
655
+ },
656
+ {
657
+ "internalType": "bytes",
658
+ "name": "data",
659
+ "type": "bytes"
660
+ }
661
+ ],
662
+ "internalType": "struct IRegistry.ObjectInfo",
663
+ "name": "info",
664
+ "type": "tuple"
186
665
  },
187
666
  {
188
- "internalType": "ObjectType",
189
- "name": "objectType",
667
+ "internalType": "VersionPart",
668
+ "name": "version",
190
669
  "type": "uint8"
191
670
  },
192
671
  {
193
- "internalType": "address",
194
- "name": "initialOwner",
195
- "type": "address"
672
+ "internalType": "ObjectType",
673
+ "name": "domain",
674
+ "type": "uint8"
675
+ }
676
+ ],
677
+ "name": "registerService",
678
+ "outputs": [
679
+ {
680
+ "internalType": "NftId",
681
+ "name": "nftId",
682
+ "type": "uint96"
683
+ }
684
+ ],
685
+ "stateMutability": "nonpayable",
686
+ "type": "function"
687
+ },
688
+ {
689
+ "inputs": [
690
+ {
691
+ "components": [
692
+ {
693
+ "internalType": "NftId",
694
+ "name": "nftId",
695
+ "type": "uint96"
696
+ },
697
+ {
698
+ "internalType": "NftId",
699
+ "name": "parentNftId",
700
+ "type": "uint96"
701
+ },
702
+ {
703
+ "internalType": "ObjectType",
704
+ "name": "objectType",
705
+ "type": "uint8"
706
+ },
707
+ {
708
+ "internalType": "bool",
709
+ "name": "isInterceptor",
710
+ "type": "bool"
711
+ },
712
+ {
713
+ "internalType": "address",
714
+ "name": "objectAddress",
715
+ "type": "address"
716
+ },
717
+ {
718
+ "internalType": "address",
719
+ "name": "initialOwner",
720
+ "type": "address"
721
+ },
722
+ {
723
+ "internalType": "bytes",
724
+ "name": "data",
725
+ "type": "bytes"
726
+ }
727
+ ],
728
+ "internalType": "struct IRegistry.ObjectInfo",
729
+ "name": "info",
730
+ "type": "tuple"
196
731
  }
197
732
  ],
198
- "name": "registerObjectForInstance",
733
+ "name": "registerWithCustomType",
199
734
  "outputs": [
200
735
  {
201
736
  "internalType": "NftId",
@@ -205,28 +740,55 @@
205
740
  ],
206
741
  "stateMutability": "nonpayable",
207
742
  "type": "function"
743
+ },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "bytes4",
748
+ "name": "interfaceId",
749
+ "type": "bytes4"
750
+ }
751
+ ],
752
+ "name": "supportsInterface",
753
+ "outputs": [
754
+ {
755
+ "internalType": "bool",
756
+ "name": "",
757
+ "type": "bool"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
208
762
  }
209
763
  ],
210
- "bytecode": "0x608060405234801561001057600080fd5b50611002806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063be9a71bd11610066578063be9a71bd14610229578063c3c5a5471461024e578063c4d66de814610271578063d272ac1e14610286578063df33330b146102b857600080fd5b80631a848cfb146100a35780631d1b0cac146100be5780633fe9300e146100e95780634420e4861461010c5780634c3371cd1461011f575b600080fd5b6100ab6102cb565b6040519081526020015b60405180910390f35b6100d16100cc366004610e29565b61033e565b6040516001600160601b0390911681526020016100b5565b6100ff6040518060200160405280600081525081565b6040516100b59190610eba565b6100d161011a366004610ed4565b610505565b6101cc61012d366004610ef1565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160601b0390811660009081526020818152604091829020825160a08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600290920154909116608082015290565b6040516100b5919081516001600160601b0390811682526020808401519091169082015260408083015160ff16908201526060808301516001600160a01b0390811691830191909152608092830151169181019190915260a00190565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016100b5565b61026161025c366004610ed4565b610bd2565b60405190151581526020016100b5565b61028461027f366004610ed4565b610c6e565b005b6100d1610294366004610ed4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6102366102c6366004610ef1565b610cf3565b600354604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103399190610f0e565b905090565b600061035283605a5b60ff90811691161490565b806103635750610363836051610347565b6103b45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030353a545950455f494e56414c494400000000000060448201526064015b60405180910390fd5b600354604080516020810182526000808252915163d0def52160e01b815291926001600160a01b03169163d0def521916103f391879190600401610f27565b6020604051808303816000875af1158015610412573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104369190610f0e565b9050806040805160a0810182526001600160601b03808416808352988116602080840191825260ff998a168486019081526000606086018181526001600160a01b039b8c16608088019081529d825292819052959095209351845492519551909a16600160c01b0260ff60c01b19958416600160601b026001600160c01b03199093169a90931699909917179290921691909117815594516001860180549186166001600160a01b03199283161790559551600290950180549590941694909516939093179091555090919050565b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059b9190610f53565b6105e75760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064016103ab565b6000829050806001600160a01b03166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190610f53565b61069a5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c45000060448201526064016103ab565b610709816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff9190610f75565b60ff166032141590565b156108a9576000806000836001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107759190610f92565b6001600160601b0390811682526020808301939093526040918201600020825160a0810184528154808416808352600160601b820490941695820195909552600160c01b90940460ff168484015260018101546001600160a01b03908116606086015260029091015416608084015290516330b8415f60e01b8152600481019190915290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b9190610f53565b6108a75760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e44000060448201526064016103ab565b505b6000600360009054906101000a90046001600160a01b03166001600160a01b031663d0def521836001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109319190610faf565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095e929190610f27565b6020604051808303816000875af115801561097d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a19190610f0e565b905080925060006040518060a00160405280856001600160601b03168152602001846001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a249190610f92565b6001600160601b03168152602001846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190610f75565b60ff168152602001866001600160a01b03168152602001846001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d9190610faf565b6001600160a01b039081169091526001600160601b0380871660008181526020818152604080832087518154848a0151848b015160ff16600160c01b0260ff60c01b19918a16600160601b026001600160c01b03199093169390991692909217171695909517855560608701516001860180549188166001600160a01b031992831617905560809097015160029586018054918816919098161790965599909316835297522080546bffffffffffffffffffffffff1916909517909455509092915050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610f53565b92915050565b6003546001600160a01b031615610cd15760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084016103ab565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60035460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af4158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d859190610f92565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610faf565b6001600160601b0381168114610e0257600080fd5b50565b60ff81168114610e0257600080fd5b6001600160a01b0381168114610e0257600080fd5b600080600060608486031215610e3e57600080fd5b8335610e4981610ded565b92506020840135610e5981610e05565b91506040840135610e6981610e14565b809150509250925092565b6000815180845260005b81811015610e9a57602081850181015186830182015201610e7e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ecd6020830184610e74565b9392505050565b600060208284031215610ee657600080fd5b8135610ecd81610e14565b600060208284031215610f0357600080fd5b8135610ecd81610ded565b600060208284031215610f2057600080fd5b5051919050565b6001600160a01b0383168152604060208201819052600090610f4b90830184610e74565b949350505050565b600060208284031215610f6557600080fd5b81518015158114610ecd57600080fd5b600060208284031215610f8757600080fd5b8151610ecd81610e05565b600060208284031215610fa457600080fd5b8151610ecd81610ded565b600060208284031215610fc157600080fd5b8151610ecd81610e1456fea2646970667358221220f0ef03c7270dd053385ad4000788b7842ce2ba361d0334bb8ebf29059ea7427664736f6c63430008140033",
211
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063be9a71bd11610066578063be9a71bd14610229578063c3c5a5471461024e578063c4d66de814610271578063d272ac1e14610286578063df33330b146102b857600080fd5b80631a848cfb146100a35780631d1b0cac146100be5780633fe9300e146100e95780634420e4861461010c5780634c3371cd1461011f575b600080fd5b6100ab6102cb565b6040519081526020015b60405180910390f35b6100d16100cc366004610e29565b61033e565b6040516001600160601b0390911681526020016100b5565b6100ff6040518060200160405280600081525081565b6040516100b59190610eba565b6100d161011a366004610ed4565b610505565b6101cc61012d366004610ef1565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160601b0390811660009081526020818152604091829020825160a08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600290920154909116608082015290565b6040516100b5919081516001600160601b0390811682526020808401519091169082015260408083015160ff16908201526060808301516001600160a01b0390811691830191909152608092830151169181019190915260a00190565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016100b5565b61026161025c366004610ed4565b610bd2565b60405190151581526020016100b5565b61028461027f366004610ed4565b610c6e565b005b6100d1610294366004610ed4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6102366102c6366004610ef1565b610cf3565b600354604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103399190610f0e565b905090565b600061035283605a5b60ff90811691161490565b806103635750610363836051610347565b6103b45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030353a545950455f494e56414c494400000000000060448201526064015b60405180910390fd5b600354604080516020810182526000808252915163d0def52160e01b815291926001600160a01b03169163d0def521916103f391879190600401610f27565b6020604051808303816000875af1158015610412573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104369190610f0e565b9050806040805160a0810182526001600160601b03808416808352988116602080840191825260ff998a168486019081526000606086018181526001600160a01b039b8c16608088019081529d825292819052959095209351845492519551909a16600160c01b0260ff60c01b19958416600160601b026001600160c01b03199093169a90931699909917179290921691909117815594516001860180549186166001600160a01b03199283161790559551600290950180549590941694909516939093179091555090919050565b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059b9190610f53565b6105e75760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064016103ab565b6000829050806001600160a01b03166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190610f53565b61069a5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c45000060448201526064016103ab565b610709816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff9190610f75565b60ff166032141590565b156108a9576000806000836001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107759190610f92565b6001600160601b0390811682526020808301939093526040918201600020825160a0810184528154808416808352600160601b820490941695820195909552600160c01b90940460ff168484015260018101546001600160a01b03908116606086015260029091015416608084015290516330b8415f60e01b8152600481019190915290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b9190610f53565b6108a75760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e44000060448201526064016103ab565b505b6000600360009054906101000a90046001600160a01b03166001600160a01b031663d0def521836001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109319190610faf565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095e929190610f27565b6020604051808303816000875af115801561097d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a19190610f0e565b905080925060006040518060a00160405280856001600160601b03168152602001846001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a249190610f92565b6001600160601b03168152602001846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190610f75565b60ff168152602001866001600160a01b03168152602001846001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d9190610faf565b6001600160a01b039081169091526001600160601b0380871660008181526020818152604080832087518154848a0151848b015160ff16600160c01b0260ff60c01b19918a16600160601b026001600160c01b03199093169390991692909217171695909517855560608701516001860180549188166001600160a01b031992831617905560809097015160029586018054918816919098161790965599909316835297522080546bffffffffffffffffffffffff1916909517909455509092915050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610f53565b92915050565b6003546001600160a01b031615610cd15760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084016103ab565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60035460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af4158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d859190610f92565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610faf565b6001600160601b0381168114610e0257600080fd5b50565b60ff81168114610e0257600080fd5b6001600160a01b0381168114610e0257600080fd5b600080600060608486031215610e3e57600080fd5b8335610e4981610ded565b92506020840135610e5981610e05565b91506040840135610e6981610e14565b809150509250925092565b6000815180845260005b81811015610e9a57602081850181015186830182015201610e7e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ecd6020830184610e74565b9392505050565b600060208284031215610ee657600080fd5b8135610ecd81610e14565b600060208284031215610f0357600080fd5b8135610ecd81610ded565b600060208284031215610f2057600080fd5b5051919050565b6001600160a01b0383168152604060208201819052600090610f4b90830184610e74565b949350505050565b600060208284031215610f6557600080fd5b81518015158114610ecd57600080fd5b600060208284031215610f8757600080fd5b8151610ecd81610e05565b600060208284031215610fa457600080fd5b8151610ecd81610ded565b600060208284031215610fc157600080fd5b8151610ecd81610e1456fea2646970667358221220f0ef03c7270dd053385ad4000788b7842ce2ba361d0334bb8ebf29059ea7427664736f6c63430008140033",
764
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600880546001600160a01b031916331790556040513090620000769062000cfc565b6001600160a01b039091168152602001604051809103906000f080158015620000a3573d6000803e3d6000fd5b50600780546001600160a01b03929092166c01000000000000000000000000026001600160601b03909216919091179055620000de62000134565b620000e862000356565b620000f262000713565b6316c8f9ff60e01b60009081526020527fdea3037b423ceffd62bd6edc62f258a5c4e3c3fb90c1752e1f552e05b900cc73805460ff1916600117905562000e91565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b0919062000d0a565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620002d9908262000dc5565b50506007546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200033957600080fd5b505af11580156200034e573d6000803e3d6000fd5b505050505050565b600754604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa158015620003b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d7919062000d0a565b9050600081905060006007600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045a919062000d0a565b8314620004f4576200046b62000be0565b620004ec6007600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e9919062000d0a565b90565b90506200054f565b6200054c6007600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529581905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b031991821617909155925160028201805491909616931692909217909355915190919060038201906200065d908262000dc5565b5050306000908152600260205260409081902080546001600160601b0386166001600160601b03199182168117909255600780549091169091179081905590516340c10f1960e01b815260016004820152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620006f557600080fd5b505af11580156200070a573d6000803e3d6000fd5b50505050505050565b7f2b634da6ab875d88498f503820d9b51f6eb10d3d2f378c32aef2289b509f3def8054600160ff1991821681179092557f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd080548216831790557feaa72e3626d79eea854e214b64a34b95d0c9348f5b8df0b074d774f7dba83c6580548216831790557f96ac7b1c5d793d413ef4b647b77961144d1817b86f1b2d8f15cbc29b2d12d4e280548216831790557fb5e89b7bb0a10081480a5ea36295c6b7a6de9e5a856df0efd526ab9bdcac253a80548216831790557f55a24459c6f3a80c83fe8c41a47a6b48a779d14deeb7429ac736b0fa71d7882b80548216831790557f77761301e80030fbc17986fe0bfb67a8db04a8b7dd6a6c4db3b804983d46fd4780548216831790557f1c4f5e51a8d09546bf33b21af1b75dc9d7fdb33ec90661680a4ebc2abaf4fb8980548216831790557f19ff52a31dbb97e7ba0208f0b5c209485ba174dde390faa2b2689bfddd338aa480548216831790557f6e44202972949cb9940cd9f7817acf0c41032753eea2fb81b6dcd0fd373731b78054909116821790556032600090815260056020527f641a7e47c832ef1f4ef72e654761ca2c0b592dc5a9de41ec09261efc0afea2be90620008ec602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000920604690565b60ff1660ff16815260200190815260200160002060006200094662000ce860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906005906200097a606e90565b60ff1660ff1681526020019081526020016000206000620009a062000ced60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600590620009d4607890565b60ff1660ff1681526020019081526020016000206000620009fa62000ced60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a2e608290565b60ff1660ff168152602001908152602001600020600062000a5462000ced60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a88608c90565b60ff1660ff168152602001908152602001600020600062000aae62000ced60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000ae260d290565b60ff1660ff168152602001908152602001600020600062000b0862000cf260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000b3c60dc90565b60ff1660ff168152602001908152602001600020600062000b6262000cf760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000b96605090565b60ff1660ff168152602001908152602001600020600062000bbc62000cf760201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006007600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c36573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c5c919062000d0a565b905060008190506040518060e00160405280826001600160601b0316815260200162000cd56007600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b6001600160601b03168152602001620001d85b602890565b604690565b606e90565b608c90565b611e3d8062002b5483390190565b60006020828403121562000d1d57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000d4f57607f821691505b60208210810362000d7057634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000dc057600081815260208120601f850160051c8101602086101562000d9f5750805b601f850160051c820191505b818110156200034e5782815560010162000dab565b505050565b81516001600160401b0381111562000de15762000de162000d24565b62000df98162000df2845462000d3a565b8462000d76565b602080601f83116001811462000e31576000841562000e185750858301515b600019600386901b1c1916600185901b1785556200034e565b600085815260208120601f198616915b8281101562000e625788860151825594840194600190910190840162000e41565b508582101562000e815787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611cb38062000ea16000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063a52ec529116100de578063d1982d8811610097578063d39e604311610071578063d39e604314610397578063e285c9c4146103d4578063e74d052f146103dc578063f40d7c30146103ef57600080fd5b8063d1982d8814610332578063d2213b5b14610345578063d272ac1e1461036557600080fd5b8063a52ec529146102c6578063a5df9e4e146102d9578063a7050a56146102ec578063ae8dfb79146102ff578063bc36dc9114610307578063c3c5a5471461031f57600080fd5b806338bb429a1161013057806338bb429a146102305780633fe9300e14610243578063644c45e014610266578063893d20e81461028b5780638b09a5f014610293578063a48f42e0146102b357600080fd5b806301ffc9a7146101785780630e41142e146101ba5780630e6d1de9146101d457806314afd79e146101dc5780631a848cfb146102075780632b91e0a91461021d575b600080fd5b6101a56101863660046114a5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c26103f7565b60405160ff90911681526020016101b1565b6101c261046a565b6101ef6101ea3660046114fe565b6104b4565b6040516001600160a01b0390911681526020016101b1565b61020f6105d0565b6040519081526020016101b1565b6101a561022b3660046114fe565b610649565b6101ef61023e36600461153b565b610699565b6102596040518060200160405280600081525081565b6040516101b1919061159e565b6007546001600160601b03165b6040516001600160601b0390911681526020016101b1565b6101ef6106f6565b6102a66102a13660046114fe565b610701565b6040516101b191906115b1565b6102a66102c136600461153b565b610868565b6101a56102d436600461164e565b61093a565b6102736102e7366004611835565b6109aa565b6102736102fa36600461186a565b610b5d565b61020f600281565b600754600160601b90046001600160a01b03166101ef565b6101a561032d3660046114fe565b610c74565b610273610340366004611835565b610ce7565b61035861035336600461164e565b610e37565b6040516101b191906118ce565b6102736103733660046114fe565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101ef6103a5366004611934565b60ff9081166000908152600360209081526040808320949093168252929092529020546001600160a01b031690565b6101ef600181565b6101a56103ea36600461153b565b610ebd565b6101c2610f17565b600854604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa158015610441573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610465919061196d565b905090565b60085460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa158015610441573d6000803e3d6000fd5b6007546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af415801561053e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610562919061198a565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906119a7565b92915050565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610625573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046591906119c4565b6001600160a01b0381166000908152600260209081526040808320546001600160601b0316835260019091528120546105ca90600160c01b900460ff1661068e603c90565b60ff90811691161490565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610521565b6000610465306104b4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906107df906119dd565b80601f016020809104026020016040519081016040528092919081815260200182805461080b906119dd565b80156108585780601f1061082d57610100808354040283529160200191610858565b820191906000526020600020905b81548152906001019060200180831161083b57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906107df906119dd565b60085460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190611a17565b600854604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156109f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a179190611a17565b610a3457604051638fe695a360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b0316600090815260019091529190912054600160c01b900460ff16610a6e8261068e603c90565b15610a8c5760405163b4a7fc9360e01b815260040160405180910390fd5b60808401516001600160a01b0316610afa5760ff8083166000908152600660209081526040808320858516845290915281205490911615159003610af557604051638880f20760e01b815260ff8084166004830152821660248201526044015b60405180910390fd5b610b4c565b60ff8083166000908152600560209081526040808320858516845290915281205490911615159003610b4c57604051638880f20760e01b815260ff808416600483015282166024820152604401610aec565b610b5584610f61565b949350505050565b6008546000906001600160a01b03163314610b8b576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600360209081526040808320938616835292905220546001600160a01b031615610be35760808401516040516353752f3960e11b81526001600160a01b039091166004820152602401610aec565b608084015160ff848116600090815260036020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610c2d84610f61565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610986573d6000803e3d6000fd5b600854604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d549190611a17565b610d7157604051638fe695a360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b03166000908152600182528381205460ff80851683526004909352939020549192600160c01b90048116911615610dce5760405163019f081b60e51b815260040160405180910390fd5b610dd981600a61068e565b80610dea5750610dea81602861068e565b80610dfb5750610dfb81603c61068e565b15610e2657604051638880f20760e01b815260ff808416600483015282166024820152604401610aec565b610e2f84610f61565b505050919050565b6040805180820182526060815260006020820152600854915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610e95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105ca9190810190611a49565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610cca565b60085460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa158015610441573d6000803e3d6000fd5b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191611003906119dd565b80601f016020809104026020016040519081016040528092919081815260200182805461102f906119dd565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166110bb5760405163b0014c0760e01b815260040160405180910390fd5b60006110d588606001518960800151866060015185611468565b60075460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692611126929091879190600401611b39565b6020604051808303816000875af1158015611145573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116991906119c4565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816112bc9190611bbd565b50505060808901516001600160a01b0316156113cd5760808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561134a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136e9190611a17565b156113975760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610aec565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a00151604051611454969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b03841661148d578215611485575080610b55565b506000610b55565b841561149a575082610b55565b506000949350505050565b6000602082840312156114b757600080fd5b81356001600160e01b0319811681146114cf57600080fd5b9392505050565b6001600160a01b03811681146114eb57600080fd5b50565b80356114f9816114d6565b919050565b60006020828403121561151057600080fd5b81356114cf816114d6565b6001600160601b03811681146114eb57600080fd5b80356114f98161151b565b60006020828403121561154d57600080fd5b81356114cf8161151b565b6000815180845260005b8181101561157e57602081850181015186830182015201611562565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006114cf6020830184611558565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161161a60c08401826001600160a01b03169052565b5060c083015160e080840152610b55610100840182611558565b60ff811681146114eb57600080fd5b80356114f981611634565b60006020828403121561166057600080fd5b81356114cf81611634565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116a4576116a461166b565b60405290565b6040805190810167ffffffffffffffff811182821017156116a4576116a461166b565b604051601f8201601f1916810167ffffffffffffffff811182821017156116f6576116f661166b565b604052919050565b80151581146114eb57600080fd5b80356114f9816116fe565b600082601f83011261172857600080fd5b813567ffffffffffffffff8111156117425761174261166b565b611755601f8201601f19166020016116cd565b81815284602083860101111561176a57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e0828403121561179957600080fd5b6117a1611681565b90506117ac82611530565b81526117ba60208301611530565b60208201526117cb60408301611643565b60408201526117dc6060830161170c565b60608201526117ed608083016114ee565b60808201526117fe60a083016114ee565b60a082015260c082013567ffffffffffffffff81111561181d57600080fd5b61182984828501611717565b60c08301525092915050565b60006020828403121561184757600080fd5b813567ffffffffffffffff81111561185e57600080fd5b610b5584828501611787565b60008060006060848603121561187f57600080fd5b833567ffffffffffffffff81111561189657600080fd5b6118a286828701611787565b93505060208401356118b381611634565b915060408401356118c381611634565b809150509250925092565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561191657835160ff1682529284019260019290920191908401906118f3565b5064ffffffffff848801511660408701528094505050505092915050565b6000806040838503121561194757600080fd5b823561195281611634565b9150602083013561196281611634565b809150509250929050565b60006020828403121561197f57600080fd5b81516114cf81611634565b60006020828403121561199c57600080fd5b81516114cf8161151b565b6000602082840312156119b957600080fd5b81516114cf816114d6565b6000602082840312156119d657600080fd5b5051919050565b600181811c908216806119f157607f821691505b602082108103611a1157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a2957600080fd5b81516114cf816116fe565b805164ffffffffff811681146114f957600080fd5b60006020808385031215611a5c57600080fd5b825167ffffffffffffffff80821115611a7457600080fd5b9084019060408287031215611a8857600080fd5b611a906116aa565b825182811115611a9f57600080fd5b8301601f81018813611ab057600080fd5b805183811115611ac257611ac261166b565b8060051b9350611ad38685016116cd565b818152938201860193868101908a861115611aed57600080fd5b928701925b85841015611b175783519250611b0783611634565b8282529287019290870190611af2565b845250611b28915050838501611a34565b848201528094505050505092915050565b6001600160a01b03848116825283166020820152606060408201819052600090611b6590830184611558565b95945050505050565b601f821115611bb857600081815260208120601f850160051c81016020861015611b955750805b601f850160051c820191505b81811015611bb457828155600101611ba1565b5050505b505050565b815167ffffffffffffffff811115611bd757611bd761166b565b611beb81611be584546119dd565b84611b6e565b602080601f831160018114611c205760008415611c085750858301515b600019600386901b1c1916600185901b178555611bb4565b600085815260208120601f198616915b82811015611c4f57888601518255948401946001909101908401611c30565b5085821015611c6d5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220f220e2c89658dc632166d048fe769da7129710e2a8145a21b3488468e85aa8bc64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220ea83661feb8d07247ba4fc77cce2760aa9afb7f2f6a802089397d027ee33b3bd64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
765
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063a52ec529116100de578063d1982d8811610097578063d39e604311610071578063d39e604314610397578063e285c9c4146103d4578063e74d052f146103dc578063f40d7c30146103ef57600080fd5b8063d1982d8814610332578063d2213b5b14610345578063d272ac1e1461036557600080fd5b8063a52ec529146102c6578063a5df9e4e146102d9578063a7050a56146102ec578063ae8dfb79146102ff578063bc36dc9114610307578063c3c5a5471461031f57600080fd5b806338bb429a1161013057806338bb429a146102305780633fe9300e14610243578063644c45e014610266578063893d20e81461028b5780638b09a5f014610293578063a48f42e0146102b357600080fd5b806301ffc9a7146101785780630e41142e146101ba5780630e6d1de9146101d457806314afd79e146101dc5780631a848cfb146102075780632b91e0a91461021d575b600080fd5b6101a56101863660046114a5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c26103f7565b60405160ff90911681526020016101b1565b6101c261046a565b6101ef6101ea3660046114fe565b6104b4565b6040516001600160a01b0390911681526020016101b1565b61020f6105d0565b6040519081526020016101b1565b6101a561022b3660046114fe565b610649565b6101ef61023e36600461153b565b610699565b6102596040518060200160405280600081525081565b6040516101b1919061159e565b6007546001600160601b03165b6040516001600160601b0390911681526020016101b1565b6101ef6106f6565b6102a66102a13660046114fe565b610701565b6040516101b191906115b1565b6102a66102c136600461153b565b610868565b6101a56102d436600461164e565b61093a565b6102736102e7366004611835565b6109aa565b6102736102fa36600461186a565b610b5d565b61020f600281565b600754600160601b90046001600160a01b03166101ef565b6101a561032d3660046114fe565b610c74565b610273610340366004611835565b610ce7565b61035861035336600461164e565b610e37565b6040516101b191906118ce565b6102736103733660046114fe565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101ef6103a5366004611934565b60ff9081166000908152600360209081526040808320949093168252929092529020546001600160a01b031690565b6101ef600181565b6101a56103ea36600461153b565b610ebd565b6101c2610f17565b600854604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa158015610441573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610465919061196d565b905090565b60085460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa158015610441573d6000803e3d6000fd5b6007546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af415801561053e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610562919061198a565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906119a7565b92915050565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610625573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046591906119c4565b6001600160a01b0381166000908152600260209081526040808320546001600160601b0316835260019091528120546105ca90600160c01b900460ff1661068e603c90565b60ff90811691161490565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610521565b6000610465306104b4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906107df906119dd565b80601f016020809104026020016040519081016040528092919081815260200182805461080b906119dd565b80156108585780601f1061082d57610100808354040283529160200191610858565b820191906000526020600020905b81548152906001019060200180831161083b57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906107df906119dd565b60085460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190611a17565b600854604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156109f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a179190611a17565b610a3457604051638fe695a360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b0316600090815260019091529190912054600160c01b900460ff16610a6e8261068e603c90565b15610a8c5760405163b4a7fc9360e01b815260040160405180910390fd5b60808401516001600160a01b0316610afa5760ff8083166000908152600660209081526040808320858516845290915281205490911615159003610af557604051638880f20760e01b815260ff8084166004830152821660248201526044015b60405180910390fd5b610b4c565b60ff8083166000908152600560209081526040808320858516845290915281205490911615159003610b4c57604051638880f20760e01b815260ff808416600483015282166024820152604401610aec565b610b5584610f61565b949350505050565b6008546000906001600160a01b03163314610b8b576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600360209081526040808320938616835292905220546001600160a01b031615610be35760808401516040516353752f3960e11b81526001600160a01b039091166004820152602401610aec565b608084015160ff848116600090815260036020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610c2d84610f61565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610986573d6000803e3d6000fd5b600854604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d549190611a17565b610d7157604051638fe695a360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b03166000908152600182528381205460ff80851683526004909352939020549192600160c01b90048116911615610dce5760405163019f081b60e51b815260040160405180910390fd5b610dd981600a61068e565b80610dea5750610dea81602861068e565b80610dfb5750610dfb81603c61068e565b15610e2657604051638880f20760e01b815260ff808416600483015282166024820152604401610aec565b610e2f84610f61565b505050919050565b6040805180820182526060815260006020820152600854915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610e95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105ca9190810190611a49565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610cca565b60085460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa158015610441573d6000803e3d6000fd5b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191611003906119dd565b80601f016020809104026020016040519081016040528092919081815260200182805461102f906119dd565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166110bb5760405163b0014c0760e01b815260040160405180910390fd5b60006110d588606001518960800151866060015185611468565b60075460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692611126929091879190600401611b39565b6020604051808303816000875af1158015611145573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116991906119c4565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816112bc9190611bbd565b50505060808901516001600160a01b0316156113cd5760808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561134a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136e9190611a17565b156113975760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610aec565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a00151604051611454969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b03841661148d578215611485575080610b55565b506000610b55565b841561149a575082610b55565b506000949350505050565b6000602082840312156114b757600080fd5b81356001600160e01b0319811681146114cf57600080fd5b9392505050565b6001600160a01b03811681146114eb57600080fd5b50565b80356114f9816114d6565b919050565b60006020828403121561151057600080fd5b81356114cf816114d6565b6001600160601b03811681146114eb57600080fd5b80356114f98161151b565b60006020828403121561154d57600080fd5b81356114cf8161151b565b6000815180845260005b8181101561157e57602081850181015186830182015201611562565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006114cf6020830184611558565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161161a60c08401826001600160a01b03169052565b5060c083015160e080840152610b55610100840182611558565b60ff811681146114eb57600080fd5b80356114f981611634565b60006020828403121561166057600080fd5b81356114cf81611634565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116a4576116a461166b565b60405290565b6040805190810167ffffffffffffffff811182821017156116a4576116a461166b565b604051601f8201601f1916810167ffffffffffffffff811182821017156116f6576116f661166b565b604052919050565b80151581146114eb57600080fd5b80356114f9816116fe565b600082601f83011261172857600080fd5b813567ffffffffffffffff8111156117425761174261166b565b611755601f8201601f19166020016116cd565b81815284602083860101111561176a57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e0828403121561179957600080fd5b6117a1611681565b90506117ac82611530565b81526117ba60208301611530565b60208201526117cb60408301611643565b60408201526117dc6060830161170c565b60608201526117ed608083016114ee565b60808201526117fe60a083016114ee565b60a082015260c082013567ffffffffffffffff81111561181d57600080fd5b61182984828501611717565b60c08301525092915050565b60006020828403121561184757600080fd5b813567ffffffffffffffff81111561185e57600080fd5b610b5584828501611787565b60008060006060848603121561187f57600080fd5b833567ffffffffffffffff81111561189657600080fd5b6118a286828701611787565b93505060208401356118b381611634565b915060408401356118c381611634565b809150509250925092565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561191657835160ff1682529284019260019290920191908401906118f3565b5064ffffffffff848801511660408701528094505050505092915050565b6000806040838503121561194757600080fd5b823561195281611634565b9150602083013561196281611634565b809150509250929050565b60006020828403121561197f57600080fd5b81516114cf81611634565b60006020828403121561199c57600080fd5b81516114cf8161151b565b6000602082840312156119b957600080fd5b81516114cf816114d6565b6000602082840312156119d657600080fd5b5051919050565b600181811c908216806119f157607f821691505b602082108103611a1157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a2957600080fd5b81516114cf816116fe565b805164ffffffffff811681146114f957600080fd5b60006020808385031215611a5c57600080fd5b825167ffffffffffffffff80821115611a7457600080fd5b9084019060408287031215611a8857600080fd5b611a906116aa565b825182811115611a9f57600080fd5b8301601f81018813611ab057600080fd5b805183811115611ac257611ac261166b565b8060051b9350611ad38685016116cd565b818152938201860193868101908a861115611aed57600080fd5b928701925b85841015611b175783519250611b0783611634565b8282529287019290870190611af2565b845250611b28915050838501611a34565b848201528094505050505092915050565b6001600160a01b03848116825283166020820152606060408201819052600090611b6590830184611558565b95945050505050565b601f821115611bb857600081815260208120601f850160051c81016020861015611b955750805b601f850160051c820191505b81811015611bb457828155600101611ba1565b5050505b505050565b815167ffffffffffffffff811115611bd757611bd761166b565b611beb81611be584546119dd565b84611b6e565b602080601f831160018114611c205760008415611c085750858301515b600019600386901b1c1916600185901b178555611bb4565b600085815260208120601f198616915b82811015611c4f57888601518255948401946001909101908401611c30565b5085821015611c6d5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220f220e2c89658dc632166d048fe769da7129710e2a8145a21b3488468e85aa8bc64736f6c63430008140033",
212
766
  "linkReferences": {
213
767
  "contracts/types/NftId.sol": {
214
768
  "NftIdLib": [
215
769
  {
216
770
  "length": 20,
217
- "start": 1373
771
+ "start": 5028
218
772
  },
219
773
  {
220
774
  "length": 20,
221
- "start": 2077
775
+ "start": 5493
222
776
  },
223
777
  {
224
778
  "length": 20,
225
- "start": 3114
779
+ "start": 6989
226
780
  },
227
781
  {
228
782
  "length": 20,
229
- "start": 3399
783
+ "start": 8625
784
+ }
785
+ ]
786
+ },
787
+ "contracts/types/ObjectType.sol": {
788
+ "ObjectTypeLib": [
789
+ {
790
+ "length": 20,
791
+ "start": 7574
230
792
  }
231
793
  ]
232
794
  }
@@ -236,19 +798,27 @@
236
798
  "NftIdLib": [
237
799
  {
238
800
  "length": 20,
239
- "start": 1341
801
+ "start": 1283
240
802
  },
241
803
  {
242
804
  "length": 20,
243
- "start": 2045
805
+ "start": 1748
244
806
  },
245
807
  {
246
808
  "length": 20,
247
- "start": 3082
809
+ "start": 3244
248
810
  },
249
811
  {
250
812
  "length": 20,
251
- "start": 3367
813
+ "start": 4880
814
+ }
815
+ ]
816
+ },
817
+ "contracts/types/ObjectType.sol": {
818
+ "ObjectTypeLib": [
819
+ {
820
+ "length": 20,
821
+ "start": 3829
252
822
  }
253
823
  ]
254
824
  }