@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe22f0-239

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