@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c00cf5d-513

Sign up to get free protection for your applications and to get access to all the features.
Files changed (506) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +206 -244
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1583 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +855 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +206 -156
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +380 -196
  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 +277 -1998
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +172 -230
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +389 -2735
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +692 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +443 -255
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +217 -479
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +246 -129
  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 +25 -150
  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 +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +273 -336
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +386 -185
  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/{components → pool}/Pool.sol/Pool.json +363 -303
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1649 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +783 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +109 -254
  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 +174 -307
  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} +235 -237
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +212 -164
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +67 -174
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/{components → product}/Product.sol/Product.json +166 -239
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +891 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +715 -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 +123 -19
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +212 -240
  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 +146 -34
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +292 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +245 -314
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +240 -123
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +597 -86
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +44 -92
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  133. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  134. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +146 -151
  135. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +118 -222
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  143. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  144. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +190 -74
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -43
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -43
  151. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
  153. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IService.sol/IService.json +66 -173
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -91
  159. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  160. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -47
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +226 -95
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +32 -89
  165. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  166. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -36
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Service.sol/Service.json +92 -212
  169. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  170. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
  175. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  176. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  177. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  178. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  179. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  181. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  183. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  185. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  186. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  187. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  189. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  191. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  193. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  195. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  197. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  198. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  199. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  201. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  203. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  205. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  207. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  209. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  210. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  211. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  213. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  215. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  217. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  219. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  223. package/contracts/{components → distribution}/Distribution.sol +47 -60
  224. package/contracts/distribution/DistributionService.sol +351 -0
  225. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  226. package/contracts/{components → distribution}/IDistributionComponent.sol +8 -37
  227. package/contracts/distribution/IDistributionService.sol +87 -0
  228. package/contracts/instance/BundleManager.sol +15 -14
  229. package/contracts/instance/IInstance.sol +52 -59
  230. package/contracts/instance/IInstanceService.sol +32 -19
  231. package/contracts/instance/Instance.sol +138 -185
  232. package/contracts/instance/InstanceAdmin.sol +330 -0
  233. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  234. package/contracts/instance/InstanceReader.sol +101 -26
  235. package/contracts/instance/InstanceService.sol +173 -307
  236. package/contracts/instance/InstanceServiceManager.sol +12 -22
  237. package/contracts/instance/InstanceStore.sol +211 -0
  238. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  239. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  240. package/contracts/instance/base/ILifecycle.sol +3 -3
  241. package/contracts/instance/base/KeyValueStore.sol +44 -47
  242. package/contracts/instance/base/Lifecycle.sol +28 -7
  243. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  244. package/contracts/instance/module/IAccess.sol +19 -20
  245. package/contracts/instance/module/IBundle.sol +11 -8
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +7 -4
  248. package/contracts/instance/module/IPolicy.sol +50 -17
  249. package/contracts/instance/module/IRisk.sol +1 -1
  250. package/contracts/instance/module/ISetup.sol +9 -23
  251. package/contracts/instance/module/ITreasury.sol +2 -2
  252. package/contracts/pool/BundleService.sol +384 -0
  253. package/contracts/pool/BundleServiceManager.sol +42 -0
  254. package/contracts/pool/IBundleService.sol +118 -0
  255. package/contracts/pool/IPoolComponent.sol +114 -0
  256. package/contracts/pool/IPoolService.sol +114 -0
  257. package/contracts/pool/Pool.sol +302 -0
  258. package/contracts/pool/PoolService.sol +404 -0
  259. package/contracts/pool/PoolServiceManager.sol +42 -0
  260. package/contracts/product/ApplicationService.sol +187 -0
  261. package/contracts/product/ApplicationServiceManager.sol +38 -0
  262. package/contracts/product/ClaimService.sol +443 -0
  263. package/contracts/product/ClaimServiceManager.sol +38 -0
  264. package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
  265. package/contracts/product/IClaimService.sol +93 -0
  266. package/contracts/product/IPolicyService.sol +80 -0
  267. package/contracts/product/IPricingService.sol +37 -0
  268. package/contracts/{components → product}/IProductComponent.sol +13 -11
  269. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  270. package/contracts/product/PolicyService.sol +378 -0
  271. package/contracts/product/PolicyServiceManager.sol +42 -0
  272. package/contracts/product/PricingService.sol +276 -0
  273. package/contracts/product/PricingServiceManager.sol +42 -0
  274. package/contracts/{components → product}/Product.sol +186 -85
  275. package/contracts/product/ProductService.sol +212 -0
  276. package/contracts/product/ProductServiceManager.sol +42 -0
  277. package/contracts/registry/ChainNft.sol +8 -0
  278. package/contracts/registry/IRegistry.sol +31 -17
  279. package/contracts/registry/IRegistryService.sol +32 -38
  280. package/contracts/registry/ITransferInterceptor.sol +1 -0
  281. package/contracts/registry/Registry.sol +70 -67
  282. package/contracts/registry/RegistryAdmin.sol +141 -0
  283. package/contracts/registry/RegistryService.sol +65 -94
  284. package/contracts/registry/RegistryServiceManager.sol +22 -24
  285. package/contracts/registry/ReleaseManager.sol +318 -188
  286. package/contracts/registry/TokenRegistry.sol +19 -14
  287. package/contracts/shared/AccessManagerCustom.sol +736 -0
  288. package/contracts/shared/AccessManagerExtended.sol +469 -0
  289. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  290. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  291. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  292. package/contracts/{components → shared}/Component.sol +121 -86
  293. package/contracts/shared/ComponentService.sol +142 -0
  294. package/contracts/shared/ERC165.sol +2 -1
  295. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  296. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  297. package/contracts/shared/IComponent.sol +90 -0
  298. package/contracts/shared/INftOwnable.sol +5 -10
  299. package/contracts/shared/IPolicyHolder.sol +24 -10
  300. package/contracts/shared/IRegistryLinked.sol +0 -4
  301. package/contracts/shared/IService.sol +6 -4
  302. package/contracts/shared/IVersionable.sol +5 -48
  303. package/contracts/shared/NftOwnable.sol +20 -93
  304. package/contracts/shared/PolicyHolder.sol +31 -18
  305. package/contracts/shared/ProxyManager.sol +129 -24
  306. package/contracts/shared/Registerable.sol +14 -20
  307. package/contracts/shared/RegistryLinked.sol +5 -26
  308. package/contracts/shared/Service.sol +30 -18
  309. package/contracts/shared/TokenHandler.sol +14 -6
  310. package/contracts/shared/Versionable.sol +1 -90
  311. package/contracts/staking/IStakingService.sol +102 -0
  312. package/contracts/staking/StakingService.sol +169 -0
  313. package/contracts/staking/StakingServiceManager.sol +40 -0
  314. package/contracts/type/Amount.sol +109 -0
  315. package/contracts/{types → type}/Blocknumber.sol +1 -0
  316. package/contracts/type/ClaimId.sol +75 -0
  317. package/contracts/{types → type}/Fee.sol +17 -8
  318. package/contracts/{types → type}/NftId.sol +8 -0
  319. package/contracts/{types → type}/NftIdSet.sol +1 -1
  320. package/contracts/{types → type}/ObjectType.sol +13 -7
  321. package/contracts/type/PayoutId.sol +82 -0
  322. package/contracts/{types → type}/Referral.sol +4 -0
  323. package/contracts/{types → type}/RoleId.sol +62 -13
  324. package/contracts/type/Seconds.sol +54 -0
  325. package/contracts/{types → type}/StateId.sol +7 -2
  326. package/contracts/{types → type}/Timestamp.sol +18 -13
  327. package/contracts/{types → type}/UFixed.sol +1 -0
  328. package/contracts/{types → type}/Version.sol +1 -0
  329. package/package.json +1 -1
  330. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  331. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  332. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  333. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  334. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  335. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  337. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  340. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  342. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  344. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  346. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  348. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  352. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  354. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  356. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  358. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  360. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  361. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  362. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  363. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  364. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  365. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  366. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  367. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  368. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  370. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  372. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  374. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  376. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  378. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  379. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  381. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  383. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
  386. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
  388. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  389. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
  390. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  391. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1176
  392. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  393. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -602
  394. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  395. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  396. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  400. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1378
  402. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
  404. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
  406. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
  408. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
  410. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
  412. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  413. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  414. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  415. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  416. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  417. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  418. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -446
  420. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  422. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  423. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -759
  424. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  425. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  426. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  427. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  428. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  429. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  430. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  431. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  432. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  433. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  436. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  439. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  440. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  441. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  442. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  443. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  444. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  445. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  446. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  447. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  448. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  449. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  450. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  451. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  452. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  455. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  456. package/contracts/components/IComponent.sol +0 -50
  457. package/contracts/components/IPoolComponent.sol +0 -87
  458. package/contracts/components/Pool.sol +0 -254
  459. package/contracts/experiment/cloning/Cloner.sol +0 -47
  460. package/contracts/experiment/errors/Require.sol +0 -38
  461. package/contracts/experiment/errors/Revert.sol +0 -44
  462. package/contracts/experiment/inheritance/A.sol +0 -53
  463. package/contracts/experiment/inheritance/B.sol +0 -28
  464. package/contracts/experiment/inheritance/C.sol +0 -34
  465. package/contracts/experiment/inheritance/IA.sol +0 -13
  466. package/contracts/experiment/inheritance/IB.sol +0 -10
  467. package/contracts/experiment/inheritance/IC.sol +0 -12
  468. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  469. package/contracts/experiment/statemachine/ISM.sol +0 -25
  470. package/contracts/experiment/statemachine/SM.sol +0 -57
  471. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  472. package/contracts/experiment/types/TypeA.sol +0 -47
  473. package/contracts/experiment/types/TypeB.sol +0 -29
  474. package/contracts/instance/InstanceAccessManager.sol +0 -297
  475. package/contracts/instance/base/ComponentService.sol +0 -134
  476. package/contracts/instance/service/ApplicationService.sol +0 -268
  477. package/contracts/instance/service/BundleService.sol +0 -298
  478. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  479. package/contracts/instance/service/DistributionService.sol +0 -274
  480. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  481. package/contracts/instance/service/IBundleService.sol +0 -54
  482. package/contracts/instance/service/IDistributionService.sol +0 -65
  483. package/contracts/instance/service/IPolicyService.sol +0 -88
  484. package/contracts/instance/service/IPoolService.sol +0 -20
  485. package/contracts/instance/service/PolicyService.sol +0 -524
  486. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  487. package/contracts/instance/service/PoolService.sol +0 -109
  488. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  489. package/contracts/instance/service/ProductService.sol +0 -233
  490. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  491. package/contracts/registry/RegistryAccessManager.sol +0 -216
  492. package/contracts/shared/ContractDeployerLib.sol +0 -72
  493. package/contracts/test/TestFee.sol +0 -25
  494. package/contracts/test/TestRegisterable.sol +0 -18
  495. package/contracts/test/TestRoleId.sol +0 -14
  496. package/contracts/test/TestService.sol +0 -25
  497. package/contracts/test/TestToken.sol +0 -26
  498. package/contracts/test/TestVersion.sol +0 -44
  499. package/contracts/test/TestVersionable.sol +0 -17
  500. package/contracts/test/Usdc.sol +0 -26
  501. package/contracts/types/ChainId.sol +0 -38
  502. package/contracts/types/NumberId.sol +0 -52
  503. /package/contracts/{types → type}/AddressSet.sol +0 -0
  504. /package/contracts/{types → type}/DistributorType.sol +0 -0
  505. /package/contracts/{types → type}/Key32.sol +0 -0
  506. /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,12 +60,12 @@
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorNftOwnableContractNotRegistered",
69
64
  "type": "error"
70
65
  },
71
66
  {
72
67
  "inputs": [],
73
- "name": "ErrorInitialOwnerZero",
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
74
69
  "type": "error"
75
70
  },
76
71
  {
@@ -81,7 +76,7 @@
81
76
  "type": "address"
82
77
  }
83
78
  ],
84
- "name": "ErrorNotOwner",
79
+ "name": "ErrorNftOwnableNotOwner",
85
80
  "type": "error"
86
81
  },
87
82
  {
@@ -99,124 +94,220 @@
99
94
  "inputs": [
100
95
  {
101
96
  "internalType": "address",
102
- "name": "registryAddress",
97
+ "name": "registerableAddress",
103
98
  "type": "address"
104
99
  }
105
100
  ],
106
- "name": "ErrorRegisterableNotRegistry",
101
+ "name": "ErrorRegistryServiceInvalidAddress",
107
102
  "type": "error"
108
103
  },
109
104
  {
110
- "inputs": [],
111
- "name": "ErrorRegistryAddressZero",
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "initialOwner",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
112
113
  "type": "error"
113
114
  },
114
115
  {
115
116
  "inputs": [
116
117
  {
117
118
  "internalType": "address",
118
- "name": "registry",
119
+ "name": "notDistribution",
119
120
  "type": "address"
120
121
  }
121
122
  ],
122
- "name": "ErrorRegistryAlreadyInitialized",
123
+ "name": "ErrorRegistryServiceNotDistribution",
123
124
  "type": "error"
124
125
  },
125
126
  {
126
- "inputs": [],
127
- "name": "ErrorRegistryNotInitialized",
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "notInstance",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorRegistryServiceNotInstance",
128
135
  "type": "error"
129
136
  },
130
137
  {
131
138
  "inputs": [
132
139
  {
133
140
  "internalType": "address",
134
- "name": "registerableAddress",
141
+ "name": "notPool",
135
142
  "type": "address"
136
143
  }
137
144
  ],
138
- "name": "InvalidAddress",
145
+ "name": "ErrorRegistryServiceNotPool",
139
146
  "type": "error"
140
147
  },
141
148
  {
142
149
  "inputs": [
143
150
  {
144
151
  "internalType": "address",
145
- "name": "initialOwner",
152
+ "name": "notProduct",
146
153
  "type": "address"
147
154
  }
148
155
  ],
149
- "name": "InvalidInitialOwner",
156
+ "name": "ErrorRegistryServiceNotProduct",
150
157
  "type": "error"
151
158
  },
152
159
  {
153
160
  "inputs": [],
154
- "name": "InvalidInitialization",
161
+ "name": "ErrorRegistryServiceNotRegistryOwner",
155
162
  "type": "error"
156
163
  },
157
164
  {
158
- "inputs": [],
159
- "name": "NotDistribution",
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": "NotInitializing",
176
+ "inputs": [
177
+ {
178
+ "internalType": "ObjectType",
179
+ "name": "objectType",
180
+ "type": "uint8"
181
+ }
182
+ ],
183
+ "name": "ErrorRegistryServiceObjectAddressNotZero",
165
184
  "type": "error"
166
185
  },
167
186
  {
168
- "inputs": [],
169
- "name": "NotInstance",
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "objectType",
191
+ "type": "uint8"
192
+ },
193
+ {
194
+ "internalType": "address",
195
+ "name": "owner",
196
+ "type": "address"
197
+ }
198
+ ],
199
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
170
200
  "type": "error"
171
201
  },
172
202
  {
173
- "inputs": [],
174
- "name": "NotPool",
203
+ "inputs": [
204
+ {
205
+ "internalType": "ObjectType",
206
+ "name": "objectType",
207
+ "type": "uint8"
208
+ }
209
+ ],
210
+ "name": "ErrorRegistryServiceObjectOwnerZero",
175
211
  "type": "error"
176
212
  },
177
213
  {
178
- "inputs": [],
179
- "name": "NotProduct",
214
+ "inputs": [
215
+ {
216
+ "internalType": "ObjectType",
217
+ "name": "expected",
218
+ "type": "uint8"
219
+ },
220
+ {
221
+ "internalType": "ObjectType",
222
+ "name": "found",
223
+ "type": "uint8"
224
+ }
225
+ ],
226
+ "name": "ErrorRegistryServiceObjectTypeInvalid",
180
227
  "type": "error"
181
228
  },
182
229
  {
183
230
  "inputs": [
231
+ {
232
+ "internalType": "contract IRegisterable",
233
+ "name": "registerable",
234
+ "type": "address"
235
+ },
184
236
  {
185
237
  "internalType": "address",
186
- "name": "expectedOwner",
238
+ "name": "found",
187
239
  "type": "address"
188
240
  }
189
241
  ],
190
- "name": "NotRegisterableOwner",
191
- "type": "error"
192
- },
193
- {
194
- "inputs": [],
195
- "name": "NotRegistryOwner",
242
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
196
243
  "type": "error"
197
244
  },
198
245
  {
199
- "inputs": [],
200
- "name": "NotService",
246
+ "inputs": [
247
+ {
248
+ "internalType": "contract IRegisterable",
249
+ "name": "registerable",
250
+ "type": "address"
251
+ },
252
+ {
253
+ "internalType": "address",
254
+ "name": "expected",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "internalType": "address",
259
+ "name": "found",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "name": "ErrorRegistryServiceRegisterableOwnerInvalid",
201
264
  "type": "error"
202
265
  },
203
266
  {
204
- "inputs": [],
205
- "name": "RegisterableOwnerIsRegistered",
267
+ "inputs": [
268
+ {
269
+ "internalType": "contract IRegisterable",
270
+ "name": "registerable",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "internalType": "address",
275
+ "name": "owner",
276
+ "type": "address"
277
+ }
278
+ ],
279
+ "name": "ErrorRegistryServiceRegisterableOwnerRegistered",
206
280
  "type": "error"
207
281
  },
208
282
  {
209
- "inputs": [],
210
- "name": "RegisterableOwnerIsZero",
283
+ "inputs": [
284
+ {
285
+ "internalType": "contract IRegisterable",
286
+ "name": "registerable",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
211
291
  "type": "error"
212
292
  },
213
293
  {
214
- "inputs": [],
215
- "name": "SelfRegistration",
294
+ "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
216
302
  "type": "error"
217
303
  },
218
304
  {
219
305
  "inputs": [
306
+ {
307
+ "internalType": "contract IRegisterable",
308
+ "name": "registerable",
309
+ "type": "address"
310
+ },
220
311
  {
221
312
  "internalType": "ObjectType",
222
313
  "name": "expected",
@@ -228,7 +319,22 @@
228
319
  "type": "uint8"
229
320
  }
230
321
  ],
231
- "name": "UnexpectedRegisterableType",
322
+ "name": "ErrorRegistryServiceRegisterableTypeInvalid",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [],
327
+ "name": "ErrorServiceNotImplemented",
328
+ "type": "error"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "InvalidInitialization",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "NotInitializing",
232
338
  "type": "error"
233
339
  },
234
340
  {
@@ -257,31 +363,6 @@
257
363
  "name": "Initialized",
258
364
  "type": "event"
259
365
  },
260
- {
261
- "anonymous": false,
262
- "inputs": [
263
- {
264
- "indexed": false,
265
- "internalType": "Version",
266
- "name": "version",
267
- "type": "uint24"
268
- },
269
- {
270
- "indexed": false,
271
- "internalType": "address",
272
- "name": "implementation",
273
- "type": "address"
274
- },
275
- {
276
- "indexed": false,
277
- "internalType": "address",
278
- "name": "activatedBy",
279
- "type": "address"
280
- }
281
- ],
282
- "name": "LogVersionableInitialized",
283
- "type": "event"
284
- },
285
366
  {
286
367
  "inputs": [],
287
368
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -347,31 +428,6 @@
347
428
  "stateMutability": "pure",
348
429
  "type": "function"
349
430
  },
350
- {
351
- "inputs": [],
352
- "name": "getFunctionConfigs",
353
- "outputs": [
354
- {
355
- "components": [
356
- {
357
- "internalType": "ObjectType",
358
- "name": "serviceDomain",
359
- "type": "uint8"
360
- },
361
- {
362
- "internalType": "bytes4",
363
- "name": "selector",
364
- "type": "bytes4"
365
- }
366
- ],
367
- "internalType": "struct IRegistryService.FunctionConfig[]",
368
- "name": "config",
369
- "type": "tuple[]"
370
- }
371
- ],
372
- "stateMutability": "pure",
373
- "type": "function"
374
- },
375
431
  {
376
432
  "inputs": [],
377
433
  "name": "getInitialInfo",
@@ -422,45 +478,6 @@
422
478
  "stateMutability": "view",
423
479
  "type": "function"
424
480
  },
425
- {
426
- "inputs": [],
427
- "name": "getInitialOwner",
428
- "outputs": [
429
- {
430
- "internalType": "address",
431
- "name": "",
432
- "type": "address"
433
- }
434
- ],
435
- "stateMutability": "view",
436
- "type": "function"
437
- },
438
- {
439
- "inputs": [],
440
- "name": "getInitializedVersion",
441
- "outputs": [
442
- {
443
- "internalType": "uint64",
444
- "name": "",
445
- "type": "uint64"
446
- }
447
- ],
448
- "stateMutability": "view",
449
- "type": "function"
450
- },
451
- {
452
- "inputs": [],
453
- "name": "getMajorVersion",
454
- "outputs": [
455
- {
456
- "internalType": "VersionPart",
457
- "name": "majorVersion",
458
- "type": "uint8"
459
- }
460
- ],
461
- "stateMutability": "view",
462
- "type": "function"
463
- },
464
481
  {
465
482
  "inputs": [],
466
483
  "name": "getNftId",
@@ -500,19 +517,6 @@
500
517
  "stateMutability": "view",
501
518
  "type": "function"
502
519
  },
503
- {
504
- "inputs": [],
505
- "name": "getRegistryAddress",
506
- "outputs": [
507
- {
508
- "internalType": "address",
509
- "name": "",
510
- "type": "address"
511
- }
512
- ],
513
- "stateMutability": "view",
514
- "type": "function"
515
- },
516
520
  {
517
521
  "inputs": [],
518
522
  "name": "getVersion",
@@ -526,84 +530,6 @@
526
530
  "stateMutability": "pure",
527
531
  "type": "function"
528
532
  },
529
- {
530
- "inputs": [
531
- {
532
- "internalType": "uint256",
533
- "name": "idx",
534
- "type": "uint256"
535
- }
536
- ],
537
- "name": "getVersion",
538
- "outputs": [
539
- {
540
- "internalType": "Version",
541
- "name": "",
542
- "type": "uint24"
543
- }
544
- ],
545
- "stateMutability": "view",
546
- "type": "function"
547
- },
548
- {
549
- "inputs": [],
550
- "name": "getVersionCount",
551
- "outputs": [
552
- {
553
- "internalType": "uint256",
554
- "name": "",
555
- "type": "uint256"
556
- }
557
- ],
558
- "stateMutability": "view",
559
- "type": "function"
560
- },
561
- {
562
- "inputs": [
563
- {
564
- "internalType": "Version",
565
- "name": "_version",
566
- "type": "uint24"
567
- }
568
- ],
569
- "name": "getVersionInfo",
570
- "outputs": [
571
- {
572
- "components": [
573
- {
574
- "internalType": "Version",
575
- "name": "version",
576
- "type": "uint24"
577
- },
578
- {
579
- "internalType": "address",
580
- "name": "implementation",
581
- "type": "address"
582
- },
583
- {
584
- "internalType": "address",
585
- "name": "activatedBy",
586
- "type": "address"
587
- },
588
- {
589
- "internalType": "Timestamp",
590
- "name": "activatedAt",
591
- "type": "uint40"
592
- },
593
- {
594
- "internalType": "Blocknumber",
595
- "name": "activatedIn",
596
- "type": "uint32"
597
- }
598
- ],
599
- "internalType": "struct IVersionable.VersionInfo",
600
- "name": "",
601
- "type": "tuple"
602
- }
603
- ],
604
- "stateMutability": "view",
605
- "type": "function"
606
- },
607
533
  {
608
534
  "inputs": [],
609
535
  "name": "initializeERC165",
@@ -629,19 +555,6 @@
629
555
  "stateMutability": "nonpayable",
630
556
  "type": "function"
631
557
  },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "address",
636
- "name": "initialOwner",
637
- "type": "address"
638
- }
639
- ],
640
- "name": "initializeOwner",
641
- "outputs": [],
642
- "stateMutability": "nonpayable",
643
- "type": "function"
644
- },
645
558
  {
646
559
  "inputs": [
647
560
  {
@@ -671,7 +584,7 @@
671
584
  },
672
585
  {
673
586
  "internalType": "bytes",
674
- "name": "data",
587
+ "name": "registryData",
675
588
  "type": "bytes"
676
589
  }
677
590
  ],
@@ -700,6 +613,11 @@
700
613
  "name": "registry",
701
614
  "type": "address"
702
615
  },
616
+ {
617
+ "internalType": "address",
618
+ "name": "authority",
619
+ "type": "address"
620
+ },
703
621
  {
704
622
  "internalType": "address",
705
623
  "name": "initialOwner",
@@ -713,11 +631,6 @@
713
631
  },
714
632
  {
715
633
  "inputs": [
716
- {
717
- "internalType": "address",
718
- "name": "implementation",
719
- "type": "address"
720
- },
721
634
  {
722
635
  "internalType": "address",
723
636
  "name": "activatedBy",
@@ -750,20 +663,20 @@
750
663
  {
751
664
  "inputs": [
752
665
  {
753
- "internalType": "Version",
754
- "name": "_version",
755
- "type": "uint24"
666
+ "internalType": "address",
667
+ "name": "nftOwnableAddress",
668
+ "type": "address"
756
669
  }
757
670
  ],
758
- "name": "isInitialized",
671
+ "name": "linkToNftOwnable",
759
672
  "outputs": [
760
673
  {
761
- "internalType": "bool",
674
+ "internalType": "NftId",
762
675
  "name": "",
763
- "type": "bool"
676
+ "type": "uint96"
764
677
  }
765
678
  ],
766
- "stateMutability": "view",
679
+ "stateMutability": "nonpayable",
767
680
  "type": "function"
768
681
  },
769
682
  {
@@ -890,6 +803,62 @@
890
803
  "stateMutability": "nonpayable",
891
804
  "type": "function"
892
805
  },
806
+ {
807
+ "inputs": [
808
+ {
809
+ "components": [
810
+ {
811
+ "internalType": "NftId",
812
+ "name": "nftId",
813
+ "type": "uint96"
814
+ },
815
+ {
816
+ "internalType": "NftId",
817
+ "name": "parentNftId",
818
+ "type": "uint96"
819
+ },
820
+ {
821
+ "internalType": "ObjectType",
822
+ "name": "objectType",
823
+ "type": "uint8"
824
+ },
825
+ {
826
+ "internalType": "bool",
827
+ "name": "isInterceptor",
828
+ "type": "bool"
829
+ },
830
+ {
831
+ "internalType": "address",
832
+ "name": "objectAddress",
833
+ "type": "address"
834
+ },
835
+ {
836
+ "internalType": "address",
837
+ "name": "initialOwner",
838
+ "type": "address"
839
+ },
840
+ {
841
+ "internalType": "bytes",
842
+ "name": "data",
843
+ "type": "bytes"
844
+ }
845
+ ],
846
+ "internalType": "struct IRegistry.ObjectInfo",
847
+ "name": "info",
848
+ "type": "tuple"
849
+ }
850
+ ],
851
+ "name": "registerDistributor",
852
+ "outputs": [
853
+ {
854
+ "internalType": "NftId",
855
+ "name": "nftId",
856
+ "type": "uint96"
857
+ }
858
+ ],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ },
893
862
  {
894
863
  "inputs": [
895
864
  {
@@ -1232,16 +1201,6 @@
1232
1201
  },
1233
1202
  {
1234
1203
  "inputs": [
1235
- {
1236
- "internalType": "address",
1237
- "name": "implementation",
1238
- "type": "address"
1239
- },
1240
- {
1241
- "internalType": "address",
1242
- "name": "activatedBy",
1243
- "type": "address"
1244
- },
1245
1204
  {
1246
1205
  "internalType": "bytes",
1247
1206
  "name": "data",
@@ -1254,96 +1213,68 @@
1254
1213
  "type": "function"
1255
1214
  }
1256
1215
  ],
1257
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61320680620000e66000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610653578063ed841d0c14610666578063f21de1e814610487578063f7c34ee01461066e578063fb2cb1011461068157600080fd5b8063b88da75914610608578063bf7e214f1461061b578063c13de99714610623578063c2bf08c814610638578063cde749f41461064b57600080fd5b80638fbc2d81116100ff5780638fbc2d8114610584578063946dfcfe14610597578063ada9652e146105be578063b3c65015146105d3578063b68d1809146105f357600080fd5b80637a9e5e4b1461052e5780638105cc7f14610541578063893d20e8146105545780638c5f36bb1461055c5780638fb360371461056f57600080fd5b80632a904018116101c95780635c992fed1161018d5780635c992fed146104ac5780635d966289146104d7578063644c45e0146104ea578063675393bf146105085780637286e5e51461051b57600080fd5b80632a9040181461034057806336fc697e146103535780634d459c901461035b5780634f421333146104745780635ab1bd531461048757600080fd5b8063138461e011610210578063138461e0146102c85780631647f91e146102d25780631eff4b22146102e5578063214cdb801461031a57806327bb7a331461032d57600080fd5b806301ffc9a714610242578063026bc43b146102845780630d8e6e2c146102a45780630fec111c146102c0575b600080fd5b61026f610250366004612748565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61029761029236600461279e565b610689565b60405161027b9190612827565b6102ac610827565b60405162ffffff909116815260200161027b565b6102976108b1565b6102d0610a4d565b005b6102d06102e036600461299d565b610ca0565b61030c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102d0610328366004612748565b610d97565b6102d061033b366004612a51565b610dc4565b6102d061034e36600461299d565b610e60565b6102d0610fa8565b610417610369366004612afa565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206131b183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161027b565b61026f610482366004612afa565b610fee565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161027b565b6104bf6104ba366004612b17565b6110a1565b6040516001600160601b03909116815260200161027b565b6102976104e536600461279e565b611130565b600080516020613131833981519152546001600160601b03166104bf565b6102d0610516366004612be9565b611270565b61029761052936600461279e565b611284565b6102d061053c366004612be9565b611331565b6104bf61054f366004612b17565b6113b8565b6104946113ce565b6102d061056a366004612be9565b611505565b610577611607565b60405161027b9190612c06565b61029761059236600461279e565b61163f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461030c565b61030c60008051602061313183398151915281565b6105db6116ec565b6040516001600160401b03909116815260200161027b565b60285b60405160ff909116815260200161027b565b6102ac610616366004612c1b565b61170d565b61049461175e565b61062b61177a565b60405161027b9190612c34565b6104bf610646366004612b17565b611a20565b6105f6611a36565b6102d061066136600461279e565b611ab9565b61030c600081565b6102d061067c36600461279e565b611b2c565b610494611b5e565b61069161270a565b61069e335b600036611b74565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106d190632400caf160e21b90600401612c06565b602060405180830381865afa1580156106ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107129190612c9b565b61072f57604051636795c76360e01b815260040160405180910390fd5b61073c8360465b84611c72565b90506107506001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161077b9190612827565b6020604051808303816000875af115801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190612cc3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ce0565b905090565b6108b961270a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161094990612cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461097590612cfd565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b50505050508152505090506040518060e001604052806109e0600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a31611b5e565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610abc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae09190612c9b565b15610b225760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b366001546001600160a01b031690565b6001600160a01b031603610b5d5760405163cf29926160e01b815260040160405180910390fd5b30610b706001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190612c9b565b610c04576040516372657a5160e01b81526001600160a01b0382166004820152602401610b19565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7c9190612cc3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b0316600081158015610cd35750825b90506000826001600160401b03166001148015610cef5750303b155b905081158015610cfd575080155b15610d1b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d4557845460ff60401b1916600160401b1785555b610d4f8888611e62565b610d598787612101565b8315610d8d57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b5050505050505050565b610d9f612222565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dcc612222565b610dd68287611b2c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e468382612d7d565b50610e576303fb044760e21b610d97565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e82610827565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190612e3c565b6000805160206131918339815191528054600160401b900460ff1680610f19575080546001600160401b03808416911610155b15610f375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f628585611e62565b610f6b8361225b565b805460ff60401b191681556040516001600160401b0383168152600080516020613171833981519152906020015b60405180910390a15050505050565b610fb0612222565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206131b183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611076573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109a9190612e65565b1192915050565b60006110ac33610696565b6110b78260d3612263565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906110e7908590600401612827565b6020604051808303816000875af1158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a9190612cc3565b92915050565b61113861270a565b61114133610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611174906301da8d1160e61b90600401612c06565b602060405180830381865afa158015611191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b59190612c9b565b6111d257604051637a71998760e01b815260040160405180910390fd5b6111dd83606e610736565b90506111f16001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161121c9190612827565b6020604051808303816000875af115801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f9190612cc3565b6001600160601b0316815292915050565b611278612222565b6112818161236e565b50565b61128c61270a565b61129533610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112c89063100f51f760e01b90600401612c06565b602060405180830381865afa1580156112e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113099190612c9b565b61132657604051636f61f64160e01b815260040160405180910390fd5b6111dd83608c610736565b3361133a61175e565b6001600160a01b0316816001600160a01b0316146113755760405162d1953b60e31b81526001600160a01b0382166004820152602401610b19565b816001600160a01b03163b6000036113ab576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b19565b6113b4826124d4565b5050565b60006113c333610696565b6110b7826050612263565b60008060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561143e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114629190612c9b565b156114ef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e99190612e89565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156115385750825b90506000826001600160401b031660011480156115545750303b155b905081158015611562575080155b156115805760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115aa57845460ff60401b1916600160401b1785555b6115b386612535565b6115bb610fa8565b6115cb631fdea09d60e31b610d97565b83156115ff57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b505050505050565b600080516020613151833981519152805460009190600160a01b900460ff166116315760006114e9565b638fb3603760e01b91505090565b61164761270a565b61165033610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061168390632595572960e01b90600401612c06565b602060405180830381865afa1580156116a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c49190612c9b565b6116e1576040516308707e3160e41b815260040160405180910390fd5b6111dd836078610736565b60006108ac600080516020613191833981519152546001600160401b031690565b60006000805160206131b1833981519152600101828154811061173257611732612ea6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613151833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b60408051808201909152600080825260208201528152602001906001900390816117925790505090506117c360d390565b816000815181106117d6576117d6612ea6565b602090810291909101015160ff90911690528051635c992fed60e01b90829060009061180457611804612ea6565b6020908102919091018101516001600160e01b031990921691015261182760dc90565b8160018151811061183a5761183a612ea6565b602090810291909101015160ff90911690528051631857e11960e31b908290600190811061186a5761186a612ea6565b6020908102919091018101516001600160e01b031990921691015261188d606e90565b816002815181106118a0576118a0612ea6565b602090810291909101015160ff90911690528051635d96628960e01b90829060029081106118d0576118d0612ea6565b6020908102919091018101516001600160e01b03199092169101526118f3608c90565b8160038151811061190657611906612ea6565b602090810291909101015160ff90911690528051637286e5e560e01b908290600390811061193657611936612ea6565b6020908102919091018101516001600160e01b0319909216910152611959607890565b8160048151811061196c5761196c612ea6565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600490811061199c5761199c612ea6565b6020908102919091018101516001600160e01b03199092169101526119bf604690565b816005815181106119d2576119d2612ea6565b602090810291909101015160ff9091169052805163026bc43b60e01b9082906005908110611a0257611a02612ea6565b6020908102919091018101516001600160e01b031990921691015290565b6000611a2b33610696565b6110b78260dc612263565b6000611a40610827565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a95573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ec7565b611ac1612222565b60006028611acd611a36565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b028461259a565b90506000611b158583603c848888610dc4565b611b25637b6a51fd60e01b610d97565b5050505050565b611b34612222565b611b3d82612535565b611b4681611270565b611b4e610fa8565b6113b4631fdea09d60e31b610d97565b60006000805160206131318339815191526114ef565b600080516020613151833981519152600080611baf611b9161175e565b8730611ba1600460008a8c612ee4565b611baa91612f0e565b6125e1565b91509150816115ff5763ffffffff811615611c4f57825460ff60a01b1916600160a01b178355611bdd61175e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c0c93929190612f3e565b600060405180830381600087803b158015611c2657600080fd5b505af1158015611c3a573d6000803e3d6000fd5b5050845460ff60a01b19168555506115ff9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b19565b611c7a61270a565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611cb8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce09190810190612fc3565b6001600160a01b0385166080820152604081015190915060ff848116911614611d2f576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b19565b60a08101516001600160a01b0380821690841614611d6b5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b19565b846001600160a01b0316816001600160a01b031603611d9d576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611dc457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c9190612c9b565b15611e5a57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b611e6a612222565b6000805160206131b18339815191526000611e9a600080516020613191833981519152546001600160401b031690565b90506000611ea6610827565b9050816001600160401b0316600103611ed35760028301805462ffffff191662ffffff8316179055611f21565b600283015462ffffff90811690821611611f215760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b19565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff99190613086565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f999083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156121345750825b90506000826001600160401b031660011480156121505750303b155b90508115801561215e575080155b1561217c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121a657845460ff60401b1916600160401b1785555b600080878060200190518101906121bd91906130ad565b915091506121ca826126ed565b6121d4818a611ab9565b6121e4633f77281960e21b610d97565b50508315610e5757845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a150505050505050565b60008051602061319183398151915254600160401b900460ff1661225957604051631afcd79f60e31b815260040160405180910390fd5b565b61023d612222565b60006080830152604082015160ff8281169116146122a7576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b19565b60a08201516001600160a01b0381166122d357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015612327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234b9190612c9b565b1561236957604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b0316156123a75760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b19565b6001600160a01b0381166123ce5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124045760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061244a9063230c0c8160e11b90600401612c06565b602060405180830381865afa925050508015612483575060408051601f3d908101601f1916820190925261248091810190612c9b565b60015b6124ab5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b806113b45760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b19565b60008051602061315183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61253d612222565b6001600160a01b038116612564576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061313183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611106573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161265091906130dc565b600060405180830381855afa9150503d806000811461268b576040519150601f19603f3d011682016040523d82523d6000602084013e612690565b606091505b509150915081156126e25760408151106126c257808060200190518101906126b891906130f8565b90945092506126e2565b60208151106126e257808060200190518101906126df9190612c9b565b93505b505094509492505050565b6126f5612222565b61128181612701612222565b611281816124d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561275a57600080fd5b81356001600160e01b03198116811461277257600080fd5b9392505050565b6001600160a01b038116811461128157600080fd5b803561279981612779565b919050565b600080604083850312156127b157600080fd5b82356127bc81612779565b915060208301356127cc81612779565b809150509250929050565b60005b838110156127f25781810151838201526020016127da565b50506000910152565b600081518084526128138160208601602086016127d7565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161289060c08401826001600160a01b03169052565b5060c083015160e0808401526128aa6101008401826127fb565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156128ea576128ea6128b2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612918576129186128b2565b604052919050565b60006001600160401b03821115612939576129396128b2565b50601f01601f191660200190565b600082601f83011261295857600080fd5b813561296b61296682612920565b6128f0565b81815284602083860101111561298057600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156129b257600080fd5b83356129bd81612779565b925060208401356129cd81612779565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612947565b9150509250925092565b6001600160601b038116811461128157600080fd5b8035612799816129fe565b60ff8116811461128157600080fd5b803561279981612a1e565b801515811461128157600080fd5b803561279981612a38565b60008060008060008060c08789031215612a6a57600080fd5b8635612a7581612779565b95506020870135612a85816129fe565b94506040870135612a9581612a1e565b93506060870135612aa581612a38565b92506080870135612ab581612779565b915060a08701356001600160401b03811115612ad057600080fd5b612adc89828a01612947565b9150509295509295509295565b62ffffff8116811461128157600080fd5b600060208284031215612b0c57600080fd5b813561277281612ae9565b600060208284031215612b2957600080fd5b81356001600160401b0380821115612b4057600080fd5b9083019060e08286031215612b5457600080fd5b612b5c6128c8565b612b6583612a13565b8152612b7360208401612a13565b6020820152612b8460408401612a2d565b6040820152612b9560608401612a46565b6060820152612ba66080840161278e565b6080820152612bb760a0840161278e565b60a082015260c083013582811115612bce57600080fd5b612bda87828601612947565b60c08301525095945050505050565b600060208284031215612bfb57600080fd5b813561277281612779565b6001600160e01b031991909116815260200190565b600060208284031215612c2d57600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612c83578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612c51565b5091979650505050505050565b805161279981612a38565b600060208284031215612cad57600080fd5b815161277281612a38565b8051612799816129fe565b600060208284031215612cd557600080fd5b8151612772816129fe565b600060208284031215612cf257600080fd5b815161277281612ae9565b600181811c90821680612d1157607f821691505b602082108103612d3157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561236957600081815260208120601f850160051c81016020861015612d5e5750805b601f850160051c820191505b818110156115ff57828155600101612d6a565b81516001600160401b03811115612d9657612d966128b2565b612daa81612da48454612cfd565b84612d37565b602080601f831160018114612ddf5760008415612dc75750858301515b600019600386901b1c1916600185901b1785556115ff565b600085815260208120601f198616915b82811015612e0e57888601518255948401946001909101908401612def565b5085821015612e2c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612e4e57600080fd5b81516001600160401b038116811461277257600080fd5b600060208284031215612e7757600080fd5b5051919050565b805161279981612779565b600060208284031215612e9b57600080fd5b815161277281612779565b634e487b7160e01b600052603260045260246000fd5b805161279981612a1e565b600060208284031215612ed957600080fd5b815161277281612a1e565b60008085851115612ef457600080fd5b83861115612f0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f8f57600080fd5b8151612f9d61296682612920565b818152846020838601011115612fb257600080fd5b6128aa8260208301602087016127d7565b600060208284031215612fd557600080fd5b81516001600160401b0380821115612fec57600080fd5b9083019060e0828603121561300057600080fd5b6130086128c8565b61301183612cb8565b815261301f60208401612cb8565b602082015261303060408401612ebc565b604082015261304160608401612c90565b606082015261305260808401612e7e565b608082015261306360a08401612e7e565b60a082015260c08301518281111561307a57600080fd5b612bda87828601612f7e565b60006020828403121561309857600080fd5b815164ffffffffff8116811461277257600080fd5b600080604083850312156130c057600080fd5b82516130cb81612779565b60208401519092506127cc81612779565b600082516130ee8184602087016127d7565b9190910192915050565b6000806040838503121561310b57600080fd5b825161311681612a38565b602084015190925063ffffffff811681146127cc57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203203768325e3574c20c4594f6f975eb76d5657a587eff7847a808c5ae0165a6764736f6c63430008140033",
1258
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610653578063ed841d0c14610666578063f21de1e814610487578063f7c34ee01461066e578063fb2cb1011461068157600080fd5b8063b88da75914610608578063bf7e214f1461061b578063c13de99714610623578063c2bf08c814610638578063cde749f41461064b57600080fd5b80638fbc2d81116100ff5780638fbc2d8114610584578063946dfcfe14610597578063ada9652e146105be578063b3c65015146105d3578063b68d1809146105f357600080fd5b80637a9e5e4b1461052e5780638105cc7f14610541578063893d20e8146105545780638c5f36bb1461055c5780638fb360371461056f57600080fd5b80632a904018116101c95780635c992fed1161018d5780635c992fed146104ac5780635d966289146104d7578063644c45e0146104ea578063675393bf146105085780637286e5e51461051b57600080fd5b80632a9040181461034057806336fc697e146103535780634d459c901461035b5780634f421333146104745780635ab1bd531461048757600080fd5b8063138461e011610210578063138461e0146102c85780631647f91e146102d25780631eff4b22146102e5578063214cdb801461031a57806327bb7a331461032d57600080fd5b806301ffc9a714610242578063026bc43b146102845780630d8e6e2c146102a45780630fec111c146102c0575b600080fd5b61026f610250366004612748565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61029761029236600461279e565b610689565b60405161027b9190612827565b6102ac610827565b60405162ffffff909116815260200161027b565b6102976108b1565b6102d0610a4d565b005b6102d06102e036600461299d565b610ca0565b61030c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102d0610328366004612748565b610d97565b6102d061033b366004612a51565b610dc4565b6102d061034e36600461299d565b610e60565b6102d0610fa8565b610417610369366004612afa565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206131b183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161027b565b61026f610482366004612afa565b610fee565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161027b565b6104bf6104ba366004612b17565b6110a1565b6040516001600160601b03909116815260200161027b565b6102976104e536600461279e565b611130565b600080516020613131833981519152546001600160601b03166104bf565b6102d0610516366004612be9565b611270565b61029761052936600461279e565b611284565b6102d061053c366004612be9565b611331565b6104bf61054f366004612b17565b6113b8565b6104946113ce565b6102d061056a366004612be9565b611505565b610577611607565b60405161027b9190612c06565b61029761059236600461279e565b61163f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461030c565b61030c60008051602061313183398151915281565b6105db6116ec565b6040516001600160401b03909116815260200161027b565b60285b60405160ff909116815260200161027b565b6102ac610616366004612c1b565b61170d565b61049461175e565b61062b61177a565b60405161027b9190612c34565b6104bf610646366004612b17565b611a20565b6105f6611a36565b6102d061066136600461279e565b611ab9565b61030c600081565b6102d061067c36600461279e565b611b2c565b610494611b5e565b61069161270a565b61069e335b600036611b74565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106d190632400caf160e21b90600401612c06565b602060405180830381865afa1580156106ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107129190612c9b565b61072f57604051636795c76360e01b815260040160405180910390fd5b61073c8360465b84611c72565b90506107506001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161077b9190612827565b6020604051808303816000875af115801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190612cc3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ce0565b905090565b6108b961270a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161094990612cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461097590612cfd565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b50505050508152505090506040518060e001604052806109e0600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a31611b5e565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610abc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae09190612c9b565b15610b225760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b366001546001600160a01b031690565b6001600160a01b031603610b5d5760405163cf29926160e01b815260040160405180910390fd5b30610b706001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190612c9b565b610c04576040516372657a5160e01b81526001600160a01b0382166004820152602401610b19565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7c9190612cc3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b0316600081158015610cd35750825b90506000826001600160401b03166001148015610cef5750303b155b905081158015610cfd575080155b15610d1b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d4557845460ff60401b1916600160401b1785555b610d4f8888611e62565b610d598787612101565b8315610d8d57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b5050505050505050565b610d9f612222565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dcc612222565b610dd68287611b2c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e468382612d7d565b50610e576303fb044760e21b610d97565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e82610827565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190612e3c565b6000805160206131918339815191528054600160401b900460ff1680610f19575080546001600160401b03808416911610155b15610f375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f628585611e62565b610f6b8361225b565b805460ff60401b191681556040516001600160401b0383168152600080516020613171833981519152906020015b60405180910390a15050505050565b610fb0612222565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206131b183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611076573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109a9190612e65565b1192915050565b60006110ac33610696565b6110b78260d3612263565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906110e7908590600401612827565b6020604051808303816000875af1158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a9190612cc3565b92915050565b61113861270a565b61114133610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611174906301da8d1160e61b90600401612c06565b602060405180830381865afa158015611191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b59190612c9b565b6111d257604051637a71998760e01b815260040160405180910390fd5b6111dd83606e610736565b90506111f16001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161121c9190612827565b6020604051808303816000875af115801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f9190612cc3565b6001600160601b0316815292915050565b611278612222565b6112818161236e565b50565b61128c61270a565b61129533610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112c89063100f51f760e01b90600401612c06565b602060405180830381865afa1580156112e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113099190612c9b565b61132657604051636f61f64160e01b815260040160405180910390fd5b6111dd83608c610736565b3361133a61175e565b6001600160a01b0316816001600160a01b0316146113755760405162d1953b60e31b81526001600160a01b0382166004820152602401610b19565b816001600160a01b03163b6000036113ab576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b19565b6113b4826124d4565b5050565b60006113c333610696565b6110b7826050612263565b60008060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561143e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114629190612c9b565b156114ef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e99190612e89565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156115385750825b90506000826001600160401b031660011480156115545750303b155b905081158015611562575080155b156115805760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115aa57845460ff60401b1916600160401b1785555b6115b386612535565b6115bb610fa8565b6115cb631fdea09d60e31b610d97565b83156115ff57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b505050505050565b600080516020613151833981519152805460009190600160a01b900460ff166116315760006114e9565b638fb3603760e01b91505090565b61164761270a565b61165033610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061168390632595572960e01b90600401612c06565b602060405180830381865afa1580156116a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c49190612c9b565b6116e1576040516308707e3160e41b815260040160405180910390fd5b6111dd836078610736565b60006108ac600080516020613191833981519152546001600160401b031690565b60006000805160206131b1833981519152600101828154811061173257611732612ea6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613151833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b60408051808201909152600080825260208201528152602001906001900390816117925790505090506117c360d390565b816000815181106117d6576117d6612ea6565b602090810291909101015160ff90911690528051635c992fed60e01b90829060009061180457611804612ea6565b6020908102919091018101516001600160e01b031990921691015261182760dc90565b8160018151811061183a5761183a612ea6565b602090810291909101015160ff90911690528051631857e11960e31b908290600190811061186a5761186a612ea6565b6020908102919091018101516001600160e01b031990921691015261188d606e90565b816002815181106118a0576118a0612ea6565b602090810291909101015160ff90911690528051635d96628960e01b90829060029081106118d0576118d0612ea6565b6020908102919091018101516001600160e01b03199092169101526118f3608c90565b8160038151811061190657611906612ea6565b602090810291909101015160ff90911690528051637286e5e560e01b908290600390811061193657611936612ea6565b6020908102919091018101516001600160e01b0319909216910152611959607890565b8160048151811061196c5761196c612ea6565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600490811061199c5761199c612ea6565b6020908102919091018101516001600160e01b03199092169101526119bf604690565b816005815181106119d2576119d2612ea6565b602090810291909101015160ff9091169052805163026bc43b60e01b9082906005908110611a0257611a02612ea6565b6020908102919091018101516001600160e01b031990921691015290565b6000611a2b33610696565b6110b78260dc612263565b6000611a40610827565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a95573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ec7565b611ac1612222565b60006028611acd611a36565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b028461259a565b90506000611b158583603c848888610dc4565b611b25637b6a51fd60e01b610d97565b5050505050565b611b34612222565b611b3d82612535565b611b4681611270565b611b4e610fa8565b6113b4631fdea09d60e31b610d97565b60006000805160206131318339815191526114ef565b600080516020613151833981519152600080611baf611b9161175e565b8730611ba1600460008a8c612ee4565b611baa91612f0e565b6125e1565b91509150816115ff5763ffffffff811615611c4f57825460ff60a01b1916600160a01b178355611bdd61175e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c0c93929190612f3e565b600060405180830381600087803b158015611c2657600080fd5b505af1158015611c3a573d6000803e3d6000fd5b5050845460ff60a01b19168555506115ff9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b19565b611c7a61270a565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611cb8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce09190810190612fc3565b6001600160a01b0385166080820152604081015190915060ff848116911614611d2f576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b19565b60a08101516001600160a01b0380821690841614611d6b5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b19565b846001600160a01b0316816001600160a01b031603611d9d576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611dc457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c9190612c9b565b15611e5a57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b611e6a612222565b6000805160206131b18339815191526000611e9a600080516020613191833981519152546001600160401b031690565b90506000611ea6610827565b9050816001600160401b0316600103611ed35760028301805462ffffff191662ffffff8316179055611f21565b600283015462ffffff90811690821611611f215760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b19565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff99190613086565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f999083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156121345750825b90506000826001600160401b031660011480156121505750303b155b90508115801561215e575080155b1561217c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121a657845460ff60401b1916600160401b1785555b600080878060200190518101906121bd91906130ad565b915091506121ca826126ed565b6121d4818a611ab9565b6121e4633f77281960e21b610d97565b50508315610e5757845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a150505050505050565b60008051602061319183398151915254600160401b900460ff1661225957604051631afcd79f60e31b815260040160405180910390fd5b565b61023d612222565b60006080830152604082015160ff8281169116146122a7576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b19565b60a08201516001600160a01b0381166122d357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015612327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234b9190612c9b565b1561236957604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b0316156123a75760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b19565b6001600160a01b0381166123ce5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124045760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061244a9063230c0c8160e11b90600401612c06565b602060405180830381865afa925050508015612483575060408051601f3d908101601f1916820190925261248091810190612c9b565b60015b6124ab5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b806113b45760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b19565b60008051602061315183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61253d612222565b6001600160a01b038116612564576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061313183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611106573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161265091906130dc565b600060405180830381855afa9150503d806000811461268b576040519150601f19603f3d011682016040523d82523d6000602084013e612690565b606091505b509150915081156126e25760408151106126c257808060200190518101906126b891906130f8565b90945092506126e2565b60208151106126e257808060200190518101906126df9190612c9b565b93505b505094509492505050565b6126f5612222565b61128181612701612222565b611281816124d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561275a57600080fd5b81356001600160e01b03198116811461277257600080fd5b9392505050565b6001600160a01b038116811461128157600080fd5b803561279981612779565b919050565b600080604083850312156127b157600080fd5b82356127bc81612779565b915060208301356127cc81612779565b809150509250929050565b60005b838110156127f25781810151838201526020016127da565b50506000910152565b600081518084526128138160208601602086016127d7565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161289060c08401826001600160a01b03169052565b5060c083015160e0808401526128aa6101008401826127fb565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156128ea576128ea6128b2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612918576129186128b2565b604052919050565b60006001600160401b03821115612939576129396128b2565b50601f01601f191660200190565b600082601f83011261295857600080fd5b813561296b61296682612920565b6128f0565b81815284602083860101111561298057600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156129b257600080fd5b83356129bd81612779565b925060208401356129cd81612779565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612947565b9150509250925092565b6001600160601b038116811461128157600080fd5b8035612799816129fe565b60ff8116811461128157600080fd5b803561279981612a1e565b801515811461128157600080fd5b803561279981612a38565b60008060008060008060c08789031215612a6a57600080fd5b8635612a7581612779565b95506020870135612a85816129fe565b94506040870135612a9581612a1e565b93506060870135612aa581612a38565b92506080870135612ab581612779565b915060a08701356001600160401b03811115612ad057600080fd5b612adc89828a01612947565b9150509295509295509295565b62ffffff8116811461128157600080fd5b600060208284031215612b0c57600080fd5b813561277281612ae9565b600060208284031215612b2957600080fd5b81356001600160401b0380821115612b4057600080fd5b9083019060e08286031215612b5457600080fd5b612b5c6128c8565b612b6583612a13565b8152612b7360208401612a13565b6020820152612b8460408401612a2d565b6040820152612b9560608401612a46565b6060820152612ba66080840161278e565b6080820152612bb760a0840161278e565b60a082015260c083013582811115612bce57600080fd5b612bda87828601612947565b60c08301525095945050505050565b600060208284031215612bfb57600080fd5b813561277281612779565b6001600160e01b031991909116815260200190565b600060208284031215612c2d57600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612c83578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612c51565b5091979650505050505050565b805161279981612a38565b600060208284031215612cad57600080fd5b815161277281612a38565b8051612799816129fe565b600060208284031215612cd557600080fd5b8151612772816129fe565b600060208284031215612cf257600080fd5b815161277281612ae9565b600181811c90821680612d1157607f821691505b602082108103612d3157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561236957600081815260208120601f850160051c81016020861015612d5e5750805b601f850160051c820191505b818110156115ff57828155600101612d6a565b81516001600160401b03811115612d9657612d966128b2565b612daa81612da48454612cfd565b84612d37565b602080601f831160018114612ddf5760008415612dc75750858301515b600019600386901b1c1916600185901b1785556115ff565b600085815260208120601f198616915b82811015612e0e57888601518255948401946001909101908401612def565b5085821015612e2c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612e4e57600080fd5b81516001600160401b038116811461277257600080fd5b600060208284031215612e7757600080fd5b5051919050565b805161279981612779565b600060208284031215612e9b57600080fd5b815161277281612779565b634e487b7160e01b600052603260045260246000fd5b805161279981612a1e565b600060208284031215612ed957600080fd5b815161277281612a1e565b60008085851115612ef457600080fd5b83861115612f0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f8f57600080fd5b8151612f9d61296682612920565b818152846020838601011115612fb257600080fd5b6128aa8260208301602087016127d7565b600060208284031215612fd557600080fd5b81516001600160401b0380821115612fec57600080fd5b9083019060e0828603121561300057600080fd5b6130086128c8565b61301183612cb8565b815261301f60208401612cb8565b602082015261303060408401612ebc565b604082015261304160608401612c90565b606082015261305260808401612e7e565b608082015261306360a08401612e7e565b60a082015260c08301518281111561307a57600080fd5b612bda87828601612f7e565b60006020828403121561309857600080fd5b815164ffffffffff8116811461277257600080fd5b600080604083850312156130c057600080fd5b82516130cb81612779565b60208401519092506127cc81612779565b600082516130ee8184602087016127d7565b9190910192915050565b6000806040838503121561310b57600080fd5b825161311681612a38565b602084015190925063ffffffff811681146127cc57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203203768325e3574c20c4594f6f975eb76d5657a587eff7847a808c5ae0165a6764736f6c63430008140033",
1216
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61291580620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635d9662891161010f5780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461045d578063c2bf08c814610465578063ed841d0c14610478578063f7c34ee01461048057600080fd5b80638fb36037146104115780638fbc2d8114610426578063ada9652e14610439578063b68d18091461044e57600080fd5b80637a9e5e4b116100de5780637a9e5e4b146103d05780638105cc7f146103e3578063893d20e8146103f65780638e32e979146103fe57600080fd5b80635d96628914610379578063644c45e01461038c578063675393bf146103aa5780637286e5e5146103bd57600080fd5b806327bb7a331161018757806349bb9e4b1161015657806349bb9e4b1461031b57806357a8fba71461032e5780635ab1bd53146103415780635c992fed1461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806340be2376146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f8366004611f0d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004611f5e565b610493565b6040516102239190611fe7565b610254610641565b60405162ffffff9091168152602001610223565b61023f6106cb565b6102786107ec565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd366004611f0d565b6107f8565b6102786102d03660046121b0565b610825565b6102786102e3366004612248565b6108ca565b610278610a17565b6103036102fe36600461227c565b610a5d565b6040516001600160601b039091168152602001610223565b610278610329366004612299565b610aab565b61030361033c3660046122e8565b610baa565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103036103743660046122e8565b610c33565b61023f610387366004611f5e565b610c49565b600080516020612880833981519152546001600160601b0316610303565b6102786103b836600461227c565b610d94565b61023f6103cb366004611f5e565b610ea6565b6102786103de36600461227c565b610f5e565b6103036103f13660046122e8565b610fe1565b61034e610ff7565b61027861040c3660046123ba565b61112e565b610419611367565b6040516102239190612405565b61023f610434366004611f5e565b61139f565b6102a160008051602061288083398151915281565b60405160288152602001610223565b61034e611457565b6103036104733660046122e8565b611473565b6102a1600081565b61027861048e366004611f5e565b611489565b61049b611ecf565b6104a8335b600036611500565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104db90637344136d60e01b90600401612405565b602060405180830381865afa1580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190612425565b61054957604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6105568360465b84611606565b905061056a6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105959190611fe7565b6020604051808303816000875af11580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d8919061244d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c6919061246a565b905090565b6106d3611ecf565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610748610ff7565b6001600160a01b031681526020018260010180546107659061248f565b80601f01602080910402602001604051908101604052809291908181526020018280546107919061248f565b80156107de5780601f106107b3576101008083540402835291602001916107de565b820191906000526020600020905b8154815290600101906020018083116107c157829003601f168201915b505050505081525091505090565b6107f53061187d565b50565b610800611a7e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61082d611a7e565b6108378287611489565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108c0838261250f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108ec610641565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906125ce565b6000805160206128c08339815191528054600160401b900460ff1680610983575080546001600160401b03808416911610155b156109a15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109cb83611ab7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a1f611a7e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610a67610ff7565b6001600160a01b0316336001600160a01b031614610a9a5760405163086391f760e31b8152336004820152602401610540565b610aa38261187d565b90505b919050565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015610ade5750825b90506000826001600160401b03166001148015610afa5750303b155b905081158015610b08575080155b15610b265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5057845460ff60401b1916600160401b1785555b610b5a8787611abf565b8315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610bb5336104a0565b610bc082607a611be5565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610bf0908590600401611fe7565b6020604051808303816000875af1158015610c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa3919061244d565b6000610c3e336104a0565b610bc08260d3611be5565b610c51611ecf565b610c5a336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610c8d9063058d03e760e21b90600401612405565b602060405180830381865afa158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce9190612425565b610cf65760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610540565b610d0183606e610550565b9050610d156001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d409190611fe7565b6020604051808303816000875af1158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d83919061244d565b6001600160601b0316815292915050565b610d9c611a7e565b806001600160a01b03163b600003610dd25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e18906312da491160e01b90600401612405565b602060405180830381865afa925050508015610e51575060408051601f3d908101601f19168201909252610e4e91810190612425565b60015b610e795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b80610ea25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610540565b5050565b610eae611ecf565b610eb7336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eea90630d02010f60e31b90600401612405565b602060405180830381865afa158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612425565b610f53576040516304c983f360e41b81526001600160a01b0384166004820152602401610540565b610d0183608c610550565b33610f67611457565b6001600160a01b0316816001600160a01b031614610fa25760405162d1953b60e31b81526001600160a01b0382166004820152602401610540565b816001600160a01b03163b600003610fd8576040516361798f2f60e11b81526001600160a01b0383166004820152602401610540565b610ea282611d40565b6000610fec336104a0565b610bc0826050611be5565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b9190612425565b15611118576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111129190612602565b91505090565b54600160601b90046001600160a01b0316919050565b611136611a7e565b6111b683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611178573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119c919061244d565b603c60008560405180602001604052806000815250610825565b6001600160a01b038216156111d3576111ce82611da1565b611342565b60006111e76001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126b919061262a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d49190612602565b9050611340816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612602565b611da1565b505b611352634a531f3360e01b6107f8565b61136263b68d180960e01b6107f8565b505050565b6000805160206128a0833981519152805460009190600160a01b900460ff16611391576000611112565b638fb3603760e01b91505090565b6113a7611ecf565b6113b0336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113e390637895d0ed60e01b90600401612405565b602060405180830381865afa158015611400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114249190612425565b61144c576040516367237f5b60e11b81526001600160a01b0384166004820152602401610540565b610d01836078610550565b6000805160206128a0833981519152546001600160a01b031690565b600061147e336104a0565b610bc08260dc611be5565b611491611a7e565b61149a81610d94565b6114a2610a17565b6001600160a01b0382166114c95760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206128a083398151915260008061153b61151d611457565b873061152d600460008a8c612647565b61153691612671565b611db2565b91509150816115fe5763ffffffff8116156115db57825460ff60a01b1916600160a01b178355611569611457565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611598939291906126a1565b600060405180830381600087803b1580156115b257600080fd5b505af11580156115c6573d6000803e3d6000fd5b5050845460ff60a01b19168555506115fe9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610540565b505050505050565b61160e611ecf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116749190810190612726565b9050836001600160a01b031681608001516001600160a01b0316146116c55760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610540565b604081015160ff84811691161461171157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610540565b60a08101516001600160a01b038082169084161461175d576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610540565b846001600160a01b0316816001600160a01b03160361179a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610540565b6001600160a01b0381166117cc576040516343e40cb560e01b81526001600160a01b0386166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118449190612425565b15611875576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610540565b509392505050565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119119190612425565b1561193d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b59190612425565b6119dd5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610540565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a55919061244d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206128c083398151915254600160401b900460ff16611ab557604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611a7e565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015611af25750825b90506000826001600160401b03166001148015611b0e5750303b155b905081158015611b1c575080155b15611b3a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b6457845460ff60401b1916600160401b1785555b600080600088806020019051810190611b7d91906127e9565b9094509092509050611b9082828c61112e565b611ba0631ad26c9560e21b6107f8565b5050508315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b98565b60808201516001600160a01b031615611c1c5760408083015190516340fda83160e11b815260ff9091166004820152602401610540565b604082015160ff828116911614611c59576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610540565b60a08201516001600160a01b038116611c90576040808401519051633312954f60e21b815260ff9091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d089190612425565b1561136257604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610540565b6000805160206128a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611da9611a7e565b6107f581611ebe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e21919061282b565b600060405180830381855afa9150503d8060008114611e5c576040519150601f19603f3d011682016040523d82523d6000602084013e611e61565b606091505b50915091508115611eb3576040815110611e935780806020019051810190611e899190612847565b9094509250611eb3565b6020815110611eb35780806020019051810190611eb09190612425565b93505b505094509492505050565b611ec6611a7e565b6107f581611d40565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611f1f57600080fd5b81356001600160e01b031981168114611f3757600080fd5b9392505050565b6001600160a01b03811681146107f557600080fd5b8035610aa681611f3e565b60008060408385031215611f7157600080fd5b8235611f7c81611f3e565b91506020830135611f8c81611f3e565b809150509250929050565b60005b83811015611fb2578181015183820152602001611f9a565b50506000910152565b60008151808452611fd3816020860160208601611f97565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161205060c08401826001600160a01b03169052565b5060c083015160e08084015261206a610100840182611fbb565b949350505050565b6001600160601b03811681146107f557600080fd5b8035610aa681612072565b60ff811681146107f557600080fd5b8035610aa681612092565b80151581146107f557600080fd5b8035610aa6816120ac565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156120fd576120fd6120c5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561212b5761212b6120c5565b604052919050565b60006001600160401b0382111561214c5761214c6120c5565b50601f01601f191660200190565b600082601f83011261216b57600080fd5b813561217e61217982612133565b612103565b81815284602083860101111561219357600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156121c957600080fd5b86356121d481611f3e565b955060208701356121e481612072565b945060408701356121f481612092565b93506060870135612204816120ac565b9250608087013561221481611f3e565b915060a08701356001600160401b0381111561222f57600080fd5b61223b89828a0161215a565b9150509295509295509295565b60006020828403121561225a57600080fd5b81356001600160401b0381111561227057600080fd5b61206a8482850161215a565b60006020828403121561228e57600080fd5b8135611f3781611f3e565b600080604083850312156122ac57600080fd5b82356122b781611f3e565b915060208301356001600160401b038111156122d257600080fd5b6122de8582860161215a565b9150509250929050565b6000602082840312156122fa57600080fd5b81356001600160401b038082111561231157600080fd5b9083019060e0828603121561232557600080fd5b61232d6120db565b61233683612087565b815261234460208401612087565b6020820152612355604084016120a1565b6040820152612366606084016120ba565b606082015261237760808401611f53565b608082015261238860a08401611f53565b60a082015260c08301358281111561239f57600080fd5b6123ab8782860161215a565b60c08301525095945050505050565b6000806000606084860312156123cf57600080fd5b83356123da81611f3e565b925060208401356123ea81611f3e565b915060408401356123fa81611f3e565b809150509250925092565b6001600160e01b031991909116815260200190565b8051610aa6816120ac565b60006020828403121561243757600080fd5b8151611f37816120ac565b8051610aa681612072565b60006020828403121561245f57600080fd5b8151611f3781612072565b60006020828403121561247c57600080fd5b815162ffffff81168114611f3757600080fd5b600181811c908216806124a357607f821691505b6020821081036124c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561136257600081815260208120601f850160051c810160208610156124f05750805b601f850160051c820191505b818110156115fe578281556001016124fc565b81516001600160401b03811115612528576125286120c5565b61253c81612536845461248f565b846124c9565b602080601f83116001811461257157600084156125595750858301515b600019600386901b1c1916600185901b1785556115fe565b600085815260208120601f198616915b828110156125a057888601518255948401946001909101908401612581565b50858210156125be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156125e057600080fd5b81516001600160401b0381168114611f3757600080fd5b8051610aa681611f3e565b60006020828403121561261457600080fd5b8151611f3781611f3e565b8051610aa681612092565b60006020828403121561263c57600080fd5b8151611f3781612092565b6000808585111561265757600080fd5b8386111561266457600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126995780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f8301126126f257600080fd5b815161270061217982612133565b81815284602083860101111561271557600080fd5b61206a826020830160208701611f97565b60006020828403121561273857600080fd5b81516001600160401b038082111561274f57600080fd5b9083019060e0828603121561276357600080fd5b61276b6120db565b61277483612442565b815261278260208401612442565b60208201526127936040840161261f565b60408201526127a46060840161241a565b60608201526127b5608084016125f7565b60808201526127c660a084016125f7565b60a082015260c0830151828111156127dd57600080fd5b6123ab878286016126e1565b6000806000606084860312156127fe57600080fd5b835161280981611f3e565b602085015190935061281a81611f3e565b60408501519092506123fa81611f3e565b6000825161283d818460208701611f97565b9190910192915050565b6000806040838503121561285a57600080fd5b8251612865816120ac565b602084015190925063ffffffff81168114611f8c57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209b8dc66fa71abd1946867a259cd4faee916d85ffbbf8853b4fb60b9b4bf13e0a64736f6c63430008140033",
1217
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635d9662891161010f5780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461045d578063c2bf08c814610465578063ed841d0c14610478578063f7c34ee01461048057600080fd5b80638fb36037146104115780638fbc2d8114610426578063ada9652e14610439578063b68d18091461044e57600080fd5b80637a9e5e4b116100de5780637a9e5e4b146103d05780638105cc7f146103e3578063893d20e8146103f65780638e32e979146103fe57600080fd5b80635d96628914610379578063644c45e01461038c578063675393bf146103aa5780637286e5e5146103bd57600080fd5b806327bb7a331161018757806349bb9e4b1161015657806349bb9e4b1461031b57806357a8fba71461032e5780635ab1bd53146103415780635c992fed1461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806340be2376146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f8366004611f0d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004611f5e565b610493565b6040516102239190611fe7565b610254610641565b60405162ffffff9091168152602001610223565b61023f6106cb565b6102786107ec565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd366004611f0d565b6107f8565b6102786102d03660046121b0565b610825565b6102786102e3366004612248565b6108ca565b610278610a17565b6103036102fe36600461227c565b610a5d565b6040516001600160601b039091168152602001610223565b610278610329366004612299565b610aab565b61030361033c3660046122e8565b610baa565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103036103743660046122e8565b610c33565b61023f610387366004611f5e565b610c49565b600080516020612880833981519152546001600160601b0316610303565b6102786103b836600461227c565b610d94565b61023f6103cb366004611f5e565b610ea6565b6102786103de36600461227c565b610f5e565b6103036103f13660046122e8565b610fe1565b61034e610ff7565b61027861040c3660046123ba565b61112e565b610419611367565b6040516102239190612405565b61023f610434366004611f5e565b61139f565b6102a160008051602061288083398151915281565b60405160288152602001610223565b61034e611457565b6103036104733660046122e8565b611473565b6102a1600081565b61027861048e366004611f5e565b611489565b61049b611ecf565b6104a8335b600036611500565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104db90637344136d60e01b90600401612405565b602060405180830381865afa1580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190612425565b61054957604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6105568360465b84611606565b905061056a6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105959190611fe7565b6020604051808303816000875af11580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d8919061244d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c6919061246a565b905090565b6106d3611ecf565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610748610ff7565b6001600160a01b031681526020018260010180546107659061248f565b80601f01602080910402602001604051908101604052809291908181526020018280546107919061248f565b80156107de5780601f106107b3576101008083540402835291602001916107de565b820191906000526020600020905b8154815290600101906020018083116107c157829003601f168201915b505050505081525091505090565b6107f53061187d565b50565b610800611a7e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61082d611a7e565b6108378287611489565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108c0838261250f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108ec610641565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906125ce565b6000805160206128c08339815191528054600160401b900460ff1680610983575080546001600160401b03808416911610155b156109a15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109cb83611ab7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a1f611a7e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610a67610ff7565b6001600160a01b0316336001600160a01b031614610a9a5760405163086391f760e31b8152336004820152602401610540565b610aa38261187d565b90505b919050565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015610ade5750825b90506000826001600160401b03166001148015610afa5750303b155b905081158015610b08575080155b15610b265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5057845460ff60401b1916600160401b1785555b610b5a8787611abf565b8315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610bb5336104a0565b610bc082607a611be5565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610bf0908590600401611fe7565b6020604051808303816000875af1158015610c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa3919061244d565b6000610c3e336104a0565b610bc08260d3611be5565b610c51611ecf565b610c5a336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610c8d9063058d03e760e21b90600401612405565b602060405180830381865afa158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce9190612425565b610cf65760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610540565b610d0183606e610550565b9050610d156001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d409190611fe7565b6020604051808303816000875af1158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d83919061244d565b6001600160601b0316815292915050565b610d9c611a7e565b806001600160a01b03163b600003610dd25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e18906312da491160e01b90600401612405565b602060405180830381865afa925050508015610e51575060408051601f3d908101601f19168201909252610e4e91810190612425565b60015b610e795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b80610ea25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610540565b5050565b610eae611ecf565b610eb7336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eea90630d02010f60e31b90600401612405565b602060405180830381865afa158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612425565b610f53576040516304c983f360e41b81526001600160a01b0384166004820152602401610540565b610d0183608c610550565b33610f67611457565b6001600160a01b0316816001600160a01b031614610fa25760405162d1953b60e31b81526001600160a01b0382166004820152602401610540565b816001600160a01b03163b600003610fd8576040516361798f2f60e11b81526001600160a01b0383166004820152602401610540565b610ea282611d40565b6000610fec336104a0565b610bc0826050611be5565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b9190612425565b15611118576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111129190612602565b91505090565b54600160601b90046001600160a01b0316919050565b611136611a7e565b6111b683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611178573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119c919061244d565b603c60008560405180602001604052806000815250610825565b6001600160a01b038216156111d3576111ce82611da1565b611342565b60006111e76001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126b919061262a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d49190612602565b9050611340816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612602565b611da1565b505b611352634a531f3360e01b6107f8565b61136263b68d180960e01b6107f8565b505050565b6000805160206128a0833981519152805460009190600160a01b900460ff16611391576000611112565b638fb3603760e01b91505090565b6113a7611ecf565b6113b0336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113e390637895d0ed60e01b90600401612405565b602060405180830381865afa158015611400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114249190612425565b61144c576040516367237f5b60e11b81526001600160a01b0384166004820152602401610540565b610d01836078610550565b6000805160206128a0833981519152546001600160a01b031690565b600061147e336104a0565b610bc08260dc611be5565b611491611a7e565b61149a81610d94565b6114a2610a17565b6001600160a01b0382166114c95760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206128a083398151915260008061153b61151d611457565b873061152d600460008a8c612647565b61153691612671565b611db2565b91509150816115fe5763ffffffff8116156115db57825460ff60a01b1916600160a01b178355611569611457565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611598939291906126a1565b600060405180830381600087803b1580156115b257600080fd5b505af11580156115c6573d6000803e3d6000fd5b5050845460ff60a01b19168555506115fe9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610540565b505050505050565b61160e611ecf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116749190810190612726565b9050836001600160a01b031681608001516001600160a01b0316146116c55760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610540565b604081015160ff84811691161461171157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610540565b60a08101516001600160a01b038082169084161461175d576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610540565b846001600160a01b0316816001600160a01b03160361179a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610540565b6001600160a01b0381166117cc576040516343e40cb560e01b81526001600160a01b0386166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118449190612425565b15611875576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610540565b509392505050565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119119190612425565b1561193d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b59190612425565b6119dd5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610540565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a55919061244d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206128c083398151915254600160401b900460ff16611ab557604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611a7e565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015611af25750825b90506000826001600160401b03166001148015611b0e5750303b155b905081158015611b1c575080155b15611b3a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b6457845460ff60401b1916600160401b1785555b600080600088806020019051810190611b7d91906127e9565b9094509092509050611b9082828c61112e565b611ba0631ad26c9560e21b6107f8565b5050508315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b98565b60808201516001600160a01b031615611c1c5760408083015190516340fda83160e11b815260ff9091166004820152602401610540565b604082015160ff828116911614611c59576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610540565b60a08201516001600160a01b038116611c90576040808401519051633312954f60e21b815260ff9091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d089190612425565b1561136257604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610540565b6000805160206128a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611da9611a7e565b6107f581611ebe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e21919061282b565b600060405180830381855afa9150503d8060008114611e5c576040519150601f19603f3d011682016040523d82523d6000602084013e611e61565b606091505b50915091508115611eb3576040815110611e935780806020019051810190611e899190612847565b9094509250611eb3565b6020815110611eb35780806020019051810190611eb09190612425565b93505b505094509492505050565b611ec6611a7e565b6107f581611d40565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611f1f57600080fd5b81356001600160e01b031981168114611f3757600080fd5b9392505050565b6001600160a01b03811681146107f557600080fd5b8035610aa681611f3e565b60008060408385031215611f7157600080fd5b8235611f7c81611f3e565b91506020830135611f8c81611f3e565b809150509250929050565b60005b83811015611fb2578181015183820152602001611f9a565b50506000910152565b60008151808452611fd3816020860160208601611f97565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161205060c08401826001600160a01b03169052565b5060c083015160e08084015261206a610100840182611fbb565b949350505050565b6001600160601b03811681146107f557600080fd5b8035610aa681612072565b60ff811681146107f557600080fd5b8035610aa681612092565b80151581146107f557600080fd5b8035610aa6816120ac565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156120fd576120fd6120c5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561212b5761212b6120c5565b604052919050565b60006001600160401b0382111561214c5761214c6120c5565b50601f01601f191660200190565b600082601f83011261216b57600080fd5b813561217e61217982612133565b612103565b81815284602083860101111561219357600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156121c957600080fd5b86356121d481611f3e565b955060208701356121e481612072565b945060408701356121f481612092565b93506060870135612204816120ac565b9250608087013561221481611f3e565b915060a08701356001600160401b0381111561222f57600080fd5b61223b89828a0161215a565b9150509295509295509295565b60006020828403121561225a57600080fd5b81356001600160401b0381111561227057600080fd5b61206a8482850161215a565b60006020828403121561228e57600080fd5b8135611f3781611f3e565b600080604083850312156122ac57600080fd5b82356122b781611f3e565b915060208301356001600160401b038111156122d257600080fd5b6122de8582860161215a565b9150509250929050565b6000602082840312156122fa57600080fd5b81356001600160401b038082111561231157600080fd5b9083019060e0828603121561232557600080fd5b61232d6120db565b61233683612087565b815261234460208401612087565b6020820152612355604084016120a1565b6040820152612366606084016120ba565b606082015261237760808401611f53565b608082015261238860a08401611f53565b60a082015260c08301358281111561239f57600080fd5b6123ab8782860161215a565b60c08301525095945050505050565b6000806000606084860312156123cf57600080fd5b83356123da81611f3e565b925060208401356123ea81611f3e565b915060408401356123fa81611f3e565b809150509250925092565b6001600160e01b031991909116815260200190565b8051610aa6816120ac565b60006020828403121561243757600080fd5b8151611f37816120ac565b8051610aa681612072565b60006020828403121561245f57600080fd5b8151611f3781612072565b60006020828403121561247c57600080fd5b815162ffffff81168114611f3757600080fd5b600181811c908216806124a357607f821691505b6020821081036124c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561136257600081815260208120601f850160051c810160208610156124f05750805b601f850160051c820191505b818110156115fe578281556001016124fc565b81516001600160401b03811115612528576125286120c5565b61253c81612536845461248f565b846124c9565b602080601f83116001811461257157600084156125595750858301515b600019600386901b1c1916600185901b1785556115fe565b600085815260208120601f198616915b828110156125a057888601518255948401946001909101908401612581565b50858210156125be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156125e057600080fd5b81516001600160401b0381168114611f3757600080fd5b8051610aa681611f3e565b60006020828403121561261457600080fd5b8151611f3781611f3e565b8051610aa681612092565b60006020828403121561263c57600080fd5b8151611f3781612092565b6000808585111561265757600080fd5b8386111561266457600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126995780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f8301126126f257600080fd5b815161270061217982612133565b81815284602083860101111561271557600080fd5b61206a826020830160208701611f97565b60006020828403121561273857600080fd5b81516001600160401b038082111561274f57600080fd5b9083019060e0828603121561276357600080fd5b61276b6120db565b61277483612442565b815261278260208401612442565b60208201526127936040840161261f565b60408201526127a46060840161241a565b60608201526127b5608084016125f7565b60808201526127c660a084016125f7565b60a082015260c0830151828111156127dd57600080fd5b6123ab878286016126e1565b6000806000606084860312156127fe57600080fd5b835161280981611f3e565b602085015190935061281a81611f3e565b60408501519092506123fa81611f3e565b6000825161283d818460208701611f97565b9190910192915050565b6000806040838503121561285a57600080fd5b8251612865816120ac565b602084015190925063ffffffff81168114611f8c57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209b8dc66fa71abd1946867a259cd4faee916d85ffbbf8853b4fb60b9b4bf13e0a64736f6c63430008140033",
1259
1218
  "linkReferences": {
1260
- "contracts/types/Blocknumber.sol": {
1261
- "BlocknumberLib": [
1262
- {
1263
- "length": 20,
1264
- "start": 4386
1265
- }
1266
- ]
1267
- },
1268
- "contracts/types/NftId.sol": {
1219
+ "contracts/type/NftId.sol": {
1269
1220
  "NftIdLib": [
1270
1221
  {
1271
1222
  "length": 20,
1272
- "start": 2920
1223
+ "start": 4371
1273
1224
  },
1274
1225
  {
1275
1226
  "length": 20,
1276
- "start": 5354
1227
+ "start": 6553
1277
1228
  }
1278
1229
  ]
1279
1230
  },
1280
- "contracts/types/Timestamp.sol": {
1281
- "TimestampLib": [
1282
- {
1283
- "length": 20,
1284
- "start": 8321
1285
- }
1286
- ]
1287
- },
1288
- "contracts/types/Version.sol": {
1231
+ "contracts/type/Version.sol": {
1289
1232
  "VersionLib": [
1290
1233
  {
1291
1234
  "length": 20,
1292
- "start": 2356
1235
+ "start": 1870
1293
1236
  },
1294
1237
  {
1295
1238
  "length": 20,
1296
- "start": 3912
1297
- },
1239
+ "start": 2482
1240
+ }
1241
+ ],
1242
+ "VersionPartLib": [
1298
1243
  {
1299
1244
  "length": 20,
1300
- "start": 6977
1245
+ "start": 4851
1301
1246
  }
1302
1247
  ]
1303
1248
  }
1304
1249
  },
1305
1250
  "deployedLinkReferences": {
1306
- "contracts/types/Blocknumber.sol": {
1307
- "BlocknumberLib": [
1308
- {
1309
- "length": 20,
1310
- "start": 4156
1311
- }
1312
- ]
1313
- },
1314
- "contracts/types/NftId.sol": {
1251
+ "contracts/type/NftId.sol": {
1315
1252
  "NftIdLib": [
1316
1253
  {
1317
1254
  "length": 20,
1318
- "start": 2690
1255
+ "start": 4141
1319
1256
  },
1320
1257
  {
1321
1258
  "length": 20,
1322
- "start": 5124
1323
- }
1324
- ]
1325
- },
1326
- "contracts/types/Timestamp.sol": {
1327
- "TimestampLib": [
1328
- {
1329
- "length": 20,
1330
- "start": 8091
1259
+ "start": 6323
1331
1260
  }
1332
1261
  ]
1333
1262
  },
1334
- "contracts/types/Version.sol": {
1263
+ "contracts/type/Version.sol": {
1335
1264
  "VersionLib": [
1336
1265
  {
1337
1266
  "length": 20,
1338
- "start": 2126
1267
+ "start": 1640
1339
1268
  },
1340
1269
  {
1341
1270
  "length": 20,
1342
- "start": 3682
1343
- },
1271
+ "start": 2252
1272
+ }
1273
+ ],
1274
+ "VersionPartLib": [
1344
1275
  {
1345
1276
  "length": 20,
1346
- "start": 6747
1277
+ "start": 4621
1347
1278
  }
1348
1279
  ]
1349
1280
  }