@etherisc/gif-next 0.0.2-984cc08-642 → 0.0.2-989147f-853

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (495) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +819 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +273 -1592
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +264 -218
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +443 -2515
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +479 -178
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +442 -249
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +413 -390
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -95
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +58 -75
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +735 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -276
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +438 -201
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +747 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +687 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1386 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IApplicationService.sol/IApplicationService.json} +219 -172
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +182 -302
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +241 -230
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +239 -169
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +72 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +779 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +727 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +679 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +170 -17
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +208 -229
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +196 -43
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +50 -97
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +323 -258
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +331 -81
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +397 -81
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +142 -54
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  126. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +199 -163
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  132. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponent.sol/IComponent.json} +163 -218
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -53
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  164. package/artifacts/contracts/{components/Component.sol/Component.json → staking/IStakingService.sol/IStakingService.json} +219 -194
  165. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  166. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  167. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  168. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
  169. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  171. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  173. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  174. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  175. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  177. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  179. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  181. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  183. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  185. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  186. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  187. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  189. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  191. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  193. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  195. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  197. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  199. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  201. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  203. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  205. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  207. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  209. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  211. package/contracts/distribution/Distribution.sol +285 -0
  212. package/contracts/distribution/DistributionService.sol +351 -0
  213. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +15 -12
  214. package/contracts/distribution/IDistributionComponent.sol +71 -0
  215. package/contracts/distribution/IDistributionService.sol +87 -0
  216. package/contracts/instance/BundleManager.sol +15 -14
  217. package/contracts/instance/IInstance.sol +55 -40
  218. package/contracts/instance/IInstanceService.sol +49 -16
  219. package/contracts/instance/Instance.sol +149 -179
  220. package/contracts/instance/InstanceAccessManager.sol +406 -166
  221. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  222. package/contracts/instance/InstanceReader.sol +101 -26
  223. package/contracts/instance/InstanceService.sol +192 -253
  224. package/contracts/instance/InstanceServiceManager.sol +11 -8
  225. package/contracts/instance/InstanceStore.sol +211 -0
  226. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  227. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  228. package/contracts/instance/base/ILifecycle.sol +3 -3
  229. package/contracts/instance/base/KeyValueStore.sol +44 -47
  230. package/contracts/instance/base/Lifecycle.sol +28 -7
  231. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  232. package/contracts/instance/module/IAccess.sol +24 -18
  233. package/contracts/instance/module/IBundle.sol +11 -8
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +7 -4
  236. package/contracts/instance/module/IPolicy.sol +50 -17
  237. package/contracts/instance/module/IRisk.sol +1 -1
  238. package/contracts/instance/module/ISetup.sol +9 -22
  239. package/contracts/instance/module/ITreasury.sol +2 -2
  240. package/contracts/pool/BundleService.sol +384 -0
  241. package/contracts/{instance/service → pool}/BundleServiceManager.sol +15 -12
  242. package/contracts/pool/IBundleService.sol +118 -0
  243. package/contracts/pool/IPoolComponent.sol +114 -0
  244. package/contracts/pool/IPoolService.sol +114 -0
  245. package/contracts/pool/Pool.sol +302 -0
  246. package/contracts/pool/PoolService.sol +416 -0
  247. package/contracts/{instance/service → pool}/PoolServiceManager.sol +15 -12
  248. package/contracts/product/ApplicationService.sol +187 -0
  249. package/contracts/product/ApplicationServiceManager.sol +38 -0
  250. package/contracts/product/ClaimService.sol +443 -0
  251. package/contracts/product/ClaimServiceManager.sol +38 -0
  252. package/contracts/product/IApplicationService.sol +62 -0
  253. package/contracts/product/IClaimService.sol +93 -0
  254. package/contracts/product/IPolicyService.sol +80 -0
  255. package/contracts/product/IPricingService.sol +37 -0
  256. package/contracts/product/IProductComponent.sol +41 -0
  257. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  258. package/contracts/product/PolicyService.sol +378 -0
  259. package/contracts/{instance/service → product}/PolicyServiceManager.sol +16 -13
  260. package/contracts/product/PricingService.sol +276 -0
  261. package/contracts/product/PricingServiceManager.sol +42 -0
  262. package/contracts/product/Product.sol +379 -0
  263. package/contracts/product/ProductService.sol +212 -0
  264. package/contracts/{instance/service → product}/ProductServiceManager.sol +16 -13
  265. package/contracts/registry/ChainNft.sol +8 -0
  266. package/contracts/registry/IRegistry.sol +36 -21
  267. package/contracts/registry/IRegistryService.sol +33 -32
  268. package/contracts/registry/ITransferInterceptor.sol +1 -0
  269. package/contracts/registry/Registry.sol +160 -89
  270. package/contracts/registry/RegistryAccessManager.sol +51 -129
  271. package/contracts/registry/RegistryService.sol +79 -165
  272. package/contracts/registry/RegistryServiceManager.sol +28 -18
  273. package/contracts/registry/ReleaseManager.sol +235 -197
  274. package/contracts/registry/TokenRegistry.sol +21 -15
  275. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  276. package/contracts/shared/Component.sol +271 -0
  277. package/contracts/shared/ComponentService.sol +141 -0
  278. package/contracts/shared/ERC165.sol +14 -12
  279. package/contracts/shared/IComponent.sol +90 -0
  280. package/contracts/shared/INftOwnable.sol +12 -11
  281. package/contracts/shared/IPolicyHolder.sol +40 -0
  282. package/contracts/shared/IRegisterable.sol +4 -4
  283. package/contracts/shared/IRegistryLinked.sol +11 -0
  284. package/contracts/shared/IService.sol +6 -4
  285. package/contracts/shared/IVersionable.sol +5 -48
  286. package/contracts/shared/NftOwnable.sol +64 -82
  287. package/contracts/shared/PolicyHolder.sol +94 -0
  288. package/contracts/shared/ProxyManager.sol +126 -25
  289. package/contracts/shared/Registerable.sol +26 -41
  290. package/contracts/shared/RegistryLinked.sol +43 -0
  291. package/contracts/shared/Service.sol +33 -21
  292. package/contracts/shared/TokenHandler.sol +14 -6
  293. package/contracts/shared/Versionable.sol +4 -92
  294. package/contracts/staking/IStakingService.sol +102 -0
  295. package/contracts/staking/StakingService.sol +169 -0
  296. package/contracts/staking/StakingServiceManager.sol +40 -0
  297. package/contracts/type/Amount.sol +109 -0
  298. package/contracts/{types → type}/Blocknumber.sol +1 -0
  299. package/contracts/type/ClaimId.sol +75 -0
  300. package/contracts/{types → type}/DistributorType.sol +2 -2
  301. package/contracts/{types → type}/Fee.sol +17 -8
  302. package/contracts/{types → type}/NftId.sol +8 -0
  303. package/contracts/{types → type}/NftIdSet.sol +1 -1
  304. package/contracts/{types → type}/ObjectType.sol +17 -7
  305. package/contracts/type/PayoutId.sol +82 -0
  306. package/contracts/{types → type}/Referral.sol +4 -0
  307. package/contracts/type/RoleId.sol +139 -0
  308. package/contracts/type/Seconds.sol +54 -0
  309. package/contracts/{types → type}/StateId.sol +7 -2
  310. package/contracts/{types → type}/Timestamp.sol +18 -13
  311. package/contracts/{types → type}/UFixed.sol +1 -0
  312. package/contracts/{types → type}/Version.sol +1 -0
  313. package/package.json +3 -3
  314. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  315. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  316. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  317. package/artifacts/contracts/components/IComponent.sol/IComponent.json +0 -413
  318. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  320. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  322. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  323. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  324. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  325. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  328. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  330. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  332. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  334. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  336. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  338. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  340. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  342. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  344. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  346. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  349. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  351. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  353. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  355. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  357. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  359. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  361. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  363. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  365. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  366. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  367. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  368. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  369. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -619
  370. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  371. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  372. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  373. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  374. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -100
  377. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1094
  379. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  381. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  382. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -764
  383. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -424
  385. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  388. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  389. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  390. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  391. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1219
  392. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  393. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  394. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  395. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -798
  396. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -424
  398. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -848
  400. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -424
  402. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  403. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  404. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  405. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  406. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  408. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  409. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  410. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  411. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  412. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  413. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  414. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  415. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  416. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  417. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  418. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  419. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  420. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  421. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  422. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  424. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  425. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  426. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  427. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  428. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  429. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  430. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  431. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  432. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  433. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  436. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  439. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  440. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  441. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  442. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  443. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  444. package/contracts/components/Component.sol +0 -177
  445. package/contracts/components/Distribution.sol +0 -154
  446. package/contracts/components/IComponent.sol +0 -37
  447. package/contracts/components/IDistributionComponent.sol +0 -44
  448. package/contracts/components/IPoolComponent.sol +0 -66
  449. package/contracts/components/IProductComponent.sol +0 -35
  450. package/contracts/components/Pool.sol +0 -258
  451. package/contracts/components/Product.sol +0 -295
  452. package/contracts/experiment/cloning/Cloner.sol +0 -47
  453. package/contracts/experiment/errors/Require.sol +0 -38
  454. package/contracts/experiment/errors/Revert.sol +0 -44
  455. package/contracts/experiment/inheritance/A.sol +0 -53
  456. package/contracts/experiment/inheritance/B.sol +0 -28
  457. package/contracts/experiment/inheritance/C.sol +0 -34
  458. package/contracts/experiment/inheritance/IA.sol +0 -13
  459. package/contracts/experiment/inheritance/IB.sol +0 -10
  460. package/contracts/experiment/inheritance/IC.sol +0 -12
  461. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  462. package/contracts/experiment/statemachine/ISM.sol +0 -25
  463. package/contracts/experiment/statemachine/SM.sol +0 -57
  464. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  465. package/contracts/experiment/types/TypeA.sol +0 -47
  466. package/contracts/experiment/types/TypeB.sol +0 -29
  467. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  468. package/contracts/instance/IInstanceBase.sol +0 -27
  469. package/contracts/instance/InstanceBase.sol +0 -38
  470. package/contracts/instance/base/ComponentService.sol +0 -133
  471. package/contracts/instance/base/IInstanceBase.sol +0 -21
  472. package/contracts/instance/service/BundleService.sol +0 -293
  473. package/contracts/instance/service/DistributionService.sol +0 -115
  474. package/contracts/instance/service/IBundleService.sol +0 -44
  475. package/contracts/instance/service/IDistributionService.sol +0 -12
  476. package/contracts/instance/service/IPolicyService.sol +0 -94
  477. package/contracts/instance/service/IPoolService.sol +0 -20
  478. package/contracts/instance/service/PolicyService.sol +0 -538
  479. package/contracts/instance/service/PoolService.sol +0 -142
  480. package/contracts/instance/service/ProductService.sol +0 -241
  481. package/contracts/shared/ContractDeployerLib.sol +0 -72
  482. package/contracts/test/TestFee.sol +0 -25
  483. package/contracts/test/TestRegisterable.sol +0 -18
  484. package/contracts/test/TestRoleId.sol +0 -14
  485. package/contracts/test/TestService.sol +0 -25
  486. package/contracts/test/TestToken.sol +0 -26
  487. package/contracts/test/TestVersion.sol +0 -44
  488. package/contracts/test/TestVersionable.sol +0 -17
  489. package/contracts/test/Usdc.sol +0 -26
  490. package/contracts/types/ChainId.sol +0 -38
  491. package/contracts/types/NumberId.sol +0 -52
  492. package/contracts/types/RoleId.sol +0 -90
  493. /package/contracts/{types → type}/AddressSet.sol +0 -0
  494. /package/contracts/{types → type}/Key32.sol +0 -0
  495. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -43,18 +43,13 @@
43
43
  },
44
44
  {
45
45
  "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "registry",
49
- "type": "address"
50
- },
51
46
  {
52
47
  "internalType": "NftId",
53
48
  "name": "nftId",
54
49
  "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorNftOwnableAlreadyLinked",
58
53
  "type": "error"
59
54
  },
60
55
  {
@@ -65,7 +60,12 @@
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
69
  "type": "error"
70
70
  },
71
71
  {
@@ -76,7 +76,7 @@
76
76
  "type": "address"
77
77
  }
78
78
  ],
79
- "name": "ErrorNotOwner",
79
+ "name": "ErrorNftOwnableNotOwner",
80
80
  "type": "error"
81
81
  },
82
82
  {
@@ -94,124 +94,209 @@
94
94
  "inputs": [
95
95
  {
96
96
  "internalType": "address",
97
- "name": "registryAddress",
97
+ "name": "registerableAddress",
98
98
  "type": "address"
99
99
  }
100
100
  ],
101
- "name": "ErrorRegisterableNotRegistry",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "ErrorRegistryAddressZero",
101
+ "name": "ErrorRegistryServiceInvalidAddress",
107
102
  "type": "error"
108
103
  },
109
104
  {
110
105
  "inputs": [
111
106
  {
112
107
  "internalType": "address",
113
- "name": "registry",
108
+ "name": "initialOwner",
114
109
  "type": "address"
115
110
  }
116
111
  ],
117
- "name": "ErrorRegistryAlreadyInitialized",
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
118
113
  "type": "error"
119
114
  },
120
115
  {
121
- "inputs": [],
122
- "name": "ErrorRegistryNotInitialized",
116
+ "inputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "notDistribution",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "ErrorRegistryServiceNotDistribution",
123
124
  "type": "error"
124
125
  },
125
126
  {
126
127
  "inputs": [
127
128
  {
128
129
  "internalType": "address",
129
- "name": "registerableAddress",
130
+ "name": "notInstance",
130
131
  "type": "address"
131
132
  }
132
133
  ],
133
- "name": "InvalidAddress",
134
+ "name": "ErrorRegistryServiceNotInstance",
134
135
  "type": "error"
135
136
  },
136
137
  {
137
138
  "inputs": [
138
139
  {
139
140
  "internalType": "address",
140
- "name": "initialOwner",
141
+ "name": "notPool",
141
142
  "type": "address"
142
143
  }
143
144
  ],
144
- "name": "InvalidInitialOwner",
145
+ "name": "ErrorRegistryServiceNotPool",
145
146
  "type": "error"
146
147
  },
147
148
  {
148
- "inputs": [],
149
- "name": "InvalidInitialization",
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "notProduct",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorRegistryServiceNotProduct",
150
157
  "type": "error"
151
158
  },
152
159
  {
153
160
  "inputs": [],
154
- "name": "NotDistribution",
161
+ "name": "ErrorRegistryServiceNotRegistryOwner",
155
162
  "type": "error"
156
163
  },
157
164
  {
158
- "inputs": [],
159
- "name": "NotInitializing",
165
+ "inputs": [
166
+ {
167
+ "internalType": "address",
168
+ "name": "notService",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "ErrorRegistryServiceNotService",
160
173
  "type": "error"
161
174
  },
162
175
  {
163
- "inputs": [],
164
- "name": "NotInstance",
176
+ "inputs": [
177
+ {
178
+ "internalType": "ObjectType",
179
+ "name": "objectType",
180
+ "type": "uint8"
181
+ },
182
+ {
183
+ "internalType": "address",
184
+ "name": "owner",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
165
189
  "type": "error"
166
190
  },
167
191
  {
168
- "inputs": [],
169
- "name": "NotPool",
192
+ "inputs": [
193
+ {
194
+ "internalType": "ObjectType",
195
+ "name": "objectType",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "name": "ErrorRegistryServiceObjectOwnerZero",
170
200
  "type": "error"
171
201
  },
172
202
  {
173
- "inputs": [],
174
- "name": "NotProduct",
203
+ "inputs": [
204
+ {
205
+ "internalType": "ObjectType",
206
+ "name": "expected",
207
+ "type": "uint8"
208
+ },
209
+ {
210
+ "internalType": "ObjectType",
211
+ "name": "found",
212
+ "type": "uint8"
213
+ }
214
+ ],
215
+ "name": "ErrorRegistryServiceObjectTypeInvalid",
175
216
  "type": "error"
176
217
  },
177
218
  {
178
219
  "inputs": [
220
+ {
221
+ "internalType": "contract IRegisterable",
222
+ "name": "registerable",
223
+ "type": "address"
224
+ },
179
225
  {
180
226
  "internalType": "address",
181
- "name": "expectedOwner",
227
+ "name": "found",
182
228
  "type": "address"
183
229
  }
184
230
  ],
185
- "name": "NotRegisterableOwner",
186
- "type": "error"
187
- },
188
- {
189
- "inputs": [],
190
- "name": "NotRegistryOwner",
231
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
191
232
  "type": "error"
192
233
  },
193
234
  {
194
- "inputs": [],
195
- "name": "NotService",
235
+ "inputs": [
236
+ {
237
+ "internalType": "contract IRegisterable",
238
+ "name": "registerable",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "address",
243
+ "name": "expected",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "address",
248
+ "name": "found",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "ErrorRegistryServiceRegisterableOwnerInvalid",
196
253
  "type": "error"
197
254
  },
198
255
  {
199
- "inputs": [],
200
- "name": "RegisterableOwnerIsRegistered",
256
+ "inputs": [
257
+ {
258
+ "internalType": "contract IRegisterable",
259
+ "name": "registerable",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "internalType": "address",
264
+ "name": "owner",
265
+ "type": "address"
266
+ }
267
+ ],
268
+ "name": "ErrorRegistryServiceRegisterableOwnerRegistered",
201
269
  "type": "error"
202
270
  },
203
271
  {
204
- "inputs": [],
205
- "name": "RegisterableOwnerIsZero",
272
+ "inputs": [
273
+ {
274
+ "internalType": "contract IRegisterable",
275
+ "name": "registerable",
276
+ "type": "address"
277
+ }
278
+ ],
279
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
206
280
  "type": "error"
207
281
  },
208
282
  {
209
- "inputs": [],
210
- "name": "SelfRegistration",
283
+ "inputs": [
284
+ {
285
+ "internalType": "contract IRegisterable",
286
+ "name": "registerable",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
211
291
  "type": "error"
212
292
  },
213
293
  {
214
294
  "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ },
215
300
  {
216
301
  "internalType": "ObjectType",
217
302
  "name": "expected",
@@ -223,7 +308,22 @@
223
308
  "type": "uint8"
224
309
  }
225
310
  ],
226
- "name": "UnexpectedRegisterableType",
311
+ "name": "ErrorRegistryServiceRegisterableTypeInvalid",
312
+ "type": "error"
313
+ },
314
+ {
315
+ "inputs": [],
316
+ "name": "ErrorServiceNotImplemented",
317
+ "type": "error"
318
+ },
319
+ {
320
+ "inputs": [],
321
+ "name": "InvalidInitialization",
322
+ "type": "error"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "NotInitializing",
227
327
  "type": "error"
228
328
  },
229
329
  {
@@ -253,29 +353,17 @@
253
353
  "type": "event"
254
354
  },
255
355
  {
256
- "anonymous": false,
257
- "inputs": [
258
- {
259
- "indexed": false,
260
- "internalType": "Version",
261
- "name": "version",
262
- "type": "uint24"
263
- },
264
- {
265
- "indexed": false,
266
- "internalType": "address",
267
- "name": "implementation",
268
- "type": "address"
269
- },
356
+ "inputs": [],
357
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
358
+ "outputs": [
270
359
  {
271
- "indexed": false,
272
- "internalType": "address",
273
- "name": "activatedBy",
274
- "type": "address"
360
+ "internalType": "bytes32",
361
+ "name": "",
362
+ "type": "bytes32"
275
363
  }
276
364
  ],
277
- "name": "LogVersionableInitialized",
278
- "type": "event"
365
+ "stateMutability": "view",
366
+ "type": "function"
279
367
  },
280
368
  {
281
369
  "inputs": [],
@@ -374,37 +462,6 @@
374
462
  "internalType": "struct IRegistry.ObjectInfo",
375
463
  "name": "info",
376
464
  "type": "tuple"
377
- },
378
- {
379
- "internalType": "bytes",
380
- "name": "data",
381
- "type": "bytes"
382
- }
383
- ],
384
- "stateMutability": "view",
385
- "type": "function"
386
- },
387
- {
388
- "inputs": [],
389
- "name": "getInitializedVersion",
390
- "outputs": [
391
- {
392
- "internalType": "uint64",
393
- "name": "",
394
- "type": "uint64"
395
- }
396
- ],
397
- "stateMutability": "view",
398
- "type": "function"
399
- },
400
- {
401
- "inputs": [],
402
- "name": "getMajorVersion",
403
- "outputs": [
404
- {
405
- "internalType": "VersionPart",
406
- "name": "majorVersion",
407
- "type": "uint8"
408
465
  }
409
466
  ],
410
467
  "stateMutability": "view",
@@ -462,91 +519,107 @@
462
519
  "stateMutability": "pure",
463
520
  "type": "function"
464
521
  },
522
+ {
523
+ "inputs": [],
524
+ "name": "initializeERC165",
525
+ "outputs": [],
526
+ "stateMutability": "nonpayable",
527
+ "type": "function"
528
+ },
465
529
  {
466
530
  "inputs": [
467
531
  {
468
- "internalType": "uint256",
469
- "name": "idx",
470
- "type": "uint256"
471
- }
472
- ],
473
- "name": "getVersion",
474
- "outputs": [
532
+ "internalType": "address",
533
+ "name": "initialOwner",
534
+ "type": "address"
535
+ },
475
536
  {
476
- "internalType": "Version",
477
- "name": "",
478
- "type": "uint24"
537
+ "internalType": "address",
538
+ "name": "registryAddress",
539
+ "type": "address"
479
540
  }
480
541
  ],
481
- "stateMutability": "view",
542
+ "name": "initializeNftOwnable",
543
+ "outputs": [],
544
+ "stateMutability": "nonpayable",
482
545
  "type": "function"
483
546
  },
484
547
  {
485
- "inputs": [],
486
- "name": "getVersionCount",
487
- "outputs": [
548
+ "inputs": [
488
549
  {
489
- "internalType": "uint256",
490
- "name": "",
491
- "type": "uint256"
550
+ "internalType": "address",
551
+ "name": "registryAddress",
552
+ "type": "address"
553
+ },
554
+ {
555
+ "internalType": "NftId",
556
+ "name": "parentNftId",
557
+ "type": "uint96"
558
+ },
559
+ {
560
+ "internalType": "ObjectType",
561
+ "name": "objectType",
562
+ "type": "uint8"
563
+ },
564
+ {
565
+ "internalType": "bool",
566
+ "name": "isInterceptor",
567
+ "type": "bool"
568
+ },
569
+ {
570
+ "internalType": "address",
571
+ "name": "initialOwner",
572
+ "type": "address"
573
+ },
574
+ {
575
+ "internalType": "bytes",
576
+ "name": "registryData",
577
+ "type": "bytes"
492
578
  }
493
579
  ],
494
- "stateMutability": "view",
580
+ "name": "initializeRegisterable",
581
+ "outputs": [],
582
+ "stateMutability": "nonpayable",
495
583
  "type": "function"
496
584
  },
497
585
  {
498
586
  "inputs": [
499
587
  {
500
- "internalType": "Version",
501
- "name": "_version",
502
- "type": "uint24"
503
- }
504
- ],
505
- "name": "getVersionInfo",
506
- "outputs": [
507
- {
508
- "components": [
509
- {
510
- "internalType": "Version",
511
- "name": "version",
512
- "type": "uint24"
513
- },
514
- {
515
- "internalType": "address",
516
- "name": "implementation",
517
- "type": "address"
518
- },
519
- {
520
- "internalType": "address",
521
- "name": "activatedBy",
522
- "type": "address"
523
- },
524
- {
525
- "internalType": "Timestamp",
526
- "name": "activatedAt",
527
- "type": "uint40"
528
- },
529
- {
530
- "internalType": "Blocknumber",
531
- "name": "activatedIn",
532
- "type": "uint32"
533
- }
534
- ],
535
- "internalType": "struct IVersionable.VersionInfo",
536
- "name": "",
537
- "type": "tuple"
588
+ "internalType": "address",
589
+ "name": "registryAddress",
590
+ "type": "address"
538
591
  }
539
592
  ],
540
- "stateMutability": "view",
593
+ "name": "initializeRegistryLinked",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
541
596
  "type": "function"
542
597
  },
543
598
  {
544
599
  "inputs": [
545
600
  {
546
601
  "internalType": "address",
547
- "name": "implementation",
602
+ "name": "registry",
548
603
  "type": "address"
549
604
  },
605
+ {
606
+ "internalType": "address",
607
+ "name": "authority",
608
+ "type": "address"
609
+ },
610
+ {
611
+ "internalType": "address",
612
+ "name": "initialOwner",
613
+ "type": "address"
614
+ }
615
+ ],
616
+ "name": "initializeService",
617
+ "outputs": [],
618
+ "stateMutability": "nonpayable",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
550
623
  {
551
624
  "internalType": "address",
552
625
  "name": "activatedBy",
@@ -558,7 +631,7 @@
558
631
  "type": "bytes"
559
632
  }
560
633
  ],
561
- "name": "initialize",
634
+ "name": "initializeVersionable",
562
635
  "outputs": [],
563
636
  "stateMutability": "nonpayable",
564
637
  "type": "function"
@@ -576,25 +649,6 @@
576
649
  "stateMutability": "view",
577
650
  "type": "function"
578
651
  },
579
- {
580
- "inputs": [
581
- {
582
- "internalType": "Version",
583
- "name": "_version",
584
- "type": "uint24"
585
- }
586
- ],
587
- "name": "isInitialized",
588
- "outputs": [
589
- {
590
- "internalType": "bool",
591
- "name": "",
592
- "type": "bool"
593
- }
594
- ],
595
- "stateMutability": "view",
596
- "type": "function"
597
- },
598
652
  {
599
653
  "inputs": [],
600
654
  "name": "linkToRegisteredNftId",
@@ -714,11 +768,62 @@
714
768
  "internalType": "struct IRegistry.ObjectInfo",
715
769
  "name": "info",
716
770
  "type": "tuple"
717
- },
771
+ }
772
+ ],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
718
778
  {
719
- "internalType": "bytes",
720
- "name": "data",
721
- "type": "bytes"
779
+ "components": [
780
+ {
781
+ "internalType": "NftId",
782
+ "name": "nftId",
783
+ "type": "uint96"
784
+ },
785
+ {
786
+ "internalType": "NftId",
787
+ "name": "parentNftId",
788
+ "type": "uint96"
789
+ },
790
+ {
791
+ "internalType": "ObjectType",
792
+ "name": "objectType",
793
+ "type": "uint8"
794
+ },
795
+ {
796
+ "internalType": "bool",
797
+ "name": "isInterceptor",
798
+ "type": "bool"
799
+ },
800
+ {
801
+ "internalType": "address",
802
+ "name": "objectAddress",
803
+ "type": "address"
804
+ },
805
+ {
806
+ "internalType": "address",
807
+ "name": "initialOwner",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "bytes",
812
+ "name": "data",
813
+ "type": "bytes"
814
+ }
815
+ ],
816
+ "internalType": "struct IRegistry.ObjectInfo",
817
+ "name": "info",
818
+ "type": "tuple"
819
+ }
820
+ ],
821
+ "name": "registerDistributor",
822
+ "outputs": [
823
+ {
824
+ "internalType": "NftId",
825
+ "name": "nftId",
826
+ "type": "uint96"
722
827
  }
723
828
  ],
724
829
  "stateMutability": "nonpayable",
@@ -780,13 +885,21 @@
780
885
  "internalType": "struct IRegistry.ObjectInfo",
781
886
  "name": "info",
782
887
  "type": "tuple"
783
- },
888
+ }
889
+ ],
890
+ "stateMutability": "nonpayable",
891
+ "type": "function"
892
+ },
893
+ {
894
+ "inputs": [
784
895
  {
785
- "internalType": "bytes",
786
- "name": "data",
787
- "type": "bytes"
896
+ "internalType": "bytes4",
897
+ "name": "interfaceId",
898
+ "type": "bytes4"
788
899
  }
789
900
  ],
901
+ "name": "registerInterface",
902
+ "outputs": [],
790
903
  "stateMutability": "nonpayable",
791
904
  "type": "function"
792
905
  },
@@ -902,11 +1015,6 @@
902
1015
  "internalType": "struct IRegistry.ObjectInfo",
903
1016
  "name": "info",
904
1017
  "type": "tuple"
905
- },
906
- {
907
- "internalType": "bytes",
908
- "name": "data",
909
- "type": "bytes"
910
1018
  }
911
1019
  ],
912
1020
  "stateMutability": "nonpayable",
@@ -968,11 +1076,6 @@
968
1076
  "internalType": "struct IRegistry.ObjectInfo",
969
1077
  "name": "info",
970
1078
  "type": "tuple"
971
- },
972
- {
973
- "internalType": "bytes",
974
- "name": "data",
975
- "type": "bytes"
976
1079
  }
977
1080
  ],
978
1081
  "stateMutability": "nonpayable",
@@ -1068,118 +1171,80 @@
1068
1171
  },
1069
1172
  {
1070
1173
  "inputs": [
1071
- {
1072
- "internalType": "address",
1073
- "name": "implementation",
1074
- "type": "address"
1075
- },
1076
- {
1077
- "internalType": "address",
1078
- "name": "activatedBy",
1079
- "type": "address"
1080
- },
1081
1174
  {
1082
1175
  "internalType": "bytes",
1083
1176
  "name": "data",
1084
1177
  "type": "bytes"
1085
1178
  }
1086
1179
  ],
1087
- "name": "upgrade",
1180
+ "name": "upgradeVersionable",
1088
1181
  "outputs": [],
1089
1182
  "stateMutability": "nonpayable",
1090
1183
  "type": "function"
1091
1184
  }
1092
1185
  ],
1093
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612e15806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638105cc7f116100f9578063b68d180911610097578063c2bf08c811610071578063c2bf08c814610529578063cde749f41461053c578063cf7a1d7714610544578063ed841d0c1461055757600080fd5b8063b68d1809146104f9578063b88da7591461050e578063bf7e214f1461052157600080fd5b80638fbc2d81116100d35780638fbc2d811461048c578063946dfcfe1461049f578063a745e3df146104c6578063b3c65015146104d957600080fd5b80638105cc7f1461045c578063893d20e81461046f5780638fb360371461047757600080fd5b80634f421333116101665780635d966289116101405780635d9662891461040b578063644c45e01461041e5780637286e5e5146104365780637a9e5e4b1461044957600080fd5b80634f421333146103a85780635ab1bd53146103bb5780635c992fed146103e057600080fd5b80630fec111c116101a25780630fec111c14610248578063138461e0146102505780631eff4b221461025a5780634d459c901461028f57600080fd5b806301ffc9a7146101c9578063026bc43b1461020b5780630d8e6e2c1461022c575b600080fd5b6101f66101d73660046123cb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610219366004612421565b61055f565b604051610202929190612523565b61023461069d565b60405162ffffff9091168152602001610202565b61021e610727565b610258610a15565b005b6102817f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61034b61029d366004612562565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612dc083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f66103b6366004612562565b610c37565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6103f36103ee3660046126bd565b610cea565b6040516001600160601b039091168152602001610202565b61021e610419366004612421565b610d79565b600154600160a01b90046001600160601b03166103f3565b61021e610444366004612421565b610e28565b61025861045736600461278f565b610ed7565b6103f361046a3660046126bd565b610f5e565b6103c8610f74565b61047f61108d565b60405161020291906127ac565b61021e61049a366004612421565b6110c6565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610281565b6102586104d43660046127c1565b611175565b6104e16112cf565b6040516001600160401b039091168152602001610202565b60285b60405160ff9091168152602001610202565b61023461051c366004612822565b6112f0565b6103c8611341565b6103f36105373660046126bd565b61135d565b6104fc611373565b6102586105523660046127c1565b6113f6565b610281600081565b61056761238d565b6060610576335b6000366114ff565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906105a990635df034a560e11b906004016127ac565b602060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190612846565b61060757604051636795c76360e01b815260040160405180910390fd5b6106148460465b85611605565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610648908590600401612863565b6020604051808303816000875af1158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612881565b6001600160601b031682529250929050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610722919061289e565b905090565b61072f61238d565b606061073961180b565b60408051600680825260e0820190925292945090925060009190816020015b604080518082019091526000808252602082015281526020019060019003908161075857905050905061078960d290565b8160008151811061079c5761079c6128bb565b602090810291909101015160ff90911690528051635c992fed60e01b9082906000906107ca576107ca6128bb565b6020908102919091018101516001600160e01b03199092169101526107ed60dc90565b81600181518110610800576108006128bb565b602090810291909101015160ff90911690528051631857e11960e31b9082906001908110610830576108306128bb565b6020908102919091018101516001600160e01b0319909216910152610853606e90565b81600281518110610866576108666128bb565b602090810291909101015160ff90911690528051635d96628960e01b9082906002908110610896576108966128bb565b6020908102919091018101516001600160e01b03199092169101526108b9608c90565b816003815181106108cc576108cc6128bb565b602090810291909101015160ff90911690528051637286e5e560e01b90829060039081106108fc576108fc6128bb565b6020908102919091018101516001600160e01b031990921691015261091f607890565b81600481518110610932576109326128bb565b602090810291909101015160ff90911690528051638fbc2d8160e01b9082906004908110610962576109626128bb565b6020908102919091018101516001600160e01b0319909216910152610985604690565b81600581518110610998576109986128bb565b602090810291909101015160ff9091169052805163026bc43b60e01b90829060059081106109c8576109c86128bb565b6020026020010151602001906001600160e01b03191690816001600160e01b03191681525050806040516020016109ff91906128d1565b6040516020818303038152906040529150509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9b9190612846565b15610ae2576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610b0b5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b789190612846565b610ba0576040516372657a5160e01b81526001600160a01b0382166004820152602401610ad9565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190612881565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612dc083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce3919061292d565b1192915050565b6000610cf53361056e565b610d008260d261195e565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d30908590600401612863565b6020604051808303816000875af1158015610d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d739190612881565b92915050565b610d8161238d565b6060610d8c3361056e565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610dbf9063b4a3fc4960e01b906004016127ac565b602060405180830381865afa158015610ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e009190612846565b610e1d57604051637a71998760e01b815260040160405180910390fd5b61061484606e61060e565b610e3061238d565b6060610e3b3361056e565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610e6e90634ce2a6c760e11b906004016127ac565b602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190612846565b610ecc57604051636f61f64160e01b815260040160405180910390fd5b61061484608c61060e565b33610ee0611341565b6001600160a01b0316816001600160a01b031614610f1b5760405162d1953b60e31b81526001600160a01b0382166004820152602401610ad9565b816001600160a01b03163b600003610f51576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ad9565b610f5a82611a69565b5050565b6000610f693361056e565b610d0082605061195e565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffd9190612846565b1561107d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611059573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190612951565b506002546001600160a01b031690565b600080516020612d80833981519152805460009190600160a01b900460ff166110b75760006110c0565b638fb3603760e01b5b91505090565b6110ce61238d565b60606110d93361056e565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061110c9063c8ea96c560e01b906004016127ac565b602060405180830381865afa158015611129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114d9190612846565b61116a576040516308707e3160e41b815260040160405180910390fd5b61061484607861060e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61119761069d565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb919061296e565b600080516020612da08339815191528054600160401b900460ff168061122e575080546001600160401b03808416911610155b1561124c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556112778585611aca565b61128083611d69565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610722600080516020612da0833981519152546001600160401b031690565b6000600080516020612dc08339815191526001018281548110611315576113156128bb565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612d80833981519152546001600160a01b031690565b60006113683361056e565b610d008260dc61195e565b600061137d61069d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156113d2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072291906129a2565b600080516020612da08339815191528054600160401b810460ff1615906001600160401b03166000811580156114295750825b90506000826001600160401b031660011480156114455750303b155b905081158015611453575080155b156114715760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149b57845460ff60401b1916600160401b1785555b6114a58888611aca565b6114af8787611d71565b83156114f557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600080516020612d8083398151915260008061153a61151c611341565b873061152c600460008a8c6129bf565b611535916129e9565b611ea5565b91509150816115fd5763ffffffff8116156115da57825460ff60a01b1916600160a01b178355611568611341565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161159793929190612a19565b600060405180830381600087803b1580156115b157600080fd5b505af11580156115c5573d6000803e3d6000fd5b5050845460ff60a01b19168555506115fd9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ad9565b505050505050565b61160d61238d565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612a9e565b6001600160a01b03871660808301526040820151919350915060ff8581169116146116c6576040808301519051632208245760e11b815260ff80871660048301529091166024820152604401610ad9565b60a082015160ff851660461461171357836001600160a01b0316816001600160a01b0316146117135760405163dfc430cb60e01b81526001600160a01b0385166004820152602401610ad9565b856001600160a01b0316816001600160a01b031603611745576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661176c57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156117c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e49190612846565b1561180257604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b61181361238d565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061185f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016118a7610f74565b6001600160a01b031681526020018260010180546118c490612b96565b80601f01602080910402602001604051908101604052809291908181526020018280546118f090612b96565b801561193d5780601f106119125761010080835404028352916020019161193d565b820191906000526020600020905b81548152906001019060200180831161192057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b60006080830152604082015160ff8281169116146119a2576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610ad9565b60a08201516001600160a01b0381166119ce57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a469190612846565b15611a6457604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612d8083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ad2611fb1565b600080516020612dc08339815191526000611b02600080516020612da0833981519152546001600160401b031690565b90506000611b0e61069d565b9050816001600160401b0316600103611b3b5760028301805462ffffff191662ffffff8316179055611b89565b600283015462ffffff90811690821611611b895760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610ad9565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c619190612bd0565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112c09083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4611fb1565b600080516020612da08339815191528054600160401b810460ff1615906001600160401b0316600081158015611da45750825b90506000826001600160401b03166001148015611dc05750303b155b905081158015611dce575080155b15611dec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611e1657845460ff60401b1916600160401b1785555b60008087806020019051810190611e2d9190612bf7565b91509150611e3a82611fea565b611e44818a611ffe565b611e54633ce149f360e01b612069565b50508315611e9c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f149190612c26565b600060405180830381855afa9150503d8060008114611f4f576040519150601f19603f3d011682016040523d82523d6000602084013e611f54565b606091505b50915091508115611fa6576040815110611f865780806020019051810190611f7c9190612c42565b9094509250611fa6565b6020815110611fa65780806020019051810190611fa39190612846565b93505b505094509492505050565b600080516020612da083398151915254600160401b900460ff16611fe857604051631afcd79f60e31b815260040160405180910390fd5b565b611ff2611fb1565b611ffb8161208e565b50565b6000602861200a611373565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061203f8461209f565b905060006120528583603c8488886120e6565b612062637b6a51fd60e01b612069565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b612096611fb1565b611ffb81611a69565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610d4f573d6000803e3d6000fd5b6121276301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61213182876121b2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121a18382612cc0565b50611e9c6303fb044760e21b612069565b6001600160a01b0382166122085760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610ad9565b600280546001600160a01b0319166001600160a01b038416179055610f5a816001546001600160a01b0316156122605760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610ad9565b6001600160a01b0381166122875760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036122bd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ad9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906123039063102da10360e01b906004016127ac565b602060405180830381865afa92505050801561233c575060408051601f3d908101601f1916820190925261233991810190612846565b60015b6123645760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ad9565b80610f5a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ad9565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156123dd57600080fd5b81356001600160e01b0319811681146123f557600080fd5b9392505050565b6001600160a01b0381168114611ffb57600080fd5b803561241c816123fc565b919050565b6000806040838503121561243457600080fd5b823561243f816123fc565b9150602083013561244f816123fc565b809150509250929050565b60005b8381101561247557818101518382015260200161245d565b50506000910152565b6000815180845261249681602086016020860161245a565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261251b60e085018261247e565b949350505050565b60408152600061253660408301856124aa565b8281036020840152612548818561247e565b95945050505050565b62ffffff81168114611ffb57600080fd5b60006020828403121561257457600080fd5b81356123f581612551565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125b7576125b761257f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156125e5576125e561257f565b604052919050565b6001600160601b0381168114611ffb57600080fd5b803561241c816125ed565b60ff81168114611ffb57600080fd5b803561241c8161260d565b8015158114611ffb57600080fd5b803561241c81612627565b60006001600160401b038211156126595761265961257f565b50601f01601f191660200190565b600082601f83011261267857600080fd5b813561268b61268682612640565b6125bd565b8181528460208386010111156126a057600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156126cf57600080fd5b81356001600160401b03808211156126e657600080fd5b9083019060e082860312156126fa57600080fd5b612702612595565b61270b83612602565b815261271960208401612602565b602082015261272a6040840161261c565b604082015261273b60608401612635565b606082015261274c60808401612411565b608082015261275d60a08401612411565b60a082015260c08301358281111561277457600080fd5b61278087828601612667565b60c08301525095945050505050565b6000602082840312156127a157600080fd5b81356123f5816123fc565b6001600160e01b031991909116815260200190565b6000806000606084860312156127d657600080fd5b83356127e1816123fc565b925060208401356127f1816123fc565b915060408401356001600160401b0381111561280c57600080fd5b61281886828701612667565b9150509250925092565b60006020828403121561283457600080fd5b5035919050565b805161241c81612627565b60006020828403121561285857600080fd5b81516123f581612627565b6020815260006123f560208301846124aa565b805161241c816125ed565b60006020828403121561289357600080fd5b81516123f5816125ed565b6000602082840312156128b057600080fd5b81516123f581612551565b634e487b7160e01b600052603260045260246000fd5b602080825282518282018190526000919060409081850190868401855b82811015612920578151805160ff1685528601516001600160e01b0319168685015292840192908501906001016128ee565b5091979650505050505050565b60006020828403121561293f57600080fd5b5051919050565b805161241c816123fc565b60006020828403121561296357600080fd5b81516123f5816123fc565b60006020828403121561298057600080fd5b81516001600160401b03811681146123f557600080fd5b805161241c8161260d565b6000602082840312156129b457600080fd5b81516123f58161260d565b600080858511156129cf57600080fd5b838611156129dc57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612a115780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612a6a57600080fd5b8151612a7861268682612640565b818152846020838601011115612a8d57600080fd5b61251b82602083016020870161245a565b60008060408385031215612ab157600080fd5b82516001600160401b0380821115612ac857600080fd5b9084019060e08287031215612adc57600080fd5b612ae4612595565b612aed83612876565b8152612afb60208401612876565b6020820152612b0c60408401612997565b6040820152612b1d6060840161283b565b6060820152612b2e60808401612946565b6080820152612b3f60a08401612946565b60a082015260c083015182811115612b5657600080fd5b612b6288828601612a59565b60c0830152506020860151909450915080821115612b7f57600080fd5b50612b8c85828601612a59565b9150509250929050565b600181811c90821680612baa57607f821691505b602082108103612bca57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612be257600080fd5b815164ffffffffff811681146123f557600080fd5b60008060408385031215612c0a57600080fd5b8251612c15816123fc565b602084015190925061244f816123fc565b60008251612c3881846020870161245a565b9190910192915050565b60008060408385031215612c5557600080fd5b8251612c6081612627565b602084015190925063ffffffff8116811461244f57600080fd5b601f821115611a6457600081815260208120601f850160051c81016020861015612ca15750805b601f850160051c820191505b818110156115fd57828155600101612cad565b81516001600160401b03811115612cd957612cd961257f565b612ced81612ce78454612b96565b84612c7a565b602080601f831160018114612d225760008415612d0a5750858301515b600019600386901b1c1916600185901b1785556115fd565b600085815260208120601f198616915b82811015612d5157888601518255948401946001909101908401612d32565b5085821015612d6f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220923d3f41bd399c4be479d95c1a9f96970e81d4be63802b34d52916c16649d1f864736f6c63430008140033",
1094
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80638105cc7f116100f9578063b68d180911610097578063c2bf08c811610071578063c2bf08c814610529578063cde749f41461053c578063cf7a1d7714610544578063ed841d0c1461055757600080fd5b8063b68d1809146104f9578063b88da7591461050e578063bf7e214f1461052157600080fd5b80638fbc2d81116100d35780638fbc2d811461048c578063946dfcfe1461049f578063a745e3df146104c6578063b3c65015146104d957600080fd5b80638105cc7f1461045c578063893d20e81461046f5780638fb360371461047757600080fd5b80634f421333116101665780635d966289116101405780635d9662891461040b578063644c45e01461041e5780637286e5e5146104365780637a9e5e4b1461044957600080fd5b80634f421333146103a85780635ab1bd53146103bb5780635c992fed146103e057600080fd5b80630fec111c116101a25780630fec111c14610248578063138461e0146102505780631eff4b221461025a5780634d459c901461028f57600080fd5b806301ffc9a7146101c9578063026bc43b1461020b5780630d8e6e2c1461022c575b600080fd5b6101f66101d73660046123cb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610219366004612421565b61055f565b604051610202929190612523565b61023461069d565b60405162ffffff9091168152602001610202565b61021e610727565b610258610a15565b005b6102817f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61034b61029d366004612562565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612dc083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f66103b6366004612562565b610c37565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6103f36103ee3660046126bd565b610cea565b6040516001600160601b039091168152602001610202565b61021e610419366004612421565b610d79565b600154600160a01b90046001600160601b03166103f3565b61021e610444366004612421565b610e28565b61025861045736600461278f565b610ed7565b6103f361046a3660046126bd565b610f5e565b6103c8610f74565b61047f61108d565b60405161020291906127ac565b61021e61049a366004612421565b6110c6565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610281565b6102586104d43660046127c1565b611175565b6104e16112cf565b6040516001600160401b039091168152602001610202565b60285b60405160ff9091168152602001610202565b61023461051c366004612822565b6112f0565b6103c8611341565b6103f36105373660046126bd565b61135d565b6104fc611373565b6102586105523660046127c1565b6113f6565b610281600081565b61056761238d565b6060610576335b6000366114ff565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906105a990635df034a560e11b906004016127ac565b602060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190612846565b61060757604051636795c76360e01b815260040160405180910390fd5b6106148460465b85611605565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610648908590600401612863565b6020604051808303816000875af1158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612881565b6001600160601b031682529250929050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610722919061289e565b905090565b61072f61238d565b606061073961180b565b60408051600680825260e0820190925292945090925060009190816020015b604080518082019091526000808252602082015281526020019060019003908161075857905050905061078960d290565b8160008151811061079c5761079c6128bb565b602090810291909101015160ff90911690528051635c992fed60e01b9082906000906107ca576107ca6128bb565b6020908102919091018101516001600160e01b03199092169101526107ed60dc90565b81600181518110610800576108006128bb565b602090810291909101015160ff90911690528051631857e11960e31b9082906001908110610830576108306128bb565b6020908102919091018101516001600160e01b0319909216910152610853606e90565b81600281518110610866576108666128bb565b602090810291909101015160ff90911690528051635d96628960e01b9082906002908110610896576108966128bb565b6020908102919091018101516001600160e01b03199092169101526108b9608c90565b816003815181106108cc576108cc6128bb565b602090810291909101015160ff90911690528051637286e5e560e01b90829060039081106108fc576108fc6128bb565b6020908102919091018101516001600160e01b031990921691015261091f607890565b81600481518110610932576109326128bb565b602090810291909101015160ff90911690528051638fbc2d8160e01b9082906004908110610962576109626128bb565b6020908102919091018101516001600160e01b0319909216910152610985604690565b81600581518110610998576109986128bb565b602090810291909101015160ff9091169052805163026bc43b60e01b90829060059081106109c8576109c86128bb565b6020026020010151602001906001600160e01b03191690816001600160e01b03191681525050806040516020016109ff91906128d1565b6040516020818303038152906040529150509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9b9190612846565b15610ae2576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610b0b5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b789190612846565b610ba0576040516372657a5160e01b81526001600160a01b0382166004820152602401610ad9565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190612881565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612dc083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce3919061292d565b1192915050565b6000610cf53361056e565b610d008260d261195e565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d30908590600401612863565b6020604051808303816000875af1158015610d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d739190612881565b92915050565b610d8161238d565b6060610d8c3361056e565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610dbf9063b4a3fc4960e01b906004016127ac565b602060405180830381865afa158015610ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e009190612846565b610e1d57604051637a71998760e01b815260040160405180910390fd5b61061484606e61060e565b610e3061238d565b6060610e3b3361056e565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610e6e90634ce2a6c760e11b906004016127ac565b602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190612846565b610ecc57604051636f61f64160e01b815260040160405180910390fd5b61061484608c61060e565b33610ee0611341565b6001600160a01b0316816001600160a01b031614610f1b5760405162d1953b60e31b81526001600160a01b0382166004820152602401610ad9565b816001600160a01b03163b600003610f51576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ad9565b610f5a82611a69565b5050565b6000610f693361056e565b610d0082605061195e565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffd9190612846565b1561107d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611059573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190612951565b506002546001600160a01b031690565b600080516020612d80833981519152805460009190600160a01b900460ff166110b75760006110c0565b638fb3603760e01b5b91505090565b6110ce61238d565b60606110d93361056e565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061110c9063c8ea96c560e01b906004016127ac565b602060405180830381865afa158015611129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114d9190612846565b61116a576040516308707e3160e41b815260040160405180910390fd5b61061484607861060e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61119761069d565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb919061296e565b600080516020612da08339815191528054600160401b900460ff168061122e575080546001600160401b03808416911610155b1561124c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556112778585611aca565b61128083611d69565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610722600080516020612da0833981519152546001600160401b031690565b6000600080516020612dc08339815191526001018281548110611315576113156128bb565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612d80833981519152546001600160a01b031690565b60006113683361056e565b610d008260dc61195e565b600061137d61069d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156113d2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072291906129a2565b600080516020612da08339815191528054600160401b810460ff1615906001600160401b03166000811580156114295750825b90506000826001600160401b031660011480156114455750303b155b905081158015611453575080155b156114715760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149b57845460ff60401b1916600160401b1785555b6114a58888611aca565b6114af8787611d71565b83156114f557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600080516020612d8083398151915260008061153a61151c611341565b873061152c600460008a8c6129bf565b611535916129e9565b611ea5565b91509150816115fd5763ffffffff8116156115da57825460ff60a01b1916600160a01b178355611568611341565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161159793929190612a19565b600060405180830381600087803b1580156115b157600080fd5b505af11580156115c5573d6000803e3d6000fd5b5050845460ff60a01b19168555506115fd9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ad9565b505050505050565b61160d61238d565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612a9e565b6001600160a01b03871660808301526040820151919350915060ff8581169116146116c6576040808301519051632208245760e11b815260ff80871660048301529091166024820152604401610ad9565b60a082015160ff851660461461171357836001600160a01b0316816001600160a01b0316146117135760405163dfc430cb60e01b81526001600160a01b0385166004820152602401610ad9565b856001600160a01b0316816001600160a01b031603611745576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661176c57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156117c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e49190612846565b1561180257604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b61181361238d565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061185f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016118a7610f74565b6001600160a01b031681526020018260010180546118c490612b96565b80601f01602080910402602001604051908101604052809291908181526020018280546118f090612b96565b801561193d5780601f106119125761010080835404028352916020019161193d565b820191906000526020600020905b81548152906001019060200180831161192057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b60006080830152604082015160ff8281169116146119a2576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610ad9565b60a08201516001600160a01b0381166119ce57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a469190612846565b15611a6457604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612d8083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ad2611fb1565b600080516020612dc08339815191526000611b02600080516020612da0833981519152546001600160401b031690565b90506000611b0e61069d565b9050816001600160401b0316600103611b3b5760028301805462ffffff191662ffffff8316179055611b89565b600283015462ffffff90811690821611611b895760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610ad9565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c619190612bd0565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112c09083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4611fb1565b600080516020612da08339815191528054600160401b810460ff1615906001600160401b0316600081158015611da45750825b90506000826001600160401b03166001148015611dc05750303b155b905081158015611dce575080155b15611dec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611e1657845460ff60401b1916600160401b1785555b60008087806020019051810190611e2d9190612bf7565b91509150611e3a82611fea565b611e44818a611ffe565b611e54633ce149f360e01b612069565b50508315611e9c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f149190612c26565b600060405180830381855afa9150503d8060008114611f4f576040519150601f19603f3d011682016040523d82523d6000602084013e611f54565b606091505b50915091508115611fa6576040815110611f865780806020019051810190611f7c9190612c42565b9094509250611fa6565b6020815110611fa65780806020019051810190611fa39190612846565b93505b505094509492505050565b600080516020612da083398151915254600160401b900460ff16611fe857604051631afcd79f60e31b815260040160405180910390fd5b565b611ff2611fb1565b611ffb8161208e565b50565b6000602861200a611373565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061203f8461209f565b905060006120528583603c8488886120e6565b612062637b6a51fd60e01b612069565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b612096611fb1565b611ffb81611a69565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610d4f573d6000803e3d6000fd5b6121276301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61213182876121b2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121a18382612cc0565b50611e9c6303fb044760e21b612069565b6001600160a01b0382166122085760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610ad9565b600280546001600160a01b0319166001600160a01b038416179055610f5a816001546001600160a01b0316156122605760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610ad9565b6001600160a01b0381166122875760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036122bd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ad9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906123039063102da10360e01b906004016127ac565b602060405180830381865afa92505050801561233c575060408051601f3d908101601f1916820190925261233991810190612846565b60015b6123645760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ad9565b80610f5a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ad9565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156123dd57600080fd5b81356001600160e01b0319811681146123f557600080fd5b9392505050565b6001600160a01b0381168114611ffb57600080fd5b803561241c816123fc565b919050565b6000806040838503121561243457600080fd5b823561243f816123fc565b9150602083013561244f816123fc565b809150509250929050565b60005b8381101561247557818101518382015260200161245d565b50506000910152565b6000815180845261249681602086016020860161245a565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261251b60e085018261247e565b949350505050565b60408152600061253660408301856124aa565b8281036020840152612548818561247e565b95945050505050565b62ffffff81168114611ffb57600080fd5b60006020828403121561257457600080fd5b81356123f581612551565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125b7576125b761257f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156125e5576125e561257f565b604052919050565b6001600160601b0381168114611ffb57600080fd5b803561241c816125ed565b60ff81168114611ffb57600080fd5b803561241c8161260d565b8015158114611ffb57600080fd5b803561241c81612627565b60006001600160401b038211156126595761265961257f565b50601f01601f191660200190565b600082601f83011261267857600080fd5b813561268b61268682612640565b6125bd565b8181528460208386010111156126a057600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156126cf57600080fd5b81356001600160401b03808211156126e657600080fd5b9083019060e082860312156126fa57600080fd5b612702612595565b61270b83612602565b815261271960208401612602565b602082015261272a6040840161261c565b604082015261273b60608401612635565b606082015261274c60808401612411565b608082015261275d60a08401612411565b60a082015260c08301358281111561277457600080fd5b61278087828601612667565b60c08301525095945050505050565b6000602082840312156127a157600080fd5b81356123f5816123fc565b6001600160e01b031991909116815260200190565b6000806000606084860312156127d657600080fd5b83356127e1816123fc565b925060208401356127f1816123fc565b915060408401356001600160401b0381111561280c57600080fd5b61281886828701612667565b9150509250925092565b60006020828403121561283457600080fd5b5035919050565b805161241c81612627565b60006020828403121561285857600080fd5b81516123f581612627565b6020815260006123f560208301846124aa565b805161241c816125ed565b60006020828403121561289357600080fd5b81516123f5816125ed565b6000602082840312156128b057600080fd5b81516123f581612551565b634e487b7160e01b600052603260045260246000fd5b602080825282518282018190526000919060409081850190868401855b82811015612920578151805160ff1685528601516001600160e01b0319168685015292840192908501906001016128ee565b5091979650505050505050565b60006020828403121561293f57600080fd5b5051919050565b805161241c816123fc565b60006020828403121561296357600080fd5b81516123f5816123fc565b60006020828403121561298057600080fd5b81516001600160401b03811681146123f557600080fd5b805161241c8161260d565b6000602082840312156129b457600080fd5b81516123f58161260d565b600080858511156129cf57600080fd5b838611156129dc57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612a115780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612a6a57600080fd5b8151612a7861268682612640565b818152846020838601011115612a8d57600080fd5b61251b82602083016020870161245a565b60008060408385031215612ab157600080fd5b82516001600160401b0380821115612ac857600080fd5b9084019060e08287031215612adc57600080fd5b612ae4612595565b612aed83612876565b8152612afb60208401612876565b6020820152612b0c60408401612997565b6040820152612b1d6060840161283b565b6060820152612b2e60808401612946565b6080820152612b3f60a08401612946565b60a082015260c083015182811115612b5657600080fd5b612b6288828601612a59565b60c0830152506020860151909450915080821115612b7f57600080fd5b50612b8c85828601612a59565b9150509250929050565b600181811c90821680612baa57607f821691505b602082108103612bca57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612be257600080fd5b815164ffffffffff811681146123f557600080fd5b60008060408385031215612c0a57600080fd5b8251612c15816123fc565b602084015190925061244f816123fc565b60008251612c3881846020870161245a565b9190910192915050565b60008060408385031215612c5557600080fd5b8251612c6081612627565b602084015190925063ffffffff8116811461244f57600080fd5b601f821115611a6457600081815260208120601f850160051c81016020861015612ca15750805b601f850160051c820191505b818110156115fd57828155600101612cad565b81516001600160401b03811115612cd957612cd961257f565b612ced81612ce78454612b96565b84612c7a565b602080601f831160018114612d225760008415612d0a5750858301515b600019600386901b1c1916600185901b1785556115fd565b600085815260208120601f198616915b82811015612d5157888601518255948401946001909101908401612d32565b5085821015612d6f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220923d3f41bd399c4be479d95c1a9f96970e81d4be63802b34d52916c16649d1f864736f6c63430008140033",
1186
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61287a80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063644c45e0116101045780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461043f578063c2bf08c814610447578063ed841d0c1461045a578063f7c34ee01461046257600080fd5b80638fb36037146103f35780638fbc2d8114610408578063ada9652e1461041b578063b68d18091461043057600080fd5b80637a9e5e4b116100de5780637a9e5e4b146103b25780638105cc7f146103c5578063893d20e8146103d85780638e32e979146103e057600080fd5b8063644c45e01461036e578063675393bf1461038c5780637286e5e51461039f57600080fd5b806327bb7a331161017c57806357a8fba71161014b57806357a8fba7146102f85780635ab1bd53146103235780635c992fed146103485780635d9662891461035b57600080fd5b806327bb7a33146102b7578063329d6e74146102ca57806336fc697e146102dd57806349bb9e4b146102e557600080fd5b80630fec111c116101b85780630fec111c1461025d578063138461e0146102655780631eff4b221461026f578063214cdb80146102a457600080fd5b806301ffc9a7146101df578063026bc43b146102215780630d8e6e2c14610241575b600080fd5b61020c6101ed366004611e6d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f366004611ec3565b610475565b6040516102189190611f4c565b610249610623565b60405162ffffff9091168152602001610218565b6102346106ad565b61026d6107ce565b005b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61026d6102b2366004611e6d565b6109d0565b61026d6102c5366004612115565b6109fd565b61026d6102d83660046121ad565b610aa2565b61026d610bef565b61026d6102f33660046121e1565b610c35565b61030b610306366004612230565b610d34565b6040516001600160601b039091168152602001610218565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61030b610356366004612230565b610dc3565b610234610369366004611ec3565b610dd9565b6000805160206127e5833981519152546001600160601b031661030b565b61026d61039a366004612302565b610f24565b6102346103ad366004611ec3565b611037565b61026d6103c0366004612302565b6110ef565b61030b6103d3366004612230565b611172565b610330611188565b61026d6103ee36600461231f565b6112bf565b6103fb6114f8565b604051610218919061236a565b610234610416366004611ec3565b611530565b6102966000805160206127e583398151915281565b60405160288152602001610218565b6103306115e8565b61030b610455366004612230565b611604565b610296600081565b61026d610470366004611ec3565b61161a565b61047d611e2f565b61048a335b600036611691565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104bd9063425ec80560e01b9060040161236a565b602060405180830381865afa1580156104da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fe919061238a565b61052b57604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6105388360465b84611797565b905061054c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105779190611f4c565b6020604051808303816000875af1158015610596573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba91906123b2565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a891906123cf565b905090565b6106b5611e2f565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161072a611188565b6001600160a01b03168152602001826001018054610747906123f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610773906123f4565b80156107c05780601f10610795576101008083540402835291602001916107c0565b820191906000526020600020905b8154815290600101906020018083116107a357829003601f168201915b505050505081525091505090565b60006000805160206127e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561083d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610861919061238a565b1561088d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610522565b306108a06001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090c919061238a565b6109345760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610522565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ac91906123b2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109d8611a0e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a05611a0e565b610a0f828761161a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a988382612474565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ac4610623565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b289190612533565b6000805160206128258339815191528054600160401b900460ff1680610b5b575080546001600160401b03808416911610155b15610b795760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ba383611a47565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610bf7611a0e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206128258339815191528054600160401b810460ff1615906001600160401b0316600081158015610c685750825b90506000826001600160401b03166001148015610c845750303b155b905081158015610c92575080155b15610cb05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cda57845460ff60401b1916600160401b1785555b610ce48787611a4f565b8315610d2b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d3f33610482565b610d4a82607a611b75565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d7a908590600401611f4c565b6020604051808303816000875af1158015610d99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbd91906123b2565b92915050565b6000610dce33610482565b610d4a8260d3611b75565b610de1611e2f565b610dea33610482565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e1d9063058d03e760e21b9060040161236a565b602060405180830381865afa158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e919061238a565b610e865760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610522565b610e9183606e610532565b9050610ea56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610ed09190611f4c565b6020604051808303816000875af1158015610eef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1391906123b2565b6001600160601b0316815292915050565b610f2c611a0e565b806001600160a01b03163b600003610f625760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610522565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fa890630a3888e560e31b9060040161236a565b602060405180830381865afa925050508015610fe1575060408051601f3d908101601f19168201909252610fde9181019061238a565b60015b6110095760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610522565b806110325760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610522565b505b50565b61103f611e2f565b61104833610482565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061107b90630d02010f60e31b9060040161236a565b602060405180830381865afa158015611098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bc919061238a565b6110e4576040516304c983f360e41b81526001600160a01b0384166004820152602401610522565b610e9183608c610532565b336110f86115e8565b6001600160a01b0316816001600160a01b0316146111335760405162d1953b60e31b81526001600160a01b0382166004820152602401610522565b816001600160a01b03163b600003611169576040516361798f2f60e11b81526001600160a01b0383166004820152602401610522565b61103282611ca0565b600061117d33610482565b610d4a826050611b75565b6000806000805160206127e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c919061238a565b156112a9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a39190612567565b91505090565b54600160601b90046001600160a01b0316919050565b6112c7611a0e565b61134783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611309573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132d91906123b2565b603c600085604051806020016040528060008152506109fd565b6001600160a01b038216156113645761135f82611d01565b6114d3565b60006113786001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156113d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fc919061258f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611441573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114659190612567565b90506114d1816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cc9190612567565b611d01565b505b6114e3634a531f3360e01b6109d0565b6114f363b68d180960e01b6109d0565b505050565b600080516020612805833981519152805460009190600160a01b900460ff166115225760006112a3565b638fb3603760e01b91505090565b611538611e2f565b61154133610482565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157490637895d0ed60e01b9060040161236a565b602060405180830381865afa158015611591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b5919061238a565b6115dd576040516367237f5b60e11b81526001600160a01b0384166004820152602401610522565b610e91836078610532565b600080516020612805833981519152546001600160a01b031690565b600061160f33610482565b610d4a8260dc611b75565b611622611a0e565b61162b81610f24565b611633610bef565b6001600160a01b03821661165a5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206127e583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206128058339815191526000806116cc6116ae6115e8565b87306116be600460008a8c6125ac565b6116c7916125d6565b611d12565b915091508161178f5763ffffffff81161561176c57825460ff60a01b1916600160a01b1783556116fa6115e8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161172993929190612606565b600060405180830381600087803b15801561174357600080fd5b505af1158015611757573d6000803e3d6000fd5b5050845460ff60a01b191685555061178f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610522565b505050505050565b61179f611e2f565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156117dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611805919081019061268b565b9050836001600160a01b031681608001516001600160a01b0316146118565760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610522565b604081015160ff8481169116146118a257604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610522565b60a08101516001600160a01b03808216908416146118ee576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610522565b846001600160a01b0316816001600160a01b03160361192b57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610522565b6001600160a01b03811661195d576040516343e40cb560e01b81526001600160a01b0386166004820152602401610522565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d5919061238a565b15611a06576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610522565b509392505050565b60008051602061282583398151915254600160401b900460ff16611a4557604051631afcd79f60e31b815260040160405180910390fd5b565b6101da611a0e565b6000805160206128258339815191528054600160401b810460ff1615906001600160401b0316600081158015611a825750825b90506000826001600160401b03166001148015611a9e5750303b155b905081158015611aac575080155b15611aca5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611af457845460ff60401b1916600160401b1785555b600080600088806020019051810190611b0d919061274e565b9094509092509050611b2082828c6112bf565b611b30631ad26c9560e21b6109d0565b5050508315610d2b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d22565b60006080830152604082015160ff828116911614611bb9576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610522565b60a08201516001600160a01b038116611bf0576040808401519051633312954f60e21b815260ff9091166004820152602401610522565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c68919061238a565b156114f357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610522565b60008051602061280583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d09611a0e565b61103481611e1e565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d819190612790565b600060405180830381855afa9150503d8060008114611dbc576040519150601f19603f3d011682016040523d82523d6000602084013e611dc1565b606091505b50915091508115611e13576040815110611df35780806020019051810190611de991906127ac565b9094509250611e13565b6020815110611e135780806020019051810190611e10919061238a565b93505b505094509492505050565b611e26611a0e565b61103481611ca0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611e7f57600080fd5b81356001600160e01b031981168114611e9757600080fd5b9392505050565b6001600160a01b038116811461103457600080fd5b8035611ebe81611e9e565b919050565b60008060408385031215611ed657600080fd5b8235611ee181611e9e565b91506020830135611ef181611e9e565b809150509250929050565b60005b83811015611f17578181015183820152602001611eff565b50506000910152565b60008151808452611f38816020860160208601611efc565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fb560c08401826001600160a01b03169052565b5060c083015160e080840152611fcf610100840182611f20565b949350505050565b6001600160601b038116811461103457600080fd5b8035611ebe81611fd7565b60ff8116811461103457600080fd5b8035611ebe81611ff7565b801515811461103457600080fd5b8035611ebe81612011565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156120625761206261202a565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120905761209061202a565b604052919050565b60006001600160401b038211156120b1576120b161202a565b50601f01601f191660200190565b600082601f8301126120d057600080fd5b81356120e36120de82612098565b612068565b8181528460208386010111156120f857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561212e57600080fd5b863561213981611e9e565b9550602087013561214981611fd7565b9450604087013561215981611ff7565b9350606087013561216981612011565b9250608087013561217981611e9e565b915060a08701356001600160401b0381111561219457600080fd5b6121a089828a016120bf565b9150509295509295509295565b6000602082840312156121bf57600080fd5b81356001600160401b038111156121d557600080fd5b611fcf848285016120bf565b600080604083850312156121f457600080fd5b82356121ff81611e9e565b915060208301356001600160401b0381111561221a57600080fd5b612226858286016120bf565b9150509250929050565b60006020828403121561224257600080fd5b81356001600160401b038082111561225957600080fd5b9083019060e0828603121561226d57600080fd5b612275612040565b61227e83611fec565b815261228c60208401611fec565b602082015261229d60408401612006565b60408201526122ae6060840161201f565b60608201526122bf60808401611eb3565b60808201526122d060a08401611eb3565b60a082015260c0830135828111156122e757600080fd5b6122f3878286016120bf565b60c08301525095945050505050565b60006020828403121561231457600080fd5b8135611e9781611e9e565b60008060006060848603121561233457600080fd5b833561233f81611e9e565b9250602084013561234f81611e9e565b9150604084013561235f81611e9e565b809150509250925092565b6001600160e01b031991909116815260200190565b8051611ebe81612011565b60006020828403121561239c57600080fd5b8151611e9781612011565b8051611ebe81611fd7565b6000602082840312156123c457600080fd5b8151611e9781611fd7565b6000602082840312156123e157600080fd5b815162ffffff81168114611e9757600080fd5b600181811c9082168061240857607f821691505b60208210810361242857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f357600081815260208120601f850160051c810160208610156124555750805b601f850160051c820191505b8181101561178f57828155600101612461565b81516001600160401b0381111561248d5761248d61202a565b6124a18161249b84546123f4565b8461242e565b602080601f8311600181146124d657600084156124be5750858301515b600019600386901b1c1916600185901b17855561178f565b600085815260208120601f198616915b82811015612505578886015182559484019460019091019084016124e6565b50858210156125235787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561254557600080fd5b81516001600160401b0381168114611e9757600080fd5b8051611ebe81611e9e565b60006020828403121561257957600080fd5b8151611e9781611e9e565b8051611ebe81611ff7565b6000602082840312156125a157600080fd5b8151611e9781611ff7565b600080858511156125bc57600080fd5b838611156125c957600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156125fe5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f83011261265757600080fd5b81516126656120de82612098565b81815284602083860101111561267a57600080fd5b611fcf826020830160208701611efc565b60006020828403121561269d57600080fd5b81516001600160401b03808211156126b457600080fd5b9083019060e082860312156126c857600080fd5b6126d0612040565b6126d9836123a7565b81526126e7602084016123a7565b60208201526126f860408401612584565b60408201526127096060840161237f565b606082015261271a6080840161255c565b608082015261272b60a0840161255c565b60a082015260c08301518281111561274257600080fd5b6122f387828601612646565b60008060006060848603121561276357600080fd5b835161276e81611e9e565b602085015190935061277f81611e9e565b604085015190925061235f81611e9e565b600082516127a2818460208701611efc565b9190910192915050565b600080604083850312156127bf57600080fd5b82516127ca81612011565b602084015190925063ffffffff81168114611ef157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ab2d9e6e7f0c130b11e4f4478dae78aba59bf85ebdbc3be035bfbadd47860f7f64736f6c63430008140033",
1187
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063644c45e0116101045780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461043f578063c2bf08c814610447578063ed841d0c1461045a578063f7c34ee01461046257600080fd5b80638fb36037146103f35780638fbc2d8114610408578063ada9652e1461041b578063b68d18091461043057600080fd5b80637a9e5e4b116100de5780637a9e5e4b146103b25780638105cc7f146103c5578063893d20e8146103d85780638e32e979146103e057600080fd5b8063644c45e01461036e578063675393bf1461038c5780637286e5e51461039f57600080fd5b806327bb7a331161017c57806357a8fba71161014b57806357a8fba7146102f85780635ab1bd53146103235780635c992fed146103485780635d9662891461035b57600080fd5b806327bb7a33146102b7578063329d6e74146102ca57806336fc697e146102dd57806349bb9e4b146102e557600080fd5b80630fec111c116101b85780630fec111c1461025d578063138461e0146102655780631eff4b221461026f578063214cdb80146102a457600080fd5b806301ffc9a7146101df578063026bc43b146102215780630d8e6e2c14610241575b600080fd5b61020c6101ed366004611e6d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f366004611ec3565b610475565b6040516102189190611f4c565b610249610623565b60405162ffffff9091168152602001610218565b6102346106ad565b61026d6107ce565b005b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61026d6102b2366004611e6d565b6109d0565b61026d6102c5366004612115565b6109fd565b61026d6102d83660046121ad565b610aa2565b61026d610bef565b61026d6102f33660046121e1565b610c35565b61030b610306366004612230565b610d34565b6040516001600160601b039091168152602001610218565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61030b610356366004612230565b610dc3565b610234610369366004611ec3565b610dd9565b6000805160206127e5833981519152546001600160601b031661030b565b61026d61039a366004612302565b610f24565b6102346103ad366004611ec3565b611037565b61026d6103c0366004612302565b6110ef565b61030b6103d3366004612230565b611172565b610330611188565b61026d6103ee36600461231f565b6112bf565b6103fb6114f8565b604051610218919061236a565b610234610416366004611ec3565b611530565b6102966000805160206127e583398151915281565b60405160288152602001610218565b6103306115e8565b61030b610455366004612230565b611604565b610296600081565b61026d610470366004611ec3565b61161a565b61047d611e2f565b61048a335b600036611691565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104bd9063425ec80560e01b9060040161236a565b602060405180830381865afa1580156104da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fe919061238a565b61052b57604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6105388360465b84611797565b905061054c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105779190611f4c565b6020604051808303816000875af1158015610596573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba91906123b2565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a891906123cf565b905090565b6106b5611e2f565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161072a611188565b6001600160a01b03168152602001826001018054610747906123f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610773906123f4565b80156107c05780601f10610795576101008083540402835291602001916107c0565b820191906000526020600020905b8154815290600101906020018083116107a357829003601f168201915b505050505081525091505090565b60006000805160206127e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561083d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610861919061238a565b1561088d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610522565b306108a06001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090c919061238a565b6109345760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610522565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ac91906123b2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109d8611a0e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a05611a0e565b610a0f828761161a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a988382612474565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ac4610623565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b289190612533565b6000805160206128258339815191528054600160401b900460ff1680610b5b575080546001600160401b03808416911610155b15610b795760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ba383611a47565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610bf7611a0e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206128258339815191528054600160401b810460ff1615906001600160401b0316600081158015610c685750825b90506000826001600160401b03166001148015610c845750303b155b905081158015610c92575080155b15610cb05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cda57845460ff60401b1916600160401b1785555b610ce48787611a4f565b8315610d2b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d3f33610482565b610d4a82607a611b75565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d7a908590600401611f4c565b6020604051808303816000875af1158015610d99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbd91906123b2565b92915050565b6000610dce33610482565b610d4a8260d3611b75565b610de1611e2f565b610dea33610482565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e1d9063058d03e760e21b9060040161236a565b602060405180830381865afa158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e919061238a565b610e865760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610522565b610e9183606e610532565b9050610ea56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610ed09190611f4c565b6020604051808303816000875af1158015610eef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1391906123b2565b6001600160601b0316815292915050565b610f2c611a0e565b806001600160a01b03163b600003610f625760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610522565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fa890630a3888e560e31b9060040161236a565b602060405180830381865afa925050508015610fe1575060408051601f3d908101601f19168201909252610fde9181019061238a565b60015b6110095760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610522565b806110325760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610522565b505b50565b61103f611e2f565b61104833610482565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061107b90630d02010f60e31b9060040161236a565b602060405180830381865afa158015611098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bc919061238a565b6110e4576040516304c983f360e41b81526001600160a01b0384166004820152602401610522565b610e9183608c610532565b336110f86115e8565b6001600160a01b0316816001600160a01b0316146111335760405162d1953b60e31b81526001600160a01b0382166004820152602401610522565b816001600160a01b03163b600003611169576040516361798f2f60e11b81526001600160a01b0383166004820152602401610522565b61103282611ca0565b600061117d33610482565b610d4a826050611b75565b6000806000805160206127e583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c919061238a565b156112a9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a39190612567565b91505090565b54600160601b90046001600160a01b0316919050565b6112c7611a0e565b61134783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611309573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132d91906123b2565b603c600085604051806020016040528060008152506109fd565b6001600160a01b038216156113645761135f82611d01565b6114d3565b60006113786001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156113d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fc919061258f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611441573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114659190612567565b90506114d1816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cc9190612567565b611d01565b505b6114e3634a531f3360e01b6109d0565b6114f363b68d180960e01b6109d0565b505050565b600080516020612805833981519152805460009190600160a01b900460ff166115225760006112a3565b638fb3603760e01b91505090565b611538611e2f565b61154133610482565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157490637895d0ed60e01b9060040161236a565b602060405180830381865afa158015611591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b5919061238a565b6115dd576040516367237f5b60e11b81526001600160a01b0384166004820152602401610522565b610e91836078610532565b600080516020612805833981519152546001600160a01b031690565b600061160f33610482565b610d4a8260dc611b75565b611622611a0e565b61162b81610f24565b611633610bef565b6001600160a01b03821661165a5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206127e583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206128058339815191526000806116cc6116ae6115e8565b87306116be600460008a8c6125ac565b6116c7916125d6565b611d12565b915091508161178f5763ffffffff81161561176c57825460ff60a01b1916600160a01b1783556116fa6115e8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161172993929190612606565b600060405180830381600087803b15801561174357600080fd5b505af1158015611757573d6000803e3d6000fd5b5050845460ff60a01b191685555061178f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610522565b505050505050565b61179f611e2f565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156117dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611805919081019061268b565b9050836001600160a01b031681608001516001600160a01b0316146118565760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610522565b604081015160ff8481169116146118a257604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610522565b60a08101516001600160a01b03808216908416146118ee576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610522565b846001600160a01b0316816001600160a01b03160361192b57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610522565b6001600160a01b03811661195d576040516343e40cb560e01b81526001600160a01b0386166004820152602401610522565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d5919061238a565b15611a06576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610522565b509392505050565b60008051602061282583398151915254600160401b900460ff16611a4557604051631afcd79f60e31b815260040160405180910390fd5b565b6101da611a0e565b6000805160206128258339815191528054600160401b810460ff1615906001600160401b0316600081158015611a825750825b90506000826001600160401b03166001148015611a9e5750303b155b905081158015611aac575080155b15611aca5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611af457845460ff60401b1916600160401b1785555b600080600088806020019051810190611b0d919061274e565b9094509092509050611b2082828c6112bf565b611b30631ad26c9560e21b6109d0565b5050508315610d2b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d22565b60006080830152604082015160ff828116911614611bb9576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610522565b60a08201516001600160a01b038116611bf0576040808401519051633312954f60e21b815260ff9091166004820152602401610522565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c68919061238a565b156114f357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610522565b60008051602061280583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d09611a0e565b61103481611e1e565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d819190612790565b600060405180830381855afa9150503d8060008114611dbc576040519150601f19603f3d011682016040523d82523d6000602084013e611dc1565b606091505b50915091508115611e13576040815110611df35780806020019051810190611de991906127ac565b9094509250611e13565b6020815110611e135780806020019051810190611e10919061238a565b93505b505094509492505050565b611e26611a0e565b61103481611ca0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611e7f57600080fd5b81356001600160e01b031981168114611e9757600080fd5b9392505050565b6001600160a01b038116811461103457600080fd5b8035611ebe81611e9e565b919050565b60008060408385031215611ed657600080fd5b8235611ee181611e9e565b91506020830135611ef181611e9e565b809150509250929050565b60005b83811015611f17578181015183820152602001611eff565b50506000910152565b60008151808452611f38816020860160208601611efc565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fb560c08401826001600160a01b03169052565b5060c083015160e080840152611fcf610100840182611f20565b949350505050565b6001600160601b038116811461103457600080fd5b8035611ebe81611fd7565b60ff8116811461103457600080fd5b8035611ebe81611ff7565b801515811461103457600080fd5b8035611ebe81612011565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156120625761206261202a565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120905761209061202a565b604052919050565b60006001600160401b038211156120b1576120b161202a565b50601f01601f191660200190565b600082601f8301126120d057600080fd5b81356120e36120de82612098565b612068565b8181528460208386010111156120f857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561212e57600080fd5b863561213981611e9e565b9550602087013561214981611fd7565b9450604087013561215981611ff7565b9350606087013561216981612011565b9250608087013561217981611e9e565b915060a08701356001600160401b0381111561219457600080fd5b6121a089828a016120bf565b9150509295509295509295565b6000602082840312156121bf57600080fd5b81356001600160401b038111156121d557600080fd5b611fcf848285016120bf565b600080604083850312156121f457600080fd5b82356121ff81611e9e565b915060208301356001600160401b0381111561221a57600080fd5b612226858286016120bf565b9150509250929050565b60006020828403121561224257600080fd5b81356001600160401b038082111561225957600080fd5b9083019060e0828603121561226d57600080fd5b612275612040565b61227e83611fec565b815261228c60208401611fec565b602082015261229d60408401612006565b60408201526122ae6060840161201f565b60608201526122bf60808401611eb3565b60808201526122d060a08401611eb3565b60a082015260c0830135828111156122e757600080fd5b6122f3878286016120bf565b60c08301525095945050505050565b60006020828403121561231457600080fd5b8135611e9781611e9e565b60008060006060848603121561233457600080fd5b833561233f81611e9e565b9250602084013561234f81611e9e565b9150604084013561235f81611e9e565b809150509250925092565b6001600160e01b031991909116815260200190565b8051611ebe81612011565b60006020828403121561239c57600080fd5b8151611e9781612011565b8051611ebe81611fd7565b6000602082840312156123c457600080fd5b8151611e9781611fd7565b6000602082840312156123e157600080fd5b815162ffffff81168114611e9757600080fd5b600181811c9082168061240857607f821691505b60208210810361242857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f357600081815260208120601f850160051c810160208610156124555750805b601f850160051c820191505b8181101561178f57828155600101612461565b81516001600160401b0381111561248d5761248d61202a565b6124a18161249b84546123f4565b8461242e565b602080601f8311600181146124d657600084156124be5750858301515b600019600386901b1c1916600185901b17855561178f565b600085815260208120601f198616915b82811015612505578886015182559484019460019091019084016124e6565b50858210156125235787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561254557600080fd5b81516001600160401b0381168114611e9757600080fd5b8051611ebe81611e9e565b60006020828403121561257957600080fd5b8151611e9781611e9e565b8051611ebe81611ff7565b6000602082840312156125a157600080fd5b8151611e9781611ff7565b600080858511156125bc57600080fd5b838611156125c957600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156125fe5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f83011261265757600080fd5b81516126656120de82612098565b81815284602083860101111561267a57600080fd5b611fcf826020830160208701611efc565b60006020828403121561269d57600080fd5b81516001600160401b03808211156126b457600080fd5b9083019060e082860312156126c857600080fd5b6126d0612040565b6126d9836123a7565b81526126e7602084016123a7565b60208201526126f860408401612584565b60408201526127096060840161237f565b606082015261271a6080840161255c565b608082015261272b60a0840161255c565b60a082015260c08301518281111561274257600080fd5b6122f387828601612646565b60008060006060848603121561276357600080fd5b835161276e81611e9e565b602085015190935061277f81611e9e565b604085015190925061235f81611e9e565b600082516127a2818460208701611efc565b9190910192915050565b600080604083850312156127bf57600080fd5b82516127ca81612011565b602084015190925063ffffffff81168114611ef157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ab2d9e6e7f0c130b11e4f4478dae78aba59bf85ebdbc3be035bfbadd47860f7f64736f6c63430008140033",
1095
1188
  "linkReferences": {
1096
- "contracts/types/Blocknumber.sol": {
1097
- "BlocknumberLib": [
1098
- {
1099
- "length": 20,
1100
- "start": 3519
1101
- }
1102
- ]
1103
- },
1104
- "contracts/types/NftId.sol": {
1189
+ "contracts/type/NftId.sol": {
1105
1190
  "NftIdLib": [
1106
1191
  {
1107
1192
  "length": 20,
1108
- "start": 2935
1193
+ "start": 2281
1109
1194
  },
1110
1195
  {
1111
1196
  "length": 20,
1112
- "start": 4313
1113
- }
1114
- ]
1115
- },
1116
- "contracts/types/Timestamp.sol": {
1117
- "TimestampLib": [
1118
- {
1119
- "length": 20,
1120
- "start": 7485
1197
+ "start": 4772
1121
1198
  }
1122
1199
  ]
1123
1200
  },
1124
- "contracts/types/Version.sol": {
1201
+ "contracts/type/Version.sol": {
1125
1202
  "VersionLib": [
1126
1203
  {
1127
1204
  "length": 20,
1128
- "start": 2046
1205
+ "start": 1840
1129
1206
  },
1130
1207
  {
1131
1208
  "length": 20,
1132
- "start": 4785
1133
- },
1209
+ "start": 2954
1210
+ }
1211
+ ],
1212
+ "VersionPartLib": [
1134
1213
  {
1135
1214
  "length": 20,
1136
- "start": 5330
1215
+ "start": 5252
1137
1216
  }
1138
1217
  ]
1139
1218
  }
1140
1219
  },
1141
1220
  "deployedLinkReferences": {
1142
- "contracts/types/Blocknumber.sol": {
1143
- "BlocknumberLib": [
1144
- {
1145
- "length": 20,
1146
- "start": 3205
1147
- }
1148
- ]
1149
- },
1150
- "contracts/types/NftId.sol": {
1221
+ "contracts/type/NftId.sol": {
1151
1222
  "NftIdLib": [
1152
1223
  {
1153
1224
  "length": 20,
1154
- "start": 2621
1225
+ "start": 2051
1155
1226
  },
1156
1227
  {
1157
1228
  "length": 20,
1158
- "start": 3999
1229
+ "start": 4542
1159
1230
  }
1160
1231
  ]
1161
1232
  },
1162
- "contracts/types/Timestamp.sol": {
1163
- "TimestampLib": [
1164
- {
1165
- "length": 20,
1166
- "start": 7171
1167
- }
1168
- ]
1169
- },
1170
- "contracts/types/Version.sol": {
1233
+ "contracts/type/Version.sol": {
1171
1234
  "VersionLib": [
1172
1235
  {
1173
1236
  "length": 20,
1174
- "start": 1732
1237
+ "start": 1610
1175
1238
  },
1176
1239
  {
1177
1240
  "length": 20,
1178
- "start": 4471
1179
- },
1241
+ "start": 2724
1242
+ }
1243
+ ],
1244
+ "VersionPartLib": [
1180
1245
  {
1181
1246
  "length": 20,
1182
- "start": 5016
1247
+ "start": 5022
1183
1248
  }
1184
1249
  ]
1185
1250
  }