@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce87da3-250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (353) hide show
  1. package/README.md +243 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +853 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1346 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +195 -150
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +900 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1322 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1246 -0
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2475 -1
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +1051 -1183
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +562 -54
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +958 -29
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +10 -244
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  55. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  56. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +869 -0
  57. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  59. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  61. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  63. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  65. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  67. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1254 -0
  69. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +753 -0
  71. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +473 -0
  73. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  75. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  77. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +639 -0
  79. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +583 -0
  81. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +347 -0
  83. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
  85. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1120 -0
  87. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  89. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
  91. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  93. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  95. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +236 -63
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +323 -178
  103. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.json +210 -212
  106. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +432 -268
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +323 -129
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  114. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  116. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  117. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  118. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  119. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  120. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  121. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  122. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  125. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  126. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  127. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  128. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +67 -39
  129. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  133. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  135. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  137. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  139. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  141. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +155 -151
  143. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  144. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  145. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  146. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  147. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  149. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  151. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  153. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  155. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestService.sol/TestService.json +147 -226
  157. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  163. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  164. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  165. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  166. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  195. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  202. package/contracts/components/Component.sol +241 -0
  203. package/contracts/components/Distribution.sol +287 -0
  204. package/contracts/components/IComponent.sol +54 -0
  205. package/contracts/components/IDistributionComponent.sol +92 -0
  206. package/contracts/components/IPoolComponent.sol +87 -0
  207. package/contracts/components/IProductComponent.sol +39 -0
  208. package/contracts/components/Pool.sol +254 -0
  209. package/contracts/components/Product.sol +285 -0
  210. package/contracts/instance/BundleManager.sol +125 -0
  211. package/contracts/instance/Cloneable.sol +46 -0
  212. package/contracts/instance/IInstance.sol +87 -1
  213. package/contracts/instance/IInstanceService.sol +59 -0
  214. package/contracts/instance/Instance.sol +137 -238
  215. package/contracts/instance/InstanceAccessManager.sol +90 -81
  216. package/contracts/instance/InstanceReader.sol +86 -28
  217. package/contracts/instance/InstanceService.sol +453 -22
  218. package/contracts/instance/InstanceServiceManager.sol +54 -0
  219. package/contracts/instance/ObjectManager.sol +84 -0
  220. package/contracts/instance/base/ComponentService.sol +134 -0
  221. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  222. package/contracts/instance/base/KeyValueStore.sol +4 -20
  223. package/contracts/instance/module/IAccess.sol +28 -19
  224. package/contracts/instance/module/IBundle.sol +1 -0
  225. package/contracts/instance/module/IDistribution.sol +1 -0
  226. package/contracts/instance/module/IPolicy.sol +4 -2
  227. package/contracts/instance/module/ISetup.sol +10 -3
  228. package/contracts/instance/module/ITreasury.sol +1 -1
  229. package/contracts/instance/service/ApplicationService.sol +268 -0
  230. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  231. package/contracts/instance/service/BundleService.sol +298 -0
  232. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  233. package/contracts/instance/service/ClaimService.sol +151 -0
  234. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  235. package/contracts/instance/service/DistributionService.sol +366 -0
  236. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  237. package/contracts/instance/service/IApplicationService.sol +82 -0
  238. package/contracts/instance/service/IBundleService.sol +54 -0
  239. package/contracts/instance/service/IClaimService.sol +61 -0
  240. package/contracts/instance/service/IDistributionService.sol +81 -0
  241. package/contracts/instance/service/IPolicyService.sol +89 -0
  242. package/contracts/instance/service/IPoolService.sol +20 -0
  243. package/contracts/instance/service/IProductService.sol +40 -0
  244. package/contracts/instance/service/PolicyService.sol +476 -0
  245. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  246. package/contracts/instance/service/PoolService.sol +109 -0
  247. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  248. package/contracts/instance/service/ProductService.sol +233 -0
  249. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  250. package/contracts/registry/ChainNft.sol +41 -26
  251. package/contracts/registry/IRegistry.sol +51 -25
  252. package/contracts/registry/IRegistryService.sol +54 -16
  253. package/contracts/registry/Registry.sol +279 -306
  254. package/contracts/registry/RegistryAccessManager.sol +216 -0
  255. package/contracts/registry/RegistryService.sol +170 -256
  256. package/contracts/registry/RegistryServiceManager.sol +30 -11
  257. package/contracts/registry/ReleaseManager.sol +322 -0
  258. package/contracts/registry/TokenRegistry.sol +116 -0
  259. package/contracts/shared/ERC165.sol +15 -9
  260. package/contracts/shared/INftOwnable.sol +11 -10
  261. package/contracts/shared/IPolicyHolder.sol +26 -0
  262. package/contracts/shared/IRegisterable.sol +4 -6
  263. package/contracts/shared/IRegistryLinked.sol +12 -0
  264. package/contracts/shared/IService.sol +18 -0
  265. package/contracts/shared/IVersionable.sol +4 -47
  266. package/contracts/shared/NftOwnable.sol +67 -83
  267. package/contracts/shared/PolicyHolder.sol +81 -0
  268. package/contracts/shared/ProxyManager.sol +101 -26
  269. package/contracts/shared/Registerable.sol +15 -30
  270. package/contracts/shared/RegistryLinked.sol +48 -0
  271. package/contracts/shared/Service.sol +58 -0
  272. package/contracts/shared/TokenHandler.sol +2 -2
  273. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  274. package/contracts/shared/Versionable.sol +5 -93
  275. package/contracts/test/TestFee.sol +2 -2
  276. package/contracts/test/TestRegisterable.sol +1 -1
  277. package/contracts/test/TestRoleId.sol +6 -6
  278. package/contracts/test/TestService.sol +6 -7
  279. package/contracts/types/ClaimId.sol +52 -0
  280. package/contracts/types/DistributorType.sol +2 -2
  281. package/contracts/types/Fee.sol +3 -3
  282. package/contracts/types/NftIdSet.sol +26 -24
  283. package/contracts/types/ObjectType.sol +9 -5
  284. package/contracts/types/PayoutId.sol +54 -0
  285. package/contracts/types/RoleId.sol +19 -4
  286. package/contracts/types/StateId.sol +4 -0
  287. package/contracts/types/UFixed.sol +128 -12
  288. package/contracts/types/Version.sol +4 -1
  289. package/package.json +6 -5
  290. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  291. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  292. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  293. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  294. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  295. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  296. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  297. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  298. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  299. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  301. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  302. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  303. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  304. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  305. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  307. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  310. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  312. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  314. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  316. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  318. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  320. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  322. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  323. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  324. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  325. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  326. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  327. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  328. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  329. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  330. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  331. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  332. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  333. package/contracts/components/IBaseComponent.sol +0 -19
  334. package/contracts/experiment/errors/Require.sol +0 -38
  335. package/contracts/experiment/errors/Revert.sol +0 -44
  336. package/contracts/experiment/inheritance/A.sol +0 -53
  337. package/contracts/experiment/inheritance/B.sol +0 -28
  338. package/contracts/experiment/inheritance/C.sol +0 -34
  339. package/contracts/experiment/inheritance/IA.sol +0 -13
  340. package/contracts/experiment/inheritance/IB.sol +0 -10
  341. package/contracts/experiment/inheritance/IC.sol +0 -12
  342. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  343. package/contracts/experiment/statemachine/ISM.sol +0 -25
  344. package/contracts/experiment/statemachine/SM.sol +0 -57
  345. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  346. package/contracts/experiment/types/TypeA.sol +0 -47
  347. package/contracts/experiment/types/TypeB.sol +0 -29
  348. package/contracts/instance/AccessManagedSimple.sol +0 -114
  349. package/contracts/instance/AccessManagerSimple.sol +0 -682
  350. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  351. package/contracts/instance/base/IService.sol +0 -15
  352. package/contracts/instance/base/ServiceBase.sol +0 -44
  353. package/contracts/registry/IChainNft.sol +0 -22
@@ -7,81 +7,98 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
12
  }
18
13
  ],
19
- "name": "ErrorAlreadyLinked",
14
+ "name": "AccessManagedInvalidAuthority",
20
15
  "type": "error"
21
16
  },
22
17
  {
23
18
  "inputs": [
24
19
  {
25
20
  "internalType": "address",
26
- "name": "contractAddress",
21
+ "name": "caller",
27
22
  "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
28
  }
29
29
  ],
30
- "name": "ErrorContractNotRegistered",
30
+ "name": "AccessManagedRequiredDelay",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
35
  {
36
36
  "internalType": "address",
37
- "name": "account",
37
+ "name": "caller",
38
38
  "type": "address"
39
39
  }
40
40
  ],
41
- "name": "ErrorNotOwner",
41
+ "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
44
  {
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "registryAddress",
48
+ "name": "caller",
49
49
  "type": "address"
50
50
  }
51
51
  ],
52
- "name": "ErrorNotRegistry",
52
+ "name": "ErrorIServiceCallerUnknown",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "nftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableAlreadyLinked",
53
64
  "type": "error"
54
65
  },
55
66
  {
56
67
  "inputs": [
57
68
  {
58
69
  "internalType": "address",
59
- "name": "registryAddress",
70
+ "name": "contractAddress",
60
71
  "type": "address"
61
72
  }
62
73
  ],
63
- "name": "ErrorRegisterableNotRegistry",
74
+ "name": "ErrorNftOwnableContractNotRegistered",
64
75
  "type": "error"
65
76
  },
66
77
  {
67
78
  "inputs": [],
68
- "name": "ErrorRegistryAddressZero",
79
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
80
  "type": "error"
70
81
  },
71
82
  {
72
83
  "inputs": [
73
84
  {
74
85
  "internalType": "address",
75
- "name": "registry",
86
+ "name": "account",
76
87
  "type": "address"
77
88
  }
78
89
  ],
79
- "name": "ErrorRegistryAlreadyInitialized",
90
+ "name": "ErrorNftOwnableNotOwner",
80
91
  "type": "error"
81
92
  },
82
93
  {
83
- "inputs": [],
84
- "name": "ErrorRegistryNotInitialized",
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "registryAddress",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "ErrorNotRegistry",
85
102
  "type": "error"
86
103
  },
87
104
  {
@@ -112,34 +129,39 @@
112
129
  "type": "error"
113
130
  },
114
131
  {
115
- "inputs": [
116
- {
117
- "internalType": "ObjectType",
118
- "name": "objectType",
119
- "type": "uint8"
120
- }
121
- ],
122
- "name": "InvalidType",
132
+ "inputs": [],
133
+ "name": "NotDistribution",
123
134
  "type": "error"
124
135
  },
125
136
  {
126
137
  "inputs": [],
127
- "name": "MissingAllowance",
138
+ "name": "NotInitializing",
128
139
  "type": "error"
129
140
  },
130
141
  {
131
142
  "inputs": [],
132
- "name": "NotComponent",
143
+ "name": "NotInstance",
133
144
  "type": "error"
134
145
  },
135
146
  {
136
147
  "inputs": [],
137
- "name": "NotInitializing",
148
+ "name": "NotPool",
138
149
  "type": "error"
139
150
  },
140
151
  {
141
152
  "inputs": [],
142
- "name": "NotInstance",
153
+ "name": "NotProduct",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "expectedOwner",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "NotRegisterableOwner",
143
165
  "type": "error"
144
166
  },
145
167
  {
@@ -154,7 +176,12 @@
154
176
  },
155
177
  {
156
178
  "inputs": [],
157
- "name": "NotToken",
179
+ "name": "RegisterableOwnerIsRegistered",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "RegisterableOwnerIsZero",
158
185
  "type": "error"
159
186
  },
160
187
  {
@@ -163,51 +190,55 @@
163
190
  "type": "error"
164
191
  },
165
192
  {
166
- "anonymous": false,
167
193
  "inputs": [
168
194
  {
169
- "indexed": false,
170
- "internalType": "uint64",
171
- "name": "version",
172
- "type": "uint64"
195
+ "internalType": "ObjectType",
196
+ "name": "expected",
197
+ "type": "uint8"
198
+ },
199
+ {
200
+ "internalType": "ObjectType",
201
+ "name": "found",
202
+ "type": "uint8"
173
203
  }
174
204
  ],
175
- "name": "Initialized",
176
- "type": "event"
205
+ "name": "UnexpectedRegisterableType",
206
+ "type": "error"
177
207
  },
178
208
  {
179
209
  "anonymous": false,
180
210
  "inputs": [
181
- {
182
- "indexed": false,
183
- "internalType": "Version",
184
- "name": "version",
185
- "type": "uint24"
186
- },
187
211
  {
188
212
  "indexed": false,
189
213
  "internalType": "address",
190
- "name": "implementation",
214
+ "name": "authority",
191
215
  "type": "address"
192
- },
216
+ }
217
+ ],
218
+ "name": "AuthorityUpdated",
219
+ "type": "event"
220
+ },
221
+ {
222
+ "anonymous": false,
223
+ "inputs": [
193
224
  {
194
225
  "indexed": false,
195
- "internalType": "address",
196
- "name": "activatedBy",
197
- "type": "address"
226
+ "internalType": "uint64",
227
+ "name": "version",
228
+ "type": "uint64"
198
229
  }
199
230
  ],
200
- "name": "LogVersionableInitialized",
231
+ "name": "Initialized",
201
232
  "type": "event"
202
233
  },
203
234
  {
204
235
  "inputs": [],
205
- "name": "NAME",
236
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
206
237
  "outputs": [
207
238
  {
208
- "internalType": "string",
239
+ "internalType": "bytes32",
209
240
  "name": "",
210
- "type": "string"
241
+ "type": "bytes32"
211
242
  }
212
243
  ],
213
244
  "stateMutability": "view",
@@ -215,12 +246,12 @@
215
246
  },
216
247
  {
217
248
  "inputs": [],
218
- "name": "NFT_LOCK_ADDRESS",
249
+ "name": "REGISTERABLE_LOCATION_V1",
219
250
  "outputs": [
220
251
  {
221
- "internalType": "address",
252
+ "internalType": "bytes32",
222
253
  "name": "",
223
- "type": "address"
254
+ "type": "bytes32"
224
255
  }
225
256
  ],
226
257
  "stateMutability": "view",
@@ -228,7 +259,7 @@
228
259
  },
229
260
  {
230
261
  "inputs": [],
231
- "name": "REGISTERABLE_LOCATION_V1",
262
+ "name": "REGISTRY_CREATION_CODE_HASH",
232
263
  "outputs": [
233
264
  {
234
265
  "internalType": "bytes32",
@@ -241,17 +272,55 @@
241
272
  },
242
273
  {
243
274
  "inputs": [],
244
- "name": "REGISTRY_CREATION_CODE_HASH",
275
+ "name": "authority",
245
276
  "outputs": [
246
277
  {
247
- "internalType": "bytes32",
278
+ "internalType": "address",
248
279
  "name": "",
249
- "type": "bytes32"
280
+ "type": "address"
250
281
  }
251
282
  ],
252
283
  "stateMutability": "view",
253
284
  "type": "function"
254
285
  },
286
+ {
287
+ "inputs": [],
288
+ "name": "getDomain",
289
+ "outputs": [
290
+ {
291
+ "internalType": "ObjectType",
292
+ "name": "serviceDomain",
293
+ "type": "uint8"
294
+ }
295
+ ],
296
+ "stateMutability": "pure",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "getFunctionConfigs",
302
+ "outputs": [
303
+ {
304
+ "components": [
305
+ {
306
+ "internalType": "ObjectType",
307
+ "name": "serviceDomain",
308
+ "type": "uint8"
309
+ },
310
+ {
311
+ "internalType": "bytes4[]",
312
+ "name": "selectors",
313
+ "type": "bytes4[]"
314
+ }
315
+ ],
316
+ "internalType": "struct IRegistryService.FunctionConfig[]",
317
+ "name": "config",
318
+ "type": "tuple[]"
319
+ }
320
+ ],
321
+ "stateMutability": "pure",
322
+ "type": "function"
323
+ },
255
324
  {
256
325
  "inputs": [],
257
326
  "name": "getInitialInfo",
@@ -295,26 +364,8 @@
295
364
  }
296
365
  ],
297
366
  "internalType": "struct IRegistry.ObjectInfo",
298
- "name": "",
367
+ "name": "info",
299
368
  "type": "tuple"
300
- },
301
- {
302
- "internalType": "bytes",
303
- "name": "data",
304
- "type": "bytes"
305
- }
306
- ],
307
- "stateMutability": "view",
308
- "type": "function"
309
- },
310
- {
311
- "inputs": [],
312
- "name": "getInitializedVersion",
313
- "outputs": [
314
- {
315
- "internalType": "uint64",
316
- "name": "",
317
- "type": "uint64"
318
369
  }
319
370
  ],
320
371
  "stateMutability": "view",
@@ -333,19 +384,6 @@
333
384
  "stateMutability": "view",
334
385
  "type": "function"
335
386
  },
336
- {
337
- "inputs": [],
338
- "name": "getName",
339
- "outputs": [
340
- {
341
- "internalType": "string",
342
- "name": "",
343
- "type": "string"
344
- }
345
- ],
346
- "stateMutability": "pure",
347
- "type": "function"
348
- },
349
387
  {
350
388
  "inputs": [],
351
389
  "name": "getNftId",
@@ -387,25 +425,19 @@
387
425
  },
388
426
  {
389
427
  "inputs": [],
390
- "name": "getVersion",
428
+ "name": "getRegistryAddress",
391
429
  "outputs": [
392
430
  {
393
- "internalType": "Version",
431
+ "internalType": "address",
394
432
  "name": "",
395
- "type": "uint24"
433
+ "type": "address"
396
434
  }
397
435
  ],
398
- "stateMutability": "pure",
436
+ "stateMutability": "view",
399
437
  "type": "function"
400
438
  },
401
439
  {
402
- "inputs": [
403
- {
404
- "internalType": "uint256",
405
- "name": "idx",
406
- "type": "uint256"
407
- }
408
- ],
440
+ "inputs": [],
409
441
  "name": "getVersion",
410
442
  "outputs": [
411
443
  {
@@ -414,75 +446,105 @@
414
446
  "type": "uint24"
415
447
  }
416
448
  ],
417
- "stateMutability": "view",
449
+ "stateMutability": "pure",
418
450
  "type": "function"
419
451
  },
420
452
  {
421
453
  "inputs": [],
422
- "name": "getVersionCount",
423
- "outputs": [
454
+ "name": "initializeERC165",
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
424
461
  {
425
- "internalType": "uint256",
426
- "name": "",
427
- "type": "uint256"
462
+ "internalType": "address",
463
+ "name": "initialOwner",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "address",
468
+ "name": "registryAddress",
469
+ "type": "address"
428
470
  }
429
471
  ],
430
- "stateMutability": "view",
472
+ "name": "initializeNftOwnable",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
431
475
  "type": "function"
432
476
  },
433
477
  {
434
478
  "inputs": [
435
479
  {
436
- "internalType": "Version",
437
- "name": "_version",
438
- "type": "uint24"
480
+ "internalType": "address",
481
+ "name": "registryAddress",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "internalType": "NftId",
486
+ "name": "parentNftId",
487
+ "type": "uint96"
488
+ },
489
+ {
490
+ "internalType": "ObjectType",
491
+ "name": "objectType",
492
+ "type": "uint8"
493
+ },
494
+ {
495
+ "internalType": "bool",
496
+ "name": "isInterceptor",
497
+ "type": "bool"
498
+ },
499
+ {
500
+ "internalType": "address",
501
+ "name": "initialOwner",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "internalType": "bytes",
506
+ "name": "data",
507
+ "type": "bytes"
439
508
  }
440
509
  ],
441
- "name": "getVersionInfo",
442
- "outputs": [
510
+ "name": "initializeRegisterable",
511
+ "outputs": [],
512
+ "stateMutability": "nonpayable",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [
443
517
  {
444
- "components": [
445
- {
446
- "internalType": "Version",
447
- "name": "version",
448
- "type": "uint24"
449
- },
450
- {
451
- "internalType": "address",
452
- "name": "implementation",
453
- "type": "address"
454
- },
455
- {
456
- "internalType": "address",
457
- "name": "activatedBy",
458
- "type": "address"
459
- },
460
- {
461
- "internalType": "Timestamp",
462
- "name": "activatedAt",
463
- "type": "uint40"
464
- },
465
- {
466
- "internalType": "Blocknumber",
467
- "name": "activatedIn",
468
- "type": "uint32"
469
- }
470
- ],
471
- "internalType": "struct IVersionable.VersionInfo",
472
- "name": "",
473
- "type": "tuple"
518
+ "internalType": "address",
519
+ "name": "registryAddress",
520
+ "type": "address"
474
521
  }
475
522
  ],
476
- "stateMutability": "view",
523
+ "name": "initializeRegistryLinked",
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable",
477
526
  "type": "function"
478
527
  },
479
528
  {
480
529
  "inputs": [
481
530
  {
482
531
  "internalType": "address",
483
- "name": "implementation",
532
+ "name": "registry",
484
533
  "type": "address"
485
534
  },
535
+ {
536
+ "internalType": "address",
537
+ "name": "initialOwner",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "name": "initializeService",
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [
486
548
  {
487
549
  "internalType": "address",
488
550
  "name": "activatedBy",
@@ -494,25 +556,19 @@
494
556
  "type": "bytes"
495
557
  }
496
558
  ],
497
- "name": "initialize",
559
+ "name": "initializeVersionable",
498
560
  "outputs": [],
499
561
  "stateMutability": "nonpayable",
500
562
  "type": "function"
501
563
  },
502
- {
503
- "inputs": [
504
- {
505
- "internalType": "Version",
506
- "name": "_version",
507
- "type": "uint24"
508
- }
509
- ],
510
- "name": "isInitialized",
564
+ {
565
+ "inputs": [],
566
+ "name": "isConsumingScheduledOp",
511
567
  "outputs": [
512
568
  {
513
- "internalType": "bool",
569
+ "internalType": "bytes4",
514
570
  "name": "",
515
- "type": "bool"
571
+ "type": "bytes4"
516
572
  }
517
573
  ],
518
574
  "stateMutability": "view",
@@ -584,22 +640,17 @@
584
640
  {
585
641
  "inputs": [
586
642
  {
587
- "internalType": "contract IBaseComponent",
588
- "name": "component",
643
+ "internalType": "contract IComponent",
644
+ "name": "distribution",
589
645
  "type": "address"
590
646
  },
591
- {
592
- "internalType": "ObjectType",
593
- "name": "componentType",
594
- "type": "uint8"
595
- },
596
647
  {
597
648
  "internalType": "address",
598
649
  "name": "owner",
599
650
  "type": "address"
600
651
  }
601
652
  ],
602
- "name": "registerComponent",
653
+ "name": "registerDistribution",
603
654
  "outputs": [
604
655
  {
605
656
  "components": [
@@ -642,11 +693,62 @@
642
693
  "internalType": "struct IRegistry.ObjectInfo",
643
694
  "name": "info",
644
695
  "type": "tuple"
645
- },
696
+ }
697
+ ],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [
646
703
  {
647
- "internalType": "bytes",
648
- "name": "data",
649
- "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"
744
+ }
745
+ ],
746
+ "name": "registerDistributor",
747
+ "outputs": [
748
+ {
749
+ "internalType": "NftId",
750
+ "name": "nftId",
751
+ "type": "uint96"
650
752
  }
651
753
  ],
652
754
  "stateMutability": "nonpayable",
@@ -658,6 +760,11 @@
658
760
  "internalType": "contract IRegisterable",
659
761
  "name": "instance",
660
762
  "type": "address"
763
+ },
764
+ {
765
+ "internalType": "address",
766
+ "name": "owner",
767
+ "type": "address"
661
768
  }
662
769
  ],
663
770
  "name": "registerInstance",
@@ -703,13 +810,21 @@
703
810
  "internalType": "struct IRegistry.ObjectInfo",
704
811
  "name": "info",
705
812
  "type": "tuple"
706
- },
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
707
820
  {
708
- "internalType": "bytes",
709
- "name": "data",
710
- "type": "bytes"
821
+ "internalType": "bytes4",
822
+ "name": "interfaceId",
823
+ "type": "bytes4"
711
824
  }
712
825
  ],
826
+ "name": "registerInterface",
827
+ "outputs": [],
713
828
  "stateMutability": "nonpayable",
714
829
  "type": "function"
715
830
  },
@@ -772,12 +887,17 @@
772
887
  {
773
888
  "inputs": [
774
889
  {
775
- "internalType": "contract IService",
776
- "name": "service",
890
+ "internalType": "contract IComponent",
891
+ "name": "pool",
892
+ "type": "address"
893
+ },
894
+ {
895
+ "internalType": "address",
896
+ "name": "owner",
777
897
  "type": "address"
778
898
  }
779
899
  ],
780
- "name": "registerService",
900
+ "name": "registerPool",
781
901
  "outputs": [
782
902
  {
783
903
  "components": [
@@ -820,11 +940,6 @@
820
940
  "internalType": "struct IRegistry.ObjectInfo",
821
941
  "name": "info",
822
942
  "type": "tuple"
823
- },
824
- {
825
- "internalType": "bytes",
826
- "name": "data",
827
- "type": "bytes"
828
943
  }
829
944
  ],
830
945
  "stateMutability": "nonpayable",
@@ -832,13 +947,111 @@
832
947
  },
833
948
  {
834
949
  "inputs": [
950
+ {
951
+ "internalType": "contract IComponent",
952
+ "name": "product",
953
+ "type": "address"
954
+ },
835
955
  {
836
956
  "internalType": "address",
837
- "name": "tokenAddress",
957
+ "name": "owner",
838
958
  "type": "address"
839
959
  }
840
960
  ],
841
- "name": "registerToken",
961
+ "name": "registerProduct",
962
+ "outputs": [
963
+ {
964
+ "components": [
965
+ {
966
+ "internalType": "NftId",
967
+ "name": "nftId",
968
+ "type": "uint96"
969
+ },
970
+ {
971
+ "internalType": "NftId",
972
+ "name": "parentNftId",
973
+ "type": "uint96"
974
+ },
975
+ {
976
+ "internalType": "ObjectType",
977
+ "name": "objectType",
978
+ "type": "uint8"
979
+ },
980
+ {
981
+ "internalType": "bool",
982
+ "name": "isInterceptor",
983
+ "type": "bool"
984
+ },
985
+ {
986
+ "internalType": "address",
987
+ "name": "objectAddress",
988
+ "type": "address"
989
+ },
990
+ {
991
+ "internalType": "address",
992
+ "name": "initialOwner",
993
+ "type": "address"
994
+ },
995
+ {
996
+ "internalType": "bytes",
997
+ "name": "data",
998
+ "type": "bytes"
999
+ }
1000
+ ],
1001
+ "internalType": "struct IRegistry.ObjectInfo",
1002
+ "name": "info",
1003
+ "type": "tuple"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "nonpayable",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "components": [
1013
+ {
1014
+ "internalType": "NftId",
1015
+ "name": "nftId",
1016
+ "type": "uint96"
1017
+ },
1018
+ {
1019
+ "internalType": "NftId",
1020
+ "name": "parentNftId",
1021
+ "type": "uint96"
1022
+ },
1023
+ {
1024
+ "internalType": "ObjectType",
1025
+ "name": "objectType",
1026
+ "type": "uint8"
1027
+ },
1028
+ {
1029
+ "internalType": "bool",
1030
+ "name": "isInterceptor",
1031
+ "type": "bool"
1032
+ },
1033
+ {
1034
+ "internalType": "address",
1035
+ "name": "objectAddress",
1036
+ "type": "address"
1037
+ },
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "initialOwner",
1041
+ "type": "address"
1042
+ },
1043
+ {
1044
+ "internalType": "bytes",
1045
+ "name": "data",
1046
+ "type": "bytes"
1047
+ }
1048
+ ],
1049
+ "internalType": "struct IRegistry.ObjectInfo",
1050
+ "name": "info",
1051
+ "type": "tuple"
1052
+ }
1053
+ ],
1054
+ "name": "registerStake",
842
1055
  "outputs": [
843
1056
  {
844
1057
  "internalType": "NftId",
@@ -849,6 +1062,19 @@
849
1062
  "stateMutability": "nonpayable",
850
1063
  "type": "function"
851
1064
  },
1065
+ {
1066
+ "inputs": [
1067
+ {
1068
+ "internalType": "address",
1069
+ "name": "newAuthority",
1070
+ "type": "address"
1071
+ }
1072
+ ],
1073
+ "name": "setAuthority",
1074
+ "outputs": [],
1075
+ "stateMutability": "nonpayable",
1076
+ "type": "function"
1077
+ },
852
1078
  {
853
1079
  "inputs": [
854
1080
  {
@@ -870,68 +1096,30 @@
870
1096
  },
871
1097
  {
872
1098
  "inputs": [
873
- {
874
- "internalType": "address",
875
- "name": "implementation",
876
- "type": "address"
877
- },
878
- {
879
- "internalType": "address",
880
- "name": "activatedBy",
881
- "type": "address"
882
- },
883
1099
  {
884
1100
  "internalType": "bytes",
885
1101
  "name": "data",
886
1102
  "type": "bytes"
887
1103
  }
888
1104
  ],
889
- "name": "upgrade",
1105
+ "name": "upgradeVersionable",
890
1106
  "outputs": [],
891
1107
  "stateMutability": "nonpayable",
892
1108
  "type": "function"
893
1109
  }
894
1110
  ],
895
- "bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612e0d80620001346000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046124bc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e336600461250b565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107ec565b60405162ffffff90911681526020016101cc565b610224610876565b6040516101cc9291906125f1565b61023a6109b7565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061261f565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612643565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612db883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612643565b610bd9565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e861040436600461279e565b610c8c565b600154600160a01b90046001600160601b03166101e8565b61022461042f36600461250b565b610e2b565b6103de610e3a565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f366004612870565b610f53565b6104ac6110ad565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046128d1565b6110ce565b6101e86104e536600461279e565b61111f565b6104f2611244565b60405160ff90911681526020016101cc565b61023a610512366004612870565b6112c7565b6102246105253660046128ea565b6113d0565b6103de600181565b610297600081565b61022461054836600461250b565b611663565b6040516301ffc9a760e01b81526303fb044760e21b6004820152600090829082906001600160a01b038316906301ffc9a790602401602060405180830381865afa9250505080156105bb575060408051601f3d908101601f191682019092526105b891810190612940565b60015b6105c7575060006105ca565b90505b80156105e95760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce9190612990565b6001600160a01b0316336001600160a01b0316146106ff5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610714600090565b6001600160601b03168152602001836001600160601b03168152602001610739603290565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061079f9084906004016129ad565b6020604051808303816000875af11580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190612968565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c0565b905090565b61087e61247e565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108b8600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610900610e3a565b6001600160a01b0316815260200182600101805461091d906129dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906129dd565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d9190612940565b15610a84576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610aad5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610af6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1a9190612940565b610b42576040516372657a5160e01b81526001600160a01b0382166004820152602401610a7b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb09190612968565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612db883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c859190612a17565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfd9190612968565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190612940565b1515600003610da657604051632bb46a5f60e01b815260040160405180910390fd5b610db18360d261190b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de19086906004016129ad565b6020604051808303816000875af1158015610e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e249190612968565b9392505050565b610e3361247e565b6060915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190612940565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612990565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756107ec565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612a30565b600080516020612d988339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611a41565b61105e83611ce0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610871600080516020612d98833981519152546001600160401b031690565b6000600080516020612db883398151915260010182815481106110f3576110f3612a59565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111909190612968565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa1580156111f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112179190612940565b151560000361123957604051632bb46a5f60e01b815260040160405180910390fd5b610db18360dc61190b565b600061124e6107ec565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612a7a565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b03166000811580156112fa5750825b90506000826001600160401b031660011480156113165750303b155b905081158015611324575080155b156113425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561136c57845460ff60401b1916600160401b1785555b6113768888611a41565b6113808787611ce8565b83156113c657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113d861247e565b6040516301ffc9a760e01b8152631b1599eb60e21b60048201526060906001600160a01b038616906301ffc9a790602401602060405180830381865afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190612940565b61146757604051634138dc2760e11b815260040160405180910390fd5b611472858585611fb2565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e79190612968565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612940565b61158357604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906115b39086906004016129ad565b6020604051808303816000875af11580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b15801561164157600080fd5b505af1158015611655573d6000803e3d6000fd5b50505050505b935093915050565b61166b61247e565b6040516301ffc9a760e01b8152631b4612f160e31b60048201526060906001600160a01b038416906301ffc9a790602401602060405180830381865afa1580156116b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116dd9190612940565b15156000036116ff57604051635458064d60e11b815260040160405180910390fd5b61170b83603c33611fb2565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa15801561175d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117819190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156117d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f79190612990565b6001600160a01b0316336001600160a01b0316146118285760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061185f9086906004016129ad565b6020604051808303816000875af115801561187e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a29190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b1580156118ed57600080fd5b505af1158015611901573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611948576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa15801561199f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c39190612940565b806119d9575060a08201516001600160a01b0316155b15611a085760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b604082015160ff828116911614611a3d57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b5050565b611a4961218e565b600080516020612db88339815191526000611a79600080516020612d98833981519152546001600160401b031690565b90506000611a856107ec565b9050816001600160401b0316600103611ab25760028301805462ffffff191662ffffff8316179055611b00565b600283015462ffffff90811690821611611b005760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a7b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd89190612a97565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e61218e565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b0316600081158015611d1b5750825b90506000826001600160401b03166001148015611d375750303b155b905081158015611d45575080155b15611d635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d8d57845460ff60401b1916600160401b1785555b600087611d98611244565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611e04908b908690600401612abe565b600060405180830381865af4158015611e21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e499190810190612b16565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611e889085908590600401612b4a565b602060405180830381865af4158015611ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec99190612990565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f399190612968565b9050611f4683828e6121c7565b611f4e6109b7565b611f5e63183a225360e11b61224b565b50505050508315611fa957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b611fba61247e565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120229190810190612b6c565b608082015191935091506001600160a01b03868116911614612068576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e09190612940565b806121015750826001600160a01b03168260a001516001600160a01b031614155b156121305760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b0385163303612159576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff85811691161461165b57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b600080516020612d9883398151915254600160401b900460ff166121c557604051631afcd79f60e31b815260040160405180910390fd5b565b60006121f560408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6121fd611244565b60405160200161220e929190612c64565b6040516020818303038152906040529050612235848461222c603c90565b60008686612270565b612245631b4612f160e31b61224b565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61227a82876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ea8382612cd8565b50611fa96303fb044760e21b61224b565b600280546001600160a01b0319166001600160a01b038416179055611a3d816001546001600160a01b0316156123535760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b03811661237a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123b05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561242a575060408051601f3d908101601f1916820190925261242791810190612940565b60015b6124525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b80611a3d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a7b565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124ce57600080fd5b81356001600160e01b031981168114610e2457600080fd5b6001600160a01b038116811461247b57600080fd5b8035612506816124e6565b919050565b60006020828403121561251d57600080fd5b8135610e24816124e6565b60005b8381101561254357818101518382015260200161252b565b50506000910152565b60008151808452612564816020860160208601612528565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125e960e085018261254c565b949350505050565b6040815260006126046040830185612578565b8281036020840152612616818561254c565b95945050505050565b602081526000610e24602083018461254c565b62ffffff8116811461247b57600080fd5b60006020828403121561265557600080fd5b8135610e2481612632565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561269857612698612660565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126c6576126c6612660565b604052919050565b6001600160601b038116811461247b57600080fd5b8035612506816126ce565b60ff8116811461247b57600080fd5b8035612506816126ee565b801515811461247b57600080fd5b803561250681612708565b60006001600160401b0382111561273a5761273a612660565b50601f01601f191660200190565b600082601f83011261275957600080fd5b813561276c61276782612721565b61269e565b81815284602083860101111561278157600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156127b057600080fd5b81356001600160401b03808211156127c757600080fd5b9083019060e082860312156127db57600080fd5b6127e3612676565b6127ec836126e3565b81526127fa602084016126e3565b602082015261280b604084016126fd565b604082015261281c60608401612716565b606082015261282d608084016124fb565b608082015261283e60a084016124fb565b60a082015260c08301358281111561285557600080fd5b61286187828601612748565b60c08301525095945050505050565b60008060006060848603121561288557600080fd5b8335612890816124e6565b925060208401356128a0816124e6565b915060408401356001600160401b038111156128bb57600080fd5b6128c786828701612748565b9150509250925092565b6000602082840312156128e357600080fd5b5035919050565b6000806000606084860312156128ff57600080fd5b833561290a816124e6565b9250602084013561291a816126ee565b9150604084013561292a816124e6565b809150509250925092565b805161250681612708565b60006020828403121561295257600080fd5b8151610e2481612708565b8051612506816126ce565b60006020828403121561297a57600080fd5b8151610e24816126ce565b8051612506816124e6565b6000602082840312156129a257600080fd5b8151610e24816124e6565b602081526000610e246020830184612578565b6000602082840312156129d257600080fd5b8151610e2481612632565b600181811c908216806129f157607f821691505b602082108103612a1157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a2957600080fd5b5051919050565b600060208284031215612a4257600080fd5b81516001600160401b0381168114610e2457600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612506816126ee565b600060208284031215612a8c57600080fd5b8151610e24816126ee565b600060208284031215612aa957600080fd5b815164ffffffffff81168114610e2457600080fd5b604081526000612604604083018561254c565b600082601f830112612ae257600080fd5b8151612af061276782612721565b818152846020838601011115612b0557600080fd5b6125e9826020830160208701612528565b600060208284031215612b2857600080fd5b81516001600160401b03811115612b3e57600080fd5b6125e984828501612ad1565b604081526000612b5d604083018561254c565b90508260208301529392505050565b60008060408385031215612b7f57600080fd5b82516001600160401b0380821115612b9657600080fd5b9084019060e08287031215612baa57600080fd5b612bb2612676565b612bbb8361295d565b8152612bc96020840161295d565b6020820152612bda60408401612a6f565b6040820152612beb60608401612935565b6060820152612bfc60808401612985565b6080820152612c0d60a08401612985565b60a082015260c083015182811115612c2457600080fd5b612c3088828601612ad1565b60c0830152506020860151909450915080821115612c4d57600080fd5b50612c5a85828601612ad1565b9150509250929050565b604081526000612c77604083018561254c565b905060ff831660208301529392505050565b601f821115612cd357600081815260208120601f850160051c81016020861015612cb05750805b601f850160051c820191505b81811015612ccf57828155600101612cbc565b5050505b505050565b81516001600160401b03811115612cf157612cf1612660565b612d0581612cff84546129dd565b84612c89565b602080601f831160018114612d3a5760008415612d225750858301515b600019600386901b1c1916600185901b178555612ccf565b600085815260208120601f198616915b82811015612d6957888601518255948401946001909101908401612d4a565b5085821015612d875787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206189342c61b88973da0b2ea625e9c4735d1693a2d6cc4a5b590ef81dab5100ca64736f6c63430008140033",
896
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046124bc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e336600461250b565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107ec565b60405162ffffff90911681526020016101cc565b610224610876565b6040516101cc9291906125f1565b61023a6109b7565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061261f565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612643565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612db883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612643565b610bd9565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e861040436600461279e565b610c8c565b600154600160a01b90046001600160601b03166101e8565b61022461042f36600461250b565b610e2b565b6103de610e3a565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f366004612870565b610f53565b6104ac6110ad565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046128d1565b6110ce565b6101e86104e536600461279e565b61111f565b6104f2611244565b60405160ff90911681526020016101cc565b61023a610512366004612870565b6112c7565b6102246105253660046128ea565b6113d0565b6103de600181565b610297600081565b61022461054836600461250b565b611663565b6040516301ffc9a760e01b81526303fb044760e21b6004820152600090829082906001600160a01b038316906301ffc9a790602401602060405180830381865afa9250505080156105bb575060408051601f3d908101601f191682019092526105b891810190612940565b60015b6105c7575060006105ca565b90505b80156105e95760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce9190612990565b6001600160a01b0316336001600160a01b0316146106ff5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610714600090565b6001600160601b03168152602001836001600160601b03168152602001610739603290565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061079f9084906004016129ad565b6020604051808303816000875af11580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190612968565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c0565b905090565b61087e61247e565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108b8600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610900610e3a565b6001600160a01b0316815260200182600101805461091d906129dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906129dd565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d9190612940565b15610a84576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610aad5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610af6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1a9190612940565b610b42576040516372657a5160e01b81526001600160a01b0382166004820152602401610a7b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb09190612968565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612db883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c859190612a17565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfd9190612968565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190612940565b1515600003610da657604051632bb46a5f60e01b815260040160405180910390fd5b610db18360d261190b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de19086906004016129ad565b6020604051808303816000875af1158015610e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e249190612968565b9392505050565b610e3361247e565b6060915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190612940565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612990565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756107ec565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612a30565b600080516020612d988339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611a41565b61105e83611ce0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610871600080516020612d98833981519152546001600160401b031690565b6000600080516020612db883398151915260010182815481106110f3576110f3612a59565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111909190612968565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa1580156111f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112179190612940565b151560000361123957604051632bb46a5f60e01b815260040160405180910390fd5b610db18360dc61190b565b600061124e6107ec565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612a7a565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b03166000811580156112fa5750825b90506000826001600160401b031660011480156113165750303b155b905081158015611324575080155b156113425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561136c57845460ff60401b1916600160401b1785555b6113768888611a41565b6113808787611ce8565b83156113c657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113d861247e565b6040516301ffc9a760e01b8152631b1599eb60e21b60048201526060906001600160a01b038616906301ffc9a790602401602060405180830381865afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190612940565b61146757604051634138dc2760e11b815260040160405180910390fd5b611472858585611fb2565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e79190612968565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612940565b61158357604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906115b39086906004016129ad565b6020604051808303816000875af11580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b15801561164157600080fd5b505af1158015611655573d6000803e3d6000fd5b50505050505b935093915050565b61166b61247e565b6040516301ffc9a760e01b8152631b4612f160e31b60048201526060906001600160a01b038416906301ffc9a790602401602060405180830381865afa1580156116b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116dd9190612940565b15156000036116ff57604051635458064d60e11b815260040160405180910390fd5b61170b83603c33611fb2565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa15801561175d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117819190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156117d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f79190612990565b6001600160a01b0316336001600160a01b0316146118285760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061185f9086906004016129ad565b6020604051808303816000875af115801561187e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a29190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b1580156118ed57600080fd5b505af1158015611901573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611948576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa15801561199f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c39190612940565b806119d9575060a08201516001600160a01b0316155b15611a085760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b604082015160ff828116911614611a3d57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b5050565b611a4961218e565b600080516020612db88339815191526000611a79600080516020612d98833981519152546001600160401b031690565b90506000611a856107ec565b9050816001600160401b0316600103611ab25760028301805462ffffff191662ffffff8316179055611b00565b600283015462ffffff90811690821611611b005760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a7b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd89190612a97565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e61218e565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b0316600081158015611d1b5750825b90506000826001600160401b03166001148015611d375750303b155b905081158015611d45575080155b15611d635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d8d57845460ff60401b1916600160401b1785555b600087611d98611244565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611e04908b908690600401612abe565b600060405180830381865af4158015611e21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e499190810190612b16565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611e889085908590600401612b4a565b602060405180830381865af4158015611ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec99190612990565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f399190612968565b9050611f4683828e6121c7565b611f4e6109b7565b611f5e63183a225360e11b61224b565b50505050508315611fa957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b611fba61247e565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120229190810190612b6c565b608082015191935091506001600160a01b03868116911614612068576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e09190612940565b806121015750826001600160a01b03168260a001516001600160a01b031614155b156121305760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b0385163303612159576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff85811691161461165b57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b600080516020612d9883398151915254600160401b900460ff166121c557604051631afcd79f60e31b815260040160405180910390fd5b565b60006121f560408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6121fd611244565b60405160200161220e929190612c64565b6040516020818303038152906040529050612235848461222c603c90565b60008686612270565b612245631b4612f160e31b61224b565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61227a82876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ea8382612cd8565b50611fa96303fb044760e21b61224b565b600280546001600160a01b0319166001600160a01b038416179055611a3d816001546001600160a01b0316156123535760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b03811661237a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123b05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561242a575060408051601f3d908101601f1916820190925261242791810190612940565b60015b6124525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b80611a3d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a7b565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124ce57600080fd5b81356001600160e01b031981168114610e2457600080fd5b6001600160a01b038116811461247b57600080fd5b8035612506816124e6565b919050565b60006020828403121561251d57600080fd5b8135610e24816124e6565b60005b8381101561254357818101518382015260200161252b565b50506000910152565b60008151808452612564816020860160208601612528565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125e960e085018261254c565b949350505050565b6040815260006126046040830185612578565b8281036020840152612616818561254c565b95945050505050565b602081526000610e24602083018461254c565b62ffffff8116811461247b57600080fd5b60006020828403121561265557600080fd5b8135610e2481612632565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561269857612698612660565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126c6576126c6612660565b604052919050565b6001600160601b038116811461247b57600080fd5b8035612506816126ce565b60ff8116811461247b57600080fd5b8035612506816126ee565b801515811461247b57600080fd5b803561250681612708565b60006001600160401b0382111561273a5761273a612660565b50601f01601f191660200190565b600082601f83011261275957600080fd5b813561276c61276782612721565b61269e565b81815284602083860101111561278157600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156127b057600080fd5b81356001600160401b03808211156127c757600080fd5b9083019060e082860312156127db57600080fd5b6127e3612676565b6127ec836126e3565b81526127fa602084016126e3565b602082015261280b604084016126fd565b604082015261281c60608401612716565b606082015261282d608084016124fb565b608082015261283e60a084016124fb565b60a082015260c08301358281111561285557600080fd5b61286187828601612748565b60c08301525095945050505050565b60008060006060848603121561288557600080fd5b8335612890816124e6565b925060208401356128a0816124e6565b915060408401356001600160401b038111156128bb57600080fd5b6128c786828701612748565b9150509250925092565b6000602082840312156128e357600080fd5b5035919050565b6000806000606084860312156128ff57600080fd5b833561290a816124e6565b9250602084013561291a816126ee565b9150604084013561292a816124e6565b809150509250925092565b805161250681612708565b60006020828403121561295257600080fd5b8151610e2481612708565b8051612506816126ce565b60006020828403121561297a57600080fd5b8151610e24816126ce565b8051612506816124e6565b6000602082840312156129a257600080fd5b8151610e24816124e6565b602081526000610e246020830184612578565b6000602082840312156129d257600080fd5b8151610e2481612632565b600181811c908216806129f157607f821691505b602082108103612a1157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a2957600080fd5b5051919050565b600060208284031215612a4257600080fd5b81516001600160401b0381168114610e2457600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612506816126ee565b600060208284031215612a8c57600080fd5b8151610e24816126ee565b600060208284031215612aa957600080fd5b815164ffffffffff81168114610e2457600080fd5b604081526000612604604083018561254c565b600082601f830112612ae257600080fd5b8151612af061276782612721565b818152846020838601011115612b0557600080fd5b6125e9826020830160208701612528565b600060208284031215612b2857600080fd5b81516001600160401b03811115612b3e57600080fd5b6125e984828501612ad1565b604081526000612b5d604083018561254c565b90508260208301529392505050565b60008060408385031215612b7f57600080fd5b82516001600160401b0380821115612b9657600080fd5b9084019060e08287031215612baa57600080fd5b612bb2612676565b612bbb8361295d565b8152612bc96020840161295d565b6020820152612bda60408401612a6f565b6040820152612beb60608401612935565b6060820152612bfc60808401612985565b6080820152612c0d60a08401612985565b60a082015260c083015182811115612c2457600080fd5b612c3088828601612ad1565b60c0830152506020860151909450915080821115612c4d57600080fd5b50612c5a85828601612ad1565b9150509250929050565b604081526000612c77604083018561254c565b905060ff831660208301529392505050565b601f821115612cd357600081815260208120601f850160051c81016020861015612cb05750805b601f850160051c820191505b81811015612ccf57828155600101612cbc565b5050505b505050565b81516001600160401b03811115612cf157612cf1612660565b612d0581612cff84546129dd565b84612c89565b602080601f831160018114612d3a5760008415612d225750858301515b600019600386901b1c1916600185901b178555612ccf565b600085815260208120601f198616915b82811015612d6957888601518255948401946001909101908401612d4a565b5085821015612d875787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206189342c61b88973da0b2ea625e9c4735d1693a2d6cc4a5b590ef81dab5100ca64736f6c63430008140033",
1111
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612d6e80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612352565b6104b9565b60405161023991906123db565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fc565b610a84565b61028e6102e63660046125a4565b610ab1565b61028e6102f936600461263c565b610b3d565b61028e610c8a565b61028e610314366004612670565b610cd0565b61032c6103273660046126bf565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126bf565b610e5e565b61025561038a366004612352565b610e74565b600080516020612cd9833981519152546001600160601b031661032c565b61028e6103bb366004612791565b610fb4565b6102556103ce366004612352565b6110c7565b61028e6103e1366004612791565b611174565b61032c6103f43660046126bf565b6111f7565b61035161120d565b610409611344565b60405161023991906127ae565b610255610424366004612352565b61137c565b6102b7600080516020612cd983398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c3565b61032c61047e3660046126bf565b611a2f565b610441611a45565b61028e610499366004612352565b611abc565b6102b7600081565b61028e6104b4366004612352565b611b54565b6104c16122be565b6104ce335b600036611bcb565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610501906302994e4760e61b906004016127ae565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287b565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd1565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123db565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c0565b905090565b6106e96122be565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e5565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e5565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287b565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287b565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec1565b610ac38287611b54565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612965565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a24565b600080516020612d198339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efa565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f02565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a612029565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123db565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a3565b92915050565b6000610e69336104c6565b610de58260d3612029565b610e7c6122be565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb8906301da8d1160e61b906004016127ae565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287b565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123db565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a3565b6001600160601b0316815292915050565b610fbc611ec1565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906110389063230c0c8160e11b906004016127ae565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287b565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122be565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063100f51f760e01b906004016127ae565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287b565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612134565b6000611202336104c6565b610de5826050612029565b600080600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287b565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a58565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cf9833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122be565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090630c14afe960e21b906004016127ae565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287b565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cf9833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d290565b816000815181106114a3576114a3612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816000815181106114e9576114e9612a75565b602002602001015160200181905250635c992fed60e01b8160008151811061151357611513612a75565b60200260200101516020015160008151811061153157611531612a75565b6001600160e01b03199092166020928302919091019091015261155260d390565b8160018151811061156557611565612a75565b60209081029190910181015160ff929092169091526040805160008152918201905281518290600190811061159c5761159c612a75565b6020026020010151602001819052506115b360d490565b816002815181106115c6576115c6612a75565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115fd576115fd612a75565b60200260200101516020018190525061161460dc90565b8160038151811061162757611627612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166d5761166d612a75565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169757611697612a75565b6020026020010151602001516000815181106116b5576116b5612a75565b6001600160e01b0319909216602092830291909101909101526116d6606e90565b816004815181106116e9576116e9612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061172f5761172f612a75565b602002602001015160200181905250635d96628960e01b8160048151811061175957611759612a75565b60200260200101516020015160008151811061177757611777612a75565b6001600160e01b031990921660209283029190910190910152611798608c90565b816005815181106117ab576117ab612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f1576117f1612a75565b602002602001015160200181905250637286e5e560e01b8160058151811061181b5761181b612a75565b60200260200101516020015160008151811061183957611839612a75565b6001600160e01b03199092166020928302919091019091015261185a607890565b8160068151811061186d5761186d612a75565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b4576118b4612a75565b602002602001015160200181905250638fbc2d8160e01b816006815181106118de576118de612a75565b6020026020010151602001516000815181106118fc576118fc612a75565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193357611933612a75565b60200260200101516020015160018151811061195157611951612a75565b6001600160e01b031990921660209283029190910190910152611972604690565b8160078151811061198557611985612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cb576119cb612a75565b60200260200101516020018190525063026bc43b60e01b816007815181106119f5576119f5612a75565b602002602001015160200151600081518110611a1357611a13612a75565b6001600160e01b03199092166020928302919091019091015290565b6000611a3a336104c6565b610de58260dc612029565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a96565b611ac4611ec1565b611b4482836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a91906128a3565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5c611ec1565b611b6581610fb4565b611b6d610c8a565b6001600160a01b038216611b945760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cd983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cf9833981519152600080611c06611be8611429565b8730611bf8600460008a8c612ab3565b611c0191612add565b612195565b9150915081611cc95763ffffffff811615611ca657825460ff60a01b1916600160a01b178355611c34611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6393929190612b0d565b600060405180830381600087803b158015611c7d57600080fd5b505af1158015611c91573d6000803e3d6000fd5b5050845460ff60a01b1916855550611cc99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cd96122be565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d17573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3f9190810190612b92565b6001600160a01b0385166080820152604081015190915060ff848116911614611d8e576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dca5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfc576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b919061287b565b15611eb957604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1983398151915254600160401b900460ff16611ef857604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec1565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015611f355750825b90506000826001600160401b03166001148015611f515750303b155b905081158015611f5f575080155b15611f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa757845460ff60401b1916600160401b1785555b60008087806020019051810190611fbe9190612c55565b91509150611fcb816122a1565b611fd5828a611abc565b611fe563aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206d576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612111919061287b565b1561212f57604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cf983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122049190612c84565b600060405180830381855afa9150503d806000811461223f576040519150601f19603f3d011682016040523d82523d6000602084013e612244565b606091505b50915091508115612296576040815110612276578080602001905181019061226c9190612ca0565b9094509250612296565b60208151106122965780806020019051810190612293919061287b565b93505b505094509492505050565b6122a9611ec1565b6110c4816122b5611ec1565b6110c481612134565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561230e57600080fd5b81356001600160e01b03198116811461232657600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234d8161232d565b919050565b6000806040838503121561236557600080fd5b82356123708161232d565b915060208301356123808161232d565b809150509250929050565b60005b838110156123a657818101518382015260200161238e565b50506000910152565b600081518084526123c781602086016020860161238b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244460c08401826001600160a01b03169052565b5060c083015160e08084015261245e6101008401826123af565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234d81612466565b60ff811681146110c457600080fd5b803561234d81612486565b80151581146110c457600080fd5b803561234d816124a0565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f1576124f16124b9565b60405290565b604051601f8201601f191681016001600160401b038111828210171561251f5761251f6124b9565b604052919050565b60006001600160401b03821115612540576125406124b9565b50601f01601f191660200190565b600082601f83011261255f57600080fd5b813561257261256d82612527565b6124f7565b81815284602083860101111561258757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bd57600080fd5b86356125c88161232d565b955060208701356125d881612466565b945060408701356125e881612486565b935060608701356125f8816124a0565b925060808701356126088161232d565b915060a08701356001600160401b0381111561262357600080fd5b61262f89828a0161254e565b9150509295509295509295565b60006020828403121561264e57600080fd5b81356001600160401b0381111561266457600080fd5b61245e8482850161254e565b6000806040838503121561268357600080fd5b823561268e8161232d565b915060208301356001600160401b038111156126a957600080fd5b6126b58582860161254e565b9150509250929050565b6000602082840312156126d157600080fd5b81356001600160401b03808211156126e857600080fd5b9083019060e082860312156126fc57600080fd5b6127046124cf565b61270d8361247b565b815261271b6020840161247b565b602082015261272c60408401612495565b604082015261273d606084016124ae565b606082015261274e60808401612342565b608082015261275f60a08401612342565b60a082015260c08301358281111561277657600080fd5b6127828782860161254e565b60c08301525095945050505050565b6000602082840312156127a357600080fd5b81356123268161232d565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286157898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284c5783516001600160e01b0319168252928b019260019290920191908b0190612822565b50978a019795505050918701916001016127eb565b50919998505050505050505050565b805161234d816124a0565b60006020828403121561288d57600080fd5b8151612326816124a0565b805161234d81612466565b6000602082840312156128b557600080fd5b815161232681612466565b6000602082840312156128d257600080fd5b815162ffffff8116811461232657600080fd5b600181811c908216806128f957607f821691505b60208210810361291957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561212f57600081815260208120601f850160051c810160208610156129465750805b601f850160051c820191505b81811015611cc957828155600101612952565b81516001600160401b0381111561297e5761297e6124b9565b6129928161298c84546128e5565b8461291f565b602080601f8311600181146129c757600084156129af5750858301515b600019600386901b1c1916600185901b178555611cc9565b600085815260208120601f198616915b828110156129f6578886015182559484019460019091019084016129d7565b5085821015612a145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3657600080fd5b81516001600160401b038116811461232657600080fd5b805161234d8161232d565b600060208284031215612a6a57600080fd5b81516123268161232d565b634e487b7160e01b600052603260045260246000fd5b805161234d81612486565b600060208284031215612aa857600080fd5b815161232681612486565b60008085851115612ac357600080fd5b83861115612ad057600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b055780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b5e57600080fd5b8151612b6c61256d82612527565b818152846020838601011115612b8157600080fd5b61245e82602083016020870161238b565b600060208284031215612ba457600080fd5b81516001600160401b0380821115612bbb57600080fd5b9083019060e08286031215612bcf57600080fd5b612bd76124cf565b612be083612898565b8152612bee60208401612898565b6020820152612bff60408401612a8b565b6040820152612c1060608401612870565b6060820152612c2160808401612a4d565b6080820152612c3260a08401612a4d565b60a082015260c083015182811115612c4957600080fd5b61278287828601612b4d565b60008060408385031215612c6857600080fd5b8251612c738161232d565b60208401519092506123808161232d565b60008251612c9681846020870161238b565b9190910192915050565b60008060408385031215612cb357600080fd5b8251612cbe816124a0565b602084015190925063ffffffff8116811461238057600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220f2af74420a0fbe3c642d3da6c22e192332fb34686c79eaec6feb67df708a721364736f6c63430008140033",
1112
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612352565b6104b9565b60405161023991906123db565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fc565b610a84565b61028e6102e63660046125a4565b610ab1565b61028e6102f936600461263c565b610b3d565b61028e610c8a565b61028e610314366004612670565b610cd0565b61032c6103273660046126bf565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126bf565b610e5e565b61025561038a366004612352565b610e74565b600080516020612cd9833981519152546001600160601b031661032c565b61028e6103bb366004612791565b610fb4565b6102556103ce366004612352565b6110c7565b61028e6103e1366004612791565b611174565b61032c6103f43660046126bf565b6111f7565b61035161120d565b610409611344565b60405161023991906127ae565b610255610424366004612352565b61137c565b6102b7600080516020612cd983398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c3565b61032c61047e3660046126bf565b611a2f565b610441611a45565b61028e610499366004612352565b611abc565b6102b7600081565b61028e6104b4366004612352565b611b54565b6104c16122be565b6104ce335b600036611bcb565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610501906302994e4760e61b906004016127ae565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287b565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd1565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123db565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c0565b905090565b6106e96122be565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e5565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e5565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287b565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287b565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec1565b610ac38287611b54565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612965565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a24565b600080516020612d198339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efa565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f02565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a612029565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123db565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a3565b92915050565b6000610e69336104c6565b610de58260d3612029565b610e7c6122be565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb8906301da8d1160e61b906004016127ae565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287b565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123db565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a3565b6001600160601b0316815292915050565b610fbc611ec1565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906110389063230c0c8160e11b906004016127ae565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287b565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122be565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063100f51f760e01b906004016127ae565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287b565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612134565b6000611202336104c6565b610de5826050612029565b600080600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287b565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a58565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cf9833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122be565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090630c14afe960e21b906004016127ae565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287b565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cf9833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d290565b816000815181106114a3576114a3612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816000815181106114e9576114e9612a75565b602002602001015160200181905250635c992fed60e01b8160008151811061151357611513612a75565b60200260200101516020015160008151811061153157611531612a75565b6001600160e01b03199092166020928302919091019091015261155260d390565b8160018151811061156557611565612a75565b60209081029190910181015160ff929092169091526040805160008152918201905281518290600190811061159c5761159c612a75565b6020026020010151602001819052506115b360d490565b816002815181106115c6576115c6612a75565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115fd576115fd612a75565b60200260200101516020018190525061161460dc90565b8160038151811061162757611627612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166d5761166d612a75565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169757611697612a75565b6020026020010151602001516000815181106116b5576116b5612a75565b6001600160e01b0319909216602092830291909101909101526116d6606e90565b816004815181106116e9576116e9612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061172f5761172f612a75565b602002602001015160200181905250635d96628960e01b8160048151811061175957611759612a75565b60200260200101516020015160008151811061177757611777612a75565b6001600160e01b031990921660209283029190910190910152611798608c90565b816005815181106117ab576117ab612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f1576117f1612a75565b602002602001015160200181905250637286e5e560e01b8160058151811061181b5761181b612a75565b60200260200101516020015160008151811061183957611839612a75565b6001600160e01b03199092166020928302919091019091015261185a607890565b8160068151811061186d5761186d612a75565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b4576118b4612a75565b602002602001015160200181905250638fbc2d8160e01b816006815181106118de576118de612a75565b6020026020010151602001516000815181106118fc576118fc612a75565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193357611933612a75565b60200260200101516020015160018151811061195157611951612a75565b6001600160e01b031990921660209283029190910190910152611972604690565b8160078151811061198557611985612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cb576119cb612a75565b60200260200101516020018190525063026bc43b60e01b816007815181106119f5576119f5612a75565b602002602001015160200151600081518110611a1357611a13612a75565b6001600160e01b03199092166020928302919091019091015290565b6000611a3a336104c6565b610de58260dc612029565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a96565b611ac4611ec1565b611b4482836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a91906128a3565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5c611ec1565b611b6581610fb4565b611b6d610c8a565b6001600160a01b038216611b945760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cd983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cf9833981519152600080611c06611be8611429565b8730611bf8600460008a8c612ab3565b611c0191612add565b612195565b9150915081611cc95763ffffffff811615611ca657825460ff60a01b1916600160a01b178355611c34611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6393929190612b0d565b600060405180830381600087803b158015611c7d57600080fd5b505af1158015611c91573d6000803e3d6000fd5b5050845460ff60a01b1916855550611cc99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cd96122be565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d17573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3f9190810190612b92565b6001600160a01b0385166080820152604081015190915060ff848116911614611d8e576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dca5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfc576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b919061287b565b15611eb957604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1983398151915254600160401b900460ff16611ef857604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec1565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015611f355750825b90506000826001600160401b03166001148015611f515750303b155b905081158015611f5f575080155b15611f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa757845460ff60401b1916600160401b1785555b60008087806020019051810190611fbe9190612c55565b91509150611fcb816122a1565b611fd5828a611abc565b611fe563aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206d576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612111919061287b565b1561212f57604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cf983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122049190612c84565b600060405180830381855afa9150503d806000811461223f576040519150601f19603f3d011682016040523d82523d6000602084013e612244565b606091505b50915091508115612296576040815110612276578080602001905181019061226c9190612ca0565b9094509250612296565b60208151106122965780806020019051810190612293919061287b565b93505b505094509492505050565b6122a9611ec1565b6110c4816122b5611ec1565b6110c481612134565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561230e57600080fd5b81356001600160e01b03198116811461232657600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234d8161232d565b919050565b6000806040838503121561236557600080fd5b82356123708161232d565b915060208301356123808161232d565b809150509250929050565b60005b838110156123a657818101518382015260200161238e565b50506000910152565b600081518084526123c781602086016020860161238b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244460c08401826001600160a01b03169052565b5060c083015160e08084015261245e6101008401826123af565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234d81612466565b60ff811681146110c457600080fd5b803561234d81612486565b80151581146110c457600080fd5b803561234d816124a0565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f1576124f16124b9565b60405290565b604051601f8201601f191681016001600160401b038111828210171561251f5761251f6124b9565b604052919050565b60006001600160401b03821115612540576125406124b9565b50601f01601f191660200190565b600082601f83011261255f57600080fd5b813561257261256d82612527565b6124f7565b81815284602083860101111561258757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bd57600080fd5b86356125c88161232d565b955060208701356125d881612466565b945060408701356125e881612486565b935060608701356125f8816124a0565b925060808701356126088161232d565b915060a08701356001600160401b0381111561262357600080fd5b61262f89828a0161254e565b9150509295509295509295565b60006020828403121561264e57600080fd5b81356001600160401b0381111561266457600080fd5b61245e8482850161254e565b6000806040838503121561268357600080fd5b823561268e8161232d565b915060208301356001600160401b038111156126a957600080fd5b6126b58582860161254e565b9150509250929050565b6000602082840312156126d157600080fd5b81356001600160401b03808211156126e857600080fd5b9083019060e082860312156126fc57600080fd5b6127046124cf565b61270d8361247b565b815261271b6020840161247b565b602082015261272c60408401612495565b604082015261273d606084016124ae565b606082015261274e60808401612342565b608082015261275f60a08401612342565b60a082015260c08301358281111561277657600080fd5b6127828782860161254e565b60c08301525095945050505050565b6000602082840312156127a357600080fd5b81356123268161232d565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286157898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284c5783516001600160e01b0319168252928b019260019290920191908b0190612822565b50978a019795505050918701916001016127eb565b50919998505050505050505050565b805161234d816124a0565b60006020828403121561288d57600080fd5b8151612326816124a0565b805161234d81612466565b6000602082840312156128b557600080fd5b815161232681612466565b6000602082840312156128d257600080fd5b815162ffffff8116811461232657600080fd5b600181811c908216806128f957607f821691505b60208210810361291957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561212f57600081815260208120601f850160051c810160208610156129465750805b601f850160051c820191505b81811015611cc957828155600101612952565b81516001600160401b0381111561297e5761297e6124b9565b6129928161298c84546128e5565b8461291f565b602080601f8311600181146129c757600084156129af5750858301515b600019600386901b1c1916600185901b178555611cc9565b600085815260208120601f198616915b828110156129f6578886015182559484019460019091019084016129d7565b5085821015612a145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3657600080fd5b81516001600160401b038116811461232657600080fd5b805161234d8161232d565b600060208284031215612a6a57600080fd5b81516123268161232d565b634e487b7160e01b600052603260045260246000fd5b805161234d81612486565b600060208284031215612aa857600080fd5b815161232681612486565b60008085851115612ac357600080fd5b83861115612ad057600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b055780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b5e57600080fd5b8151612b6c61256d82612527565b818152846020838601011115612b8157600080fd5b61245e82602083016020870161238b565b600060208284031215612ba457600080fd5b81516001600160401b0380821115612bbb57600080fd5b9083019060e08286031215612bcf57600080fd5b612bd76124cf565b612be083612898565b8152612bee60208401612898565b6020820152612bff60408401612a8b565b6040820152612c1060608401612870565b6060820152612c2160808401612a4d565b6080820152612c3260a08401612a4d565b60a082015260c083015182811115612c4957600080fd5b61278287828601612b4d565b60008060408385031215612c6857600080fd5b8251612c738161232d565b60208401519092506123808161232d565b60008251612c9681846020870161238b565b9190910192915050565b60008060408385031215612cb357600080fd5b8251612cbe816124a0565b602084015190925063ffffffff8116811461238057600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220f2af74420a0fbe3c642d3da6c22e192332fb34686c79eaec6feb67df708a721364736f6c63430008140033",
897
1113
  "linkReferences": {
898
- "contracts/shared/ContractDeployerLib.sol": {
899
- "ContractDeployerLib": [
900
- {
901
- "length": 20,
902
- "start": 7950
903
- },
904
- {
905
- "length": 20,
906
- "start": 8082
907
- }
908
- ]
909
- },
910
- "contracts/types/Blocknumber.sol": {
911
- "BlocknumberLib": [
912
- {
913
- "length": 20,
914
- "start": 3419
915
- }
916
- ]
917
- },
918
1114
  "contracts/types/NftId.sol": {
919
1115
  "NftIdLib": [
920
1116
  {
921
1117
  "length": 20,
922
- "start": 2835
1118
+ "start": 2456
923
1119
  },
924
1120
  {
925
1121
  "length": 20,
926
- "start": 3993
927
- }
928
- ]
929
- },
930
- "contracts/types/Timestamp.sol": {
931
- "TimestampLib": [
932
- {
933
- "length": 20,
934
- "start": 7342
1122
+ "start": 4905
935
1123
  }
936
1124
  ]
937
1125
  },
@@ -939,57 +1127,31 @@
939
1127
  "VersionLib": [
940
1128
  {
941
1129
  "length": 20,
942
- "start": 2375
1130
+ "start": 1892
943
1131
  },
944
1132
  {
945
1133
  "length": 20,
946
- "start": 4233
947
- },
1134
+ "start": 3109
1135
+ }
1136
+ ],
1137
+ "VersionPartLib": [
948
1138
  {
949
1139
  "length": 20,
950
- "start": 5021
1140
+ "start": 6980
951
1141
  }
952
1142
  ]
953
1143
  }
954
1144
  },
955
1145
  "deployedLinkReferences": {
956
- "contracts/shared/ContractDeployerLib.sol": {
957
- "ContractDeployerLib": [
958
- {
959
- "length": 20,
960
- "start": 7642
961
- },
962
- {
963
- "length": 20,
964
- "start": 7774
965
- }
966
- ]
967
- },
968
- "contracts/types/Blocknumber.sol": {
969
- "BlocknumberLib": [
970
- {
971
- "length": 20,
972
- "start": 3111
973
- }
974
- ]
975
- },
976
1146
  "contracts/types/NftId.sol": {
977
1147
  "NftIdLib": [
978
1148
  {
979
1149
  "length": 20,
980
- "start": 2527
1150
+ "start": 2226
981
1151
  },
982
1152
  {
983
1153
  "length": 20,
984
- "start": 3685
985
- }
986
- ]
987
- },
988
- "contracts/types/Timestamp.sol": {
989
- "TimestampLib": [
990
- {
991
- "length": 20,
992
- "start": 7034
1154
+ "start": 4675
993
1155
  }
994
1156
  ]
995
1157
  },
@@ -997,15 +1159,17 @@
997
1159
  "VersionLib": [
998
1160
  {
999
1161
  "length": 20,
1000
- "start": 2067
1162
+ "start": 1662
1001
1163
  },
1002
1164
  {
1003
1165
  "length": 20,
1004
- "start": 3925
1005
- },
1166
+ "start": 2879
1167
+ }
1168
+ ],
1169
+ "VersionPartLib": [
1006
1170
  {
1007
1171
  "length": 20,
1008
- "start": 4713
1172
+ "start": 6750
1009
1173
  }
1010
1174
  ]
1011
1175
  }