@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-ff8087d-237

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/README.md +359 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +727 -33
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1376 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1095 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +861 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1281 -69
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1064 -79
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2365 -529
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2965 -581
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1099 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1283 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1847 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +816 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +730 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1059 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +442 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1622 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +784 -0
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +559 -74
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +646 -77
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +339 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.json +488 -0
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +370 -0
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +588 -0
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  180. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  182. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  184. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  186. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.json +312 -0
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +166 -0
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  202. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  210. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  212. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  214. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +280 -0
  216. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  218. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  220. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  222. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  224. package/contracts/components/Component.sol +250 -40
  225. package/contracts/components/Distribution.sol +285 -0
  226. package/contracts/components/IComponent.sol +90 -0
  227. package/contracts/components/IDistributionComponent.sol +71 -0
  228. package/contracts/components/IPoolComponent.sol +114 -0
  229. package/contracts/components/IProductComponent.sol +41 -0
  230. package/contracts/components/Pool.sol +291 -18
  231. package/contracts/components/Product.sol +340 -33
  232. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  233. package/contracts/instance/BundleManager.sol +126 -0
  234. package/contracts/instance/Cloneable.sol +51 -0
  235. package/contracts/instance/IInstance.sol +99 -15
  236. package/contracts/instance/IInstanceService.sol +63 -0
  237. package/contracts/instance/Instance.sol +297 -42
  238. package/contracts/instance/InstanceAccessManager.sol +527 -0
  239. package/contracts/instance/InstanceReader.sol +366 -0
  240. package/contracts/instance/InstanceService.sol +484 -0
  241. package/contracts/instance/InstanceServiceManager.sol +54 -0
  242. package/contracts/instance/ObjectManager.sol +82 -0
  243. package/contracts/instance/base/ComponentService.sol +130 -0
  244. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  245. package/contracts/instance/base/ILifecycle.sol +30 -0
  246. package/contracts/instance/base/KeyValueStore.sol +149 -0
  247. package/contracts/instance/base/Lifecycle.sol +120 -0
  248. package/contracts/instance/module/IAccess.sol +54 -0
  249. package/contracts/instance/module/IBundle.sol +23 -0
  250. package/contracts/instance/module/IComponents.sol +41 -0
  251. package/contracts/instance/module/IDistribution.sol +42 -0
  252. package/contracts/instance/module/IPolicy.sol +77 -0
  253. package/contracts/instance/module/IRisk.sol +11 -0
  254. package/contracts/instance/module/ISetup.sol +33 -0
  255. package/contracts/instance/module/ITreasury.sol +23 -0
  256. package/contracts/instance/service/ApplicationService.sol +356 -0
  257. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  258. package/contracts/instance/service/BundleService.sol +385 -0
  259. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  260. package/contracts/instance/service/ClaimService.sol +443 -0
  261. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  262. package/contracts/instance/service/DistributionService.sol +432 -0
  263. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  264. package/contracts/instance/service/IApplicationService.sol +79 -0
  265. package/contracts/instance/service/IBundleService.sol +118 -0
  266. package/contracts/instance/service/IClaimService.sol +90 -0
  267. package/contracts/instance/service/IDistributionService.sol +101 -0
  268. package/contracts/instance/service/IPolicyService.sol +80 -0
  269. package/contracts/instance/service/IPoolService.sol +114 -0
  270. package/contracts/instance/service/IProductService.sol +40 -0
  271. package/contracts/instance/service/PolicyService.sol +372 -0
  272. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  273. package/contracts/instance/service/PoolService.sol +403 -0
  274. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  275. package/contracts/instance/service/ProductService.sol +210 -0
  276. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  277. package/contracts/registry/ChainNft.sol +210 -0
  278. package/contracts/registry/IRegistry.sol +87 -52
  279. package/contracts/registry/IRegistryService.sol +66 -0
  280. package/contracts/registry/ITransferInterceptor.sol +7 -0
  281. package/contracts/registry/Registry.sol +399 -129
  282. package/contracts/registry/RegistryAccessManager.sol +216 -0
  283. package/contracts/registry/RegistryService.sol +282 -0
  284. package/contracts/registry/RegistryServiceManager.sol +62 -0
  285. package/contracts/registry/ReleaseManager.sol +324 -0
  286. package/contracts/registry/TokenRegistry.sol +116 -0
  287. package/contracts/shared/ContractDeployerLib.sol +72 -0
  288. package/contracts/shared/ERC165.sol +27 -0
  289. package/contracts/shared/INftOwnable.sol +23 -0
  290. package/contracts/shared/IPolicyHolder.sol +40 -0
  291. package/contracts/shared/IRegisterable.sol +15 -0
  292. package/contracts/shared/IRegistryLinked.sol +11 -0
  293. package/contracts/shared/IService.sol +18 -0
  294. package/contracts/shared/IVersionable.sol +53 -0
  295. package/contracts/shared/NftOwnable.sol +118 -0
  296. package/contracts/shared/PolicyHolder.sol +94 -0
  297. package/contracts/shared/ProxyManager.sol +169 -0
  298. package/contracts/shared/Registerable.sol +75 -0
  299. package/contracts/shared/RegistryLinked.sol +43 -0
  300. package/contracts/shared/Service.sol +72 -0
  301. package/contracts/shared/TokenHandler.sol +35 -0
  302. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  303. package/contracts/shared/Versionable.sol +59 -0
  304. package/contracts/test/TestFee.sol +25 -0
  305. package/contracts/test/TestRegisterable.sol +18 -0
  306. package/contracts/test/TestRoleId.sol +14 -0
  307. package/contracts/test/TestService.sol +25 -0
  308. package/contracts/test/TestToken.sol +26 -0
  309. package/contracts/test/TestVersion.sol +44 -0
  310. package/contracts/test/TestVersionable.sol +17 -0
  311. package/contracts/test/Usdc.sol +26 -0
  312. package/contracts/types/AddressSet.sol +58 -0
  313. package/contracts/types/Amount.sol +109 -0
  314. package/contracts/types/Blocknumber.sol +119 -0
  315. package/contracts/types/ChainId.sol +38 -0
  316. package/contracts/types/ClaimId.sol +75 -0
  317. package/contracts/types/DistributorType.sol +55 -0
  318. package/contracts/types/Fee.sol +65 -0
  319. package/contracts/types/Key32.sol +50 -0
  320. package/contracts/types/NftId.sol +80 -0
  321. package/contracts/types/NftIdSet.sol +62 -0
  322. package/contracts/types/NumberId.sol +52 -0
  323. package/contracts/types/ObjectType.sol +157 -0
  324. package/contracts/types/PayoutId.sol +82 -0
  325. package/contracts/types/Referral.sol +89 -0
  326. package/contracts/types/RiskId.sol +43 -0
  327. package/contracts/types/RoleId.sol +97 -0
  328. package/contracts/types/Seconds.sol +54 -0
  329. package/contracts/types/StateId.sol +110 -0
  330. package/contracts/types/Timestamp.sol +132 -0
  331. package/contracts/types/UFixed.sol +326 -0
  332. package/contracts/types/Version.sol +108 -0
  333. package/package.json +21 -6
  334. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  335. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  336. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  337. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  338. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  339. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  340. package/artifacts/contracts/experiment/A.sol/A.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/A.sol/A.json +0 -128
  342. package/artifacts/contracts/experiment/A.sol/AShared.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/A.sol/AShared.json +0 -42
  344. package/artifacts/contracts/experiment/B.sol/B.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/B.sol/B.json +0 -76
  346. package/artifacts/contracts/experiment/C.sol/C.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/C.sol/C.json +0 -89
  348. package/artifacts/contracts/experiment/IA.sol/IA.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/IA.sol/IA.json +0 -128
  350. package/artifacts/contracts/experiment/IA.sol/ISharedA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/IA.sol/ISharedA.json +0 -37
  352. package/artifacts/contracts/experiment/IB.sol/IB.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/IB.sol/IB.json +0 -50
  354. package/artifacts/contracts/experiment/IC.sol/IC.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/IC.sol/IC.json +0 -63
  356. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  358. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  359. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  361. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  362. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  364. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  366. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  367. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  368. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  369. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  370. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  371. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  373. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  375. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  376. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  377. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  378. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  380. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  382. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  383. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  385. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  387. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  389. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  390. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  391. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  393. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  394. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  395. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  396. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  397. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  398. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  399. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  400. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  401. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  402. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  403. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  404. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  405. package/contracts/components/IPool.sol +0 -9
  406. package/contracts/components/IProduct.sol +0 -11
  407. package/contracts/experiment/A.sol +0 -56
  408. package/contracts/experiment/B.sol +0 -23
  409. package/contracts/experiment/C.sol +0 -28
  410. package/contracts/experiment/IA.sol +0 -18
  411. package/contracts/experiment/IB.sol +0 -9
  412. package/contracts/experiment/IC.sol +0 -11
  413. package/contracts/instance/access/Access.sol +0 -218
  414. package/contracts/instance/access/IAccess.sol +0 -83
  415. package/contracts/instance/component/ComponentModule.sol +0 -259
  416. package/contracts/instance/component/IComponent.sol +0 -94
  417. package/contracts/instance/policy/IPolicy.sol +0 -66
  418. package/contracts/instance/policy/PolicyModule.sol +0 -106
  419. package/contracts/instance/pool/IPoolModule.sol +0 -40
  420. package/contracts/instance/pool/PoolModule.sol +0 -83
  421. package/contracts/instance/product/IProductService.sol +0 -45
  422. package/contracts/instance/product/ProductService.sol +0 -105
@@ -10,33 +10,158 @@
10
10
  },
11
11
  {
12
12
  "inputs": [],
13
- "name": "BUNDLE",
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
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "EMPTY_URI",
14
139
  "outputs": [
15
140
  {
16
- "internalType": "uint256",
141
+ "internalType": "string",
17
142
  "name": "",
18
- "type": "uint256"
143
+ "type": "string"
19
144
  }
20
145
  ],
21
- "stateMutability": "pure",
146
+ "stateMutability": "view",
22
147
  "type": "function"
23
148
  },
24
149
  {
25
150
  "inputs": [],
26
- "name": "INSTANCE",
151
+ "name": "NFT_LOCK_ADDRESS",
27
152
  "outputs": [
28
153
  {
29
- "internalType": "uint256",
154
+ "internalType": "address",
30
155
  "name": "",
31
- "type": "uint256"
156
+ "type": "address"
32
157
  }
33
158
  ],
34
- "stateMutability": "pure",
159
+ "stateMutability": "view",
35
160
  "type": "function"
36
161
  },
37
162
  {
38
163
  "inputs": [],
39
- "name": "ORACLE",
164
+ "name": "REGISTRY_TOKEN_SEQUENCE_ID",
40
165
  "outputs": [
41
166
  {
42
167
  "internalType": "uint256",
@@ -44,87 +169,137 @@
44
169
  "type": "uint256"
45
170
  }
46
171
  ],
47
- "stateMutability": "pure",
172
+ "stateMutability": "view",
48
173
  "type": "function"
49
174
  },
50
175
  {
51
176
  "inputs": [],
52
- "name": "POLICY",
177
+ "name": "getChainNftAddress",
53
178
  "outputs": [
54
179
  {
55
- "internalType": "uint256",
180
+ "internalType": "address",
56
181
  "name": "",
57
- "type": "uint256"
182
+ "type": "address"
58
183
  }
59
184
  ],
60
- "stateMutability": "pure",
185
+ "stateMutability": "view",
61
186
  "type": "function"
62
187
  },
63
188
  {
64
189
  "inputs": [],
65
- "name": "POOL",
190
+ "name": "getInitialVersion",
66
191
  "outputs": [
67
192
  {
68
- "internalType": "uint256",
193
+ "internalType": "VersionPart",
69
194
  "name": "",
70
- "type": "uint256"
195
+ "type": "uint8"
71
196
  }
72
197
  ],
73
- "stateMutability": "pure",
198
+ "stateMutability": "view",
74
199
  "type": "function"
75
200
  },
76
201
  {
77
202
  "inputs": [],
78
- "name": "PRODUCT",
203
+ "name": "getLatestVersion",
79
204
  "outputs": [
80
205
  {
81
- "internalType": "uint256",
206
+ "internalType": "VersionPart",
82
207
  "name": "",
83
- "type": "uint256"
208
+ "type": "uint8"
84
209
  }
85
210
  ],
86
- "stateMutability": "pure",
211
+ "stateMutability": "view",
87
212
  "type": "function"
88
213
  },
89
214
  {
90
215
  "inputs": [],
91
- "name": "TOKEN",
216
+ "name": "getNextVersion",
92
217
  "outputs": [
93
218
  {
94
- "internalType": "uint256",
219
+ "internalType": "VersionPart",
95
220
  "name": "",
96
- "type": "uint256"
221
+ "type": "uint8"
97
222
  }
98
223
  ],
99
- "stateMutability": "pure",
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",
100
238
  "type": "function"
101
239
  },
102
240
  {
103
241
  "inputs": [
104
242
  {
105
- "internalType": "uint256",
243
+ "internalType": "address",
244
+ "name": "object",
245
+ "type": "address"
246
+ }
247
+ ],
248
+ "name": "getNftId",
249
+ "outputs": [
250
+ {
251
+ "internalType": "NftId",
106
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": "",
107
266
  "type": "uint256"
108
267
  }
109
268
  ],
110
- "name": "getInfo",
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",
111
281
  "outputs": [
112
282
  {
113
283
  "components": [
114
284
  {
115
- "internalType": "uint256",
285
+ "internalType": "NftId",
116
286
  "name": "nftId",
117
- "type": "uint256"
287
+ "type": "uint96"
118
288
  },
119
289
  {
120
- "internalType": "uint256",
290
+ "internalType": "NftId",
121
291
  "name": "parentNftId",
122
- "type": "uint256"
292
+ "type": "uint96"
123
293
  },
124
294
  {
125
- "internalType": "uint256",
295
+ "internalType": "ObjectType",
126
296
  "name": "objectType",
127
- "type": "uint256"
297
+ "type": "uint8"
298
+ },
299
+ {
300
+ "internalType": "bool",
301
+ "name": "isInterceptor",
302
+ "type": "bool"
128
303
  },
129
304
  {
130
305
  "internalType": "address",
@@ -135,10 +310,15 @@
135
310
  "internalType": "address",
136
311
  "name": "initialOwner",
137
312
  "type": "address"
313
+ },
314
+ {
315
+ "internalType": "bytes",
316
+ "name": "data",
317
+ "type": "bytes"
138
318
  }
139
319
  ],
140
- "internalType": "struct IRegistry.RegistryInfo",
141
- "name": "info",
320
+ "internalType": "struct IRegistry.ObjectInfo",
321
+ "name": "",
142
322
  "type": "tuple"
143
323
  }
144
324
  ],
@@ -147,18 +327,99 @@
147
327
  },
148
328
  {
149
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": [
150
388
  {
151
389
  "internalType": "address",
152
- "name": "object",
390
+ "name": "owner",
153
391
  "type": "address"
154
392
  }
155
393
  ],
156
- "name": "getNftId",
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [
399
+ {
400
+ "internalType": "VersionPart",
401
+ "name": "version",
402
+ "type": "uint8"
403
+ }
404
+ ],
405
+ "name": "getReleaseInfo",
157
406
  "outputs": [
158
407
  {
159
- "internalType": "uint256",
160
- "name": "id",
161
- "type": "uint256"
408
+ "components": [
409
+ {
410
+ "internalType": "ObjectType[]",
411
+ "name": "domains",
412
+ "type": "uint8[]"
413
+ },
414
+ {
415
+ "internalType": "Timestamp",
416
+ "name": "createdAt",
417
+ "type": "uint40"
418
+ }
419
+ ],
420
+ "internalType": "struct IRegistry.ReleaseInfo",
421
+ "name": "",
422
+ "type": "tuple"
162
423
  }
163
424
  ],
164
425
  "stateMutability": "view",
@@ -166,12 +427,12 @@
166
427
  },
167
428
  {
168
429
  "inputs": [],
169
- "name": "getObjectCount",
430
+ "name": "getReleaseManagerAddress",
170
431
  "outputs": [
171
432
  {
172
- "internalType": "uint256",
433
+ "internalType": "address",
173
434
  "name": "",
174
- "type": "uint256"
435
+ "type": "address"
175
436
  }
176
437
  ],
177
438
  "stateMutability": "view",
@@ -180,16 +441,21 @@
180
441
  {
181
442
  "inputs": [
182
443
  {
183
- "internalType": "uint256",
184
- "name": "id",
185
- "type": "uint256"
444
+ "internalType": "ObjectType",
445
+ "name": "serviceDomain",
446
+ "type": "uint8"
447
+ },
448
+ {
449
+ "internalType": "VersionPart",
450
+ "name": "releaseVersion",
451
+ "type": "uint8"
186
452
  }
187
453
  ],
188
- "name": "getOwner",
454
+ "name": "getServiceAddress",
189
455
  "outputs": [
190
456
  {
191
457
  "internalType": "address",
192
- "name": "",
458
+ "name": "service",
193
459
  "type": "address"
194
460
  }
195
461
  ],
@@ -215,20 +481,171 @@
215
481
  "stateMutability": "view",
216
482
  "type": "function"
217
483
  },
484
+ {
485
+ "inputs": [
486
+ {
487
+ "internalType": "NftId",
488
+ "name": "nftId",
489
+ "type": "uint96"
490
+ }
491
+ ],
492
+ "name": "isRegistered",
493
+ "outputs": [
494
+ {
495
+ "internalType": "bool",
496
+ "name": "",
497
+ "type": "bool"
498
+ }
499
+ ],
500
+ "stateMutability": "view",
501
+ "type": "function"
502
+ },
218
503
  {
219
504
  "inputs": [
220
505
  {
221
506
  "internalType": "address",
222
- "name": "objectAddress",
507
+ "name": "object",
508
+ "type": "address"
509
+ }
510
+ ],
511
+ "name": "isRegisteredComponent",
512
+ "outputs": [
513
+ {
514
+ "internalType": "bool",
515
+ "name": "",
516
+ "type": "bool"
517
+ }
518
+ ],
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "object",
527
+ "type": "address"
528
+ }
529
+ ],
530
+ "name": "isRegisteredService",
531
+ "outputs": [
532
+ {
533
+ "internalType": "bool",
534
+ "name": "",
535
+ "type": "bool"
536
+ }
537
+ ],
538
+ "stateMutability": "view",
539
+ "type": "function"
540
+ },
541
+ {
542
+ "inputs": [
543
+ {
544
+ "internalType": "VersionPart",
545
+ "name": "version",
546
+ "type": "uint8"
547
+ }
548
+ ],
549
+ "name": "isValidRelease",
550
+ "outputs": [
551
+ {
552
+ "internalType": "bool",
553
+ "name": "",
554
+ "type": "bool"
555
+ }
556
+ ],
557
+ "stateMutability": "view",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [
562
+ {
563
+ "internalType": "address",
564
+ "name": "contractAddress",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "name": "ownerOf",
569
+ "outputs": [
570
+ {
571
+ "internalType": "address",
572
+ "name": "",
573
+ "type": "address"
574
+ }
575
+ ],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "NftId",
583
+ "name": "nftId",
584
+ "type": "uint96"
585
+ }
586
+ ],
587
+ "name": "ownerOf",
588
+ "outputs": [
589
+ {
590
+ "internalType": "address",
591
+ "name": "",
223
592
  "type": "address"
224
593
  }
225
594
  ],
595
+ "stateMutability": "view",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "components": [
602
+ {
603
+ "internalType": "NftId",
604
+ "name": "nftId",
605
+ "type": "uint96"
606
+ },
607
+ {
608
+ "internalType": "NftId",
609
+ "name": "parentNftId",
610
+ "type": "uint96"
611
+ },
612
+ {
613
+ "internalType": "ObjectType",
614
+ "name": "objectType",
615
+ "type": "uint8"
616
+ },
617
+ {
618
+ "internalType": "bool",
619
+ "name": "isInterceptor",
620
+ "type": "bool"
621
+ },
622
+ {
623
+ "internalType": "address",
624
+ "name": "objectAddress",
625
+ "type": "address"
626
+ },
627
+ {
628
+ "internalType": "address",
629
+ "name": "initialOwner",
630
+ "type": "address"
631
+ },
632
+ {
633
+ "internalType": "bytes",
634
+ "name": "data",
635
+ "type": "bytes"
636
+ }
637
+ ],
638
+ "internalType": "struct IRegistry.ObjectInfo",
639
+ "name": "info",
640
+ "type": "tuple"
641
+ }
642
+ ],
226
643
  "name": "register",
227
644
  "outputs": [
228
645
  {
229
- "internalType": "uint256",
646
+ "internalType": "NftId",
230
647
  "name": "nftId",
231
- "type": "uint256"
648
+ "type": "uint96"
232
649
  }
233
650
  ],
234
651
  "stateMutability": "nonpayable",
@@ -237,27 +654,64 @@
237
654
  {
238
655
  "inputs": [
239
656
  {
240
- "internalType": "uint256",
241
- "name": "parentNftId",
242
- "type": "uint256"
657
+ "components": [
658
+ {
659
+ "internalType": "NftId",
660
+ "name": "nftId",
661
+ "type": "uint96"
662
+ },
663
+ {
664
+ "internalType": "NftId",
665
+ "name": "parentNftId",
666
+ "type": "uint96"
667
+ },
668
+ {
669
+ "internalType": "ObjectType",
670
+ "name": "objectType",
671
+ "type": "uint8"
672
+ },
673
+ {
674
+ "internalType": "bool",
675
+ "name": "isInterceptor",
676
+ "type": "bool"
677
+ },
678
+ {
679
+ "internalType": "address",
680
+ "name": "objectAddress",
681
+ "type": "address"
682
+ },
683
+ {
684
+ "internalType": "address",
685
+ "name": "initialOwner",
686
+ "type": "address"
687
+ },
688
+ {
689
+ "internalType": "bytes",
690
+ "name": "data",
691
+ "type": "bytes"
692
+ }
693
+ ],
694
+ "internalType": "struct IRegistry.ObjectInfo",
695
+ "name": "info",
696
+ "type": "tuple"
243
697
  },
244
698
  {
245
- "internalType": "uint256",
246
- "name": "objectType",
247
- "type": "uint256"
699
+ "internalType": "VersionPart",
700
+ "name": "version",
701
+ "type": "uint8"
248
702
  },
249
703
  {
250
- "internalType": "address",
251
- "name": "initialOwner",
252
- "type": "address"
704
+ "internalType": "ObjectType",
705
+ "name": "domain",
706
+ "type": "uint8"
253
707
  }
254
708
  ],
255
- "name": "registerObjectForInstance",
709
+ "name": "registerService",
256
710
  "outputs": [
257
711
  {
258
- "internalType": "uint256",
712
+ "internalType": "NftId",
259
713
  "name": "nftId",
260
- "type": "uint256"
714
+ "type": "uint96"
261
715
  }
262
716
  ],
263
717
  "stateMutability": "nonpayable",
@@ -266,24 +720,139 @@
266
720
  {
267
721
  "inputs": [
268
722
  {
269
- "internalType": "uint256",
270
- "name": "id",
271
- "type": "uint256"
272
- },
723
+ "components": [
724
+ {
725
+ "internalType": "NftId",
726
+ "name": "nftId",
727
+ "type": "uint96"
728
+ },
729
+ {
730
+ "internalType": "NftId",
731
+ "name": "parentNftId",
732
+ "type": "uint96"
733
+ },
734
+ {
735
+ "internalType": "ObjectType",
736
+ "name": "objectType",
737
+ "type": "uint8"
738
+ },
739
+ {
740
+ "internalType": "bool",
741
+ "name": "isInterceptor",
742
+ "type": "bool"
743
+ },
744
+ {
745
+ "internalType": "address",
746
+ "name": "objectAddress",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "address",
751
+ "name": "initialOwner",
752
+ "type": "address"
753
+ },
754
+ {
755
+ "internalType": "bytes",
756
+ "name": "data",
757
+ "type": "bytes"
758
+ }
759
+ ],
760
+ "internalType": "struct IRegistry.ObjectInfo",
761
+ "name": "info",
762
+ "type": "tuple"
763
+ }
764
+ ],
765
+ "name": "registerWithCustomType",
766
+ "outputs": [
273
767
  {
274
- "internalType": "address",
275
- "name": "newOwner",
276
- "type": "address"
768
+ "internalType": "NftId",
769
+ "name": "nftId",
770
+ "type": "uint96"
277
771
  }
278
772
  ],
279
- "name": "transfer",
280
- "outputs": [],
281
773
  "stateMutability": "nonpayable",
282
774
  "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "bytes4",
780
+ "name": "interfaceId",
781
+ "type": "bytes4"
782
+ }
783
+ ],
784
+ "name": "supportsInterface",
785
+ "outputs": [
786
+ {
787
+ "internalType": "bool",
788
+ "name": "",
789
+ "type": "bool"
790
+ }
791
+ ],
792
+ "stateMutability": "pure",
793
+ "type": "function"
283
794
  }
284
795
  ],
285
- "bytecode": "0x608060405234801561001057600080fd5b506000600481905550611596806100286000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806382bfefc811610097578063c41a360a11610066578063c41a360a1461028a578063d15db8b4146102ba578063d272ac1e146102d8578063dadbccee14610308576100f5565b806382bfefc8146101f0578063ab10b8ec1461020e578063b7760c8f1461023e578063c3c5a5471461025a576100f5565b806338013f02116100d357806338013f02146101665780634420e4861461018457806353bed7c3146101b45780637535d246146101d2576100f5565b80631a3cd59a146100fa5780631a848cfb1461012a57806325425a9114610148575b600080fd5b610114600480360381019061010f9190610f69565b610326565b604051610121919061104e565b60405180910390f35b61013261041c565b60405161013f9190611078565b60405180910390f35b610150610429565b60405161015d9190611078565b60405180910390f35b61016e610432565b60405161017b9190611078565b60405180910390f35b61019e600480360381019061019991906110bf565b61043b565b6040516101ab9190611078565b60405180910390f35b6101bc610ab6565b6040516101c99190611078565b60405180910390f35b6101da610abf565b6040516101e79190611078565b60405180910390f35b6101f8610ac8565b6040516102059190611078565b60405180910390f35b610228600480360381019061022391906110ec565b610ad1565b6040516102359190611078565b60405180910390f35b6102586004803603810190610253919061113f565b610c5a565b005b610274600480360381019061026f91906110bf565b610d51565b604051610281919061119a565b60405180910390f35b6102a4600480360381019061029f9190610f69565b610d9c565b6040516102b191906111c4565b60405180910390f35b6102c2610dd9565b6040516102cf9190611078565b60405180910390f35b6102f260048036038101906102ed91906110bf565b610de2565b6040516102ff9190611078565b60405180910390f35b610310610e2b565b60405161031d9190611078565b60405180910390f35b61032e610ed3565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600380549050905090565b60006032905090565b6000603c905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146104be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b59061123c565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190611288565b610571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056890611301565b60405180910390fd5b610579610dd9565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190611336565b1461078f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190611336565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161078d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610784906113af565b60405180910390fd5b505b6108068173ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080191906113e4565b610e34565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611336565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190611336565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906113e4565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610adb610e2b565b831480610aee5750610aeb610ab6565b83145b610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b249061145d565b60405180910390fd5b610b3682610e34565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf2906114c9565b60405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b60006001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b600060046000815480929190610e4990611518565b91905055506004549050816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003819080600181540180825580915050600190039060005260206000200160009091909190915055919050565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b610f4681610f33565b8114610f5157600080fd5b50565b600081359050610f6381610f3d565b92915050565b600060208284031215610f7f57610f7e610f2e565b5b6000610f8d84828501610f54565b91505092915050565b610f9f81610f33565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fd082610fa5565b9050919050565b610fe081610fc5565b82525050565b60a082016000820151610ffc6000850182610f96565b50602082015161100f6020850182610f96565b5060408201516110226040850182610f96565b5060608201516110356060850182610fd7565b5060808201516110486080850182610fd7565b50505050565b600060a0820190506110636000830184610fe6565b92915050565b61107281610f33565b82525050565b600060208201905061108d6000830184611069565b92915050565b61109c81610fc5565b81146110a757600080fd5b50565b6000813590506110b981611093565b92915050565b6000602082840312156110d5576110d4610f2e565b5b60006110e3848285016110aa565b91505092915050565b60008060006060848603121561110557611104610f2e565b5b600061111386828701610f54565b935050602061112486828701610f54565b9250506040611135868287016110aa565b9150509250925092565b6000806040838503121561115657611155610f2e565b5b600061116485828601610f54565b9250506020611175858286016110aa565b9150509250929050565b60008115159050919050565b6111948161117f565b82525050565b60006020820190506111af600083018461118b565b92915050565b6111be81610fc5565b82525050565b60006020820190506111d960008301846111b5565b92915050565b600082825260208201905092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006112266020836111df565b9150611231826111f0565b602082019050919050565b6000602082019050818103600083015261125581611219565b9050919050565b6112658161117f565b811461127057600080fd5b50565b6000815190506112828161125c565b92915050565b60006020828403121561129e5761129d610f2e565b5b60006112ac84828501611273565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b60006112eb601e836111df565b91506112f6826112b5565b602082019050919050565b6000602082019050818103600083015261131a816112de565b9050919050565b60008151905061133081610f3d565b92915050565b60006020828403121561134c5761134b610f2e565b5b600061135a84828501611321565b91505092915050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611399601e836111df565b91506113a482611363565b602082019050919050565b600060208201905081810360008301526113c88161138c565b9050919050565b6000815190506113de81611093565b92915050565b6000602082840312156113fa576113f9610f2e565b5b6000611408848285016113cf565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611447601a836111df565b915061145282611411565b602082019050919050565b600060208201905081810360008301526114768161143a565b9050919050565b7f4552524f523a5245472d3031303a4e4f545f4f574e4552000000000000000000600082015250565b60006114b36017836111df565b91506114be8261147d565b602082019050919050565b600060208201905081810360008301526114e2816114a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061152382610f33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611555576115546114e9565b5b60018201905091905056fea26469706673582212203fde97cde480e7aab92fcfa885a1fe75694f7308dda0d145a1b0f71b6a14c3c664736f6c63430008140033",
286
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806382bfefc811610097578063c41a360a11610066578063c41a360a1461028a578063d15db8b4146102ba578063d272ac1e146102d8578063dadbccee14610308576100f5565b806382bfefc8146101f0578063ab10b8ec1461020e578063b7760c8f1461023e578063c3c5a5471461025a576100f5565b806338013f02116100d357806338013f02146101665780634420e4861461018457806353bed7c3146101b45780637535d246146101d2576100f5565b80631a3cd59a146100fa5780631a848cfb1461012a57806325425a9114610148575b600080fd5b610114600480360381019061010f9190610f69565b610326565b604051610121919061104e565b60405180910390f35b61013261041c565b60405161013f9190611078565b60405180910390f35b610150610429565b60405161015d9190611078565b60405180910390f35b61016e610432565b60405161017b9190611078565b60405180910390f35b61019e600480360381019061019991906110bf565b61043b565b6040516101ab9190611078565b60405180910390f35b6101bc610ab6565b6040516101c99190611078565b60405180910390f35b6101da610abf565b6040516101e79190611078565b60405180910390f35b6101f8610ac8565b6040516102059190611078565b60405180910390f35b610228600480360381019061022391906110ec565b610ad1565b6040516102359190611078565b60405180910390f35b6102586004803603810190610253919061113f565b610c5a565b005b610274600480360381019061026f91906110bf565b610d51565b604051610281919061119a565b60405180910390f35b6102a4600480360381019061029f9190610f69565b610d9c565b6040516102b191906111c4565b60405180910390f35b6102c2610dd9565b6040516102cf9190611078565b60405180910390f35b6102f260048036038101906102ed91906110bf565b610de2565b6040516102ff9190611078565b60405180910390f35b610310610e2b565b60405161031d9190611078565b60405180910390f35b61032e610ed3565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600380549050905090565b60006032905090565b6000603c905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146104be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b59061123c565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190611288565b610571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056890611301565b60405180910390fd5b610579610dd9565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190611336565b1461078f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190611336565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161078d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610784906113af565b60405180910390fd5b505b6108068173ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080191906113e4565b610e34565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611336565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190611336565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906113e4565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610adb610e2b565b831480610aee5750610aeb610ab6565b83145b610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b249061145d565b60405180910390fd5b610b3682610e34565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf2906114c9565b60405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b60006001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b600060046000815480929190610e4990611518565b91905055506004549050816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003819080600181540180825580915050600190039060005260206000200160009091909190915055919050565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b610f4681610f33565b8114610f5157600080fd5b50565b600081359050610f6381610f3d565b92915050565b600060208284031215610f7f57610f7e610f2e565b5b6000610f8d84828501610f54565b91505092915050565b610f9f81610f33565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fd082610fa5565b9050919050565b610fe081610fc5565b82525050565b60a082016000820151610ffc6000850182610f96565b50602082015161100f6020850182610f96565b5060408201516110226040850182610f96565b5060608201516110356060850182610fd7565b5060808201516110486080850182610fd7565b50505050565b600060a0820190506110636000830184610fe6565b92915050565b61107281610f33565b82525050565b600060208201905061108d6000830184611069565b92915050565b61109c81610fc5565b81146110a757600080fd5b50565b6000813590506110b981611093565b92915050565b6000602082840312156110d5576110d4610f2e565b5b60006110e3848285016110aa565b91505092915050565b60008060006060848603121561110557611104610f2e565b5b600061111386828701610f54565b935050602061112486828701610f54565b9250506040611135868287016110aa565b9150509250925092565b6000806040838503121561115657611155610f2e565b5b600061116485828601610f54565b9250506020611175858286016110aa565b9150509250929050565b60008115159050919050565b6111948161117f565b82525050565b60006020820190506111af600083018461118b565b92915050565b6111be81610fc5565b82525050565b60006020820190506111d960008301846111b5565b92915050565b600082825260208201905092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006112266020836111df565b9150611231826111f0565b602082019050919050565b6000602082019050818103600083015261125581611219565b9050919050565b6112658161117f565b811461127057600080fd5b50565b6000815190506112828161125c565b92915050565b60006020828403121561129e5761129d610f2e565b5b60006112ac84828501611273565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b60006112eb601e836111df565b91506112f6826112b5565b602082019050919050565b6000602082019050818103600083015261131a816112de565b9050919050565b60008151905061133081610f3d565b92915050565b60006020828403121561134c5761134b610f2e565b5b600061135a84828501611321565b91505092915050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611399601e836111df565b91506113a482611363565b602082019050919050565b600060208201905081810360008301526113c88161138c565b9050919050565b6000815190506113de81611093565b92915050565b6000602082840312156113fa576113f9610f2e565b5b6000611408848285016113cf565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611447601a836111df565b915061145282611411565b602082019050919050565b600060208201905081810360008301526114768161143a565b9050919050565b7f4552524f523a5245472d3031303a4e4f545f4f574e4552000000000000000000600082015250565b60006114b36017836111df565b91506114be8261147d565b602082019050919050565b600060208201905081810360008301526114e2816114a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061152382610f33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611555576115546114e9565b5b60018201905091905056fea26469706673582212203fde97cde480e7aab92fcfa885a1fe75694f7308dda0d145a1b0f71b6a14c3c664736f6c63430008140033",
287
- "linkReferences": {},
288
- "deployedLinkReferences": {}
796
+ "bytecode": "0x60806040523480156200001157600080fd5b50600780546001600160a01b031916331790556040513090620000349062000ce0565b6001600160a01b039091168152602001604051809103906000f08015801562000061573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b039092169190911790556200009c620000b6565b620000a6620002d8565b620000b062000698565b62000e75565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200010c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000132919062000cee565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528585529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c082015160038201906200025b908262000da9565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620002bb57600080fd5b505af1158015620002d0573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa15801562000333573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000359919062000cee565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003dc919062000cee565b83146200047657620003ed62000bbf565b6200046e6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200046b919062000cee565b90565b9050620004d1565b620004ce6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529584905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b03199182161790915592516002820180549190961693169290921790935591519091906003820190620005df908262000da9565b50503060009081526001602081905260409182902080546001600160601b0387166001600160601b03199182168117909255600680549091169091179081905591516340c10f1960e01b81526004810191909152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200067a57600080fd5b505af11580156200068f573d6000803e3d6000fd5b50505050505050565b7ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce400338054600160ff1991821681179092557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557fdd629e5d55690c61d87bb2283f8033a4ed0c9727f0b3cc897e051f7afda800a580548216831790557f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c516992680548216831790557f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a3880548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa80548216831790557fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f80548216831790557fe7defe1a9ee2663e7f593684ebe15b56452e1fa833a7efa12070ad6443b108198054909116821790556032600090815260046020527feaa72e3626d79eea854e214b64a34b95d0c9348f5b8df0b074d774f7dba83c659062000871602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008a5604690565b60ff1660ff1681526020019081526020016000206000620008cb62000cc760201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008ff606e90565b60ff1660ff16815260200190815260200160002060006200092562000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000959607890565b60ff1660ff16815260200190815260200160002060006200097f62000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620009b3608290565b60ff1660ff1681526020019081526020016000206000620009d962000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000a0d608c90565b60ff1660ff168152602001908152602001600020600062000a3362000ccc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a67607a90565b60ff1660ff168152602001908152602001600020600062000a8d62000cdb60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000ac160d390565b60ff1660ff168152602001908152602001600020600062000ae762000cd160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000b1b60dc90565b60ff1660ff168152602001908152602001600020600062000b4162000cd660201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000b75605090565b60ff1660ff168152602001908152602001600020600062000b9b62000cd660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c15573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c3b919062000cee565b905060008190506040518060e00160405280826001600160601b0316815260200162000cb46006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000445573d6000803e3d6000fd5b6001600160601b031681526020016200015a5b602890565b604690565b606e90565b608c90565b607890565b611ed48062002ca683390190565b60006020828403121562000d0157600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000d3357607f821691505b60208210810362000d5457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000da457600081815260208120601f850160051c8101602086101562000d835750805b601f850160051c820191505b81811015620002d05782815560010162000d8f565b505050565b81516001600160401b0381111562000dc55762000dc562000d08565b62000ddd8162000dd6845462000d1e565b8462000d5a565b602080601f83116001811462000e15576000841562000dfc5750858301515b600019600386901b1c1916600185901b178555620002d0565b600085815260208120601f198616915b8281101562000e465788860151825594840194600190910190840162000e25565b508582101562000e655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e218062000e856000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063a48f42e0116100f9578063d2213b5b11610097578063e285c9c411610071578063e285c9c4146103ff578063e74d052f14610407578063f40d7c301461041a578063fee11aaf1461042257600080fd5b8063d2213b5b14610370578063d272ac1e14610390578063d39e6043146103c257600080fd5b8063a7050a56116100d3578063a7050a561461032f578063ae8dfb7914610342578063c3c5a5471461034a578063d1982d881461035d57600080fd5b8063a48f42e0146102f6578063a52ec52914610309578063a5df9e4e1461031c57600080fd5b80631a848cfb116101665780633fe9300e116101405780633fe9300e14610286578063644c45e0146102a9578063893d20e8146102ce5780638b09a5f0146102d657600080fd5b80631a848cfb1461024a5780632b91e0a91461026057806338bb429a1461027357600080fd5b806301ffc9a7146101ae5780630e41142e146101d65780630e6d1de9146101f0578063120726c3146101f857806314afd79e1461022457806317dc5e2a14610237575b600080fd5b6101c16101bc366004611604565b610433565b60405190151581526020015b60405180910390f35b6101de610479565b60405160ff90911681526020016101cd565b6101de6104ec565b600654600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020016101cd565b61020c610232366004611656565b610536565b6101c1610245366004611656565b610652565b6102526106bc565b6040519081526020016101cd565b6101c161026e366004611656565b610735565b61020c610281366004611693565b610779565b61029c6040518060200160405280600081525081565b6040516101cd91906116f6565b6006546001600160601b03165b6040516001600160601b0390911681526020016101cd565b61020c6107d6565b6102e96102e4366004611656565b6107e1565b6040516101cd9190611709565b6102e9610304366004611693565b610945565b6101c16103173660046117a6565b610a17565b6102b661032a36600461198d565b610a87565b6102b661033d3660046119c2565b610c39565b610252600281565b6101c1610358366004611656565b610d50565b6102b661036b36600461198d565b610dc3565b61038361037e3660046117a6565b610f12565b6040516101cd9190611a26565b6102b661039e366004611656565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b61020c6103d0366004611a8c565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b61020c600181565b6101c1610415366004611693565b610f98565b6101de610ff2565b6007546001600160a01b031661020c565b60006001600160e01b031982166301ffc9a760e01b148061046457506001600160e01b03198216630a3888e560e31b145b1561047157506001919050565b506000919050565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156104c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e79190611ac5565b905090565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156104c3573d6000803e3d6000fd5b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156105c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e49190611ae2565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610628573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190611aff565b92915050565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b9004909116808352908220546106b590600160c01b900460ff166106aa604690565b60ff90811691161490565b9392505050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e79190611b1c565b6001600160a01b0381166000908152600160209081526040808320546001600160601b031683529082905281205461064c90600160c01b900460ff166106aa603c90565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016105a3565b60006104e730610536565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c0840191906108bc90611b35565b80601f01602080910402602001604051908101604052809291908181526020018280546108e890611b35565b80156109355780601f1061090a57610100808354040283529160200191610935565b820191906000526020600020905b81548152906001019060200180831161091857829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108bc90611b35565b60075460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190611b6f565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610ad0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af49190611b6f565b610b1157604051638fe695a360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b03166000908152908190529190912054600160c01b900460ff16610b4a826106aa603c90565b15610b685760405163b4a7fc9360e01b815260040160405180910390fd5b60808401516001600160a01b0316610bd65760ff8083166000908152600560209081526040808320858516845290915281205490911615159003610bd157604051638880f20760e01b815260ff8084166004830152821660248201526044015b60405180910390fd5b610c28565b60ff8083166000908152600460209081526040808320858516845290915281205490911615159003610c2857604051638880f20760e01b815260ff808416600483015282166024820152604401610bc8565b610c318461103c565b949350505050565b6007546000906001600160a01b03163314610c67576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600260209081526040808320938616835292905220546001600160a01b031615610cbf5760808401516040516353752f3960e11b81526001600160a01b039091166004820152602401610bc8565b608084015160ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610d098461103c565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610a63573d6000803e3d6000fd5b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e309190611b6f565b610e4d57604051638fe695a360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b90048116911615610ea95760405163019f081b60e51b815260040160405180910390fd5b610eb481600a6106aa565b80610ec55750610ec58160286106aa565b80610ed65750610ed681603c6106aa565b15610f0157604051638880f20760e01b815260ff808416600483015282166024820152604401610bc8565b610f0a8461103c565b505050919050565b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610f70573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261064c9190810190611ba1565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610da6565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156104c3573d6000803e3d6000fd5b6040808201516020808401516001600160601b038082166000908152808452858120865160e08101885281548085168252600160601b81049094169581019590955260ff600160c01b8404811697860197909752600160c81b9092049095161515606084015260018101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c08401916110dd90611b35565b80601f016020809104026020016040519081016040528092919081815260200182805461110990611b35565b80156111565780601f1061112b57610100808354040283529160200191611156565b820191906000526020600020905b81548152906001019060200180831161113957829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166111955760405163b0014c0760e01b815260040160405180910390fd5b60006111af886060015189608001518660600151856115c7565b905060006006600c9054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122a9190611b1c565b90508097508789600001906001600160601b031690816001600160601b031681525050886000808a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c082015181600301908161137c9190611ce0565b50505060808901516001600160a01b03161561148d5760808901516001600160a01b038116600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190611b6f565b156114575760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610bc8565b6001600160a01b0316600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a00151604051611514969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a160065460a08a01516040805160208101825260008082529151631109bad360e11b81529193600160601b90046001600160a01b03169263221375a692611566928891600401611da0565b6020604051808303816000875af1158015611585573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a99190611b1c565b90508181146115ba576115ba611dd5565b5050505050505050919050565b60006001600160a01b0384166115ec5782156115e4575080610c31565b506000610c31565b84156115f9575082610c31565b506000949350505050565b60006020828403121561161657600080fd5b81356001600160e01b0319811681146106b557600080fd5b6001600160a01b038116811461164357600080fd5b50565b80356116518161162e565b919050565b60006020828403121561166857600080fd5b81356106b58161162e565b6001600160601b038116811461164357600080fd5b803561165181611673565b6000602082840312156116a557600080fd5b81356106b581611673565b6000815180845260005b818110156116d6576020818501810151868301820152016116ba565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106b560208301846116b0565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161177260c08401826001600160a01b03169052565b5060c083015160e080840152610c316101008401826116b0565b60ff8116811461164357600080fd5b80356116518161178c565b6000602082840312156117b857600080fd5b81356106b58161178c565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156117fc576117fc6117c3565b60405290565b6040805190810167ffffffffffffffff811182821017156117fc576117fc6117c3565b604051601f8201601f1916810167ffffffffffffffff8111828210171561184e5761184e6117c3565b604052919050565b801515811461164357600080fd5b803561165181611856565b600082601f83011261188057600080fd5b813567ffffffffffffffff81111561189a5761189a6117c3565b6118ad601f8201601f1916602001611825565b8181528460208386010111156118c257600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156118f157600080fd5b6118f96117d9565b905061190482611688565b815261191260208301611688565b60208201526119236040830161179b565b604082015261193460608301611864565b606082015261194560808301611646565b608082015261195660a08301611646565b60a082015260c082013567ffffffffffffffff81111561197557600080fd5b6119818482850161186f565b60c08301525092915050565b60006020828403121561199f57600080fd5b813567ffffffffffffffff8111156119b657600080fd5b610c31848285016118df565b6000806000606084860312156119d757600080fd5b833567ffffffffffffffff8111156119ee57600080fd5b6119fa868287016118df565b9350506020840135611a0b8161178c565b91506040840135611a1b8161178c565b809150509250925092565b6020808252825160408383015280516060840181905260009291820190839060808601905b80831015611a6e57835160ff168252928401926001929092019190840190611a4b565b5064ffffffffff848801511660408701528094505050505092915050565b60008060408385031215611a9f57600080fd5b8235611aaa8161178c565b91506020830135611aba8161178c565b809150509250929050565b600060208284031215611ad757600080fd5b81516106b58161178c565b600060208284031215611af457600080fd5b81516106b581611673565b600060208284031215611b1157600080fd5b81516106b58161162e565b600060208284031215611b2e57600080fd5b5051919050565b600181811c90821680611b4957607f821691505b602082108103611b6957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611b8157600080fd5b81516106b581611856565b805164ffffffffff8116811461165157600080fd5b60006020808385031215611bb457600080fd5b825167ffffffffffffffff80821115611bcc57600080fd5b9084019060408287031215611be057600080fd5b611be8611802565b825182811115611bf757600080fd5b8301601f81018813611c0857600080fd5b805183811115611c1a57611c1a6117c3565b8060051b9350611c2b868501611825565b818152938201860193868101908a861115611c4557600080fd5b928701925b85841015611c6f5783519250611c5f8361178c565b8282529287019290870190611c4a565b845250611c80915050838501611b8c565b848201528094505050505092915050565b601f821115611cdb57600081815260208120601f850160051c81016020861015611cb85750805b601f850160051c820191505b81811015611cd757828155600101611cc4565b5050505b505050565b815167ffffffffffffffff811115611cfa57611cfa6117c3565b611d0e81611d088454611b35565b84611c91565b602080601f831160018114611d435760008415611d2b5750858301515b600019600386901b1c1916600185901b178555611cd7565b600085815260208120601f198616915b82811015611d7257888601518255948401946001909101908401611d53565b5085821015611d905787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03848116825283166020820152606060408201819052600090611dcc908301846116b0565b95945050505050565b634e487b7160e01b600052600160045260246000fdfea264697066735822122069daafa802b55ffc71fada33aafbf66c6f86ea61768809c10c49bfd45dc25a3764736f6c6343000814003360806040523480156200001157600080fd5b5060405162001ed438038062001ed483398101604081905262000034916200012e565b60405180606001604052806024815260200162001eb06024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b611a6d80620004436000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce711610104578063a2309ff8116100a2578063caa0f92a11610071578063caa0f92a146103fa578063e985e9c514610402578063f21de1e814610415578063f76f8d781461042657600080fd5b8063a2309ff8146103c4578063a3f4df7e146103cc578063b88d4fde146103d4578063c87b56dd146103e757600080fd5b806370a08231116100de57806370a0823114610383578063862440e21461039657806395d89b41146103a9578063a22cb465146103b157600080fd5b80634f6ccce714610354578063598e2892146103675780636352211e1461037057600080fd5b806323b872dd1161017c57806340c10f191161014b57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e791461032957600080fd5b806323b872dd146102985780632e85b1f3146102ab5780632f745c59146102b4578063342ec443146102c757600080fd5b8063081812fc116101b8578063081812fc1461023d578063095ea7b31461026857806318160ddd1461027d578063221375a61461028557600080fd5b806301ffc9a7146101df5780630559ea471461020757806306fdde0314610228575b600080fd5b6101f26101ed366004611471565b61044b565b60405190151581526020015b60405180910390f35b61021a61021536600461148e565b610476565b6040519081526020016101fe565b6102306104ab565b6040516101fe91906114ed565b61025061024b36600461148e565b61053d565b6040516001600160a01b0390911681526020016101fe565b61027b61027636600461151c565b610566565b005b60085461021a565b61021a6102933660046115f2565b610575565b61027b6102a6366004611650565b6106a4565b61021a61083581565b61021a6102c236600461151c565b61074d565b6102506102d536600461148e565b6000908152600a60205260409020546001600160a01b031690565b61027b6102fe36600461151c565b6107b2565b61027b610311366004611650565b6107fe565b61027b61032436600461148e565b610819565b6101f261033736600461148e565b6000908152600260205260409020546001600160a01b0316151590565b61021a61036236600461148e565b610873565b61021a61044d81565b61025061037e36600461148e565b6108cc565b61021a61039136600461168c565b6108d7565b61027b6103a43660046116a7565b61091f565b6102306109ca565b61027b6103bf3660046116ee565b6109d9565b60115461021a565b6102306109e4565b61027b6103e236600461172a565b610a00565b6102306103f536600461148e565b610a1d565b61021a610ac7565b6101f26104103660046117a6565b610ad9565b600c546001600160a01b0316610250565b6102306040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610b07565b92915050565b6000600e54600d54600f548461048c91906117ef565b6104969190611806565b6104a19060646117ef565b6104709190611806565b6060600080546104ba90611819565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690611819565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600061054882610b57565b506000828152600460205260409020546001600160a01b0316610470565b610571828233610b90565b5050565b600c546000906001600160a01b031633146105aa576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b6105b2610b9d565b90506001600160a01b038316156105eb576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b81511561060c576000818152600b6020526040902061060a83826118a1565b505b6011805490600061061c83611961565b919050555061062b8482610bc4565b6001600160a01b0383161561069d5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e5990604401600060405180830381600087803b15801561068457600080fd5b505af1158015610698573d6000803e3d6000fd5b505050505b9392505050565b6106af838383610bde565b6000818152600a60205260409020546001600160a01b031615610748576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050505b505050565b6000610758836108d7565b82106107895760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107df576040516399c6cd7160e01b81523360048201526024016105a1565b601180549060006107ef83611961565b91905055506105718282610bc4565b61074883838360405180602001604052806000815250610a00565b600c546001600160a01b03163314610846576040516399c6cd7160e01b81523360048201526024016105a1565b61084f81610b57565b5061085981610c63565b6000818152600b602052604081206108709161140d565b50565b600061087e60085490565b82106108a75760405163295f44f760e21b815260006004820152602481018390526044016105a1565b600882815481106108ba576108ba61197a565b90600052602060002001549050919050565b600061047082610b57565b60006001600160a01b038216610903576040516322718ad960e21b8152600060048201526024016105a1565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b0316331461094c576040516399c6cd7160e01b81523360048201526024016105a1565b805160000361096e57604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461098790611819565b905011156109a85760405163303822c760e21b815260040160405180910390fd5b6109b182610b57565b506000828152600b6020526040902061074882826118a1565b6060600180546104ba90611819565b610571338383610c9e565b604051806060016040528060248152602001611a146024913981565b610a0b8484846106a4565b610a1784848484610d3d565b50505050565b6060610a2882610b57565b506000828152600b602052604090208054610a4290611819565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611819565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b50505050509050919050565b6000610ad4601054610476565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610b3857506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b6000818152600260205260408120546001600160a01b03168061047057604051637e27328960e01b8152600481018490526024016105a1565b6107488383836001610e66565b6000610baa601054610476565b601080549192506000610bbc83611961565b919050555090565b610571828260405180602001604052806000815250610f6c565b6001600160a01b038216610c0857604051633250574960e11b8152600060048201526024016105a1565b6000610c15838333610f83565b9050836001600160a01b0316816001600160a01b031614610a17576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a1565b6000610c726000836000610f83565b90506001600160a01b03811661057157604051637e27328960e01b8152600481018390526024016105a1565b6001600160a01b038216610cd057604051630b61174360e31b81526001600160a01b03831660048201526024016105a1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610a1757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d7f903390889087908790600401611990565b6020604051808303816000875af1925050508015610dba575060408051601f3d908101601f19168201909252610db7918101906119cd565b60015b610e23573d808015610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b508051600003610e1b57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e5f57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b5050505050565b8080610e7a57506001600160a01b03821615155b15610f3c576000610e8a84610b57565b90506001600160a01b03831615801590610eb65750826001600160a01b0316816001600160a01b031614155b8015610ec95750610ec78184610ad9565b155b15610ef25760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a1565b8115610f3a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f768383611058565b6107486000848484610d3d565b600080610f918585856110bd565b90506001600160a01b038116610fee57610fe984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611011565b846001600160a01b0316816001600160a01b0316146110115761101181856111b6565b6001600160a01b03851661102d5761102884611247565b611050565b846001600160a01b0316816001600160a01b0316146110505761105085856112f6565b949350505050565b6001600160a01b03821661108257604051633250574960e11b8152600060048201526024016105a1565b600061109083836000610f83565b90506001600160a01b03811615610748576040516339e3563760e11b8152600060048201526024016105a1565b6000828152600260205260408120546001600160a01b03908116908316156110ea576110ea818486611346565b6001600160a01b0381161561112857611107600085600080610e66565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611157576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006111c1836108d7565b600083815260076020526040902054909150808214611214576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611259906001906119ea565b600083815260096020526040812054600880549394509092849081106112815761128161197a565b9060005260206000200154905080600883815481106112a2576112a261197a565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806112da576112da6119fd565b6001900381819060005260206000200160009055905550505050565b60006001611303846108d7565b61130d91906119ea565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6113518383836113aa565b610748576001600160a01b03831661137f57604051637e27328960e01b8152600481018290526024016105a1565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a1565b60006001600160a01b038316158015906110505750826001600160a01b0316846001600160a01b031614806113e457506113e48484610ad9565b806110505750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461141990611819565b6000825580601f10611429575050565b601f01602090049060005260206000209081019061087091905b808211156114575760008155600101611443565b5090565b6001600160e01b03198116811461087057600080fd5b60006020828403121561148357600080fd5b813561069d8161145b565b6000602082840312156114a057600080fd5b5035919050565b6000815180845260005b818110156114cd576020818501810151868301820152016114b1565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061069d60208301846114a7565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157757611577611546565b604051601f8501601f19908116603f0116810190828211818310171561159f5761159f611546565b816040528093508581528686860111156115b857600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126115e357600080fd5b61069d8383356020850161155c565b60008060006060848603121561160757600080fd5b61161084611500565b925061161e60208501611500565b9150604084013567ffffffffffffffff81111561163a57600080fd5b611646868287016115d2565b9150509250925092565b60008060006060848603121561166557600080fd5b61166e84611500565b925061167c60208501611500565b9150604084013590509250925092565b60006020828403121561169e57600080fd5b61069d82611500565b600080604083850312156116ba57600080fd5b82359150602083013567ffffffffffffffff8111156116d857600080fd5b6116e4858286016115d2565b9150509250929050565b6000806040838503121561170157600080fd5b61170a83611500565b91506020830135801515811461171f57600080fd5b809150509250929050565b6000806000806080858703121561174057600080fd5b61174985611500565b935061175760208601611500565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a8782356020840161155c565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611500565b91506117d060208401611500565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610470576104706117d9565b80820180821115610470576104706117d9565b600181811c9082168061182d57607f821691505b60208210810361184d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561074857600081815260208120601f850160051c8101602086101561187a5750805b601f850160051c820191505b8181101561189957828155600101611886565b505050505050565b815167ffffffffffffffff8111156118bb576118bb611546565b6118cf816118c98454611819565b84611853565b602080601f83116001811461190457600084156118ec5750858301515b600019600386901b1c1916600185901b178555611899565b600085815260208120601f198616915b8281101561193357888601518255948401946001909101908401611914565b50858210156119515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611973576119736117d9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119c3908301846114a7565b9695505050505050565b6000602082840312156119df57600080fd5b815161069d8161145b565b81810381811115610470576104706117d9565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220101e28e240b384eb6b82696294145ff5ed97701c57b9be0f7ba2903dc3f43e6064736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
797
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063a48f42e0116100f9578063d2213b5b11610097578063e285c9c411610071578063e285c9c4146103ff578063e74d052f14610407578063f40d7c301461041a578063fee11aaf1461042257600080fd5b8063d2213b5b14610370578063d272ac1e14610390578063d39e6043146103c257600080fd5b8063a7050a56116100d3578063a7050a561461032f578063ae8dfb7914610342578063c3c5a5471461034a578063d1982d881461035d57600080fd5b8063a48f42e0146102f6578063a52ec52914610309578063a5df9e4e1461031c57600080fd5b80631a848cfb116101665780633fe9300e116101405780633fe9300e14610286578063644c45e0146102a9578063893d20e8146102ce5780638b09a5f0146102d657600080fd5b80631a848cfb1461024a5780632b91e0a91461026057806338bb429a1461027357600080fd5b806301ffc9a7146101ae5780630e41142e146101d65780630e6d1de9146101f0578063120726c3146101f857806314afd79e1461022457806317dc5e2a14610237575b600080fd5b6101c16101bc366004611604565b610433565b60405190151581526020015b60405180910390f35b6101de610479565b60405160ff90911681526020016101cd565b6101de6104ec565b600654600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020016101cd565b61020c610232366004611656565b610536565b6101c1610245366004611656565b610652565b6102526106bc565b6040519081526020016101cd565b6101c161026e366004611656565b610735565b61020c610281366004611693565b610779565b61029c6040518060200160405280600081525081565b6040516101cd91906116f6565b6006546001600160601b03165b6040516001600160601b0390911681526020016101cd565b61020c6107d6565b6102e96102e4366004611656565b6107e1565b6040516101cd9190611709565b6102e9610304366004611693565b610945565b6101c16103173660046117a6565b610a17565b6102b661032a36600461198d565b610a87565b6102b661033d3660046119c2565b610c39565b610252600281565b6101c1610358366004611656565b610d50565b6102b661036b36600461198d565b610dc3565b61038361037e3660046117a6565b610f12565b6040516101cd9190611a26565b6102b661039e366004611656565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b61020c6103d0366004611a8c565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b61020c600181565b6101c1610415366004611693565b610f98565b6101de610ff2565b6007546001600160a01b031661020c565b60006001600160e01b031982166301ffc9a760e01b148061046457506001600160e01b03198216630a3888e560e31b145b1561047157506001919050565b506000919050565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156104c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e79190611ac5565b905090565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156104c3573d6000803e3d6000fd5b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156105c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e49190611ae2565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610628573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190611aff565b92915050565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b9004909116808352908220546106b590600160c01b900460ff166106aa604690565b60ff90811691161490565b9392505050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e79190611b1c565b6001600160a01b0381166000908152600160209081526040808320546001600160601b031683529082905281205461064c90600160c01b900460ff166106aa603c90565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016105a3565b60006104e730610536565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c0840191906108bc90611b35565b80601f01602080910402602001604051908101604052809291908181526020018280546108e890611b35565b80156109355780601f1061090a57610100808354040283529160200191610935565b820191906000526020600020905b81548152906001019060200180831161091857829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108bc90611b35565b60075460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190611b6f565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610ad0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af49190611b6f565b610b1157604051638fe695a360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b03166000908152908190529190912054600160c01b900460ff16610b4a826106aa603c90565b15610b685760405163b4a7fc9360e01b815260040160405180910390fd5b60808401516001600160a01b0316610bd65760ff8083166000908152600560209081526040808320858516845290915281205490911615159003610bd157604051638880f20760e01b815260ff8084166004830152821660248201526044015b60405180910390fd5b610c28565b60ff8083166000908152600460209081526040808320858516845290915281205490911615159003610c2857604051638880f20760e01b815260ff808416600483015282166024820152604401610bc8565b610c318461103c565b949350505050565b6007546000906001600160a01b03163314610c67576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600260209081526040808320938616835292905220546001600160a01b031615610cbf5760808401516040516353752f3960e11b81526001600160a01b039091166004820152602401610bc8565b608084015160ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610d098461103c565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610a63573d6000803e3d6000fd5b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa158015610e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e309190611b6f565b610e4d57604051638fe695a360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b90048116911615610ea95760405163019f081b60e51b815260040160405180910390fd5b610eb481600a6106aa565b80610ec55750610ec58160286106aa565b80610ed65750610ed681603c6106aa565b15610f0157604051638880f20760e01b815260ff808416600483015282166024820152604401610bc8565b610f0a8461103c565b505050919050565b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610f70573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261064c9190810190611ba1565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610da6565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156104c3573d6000803e3d6000fd5b6040808201516020808401516001600160601b038082166000908152808452858120865160e08101885281548085168252600160601b81049094169581019590955260ff600160c01b8404811697860197909752600160c81b9092049095161515606084015260018101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c08401916110dd90611b35565b80601f016020809104026020016040519081016040528092919081815260200182805461110990611b35565b80156111565780601f1061112b57610100808354040283529160200191611156565b820191906000526020600020905b81548152906001019060200180831161113957829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b0381166111955760405163b0014c0760e01b815260040160405180910390fd5b60006111af886060015189608001518660600151856115c7565b905060006006600c9054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122a9190611b1c565b90508097508789600001906001600160601b031690816001600160601b031681525050886000808a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c082015181600301908161137c9190611ce0565b50505060808901516001600160a01b03161561148d5760808901516001600160a01b038116600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190611b6f565b156114575760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610bc8565b6001600160a01b0316600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038a161790555b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a00151604051611514969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a160065460a08a01516040805160208101825260008082529151631109bad360e11b81529193600160601b90046001600160a01b03169263221375a692611566928891600401611da0565b6020604051808303816000875af1158015611585573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a99190611b1c565b90508181146115ba576115ba611dd5565b5050505050505050919050565b60006001600160a01b0384166115ec5782156115e4575080610c31565b506000610c31565b84156115f9575082610c31565b506000949350505050565b60006020828403121561161657600080fd5b81356001600160e01b0319811681146106b557600080fd5b6001600160a01b038116811461164357600080fd5b50565b80356116518161162e565b919050565b60006020828403121561166857600080fd5b81356106b58161162e565b6001600160601b038116811461164357600080fd5b803561165181611673565b6000602082840312156116a557600080fd5b81356106b581611673565b6000815180845260005b818110156116d6576020818501810151868301820152016116ba565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106b560208301846116b0565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161177260c08401826001600160a01b03169052565b5060c083015160e080840152610c316101008401826116b0565b60ff8116811461164357600080fd5b80356116518161178c565b6000602082840312156117b857600080fd5b81356106b58161178c565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156117fc576117fc6117c3565b60405290565b6040805190810167ffffffffffffffff811182821017156117fc576117fc6117c3565b604051601f8201601f1916810167ffffffffffffffff8111828210171561184e5761184e6117c3565b604052919050565b801515811461164357600080fd5b803561165181611856565b600082601f83011261188057600080fd5b813567ffffffffffffffff81111561189a5761189a6117c3565b6118ad601f8201601f1916602001611825565b8181528460208386010111156118c257600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156118f157600080fd5b6118f96117d9565b905061190482611688565b815261191260208301611688565b60208201526119236040830161179b565b604082015261193460608301611864565b606082015261194560808301611646565b608082015261195660a08301611646565b60a082015260c082013567ffffffffffffffff81111561197557600080fd5b6119818482850161186f565b60c08301525092915050565b60006020828403121561199f57600080fd5b813567ffffffffffffffff8111156119b657600080fd5b610c31848285016118df565b6000806000606084860312156119d757600080fd5b833567ffffffffffffffff8111156119ee57600080fd5b6119fa868287016118df565b9350506020840135611a0b8161178c565b91506040840135611a1b8161178c565b809150509250925092565b6020808252825160408383015280516060840181905260009291820190839060808601905b80831015611a6e57835160ff168252928401926001929092019190840190611a4b565b5064ffffffffff848801511660408701528094505050505092915050565b60008060408385031215611a9f57600080fd5b8235611aaa8161178c565b91506020830135611aba8161178c565b809150509250929050565b600060208284031215611ad757600080fd5b81516106b58161178c565b600060208284031215611af457600080fd5b81516106b581611673565b600060208284031215611b1157600080fd5b81516106b58161162e565b600060208284031215611b2e57600080fd5b5051919050565b600181811c90821680611b4957607f821691505b602082108103611b6957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611b8157600080fd5b81516106b581611856565b805164ffffffffff8116811461165157600080fd5b60006020808385031215611bb457600080fd5b825167ffffffffffffffff80821115611bcc57600080fd5b9084019060408287031215611be057600080fd5b611be8611802565b825182811115611bf757600080fd5b8301601f81018813611c0857600080fd5b805183811115611c1a57611c1a6117c3565b8060051b9350611c2b868501611825565b818152938201860193868101908a861115611c4557600080fd5b928701925b85841015611c6f5783519250611c5f8361178c565b8282529287019290870190611c4a565b845250611c80915050838501611b8c565b848201528094505050505092915050565b601f821115611cdb57600081815260208120601f850160051c81016020861015611cb85750805b601f850160051c820191505b81811015611cd757828155600101611cc4565b5050505b505050565b815167ffffffffffffffff811115611cfa57611cfa6117c3565b611d0e81611d088454611b35565b84611c91565b602080601f831160018114611d435760008415611d2b5750858301515b600019600386901b1c1916600185901b178555611cd7565b600085815260208120601f198616915b82811015611d7257888601518255948401946001909101908401611d53565b5085821015611d905787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b03848116825283166020820152606060408201819052600090611dcc908301846116b0565b95945050505050565b634e487b7160e01b600052600160045260246000fdfea264697066735822122069daafa802b55ffc71fada33aafbf66c6f86ea61768809c10c49bfd45dc25a3764736f6c63430008140033",
798
+ "linkReferences": {
799
+ "contracts/types/NftId.sol": {
800
+ "NftIdLib": [
801
+ {
802
+ "length": 20,
803
+ "start": 5130
804
+ },
805
+ {
806
+ "length": 20,
807
+ "start": 5689
808
+ },
809
+ {
810
+ "length": 20,
811
+ "start": 7181
812
+ },
813
+ {
814
+ "length": 20,
815
+ "start": 8789
816
+ }
817
+ ]
818
+ },
819
+ "contracts/types/ObjectType.sol": {
820
+ "ObjectTypeLib": [
821
+ {
822
+ "length": 20,
823
+ "start": 7765
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ "deployedLinkReferences": {
829
+ "contracts/types/NftId.sol": {
830
+ "NftIdLib": [
831
+ {
832
+ "length": 20,
833
+ "start": 1413
834
+ },
835
+ {
836
+ "length": 20,
837
+ "start": 1972
838
+ },
839
+ {
840
+ "length": 20,
841
+ "start": 3464
842
+ },
843
+ {
844
+ "length": 20,
845
+ "start": 5072
846
+ }
847
+ ]
848
+ },
849
+ "contracts/types/ObjectType.sol": {
850
+ "ObjectTypeLib": [
851
+ {
852
+ "length": 20,
853
+ "start": 4048
854
+ }
855
+ ]
856
+ }
857
+ }
289
858
  }