@etherisc/gif-next 0.0.2-d3543ee-217 → 0.0.2-d372e08-980

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