@etherisc/gif-next 0.0.2-ec436bf-674 → 0.0.2-ed1536c-164

Sign up to get free protection for your applications and to get access to all the features.
Files changed (552) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +799 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +454 -554
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +356 -176
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +458 -3052
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +612 -181
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +504 -322
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +524 -352
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -108
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3468 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +91 -2
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +723 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +294 -361
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +719 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +699 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +701 -0
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +257 -288
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → product/IProductService.sol/IProductService.json} +140 -86
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +731 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +755 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +675 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +340 -195
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +434 -194
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +429 -261
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +322 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +499 -338
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +320 -140
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1151 -0
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -109
  120. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  122. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  123. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  124. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  126. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +765 -0
  128. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +196 -216
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  133. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +625 -0
  134. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  136. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  138. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -1
  140. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +35 -0
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  154. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  155. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  156. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  157. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  158. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  160. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  161. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -53
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1435 -0
  182. package/artifacts/contracts/staking/IStakingManager.sol/IStakingManager.dbg.json +4 -0
  183. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → staking/IStakingManager.sol/IStakingManager.json} +10 -10
  184. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  185. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +884 -0
  186. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.dbg.json +4 -0
  187. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.json +357 -0
  188. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +402 -0
  190. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  191. package/artifacts/contracts/staking/Staking.sol/Staking.json +2002 -0
  192. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  193. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +748 -0
  194. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  195. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -0
  196. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  197. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1207 -0
  198. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  200. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  201. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1690 -0
  202. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +494 -0
  204. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  205. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  206. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  208. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  209. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  210. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  212. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  214. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  216. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  217. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  218. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  220. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  221. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  222. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  224. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  226. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  228. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  230. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  232. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +174 -0
  234. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  236. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  238. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  240. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  242. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  244. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  246. package/contracts/distribution/Distribution.sol +263 -0
  247. package/contracts/distribution/DistributionService.sol +298 -0
  248. package/contracts/distribution/DistributionServiceManager.sol +54 -0
  249. package/contracts/distribution/IDistributionComponent.sol +66 -0
  250. package/contracts/distribution/IDistributionService.sol +81 -0
  251. package/contracts/instance/BundleManager.sol +126 -0
  252. package/contracts/instance/IInstance.sol +62 -24
  253. package/contracts/instance/IInstanceService.sol +66 -13
  254. package/contracts/instance/Instance.sol +151 -366
  255. package/contracts/instance/InstanceAccessManager.sol +432 -177
  256. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  257. package/contracts/instance/InstanceReader.sol +143 -83
  258. package/contracts/instance/InstanceService.sol +309 -124
  259. package/contracts/instance/InstanceServiceManager.sol +12 -24
  260. package/contracts/instance/InstanceStore.sol +260 -0
  261. package/contracts/instance/base/BalanceStore.sol +118 -0
  262. package/contracts/instance/base/Cloneable.sol +51 -0
  263. package/contracts/instance/base/ObjectManager.sol +82 -0
  264. package/contracts/instance/module/IAccess.sol +37 -21
  265. package/contracts/instance/module/IBundle.sol +8 -8
  266. package/contracts/instance/module/IComponents.sol +52 -0
  267. package/contracts/instance/module/IDistribution.sol +7 -4
  268. package/contracts/instance/module/IPolicy.sol +56 -17
  269. package/contracts/instance/module/IRisk.sol +1 -1
  270. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  271. package/contracts/pool/BundleService.sol +296 -0
  272. package/contracts/pool/BundleServiceManager.sol +42 -0
  273. package/contracts/pool/IBundleService.sol +106 -0
  274. package/contracts/pool/IPoolComponent.sol +112 -0
  275. package/contracts/pool/IPoolService.sol +147 -0
  276. package/contracts/pool/Pool.sol +299 -0
  277. package/contracts/pool/PoolService.sol +424 -0
  278. package/contracts/pool/PoolServiceManager.sol +42 -0
  279. package/contracts/product/ApplicationService.sol +254 -0
  280. package/contracts/product/ApplicationServiceManager.sol +38 -0
  281. package/contracts/product/ClaimService.sol +437 -0
  282. package/contracts/product/ClaimServiceManager.sol +38 -0
  283. package/contracts/product/IApplicationService.sol +62 -0
  284. package/contracts/product/IClaimService.sol +93 -0
  285. package/contracts/product/IPolicyService.sol +78 -0
  286. package/contracts/product/IPricingService.sol +39 -0
  287. package/contracts/product/IProductComponent.sol +42 -0
  288. package/contracts/product/IProductService.sol +33 -0
  289. package/contracts/product/PolicyService.sol +473 -0
  290. package/contracts/product/PolicyServiceManager.sol +42 -0
  291. package/contracts/product/PricingService.sol +301 -0
  292. package/contracts/product/PricingServiceManager.sol +42 -0
  293. package/contracts/product/Product.sol +377 -0
  294. package/contracts/product/ProductService.sol +124 -0
  295. package/contracts/product/ProductServiceManager.sol +42 -0
  296. package/contracts/registry/ChainNft.sol +14 -0
  297. package/contracts/registry/IRegistry.sol +76 -45
  298. package/contracts/registry/IRegistryService.sol +51 -16
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +358 -269
  301. package/contracts/registry/RegistryAccessManager.sol +196 -0
  302. package/contracts/registry/RegistryService.sol +126 -259
  303. package/contracts/registry/RegistryServiceManager.sol +34 -42
  304. package/contracts/registry/ReleaseManager.sol +563 -0
  305. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  306. package/contracts/registry/TokenRegistry.sol +300 -57
  307. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  308. package/contracts/shared/Component.sol +286 -0
  309. package/contracts/shared/ComponentService.sol +595 -0
  310. package/contracts/shared/ComponentServiceManager.sol +35 -0
  311. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  312. package/contracts/shared/ERC165.sol +14 -12
  313. package/contracts/shared/IComponent.sol +74 -0
  314. package/contracts/shared/IComponentService.sol +91 -0
  315. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  316. package/contracts/{instance/base → shared}/IKeyValueStore.sol +14 -10
  317. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  318. package/contracts/shared/INftOwnable.sol +12 -11
  319. package/contracts/shared/IPolicyHolder.sol +45 -0
  320. package/contracts/shared/IRegisterable.sol +4 -6
  321. package/contracts/shared/IRegistryLinked.sol +11 -0
  322. package/contracts/shared/IService.sol +7 -4
  323. package/contracts/shared/IVersionable.sol +5 -48
  324. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  325. package/contracts/shared/KeyValueStore.sol +130 -0
  326. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  327. package/contracts/shared/NftIdSetManager.sol +65 -0
  328. package/contracts/shared/NftOwnable.sol +65 -83
  329. package/contracts/shared/PolicyHolder.sol +101 -0
  330. package/contracts/shared/ProxyManager.sol +126 -25
  331. package/contracts/shared/Registerable.sol +26 -41
  332. package/contracts/shared/RegistryLinked.sol +43 -0
  333. package/contracts/shared/Service.sol +45 -23
  334. package/contracts/shared/TokenHandler.sol +37 -6
  335. package/contracts/shared/Versionable.sol +4 -92
  336. package/contracts/staking/IStaking.sol +152 -0
  337. package/contracts/staking/IStakingManager.sol +15 -0
  338. package/contracts/staking/IStakingService.sol +162 -0
  339. package/contracts/staking/IStakingStore.sol +130 -0
  340. package/contracts/staking/StakeManagerLib.sol +156 -0
  341. package/contracts/staking/Staking.sol +502 -0
  342. package/contracts/staking/StakingManager.sol +65 -0
  343. package/contracts/staking/StakingReader.sol +147 -0
  344. package/contracts/staking/StakingService.sol +375 -0
  345. package/contracts/staking/StakingServiceManager.sol +44 -0
  346. package/contracts/staking/StakingStore.sol +329 -0
  347. package/contracts/staking/TargetManagerLib.sol +179 -0
  348. package/contracts/type/Amount.sol +114 -0
  349. package/contracts/{types → type}/Blocknumber.sol +20 -2
  350. package/contracts/type/ClaimId.sol +75 -0
  351. package/contracts/{types → type}/DistributorType.sol +2 -2
  352. package/contracts/{types → type}/Fee.sol +32 -22
  353. package/contracts/{types → type}/NftId.sol +17 -11
  354. package/contracts/type/NftIdSet.sol +62 -0
  355. package/contracts/{types → type}/ObjectType.sol +26 -9
  356. package/contracts/type/PayoutId.sol +82 -0
  357. package/contracts/{types → type}/Referral.sol +4 -0
  358. package/contracts/type/RoleId.sol +143 -0
  359. package/contracts/type/Seconds.sol +71 -0
  360. package/contracts/{types → type}/StateId.sol +24 -6
  361. package/contracts/{types → type}/Timestamp.sol +18 -13
  362. package/contracts/{types → type}/UFixed.sol +1 -0
  363. package/contracts/{types → type}/Version.sol +1 -0
  364. package/package.json +3 -3
  365. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  366. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  367. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  368. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  369. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  370. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  371. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  373. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  374. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  375. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  376. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  377. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  378. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  379. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  380. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  382. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  384. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  386. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  387. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  388. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  389. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  390. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  391. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  392. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  393. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  394. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  395. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  396. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  397. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  398. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  399. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  400. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  401. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  402. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  403. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  404. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  405. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  406. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  407. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  408. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  409. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  410. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  411. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  412. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  413. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  414. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  415. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  416. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  417. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  418. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  419. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  420. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  421. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  422. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  423. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  424. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  425. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  426. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  427. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  428. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  429. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  430. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  431. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  433. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  434. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  435. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  436. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  437. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  438. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  439. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  440. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  441. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -448
  442. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  443. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  445. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  447. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -855
  449. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
  451. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  452. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  453. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  454. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  455. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  456. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  457. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  458. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  459. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  460. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  461. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  462. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  463. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  464. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  465. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  466. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  467. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  468. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  469. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  470. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  471. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  472. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  474. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  476. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  477. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  478. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  479. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  480. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  482. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  483. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  484. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  485. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  486. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  487. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  488. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  489. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  490. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  493. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  494. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  496. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  497. package/contracts/components/BaseComponent.sol +0 -91
  498. package/contracts/components/Distribution.sol +0 -160
  499. package/contracts/components/IBaseComponent.sol +0 -25
  500. package/contracts/components/IDistributionComponent.sol +0 -44
  501. package/contracts/components/IPoolComponent.sol +0 -62
  502. package/contracts/components/IProductComponent.sol +0 -35
  503. package/contracts/components/Pool.sol +0 -243
  504. package/contracts/components/Product.sol +0 -297
  505. package/contracts/experiment/cloning/Cloner.sol +0 -47
  506. package/contracts/experiment/errors/Require.sol +0 -38
  507. package/contracts/experiment/errors/Revert.sol +0 -44
  508. package/contracts/experiment/inheritance/A.sol +0 -53
  509. package/contracts/experiment/inheritance/B.sol +0 -28
  510. package/contracts/experiment/inheritance/C.sol +0 -34
  511. package/contracts/experiment/inheritance/IA.sol +0 -13
  512. package/contracts/experiment/inheritance/IB.sol +0 -10
  513. package/contracts/experiment/inheritance/IC.sol +0 -12
  514. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  515. package/contracts/experiment/statemachine/ISM.sol +0 -25
  516. package/contracts/experiment/statemachine/SM.sol +0 -57
  517. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  518. package/contracts/experiment/types/TypeA.sol +0 -47
  519. package/contracts/experiment/types/TypeB.sol +0 -29
  520. package/contracts/instance/AccessManagedSimple.sol +0 -115
  521. package/contracts/instance/AccessManagerSimple.sol +0 -692
  522. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  523. package/contracts/instance/base/ComponentServiceBase.sol +0 -118
  524. package/contracts/instance/base/IInstanceBase.sol +0 -23
  525. package/contracts/instance/base/KeyValueStore.sol +0 -172
  526. package/contracts/instance/module/ISetup.sol +0 -44
  527. package/contracts/instance/module/ITreasury.sol +0 -23
  528. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  529. package/contracts/instance/service/DistributionService.sol +0 -87
  530. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  531. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  532. package/contracts/instance/service/IDistributionService.sol +0 -12
  533. package/contracts/instance/service/IPoolService.sol +0 -37
  534. package/contracts/instance/service/IProductService.sol +0 -107
  535. package/contracts/instance/service/PoolService.sol +0 -193
  536. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  537. package/contracts/shared/ContractDeployerLib.sol +0 -72
  538. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  539. package/contracts/test/TestFee.sol +0 -25
  540. package/contracts/test/TestRegisterable.sol +0 -18
  541. package/contracts/test/TestRoleId.sol +0 -14
  542. package/contracts/test/TestService.sol +0 -24
  543. package/contracts/test/TestToken.sol +0 -26
  544. package/contracts/test/TestVersion.sol +0 -44
  545. package/contracts/test/TestVersionable.sol +0 -17
  546. package/contracts/types/ChainId.sol +0 -38
  547. package/contracts/types/NftIdSet.sol +0 -60
  548. package/contracts/types/NumberId.sol +0 -52
  549. package/contracts/types/RoleId.sol +0 -89
  550. /package/contracts/{types → type}/AddressSet.sol +0 -0
  551. /package/contracts/{types → type}/Key32.sol +0 -0
  552. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -3,21 +3,36 @@
3
3
  "contractName": "Registry",
4
4
  "sourceName": "contracts/registry/Registry.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
6
11
  {
7
12
  "inputs": [
8
13
  {
9
14
  "internalType": "address",
10
- "name": "registryOwner",
15
+ "name": "owner",
11
16
  "type": "address"
12
17
  },
13
18
  {
14
- "internalType": "VersionPart",
15
- "name": "majorVersion",
16
- "type": "uint8"
19
+ "internalType": "address",
20
+ "name": "caller",
21
+ "type": "address"
17
22
  }
18
23
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
24
+ "name": "ErrorRegistryCallerNotInitializeOwner",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "ErrorRegistryCallerNotRegistryService",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "ErrorRegistryCallerNotReleaseManager",
35
+ "type": "error"
21
36
  },
22
37
  {
23
38
  "inputs": [
@@ -27,142 +42,102 @@
27
42
  "type": "address"
28
43
  }
29
44
  ],
30
- "name": "ContractAlreadyRegistered",
45
+ "name": "ErrorRegistryContractAlreadyRegistered",
31
46
  "type": "error"
32
47
  },
33
48
  {
34
- "inputs": [
35
- {
36
- "internalType": "VersionPart",
37
- "name": "majorVersion",
38
- "type": "uint8"
39
- }
40
- ],
41
- "name": "InvalidServiceVersion",
49
+ "inputs": [],
50
+ "name": "ErrorRegistryCoreTypeRegistration",
42
51
  "type": "error"
43
52
  },
44
53
  {
45
54
  "inputs": [
46
55
  {
47
- "internalType": "ObjectType",
48
- "name": "objectType",
49
- "type": "uint8"
56
+ "internalType": "address",
57
+ "name": "service",
58
+ "type": "address"
50
59
  },
51
- {
52
- "internalType": "ObjectType",
53
- "name": "parentType",
54
- "type": "uint8"
55
- }
56
- ],
57
- "name": "InvalidTypesCombination",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
60
  {
63
61
  "internalType": "VersionPart",
64
- "name": "newMajorVersionMax",
62
+ "name": "version",
65
63
  "type": "uint8"
66
64
  },
67
65
  {
68
- "internalType": "VersionPart",
69
- "name": "existingMaxMajorVersion",
66
+ "internalType": "ObjectType",
67
+ "name": "domain",
70
68
  "type": "uint8"
71
69
  }
72
70
  ],
73
- "name": "MajorVersionMaxIncreaseInvalid",
71
+ "name": "ErrorRegistryDomainAlreadyRegistered",
74
72
  "type": "error"
75
73
  },
76
74
  {
77
75
  "inputs": [
78
76
  {
79
77
  "internalType": "address",
80
- "name": "account",
78
+ "name": "service",
81
79
  "type": "address"
82
80
  }
83
81
  ],
84
- "name": "NotOwner",
85
- "type": "error"
86
- },
87
- {
88
- "inputs": [
89
- {
90
- "internalType": "NftId",
91
- "name": "registrarNftId",
92
- "type": "uint96"
93
- }
94
- ],
95
- "name": "NotRegisteredContract",
82
+ "name": "ErrorRegistryDomainZero",
96
83
  "type": "error"
97
84
  },
98
85
  {
99
86
  "inputs": [],
100
- "name": "NotRegistryService",
87
+ "name": "ErrorRegistryParentAddressZero",
101
88
  "type": "error"
102
89
  },
103
90
  {
104
91
  "inputs": [
105
92
  {
106
- "internalType": "NftId",
107
- "name": "registrarNftId",
108
- "type": "uint96"
93
+ "internalType": "ObjectType",
94
+ "name": "objectType",
95
+ "type": "uint8"
96
+ },
97
+ {
98
+ "internalType": "ObjectType",
99
+ "name": "parentType",
100
+ "type": "uint8"
109
101
  }
110
102
  ],
111
- "name": "NotService",
103
+ "name": "ErrorRegistryTypesCombinationInvalid",
112
104
  "type": "error"
113
105
  },
114
106
  {
115
- "inputs": [
116
- {
117
- "internalType": "address",
118
- "name": "token",
119
- "type": "address"
120
- }
121
- ],
122
- "name": "NotToken",
107
+ "inputs": [],
108
+ "name": "InvalidInitialization",
123
109
  "type": "error"
124
110
  },
125
111
  {
126
- "inputs": [
127
- {
128
- "internalType": "string",
129
- "name": "name",
130
- "type": "string"
131
- },
132
- {
133
- "internalType": "VersionPart",
134
- "name": "majorVersion",
135
- "type": "uint8"
136
- }
137
- ],
138
- "name": "ServiceNameAlreadyRegistered",
112
+ "inputs": [],
113
+ "name": "NotInitializing",
139
114
  "type": "error"
140
115
  },
141
116
  {
142
117
  "inputs": [
143
118
  {
144
- "internalType": "VersionPart",
145
- "name": "majorVersion",
146
- "type": "uint8"
119
+ "internalType": "address",
120
+ "name": "stakingAddress",
121
+ "type": "address"
147
122
  }
148
123
  ],
149
- "name": "TokenMajorVersionInvalid",
124
+ "name": "StakingAlreadyRegistered",
150
125
  "type": "error"
151
126
  },
152
127
  {
153
128
  "inputs": [
154
129
  {
155
130
  "internalType": "address",
156
- "name": "token",
131
+ "name": "tokenRegistry",
157
132
  "type": "address"
158
133
  }
159
134
  ],
160
- "name": "TokenNotRegistered",
135
+ "name": "TokenRegistryAlreadySet",
161
136
  "type": "error"
162
137
  },
163
138
  {
164
139
  "inputs": [],
165
- "name": "ZeroParentAddress",
140
+ "name": "TokenRegistryZero",
166
141
  "type": "error"
167
142
  },
168
143
  {
@@ -170,12 +145,12 @@
170
145
  "inputs": [
171
146
  {
172
147
  "indexed": false,
173
- "internalType": "VersionPart",
174
- "name": "majorVersion",
175
- "type": "uint8"
148
+ "internalType": "uint64",
149
+ "name": "version",
150
+ "type": "uint64"
176
151
  }
177
152
  ],
178
- "name": "LogInitialMajorVersionSet",
153
+ "name": "Initialized",
179
154
  "type": "event"
180
155
  },
181
156
  {
@@ -183,92 +158,47 @@
183
158
  "inputs": [
184
159
  {
185
160
  "indexed": false,
186
- "internalType": "VersionPart",
187
- "name": "majorVersionMax",
161
+ "internalType": "NftId",
162
+ "name": "nftId",
163
+ "type": "uint96"
164
+ },
165
+ {
166
+ "indexed": false,
167
+ "internalType": "NftId",
168
+ "name": "parentNftId",
169
+ "type": "uint96"
170
+ },
171
+ {
172
+ "indexed": false,
173
+ "internalType": "ObjectType",
174
+ "name": "objectType",
188
175
  "type": "uint8"
189
- }
190
- ],
191
- "name": "LogMajorVersionSet",
192
- "type": "event"
193
- },
194
- {
195
- "anonymous": false,
196
- "inputs": [
176
+ },
197
177
  {
198
- "components": [
199
- {
200
- "internalType": "NftId",
201
- "name": "nftId",
202
- "type": "uint96"
203
- },
204
- {
205
- "internalType": "NftId",
206
- "name": "parentNftId",
207
- "type": "uint96"
208
- },
209
- {
210
- "internalType": "ObjectType",
211
- "name": "objectType",
212
- "type": "uint8"
213
- },
214
- {
215
- "internalType": "bool",
216
- "name": "isInterceptor",
217
- "type": "bool"
218
- },
219
- {
220
- "internalType": "address",
221
- "name": "objectAddress",
222
- "type": "address"
223
- },
224
- {
225
- "internalType": "address",
226
- "name": "initialOwner",
227
- "type": "address"
228
- },
229
- {
230
- "internalType": "bytes",
231
- "name": "data",
232
- "type": "bytes"
233
- }
234
- ],
235
178
  "indexed": false,
236
- "internalType": "struct IRegistry.ObjectInfo",
237
- "name": "info",
238
- "type": "tuple"
239
- }
240
- ],
241
- "name": "LogRegistration",
242
- "type": "event"
243
- },
244
- {
245
- "anonymous": false,
246
- "inputs": [
179
+ "internalType": "bool",
180
+ "name": "isInterceptor",
181
+ "type": "bool"
182
+ },
247
183
  {
248
184
  "indexed": false,
249
- "internalType": "string",
250
- "name": "serviceName",
251
- "type": "string"
185
+ "internalType": "address",
186
+ "name": "objectAddress",
187
+ "type": "address"
252
188
  },
253
189
  {
254
190
  "indexed": false,
255
- "internalType": "VersionPart",
256
- "name": "majorVersion",
257
- "type": "uint8"
191
+ "internalType": "address",
192
+ "name": "initialOwner",
193
+ "type": "address"
258
194
  }
259
195
  ],
260
- "name": "LogServiceNameRegistration",
196
+ "name": "LogRegistration",
261
197
  "type": "event"
262
198
  },
263
199
  {
264
200
  "anonymous": false,
265
201
  "inputs": [
266
- {
267
- "indexed": false,
268
- "internalType": "address",
269
- "name": "token",
270
- "type": "address"
271
- },
272
202
  {
273
203
  "indexed": false,
274
204
  "internalType": "VersionPart",
@@ -277,12 +207,12 @@
277
207
  },
278
208
  {
279
209
  "indexed": false,
280
- "internalType": "bool",
281
- "name": "active",
282
- "type": "bool"
210
+ "internalType": "ObjectType",
211
+ "name": "domain",
212
+ "type": "uint8"
283
213
  }
284
214
  ],
285
- "name": "LogTokenStateSet",
215
+ "name": "LogServiceRegistration",
286
216
  "type": "event"
287
217
  },
288
218
  {
@@ -300,12 +230,12 @@
300
230
  },
301
231
  {
302
232
  "inputs": [],
303
- "name": "GIF_MAJOR_VERSION_AT_DEPLOYMENT",
233
+ "name": "NFT_LOCK_ADDRESS",
304
234
  "outputs": [
305
235
  {
306
- "internalType": "uint256",
236
+ "internalType": "address",
307
237
  "name": "",
308
- "type": "uint256"
238
+ "type": "address"
309
239
  }
310
240
  ],
311
241
  "stateMutability": "view",
@@ -313,12 +243,12 @@
313
243
  },
314
244
  {
315
245
  "inputs": [],
316
- "name": "NFT_LOCK_ADDRESS",
246
+ "name": "REGISTRY_TOKEN_SEQUENCE_ID",
317
247
  "outputs": [
318
248
  {
319
- "internalType": "address",
249
+ "internalType": "uint256",
320
250
  "name": "",
321
- "type": "address"
251
+ "type": "uint256"
322
252
  }
323
253
  ],
324
254
  "stateMutability": "view",
@@ -326,7 +256,7 @@
326
256
  },
327
257
  {
328
258
  "inputs": [],
329
- "name": "REGISTRY_SERVICE_TOKEN_SEQUENCE_ID",
259
+ "name": "STAKING_TOKEN_SEQUENCE_ID",
330
260
  "outputs": [
331
261
  {
332
262
  "internalType": "uint256",
@@ -339,10 +269,10 @@
339
269
  },
340
270
  {
341
271
  "inputs": [],
342
- "name": "getChainNft",
272
+ "name": "getChainNftAddress",
343
273
  "outputs": [
344
274
  {
345
- "internalType": "contract ChainNft",
275
+ "internalType": "address",
346
276
  "name": "",
347
277
  "type": "address"
348
278
  }
@@ -352,7 +282,7 @@
352
282
  },
353
283
  {
354
284
  "inputs": [],
355
- "name": "getMajorVersion",
285
+ "name": "getInitialVersion",
356
286
  "outputs": [
357
287
  {
358
288
  "internalType": "VersionPart",
@@ -365,7 +295,7 @@
365
295
  },
366
296
  {
367
297
  "inputs": [],
368
- "name": "getMajorVersionMax",
298
+ "name": "getLatestVersion",
369
299
  "outputs": [
370
300
  {
371
301
  "internalType": "VersionPart",
@@ -378,7 +308,7 @@
378
308
  },
379
309
  {
380
310
  "inputs": [],
381
- "name": "getMajorVersionMin",
311
+ "name": "getNextVersion",
382
312
  "outputs": [
383
313
  {
384
314
  "internalType": "VersionPart",
@@ -560,19 +490,27 @@
560
490
  "type": "function"
561
491
  },
562
492
  {
563
- "inputs": [
493
+ "inputs": [],
494
+ "name": "getProtocolNftId",
495
+ "outputs": [
564
496
  {
565
- "internalType": "string",
566
- "name": "serviceName",
567
- "type": "string"
568
- },
497
+ "internalType": "NftId",
498
+ "name": "nftId",
499
+ "type": "uint96"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
569
507
  {
570
508
  "internalType": "VersionPart",
571
- "name": "majorVersion",
509
+ "name": "version",
572
510
  "type": "uint8"
573
511
  }
574
512
  ],
575
- "name": "getServiceAddress",
513
+ "name": "getReleaseAccessManagerAddress",
576
514
  "outputs": [
577
515
  {
578
516
  "internalType": "address",
@@ -586,22 +524,140 @@
586
524
  {
587
525
  "inputs": [
588
526
  {
589
- "internalType": "NftId",
590
- "name": "nftId",
591
- "type": "uint96"
527
+ "internalType": "VersionPart",
528
+ "name": "version",
529
+ "type": "uint8"
592
530
  }
593
531
  ],
594
- "name": "getServiceName",
532
+ "name": "getReleaseInfo",
595
533
  "outputs": [
596
534
  {
597
- "internalType": "string",
535
+ "components": [
536
+ {
537
+ "internalType": "VersionPart",
538
+ "name": "version",
539
+ "type": "uint8"
540
+ },
541
+ {
542
+ "internalType": "address[]",
543
+ "name": "addresses",
544
+ "type": "address[]"
545
+ },
546
+ {
547
+ "internalType": "RoleId[][]",
548
+ "name": "serviceRoles",
549
+ "type": "uint64[][]"
550
+ },
551
+ {
552
+ "internalType": "RoleId[][]",
553
+ "name": "functionRoles",
554
+ "type": "uint64[][]"
555
+ },
556
+ {
557
+ "internalType": "bytes4[][][]",
558
+ "name": "selectors",
559
+ "type": "bytes4[][][]"
560
+ },
561
+ {
562
+ "internalType": "ObjectType[]",
563
+ "name": "domains",
564
+ "type": "uint8[]"
565
+ },
566
+ {
567
+ "internalType": "Timestamp",
568
+ "name": "activatedAt",
569
+ "type": "uint40"
570
+ }
571
+ ],
572
+ "internalType": "struct IRegistry.ReleaseInfo",
598
573
  "name": "",
599
- "type": "string"
574
+ "type": "tuple"
575
+ }
576
+ ],
577
+ "stateMutability": "view",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [],
582
+ "name": "getReleaseManagerAddress",
583
+ "outputs": [
584
+ {
585
+ "internalType": "address",
586
+ "name": "",
587
+ "type": "address"
588
+ }
589
+ ],
590
+ "stateMutability": "view",
591
+ "type": "function"
592
+ },
593
+ {
594
+ "inputs": [
595
+ {
596
+ "internalType": "ObjectType",
597
+ "name": "serviceDomain",
598
+ "type": "uint8"
599
+ },
600
+ {
601
+ "internalType": "VersionPart",
602
+ "name": "releaseVersion",
603
+ "type": "uint8"
604
+ }
605
+ ],
606
+ "name": "getServiceAddress",
607
+ "outputs": [
608
+ {
609
+ "internalType": "address",
610
+ "name": "service",
611
+ "type": "address"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getStakingAddress",
620
+ "outputs": [
621
+ {
622
+ "internalType": "address",
623
+ "name": "staking",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getTokenRegistryAddress",
633
+ "outputs": [
634
+ {
635
+ "internalType": "address",
636
+ "name": "tokenRegistry",
637
+ "type": "address"
600
638
  }
601
639
  ],
602
640
  "stateMutability": "view",
603
641
  "type": "function"
604
642
  },
643
+ {
644
+ "inputs": [
645
+ {
646
+ "internalType": "address",
647
+ "name": "releaseManager",
648
+ "type": "address"
649
+ },
650
+ {
651
+ "internalType": "address",
652
+ "name": "tokenRegistry",
653
+ "type": "address"
654
+ }
655
+ ],
656
+ "name": "initialize",
657
+ "outputs": [],
658
+ "stateMutability": "nonpayable",
659
+ "type": "function"
660
+ },
605
661
  {
606
662
  "inputs": [
607
663
  {
@@ -644,16 +700,49 @@
644
700
  "inputs": [
645
701
  {
646
702
  "internalType": "address",
647
- "name": "token",
703
+ "name": "object",
648
704
  "type": "address"
649
- },
705
+ }
706
+ ],
707
+ "name": "isRegisteredComponent",
708
+ "outputs": [
709
+ {
710
+ "internalType": "bool",
711
+ "name": "",
712
+ "type": "bool"
713
+ }
714
+ ],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "object",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "name": "isRegisteredService",
727
+ "outputs": [
728
+ {
729
+ "internalType": "bool",
730
+ "name": "",
731
+ "type": "bool"
732
+ }
733
+ ],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
650
739
  {
651
740
  "internalType": "VersionPart",
652
- "name": "majorVersion",
741
+ "name": "version",
653
742
  "type": "uint8"
654
743
  }
655
744
  ],
656
- "name": "isTokenActive",
745
+ "name": "isValidRelease",
657
746
  "outputs": [
658
747
  {
659
748
  "internalType": "bool",
@@ -760,14 +849,67 @@
760
849
  },
761
850
  {
762
851
  "inputs": [
852
+ {
853
+ "components": [
854
+ {
855
+ "internalType": "NftId",
856
+ "name": "nftId",
857
+ "type": "uint96"
858
+ },
859
+ {
860
+ "internalType": "NftId",
861
+ "name": "parentNftId",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "ObjectType",
866
+ "name": "objectType",
867
+ "type": "uint8"
868
+ },
869
+ {
870
+ "internalType": "bool",
871
+ "name": "isInterceptor",
872
+ "type": "bool"
873
+ },
874
+ {
875
+ "internalType": "address",
876
+ "name": "objectAddress",
877
+ "type": "address"
878
+ },
879
+ {
880
+ "internalType": "address",
881
+ "name": "initialOwner",
882
+ "type": "address"
883
+ },
884
+ {
885
+ "internalType": "bytes",
886
+ "name": "data",
887
+ "type": "bytes"
888
+ }
889
+ ],
890
+ "internalType": "struct IRegistry.ObjectInfo",
891
+ "name": "info",
892
+ "type": "tuple"
893
+ },
763
894
  {
764
895
  "internalType": "VersionPart",
765
- "name": "newMajorVersion",
896
+ "name": "version",
897
+ "type": "uint8"
898
+ },
899
+ {
900
+ "internalType": "ObjectType",
901
+ "name": "domain",
766
902
  "type": "uint8"
767
903
  }
768
904
  ],
769
- "name": "setMajorVersion",
770
- "outputs": [],
905
+ "name": "registerService",
906
+ "outputs": [
907
+ {
908
+ "internalType": "NftId",
909
+ "name": "nftId",
910
+ "type": "uint96"
911
+ }
912
+ ],
771
913
  "stateMutability": "nonpayable",
772
914
  "type": "function"
773
915
  },
@@ -775,22 +917,68 @@
775
917
  "inputs": [
776
918
  {
777
919
  "internalType": "address",
778
- "name": "token",
920
+ "name": "stakingAddress",
779
921
  "type": "address"
780
- },
922
+ }
923
+ ],
924
+ "name": "registerStaking",
925
+ "outputs": [],
926
+ "stateMutability": "nonpayable",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [
781
931
  {
782
- "internalType": "VersionPart",
783
- "name": "majorVersion",
784
- "type": "uint8"
785
- },
932
+ "components": [
933
+ {
934
+ "internalType": "NftId",
935
+ "name": "nftId",
936
+ "type": "uint96"
937
+ },
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "parentNftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "ObjectType",
945
+ "name": "objectType",
946
+ "type": "uint8"
947
+ },
948
+ {
949
+ "internalType": "bool",
950
+ "name": "isInterceptor",
951
+ "type": "bool"
952
+ },
953
+ {
954
+ "internalType": "address",
955
+ "name": "objectAddress",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "initialOwner",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "bytes",
965
+ "name": "data",
966
+ "type": "bytes"
967
+ }
968
+ ],
969
+ "internalType": "struct IRegistry.ObjectInfo",
970
+ "name": "info",
971
+ "type": "tuple"
972
+ }
973
+ ],
974
+ "name": "registerWithCustomType",
975
+ "outputs": [
786
976
  {
787
- "internalType": "bool",
788
- "name": "active",
789
- "type": "bool"
977
+ "internalType": "NftId",
978
+ "name": "nftId",
979
+ "type": "uint96"
790
980
  }
791
981
  ],
792
- "name": "setTokenActive",
793
- "outputs": [],
794
982
  "stateMutability": "nonpayable",
795
983
  "type": "function"
796
984
  },
@@ -810,136 +998,116 @@
810
998
  "type": "bool"
811
999
  }
812
1000
  ],
813
- "stateMutability": "view",
1001
+ "stateMutability": "pure",
814
1002
  "type": "function"
815
1003
  }
816
1004
  ],
817
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162005070380380620050708339810160408190526200003491620010b6565b620000766301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e65722069732030000000604482015260640160405180910390fd5b604051632392b61b60e21b81526003600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620010fb565b6001805460ff191660ff9290921691821790556040519081527ff5fb08b0be3b39e7b690d5444a6da718afcc193591667aec8d057e23cbe3f98f9060200160405180910390a1306040516200019d9062001091565b6001600160a01b039091168152602001604051809103906000f080158015620001ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055620001f562000259565b620002008262000479565b6200020b8262000826565b6200021562000bab565b63e14a543960e01b60009081526020527f55ee1a05a13edf710bfa198906ddef66d1a7e1374fb385d26fbb3ace1a097fe6805460ff191660011790555050620012fb565b600b5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620002a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ca919062001120565b9050600081600b546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200031e57600080fd5b505af115801562000333573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b031681526020016200036162000f0560201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03898116865260028086529584902089518154968b0151958b0151938b01519083166001600160c01b0319909716969096176c0100000000000000000000000095909216949094021761ffff60c01b1916600160c01b919096160260ff60c81b191694909417600160c81b921515929092029190911781559284015191830180546001600160a01b03199081166001600160a01b039485161790915560a085015191840180549091169190921617905560c08201516003820190620004729082620011df565b5050505050565b600b54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620004c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ea919062001120565b600b5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000560919062001120565b8314620005ef576200057162000f0a565b600b5460408051632e85b1f360e01b81529051620005e7926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620005be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062001120565b90565b90506200063f565b600b5460408051632cc7144960e11b815290516200063c926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620005be573d6000803e3d6000fd5b90505b600b546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b1580156200068e57600080fd5b505af1158015620006a3573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b03168152602001620006e06200107d60201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260028086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b03199097169390921692909217949094179290921692909217939093178355928401516001830180549185166001600160a01b031992831617905560a085015191830180549290941691161790915560c08201516003820190620007e69082620011df565b505030600090815260036020526040902080546001600160601b039094166001600160601b03199485168117909155600a80549094161790925550505050565b600b54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa15801562000871573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000897919062001120565b9050600081600b546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b158015620008ed57600080fd5b505af115801562000902573d6000803e3d6000fd5b50506040805160e0810182526001600160601b03858116808352600a5482166020808501918252603c85870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526002968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a1617969096179390931696909617959095178355516001830180549186166001600160a01b0319928316179055955190820180549190941695169490941790915551909350909150600382019062000a1a9082620011df565b505033600090815260036020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000a7c91849101620012ab565b60408051808303601f19018152828252805160209182012060008181526009909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000af4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b1a9190620010fb565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526008909152902062000b708382620011df565b5050600a80546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f39c85350cb25aa1fda4cd5e9139db6eb90aeebc6c2b5bffd11d297ac50f9a32b805460ff19166001908117909155603c600090815260056020527f251d9ec284fd981039307083734139a5137ee1b6185374514892855fcbc5bd9d9062000c11602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c45604690565b60ff1660ff168152602001908152602001600020600062000c6b6200107d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c9f606e90565b60ff1660ff168152602001908152602001600020600062000cc56200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000cf9607890565b60ff1660ff168152602001908152602001600020600062000d1f6200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000d53608290565b60ff1660ff168152602001908152602001600020600062000d796200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000dad608c90565b60ff1660ff168152602001908152602001600020600062000dd36200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e0760d290565b60ff1660ff168152602001908152602001600020600062000e2d6200108760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e6160dc90565b60ff1660ff168152602001908152602001600020600062000e876200108c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000ebb605090565b60ff1660ff168152602001908152602001600020600062000ee16200108c60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600b5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000f55573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f7b919062001120565b600b546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b15801562000fca57600080fd5b505af115801562000fdf573d6000803e3d6000fd5b50505050600062000ff682620005e460201b60201c565b90506040518060e00160405280826001600160601b031681526020016200106a600b60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005be573d6000803e3d6000fd5b6001600160601b03168152602001620003725b602890565b604690565b606e90565b608c90565b611e3d806200323383390190565b805160ff81168114620010b157600080fd5b919050565b60008060408385031215620010ca57600080fd5b82516001600160a01b0381168114620010e257600080fd5b9150620010f2602084016200109f565b90509250929050565b6000602082840312156200110e57600080fd5b62001119826200109f565b9392505050565b6000602082840312156200113357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200116557607f821691505b6020821081036200118657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620011da57600081815260208120601f850160051c81016020861015620011b55750805b601f850160051c820191505b81811015620011d657828155600101620011c1565b5050505b505050565b81516001600160401b03811115620011fb57620011fb6200113a565b62001213816200120c845462001150565b846200118c565b602080601f8311600181146200124b5760008415620012325750858301515b600019600386901b1c1916600185901b178555620011d6565b600085815260208120601f198616915b828110156200127c578886015182559484019460019091019084016200125b565b50858210156200129b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620012da57858101830151858201604001528201620012bc565b506000604082860101526040601f19601f8301168501019250505092915050565b611f28806200130b6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063a3bcd81d116100de578063c3c5a54711610097578063dd32047b11610071578063dd32047b146101ba578063e285c9c41461039e578063e74d052f146103a6578063feef0c9b146103b957600080fd5b8063c3c5a54714610359578063cde749f41461028d578063d272ac1e1461036c57600080fd5b8063a3bcd81d146102c0578063a48f42e0146102d3578063a5df9e4e146102e6578063b69b2e11146102f9578063bc36dc911461030c578063bfcdd7361461031d57600080fd5b806338e19a751161013057806338e19a751461022b5780633fe9300e14610245578063644c45e0146102685780637374162b1461028d578063893d20e8146102985780638b09a5f0146102a057600080fd5b806301ffc9a7146101785780630dab67c5146101ba57806314afd79e146101d05780631a848cfb146101fb5780632849697c1461020357806338bb429a14610218575b600080fd5b6101a561018636600461178d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2600381565b6040519081526020016101b1565b6101e36101de3660046117e6565b6103cc565b6040516001600160a01b0390911681526020016101b1565b6101c26104e2565b610216610211366004611836565b610555565b005b6101e36102263660046118a1565b610956565b6102336109ac565b60405160ff90911681526020016101b1565b61025b6040518060200160405280600081525081565b6040516101b1919061190e565b600a546001600160601b03165b6040516001600160601b0390911681526020016101b1565b60015460ff16610233565b6101e3610a23565b6102b36102ae3660046117e6565b610a2e565b6040516101b19190611921565b6101e36102ce366004611a7a565b610b94565b6102b36102e13660046118a1565b610bea565b6102756102f4366004611b00565b610cbd565b61025b6103073660046118a1565b611285565b600b546001600160a01b03166101e3565b6101a561032b366004611bd3565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b6101a56103673660046117e6565b611331565b61027561037a3660046117e6565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101e3600181565b6101a56103b43660046118a1565b6113c8565b6102166103c7366004611c01565b611422565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611c1e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611c3b565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611c58565b905090565b61055d610a23565b6001600160a01b0316336001600160a01b0316146105955760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061063b90611c71565b80601f016020809104026020016040519081016040528092919081815260200182805461066790611c71565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611cab565b156107695760405163ddef98d760e01b81526001600160a01b038516600482015260240161058c565b6107858160400151610779603290565b60ff9081169116141590565b156107ad57604051629fd8a560e11b81526001600160a01b038516600482015260240161058c565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c58565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c58565b905060038210806108b657508082115b156108d95760405163374a659160e21b815260ff8616600482015260240161058c565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610433565b604051632392b61b60e21b81526003600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611cc8565b6000610550306103cc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610b0b90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611c71565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050815250509050919050565b60008083604051602001610ba8919061190e565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610b0b90611c71565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610d0a576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610daf90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90611c71565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e675760405163b0014c0760e01b815260040160405180910390fd5b6000610e81886060015189608001518660600151856115ea565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610ecc929091879190600401611ce5565b6020604051808303816000875af1158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f9190611c58565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110629190611d69565b50505060808901516001600160a01b0316156111f05760ff80881660009081526005602090815260408083208885168452909152812054909116151590036110ca57604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190611cab565b1561118f5760405163fdcce17f60e01b81526001600160a01b038216600482015260240161058c565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b161790556111dc886111d1603c90565b60ff90811691161490565b156111ea576111ea8a611628565b50611242565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361124257604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516112719190611921565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906112ac90611c71565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890611c71565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611cab565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611387565b61142a610a23565b6001600160a01b0316336001600160a01b03161461145d5760405163245aecd360e01b815233600482015260240161058c565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da9190611c58565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220c02111bfc1745238d5ed0c2884c130c5bf93d8ad7a5e25aae3575fdca7d43f7564736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
818
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063a3bcd81d116100de578063c3c5a54711610097578063dd32047b11610071578063dd32047b146101ba578063e285c9c41461039e578063e74d052f146103a6578063feef0c9b146103b957600080fd5b8063c3c5a54714610359578063cde749f41461028d578063d272ac1e1461036c57600080fd5b8063a3bcd81d146102c0578063a48f42e0146102d3578063a5df9e4e146102e6578063b69b2e11146102f9578063bc36dc911461030c578063bfcdd7361461031d57600080fd5b806338e19a751161013057806338e19a751461022b5780633fe9300e14610245578063644c45e0146102685780637374162b1461028d578063893d20e8146102985780638b09a5f0146102a057600080fd5b806301ffc9a7146101785780630dab67c5146101ba57806314afd79e146101d05780631a848cfb146101fb5780632849697c1461020357806338bb429a14610218575b600080fd5b6101a561018636600461178d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2600381565b6040519081526020016101b1565b6101e36101de3660046117e6565b6103cc565b6040516001600160a01b0390911681526020016101b1565b6101c26104e2565b610216610211366004611836565b610555565b005b6101e36102263660046118a1565b610956565b6102336109ac565b60405160ff90911681526020016101b1565b61025b6040518060200160405280600081525081565b6040516101b1919061190e565b600a546001600160601b03165b6040516001600160601b0390911681526020016101b1565b60015460ff16610233565b6101e3610a23565b6102b36102ae3660046117e6565b610a2e565b6040516101b19190611921565b6101e36102ce366004611a7a565b610b94565b6102b36102e13660046118a1565b610bea565b6102756102f4366004611b00565b610cbd565b61025b6103073660046118a1565b611285565b600b546001600160a01b03166101e3565b6101a561032b366004611bd3565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b6101a56103673660046117e6565b611331565b61027561037a3660046117e6565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101e3600181565b6101a56103b43660046118a1565b6113c8565b6102166103c7366004611c01565b611422565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611c1e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611c3b565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611c58565b905090565b61055d610a23565b6001600160a01b0316336001600160a01b0316146105955760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061063b90611c71565b80601f016020809104026020016040519081016040528092919081815260200182805461066790611c71565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611cab565b156107695760405163ddef98d760e01b81526001600160a01b038516600482015260240161058c565b6107858160400151610779603290565b60ff9081169116141590565b156107ad57604051629fd8a560e11b81526001600160a01b038516600482015260240161058c565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c58565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c58565b905060038210806108b657508082115b156108d95760405163374a659160e21b815260ff8616600482015260240161058c565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610433565b604051632392b61b60e21b81526003600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611cc8565b6000610550306103cc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610b0b90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611c71565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050815250509050919050565b60008083604051602001610ba8919061190e565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610b0b90611c71565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610d0a576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610daf90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90611c71565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e675760405163b0014c0760e01b815260040160405180910390fd5b6000610e81886060015189608001518660600151856115ea565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610ecc929091879190600401611ce5565b6020604051808303816000875af1158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f9190611c58565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110629190611d69565b50505060808901516001600160a01b0316156111f05760ff80881660009081526005602090815260408083208885168452909152812054909116151590036110ca57604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190611cab565b1561118f5760405163fdcce17f60e01b81526001600160a01b038216600482015260240161058c565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b161790556111dc886111d1603c90565b60ff90811691161490565b156111ea576111ea8a611628565b50611242565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361124257604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516112719190611921565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906112ac90611c71565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890611c71565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611cab565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611387565b61142a610a23565b6001600160a01b0316336001600160a01b03161461145d5760405163245aecd360e01b815233600482015260240161058c565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da9190611c58565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c63430008140033",
1005
+ "bytecode": "0x60806040523480156200001157600080fd5b50600780546001600160a01b03191633179055604051309062000034906200133c565b6001600160a01b039091168152602001604051809103906000f08015801562000061573d6000803e3d6000fd5b50600680546001600160a01b0319166001600160a01b03929092169190911790556200008c620000a7565b62000096620003df565b50620000a162000836565b62001503565b60065460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620000f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011891906200134a565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156200016c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000192919062001364565b600a60146101000a8154816001600160601b0302191690836001600160601b031602179055506040518060e00160405280600a60149054906101000a90046001600160601b03166001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801562000231573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000257919062001364565b6001600160601b03168152602001600a60ff90811682526000602080840182905260408085018390526001606080870182905282518085018452858152608097880152600a546001600160601b03600160a01b909104811686528585529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c0820151600382019062000372908262001437565b50506006546040516340c10f1960e01b815260016004820152602481018490526001600160a01b0390911691506340c10f1990604401600060405180830381600087803b158015620003c357600080fd5b505af1158015620003d8573d6000803e3d6000fd5b5050505050565b600654604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa1580156200042e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045491906200134a565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015620004a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ce919062001364565b600b80546001600160601b0319166001600160601b039290921691909117905560065460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000539573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200055f91906200134a565b82146200066f576200057062000fa3565b73__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf600660009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200060491906200134a565b6040518263ffffffff1660e01b81526004016200062391815260200190565b602060405180830381865af415801562000641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000667919062001364565b905062000684565b50600a54600160a01b90046001600160601b03165b6040805160e081018252600b546001600160601b03908116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529584905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b0319918216179091559251600282018054919096169316929092179093559151909190600382019062000795908262001437565b5050600b543060009081526001602081905260409182902080546001600160601b0319166001600160601b039094169390931790925560065490516340c10f1960e01b81526004810192909252602482018590526001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200081857600080fd5b505af11580156200082d573d6000803e3d6000fd5b50505050505090565b600360209081527ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce400338054600160ff1991821681179092557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557fdd629e5d55690c61d87bb2283f8033a4ed0c9727f0b3cc897e051f7afda800a580548216831790557f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c516992680548216831790557f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a3880548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557f0c91243f75e216cf1d80d738f653c23abf15a7e3590b83c6e4772e2ddcffe53380548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc580548216831790557fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa80548216831790557fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f80548216831790557fa4b6f6c87384a4c75064343ffd6646b01b98a7d0701dec60343872fe39d788948054821683179055605060009081527fe7defe1a9ee2663e7f593684ebe15b56452e1fa833a7efa12070ad6443b108198054909216909217905560065460408051630559ea4760e01b815260026004820152905192936001600160a01b0390921692630559ea47926024808401939192918290030181865afa15801562000ab3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ad991906200134a565b9050600660009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000b2f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b5591906200134a565b810362000bb25760286000527f2b634da6ab875d88498f503820d9b51f6eb10d3d2f378c32aef2289b509f3def6020527fac621d26042dfe10310b72d8951561de271dc6107fd5a2425e402b562f352a6e805460ff191660011790555b7f660fb3ca8607bfed7d8cb37f84121cb75b09f064d778ef290faa2cba4e9d1a0c805460ff191660019081179091556032600090815260046020527feaa72e3626d79eea854e214b64a34b95d0c9348f5b8df0b074d774f7dba83c659062000c18602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000c4c604690565b60ff1660ff168152602001908152602001600020600062000c726200132360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000ca6606e90565b60ff1660ff168152602001908152602001600020600062000ccc6200132860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d00607890565b60ff1660ff168152602001908152602001600020600062000d266200132860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d5a608290565b60ff1660ff168152602001908152602001600020600062000d806200132860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000db4608c90565b60ff1660ff168152602001908152602001600020600062000dda6200132860201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000e0e607a90565b60ff1660ff168152602001908152602001600020600062000e346200133760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000e6860d390565b60ff1660ff168152602001908152602001600020600062000e8e6200132d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000ec260dc90565b60ff1660ff168152602001908152602001600020600062000ee86200133260201b60201c565b60ff1681526020808201929092526040016000908120805460ff191693151593909317909255605082526005905260019060008051602062005efd8339815191529062000f33600a90565b60ff1681526020808201929092526040016000908120805460ff191693151593909317909255605082526005905260019060008051602062005efd8339815191529062000f7e604690565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60065460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000fee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101491906200134a565b60405163efac97cf60e01b81526004810182905290915060009073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156200106b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001091919062001364565b90506040518060e00160405280826001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63efac97cf600660009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200111b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200114191906200134a565b6040518263ffffffff1660e01b81526004016200116091815260200190565b602060405180830381865af41580156200117e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011a4919062001364565b6001600160601b03168152602001602860ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528585529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620012b5908262001437565b50506006546040516340c10f1960e01b815260016004820152602481018590526001600160a01b0390911691506340c10f1990604401600060405180830381600087803b1580156200130657600080fd5b505af11580156200131b573d6000803e3d6000fd5b505050505050565b602890565b604690565b606e90565b608c90565b607890565b611ed4806200402983390190565b6000602082840312156200135d57600080fd5b5051919050565b6000602082840312156200137757600080fd5b81516001600160601b03811681146200138f57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620013c157607f821691505b602082108103620013e257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200143257600081815260208120601f850160051c81016020861015620014115750805b601f850160051c820191505b818110156200131b578281556001016200141d565b505050565b81516001600160401b0381111562001453576200145362001396565b6200146b81620014648454620013ac565b84620013e8565b602080601f831160018114620014a357600084156200148a5750858301515b600019600386901b1c1916600185901b1785556200131b565b600085815260208120601f198616915b82811015620014d457888601518255948401946001909101908401620014b3565b5085821015620014f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612b1680620015136000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c8063a48f42e01161011a578063d2213b5b116100ad578063e74d052f1161007c578063e74d052f146104af578063f40d7c30146104c2578063f7dd05ba146104ca578063fee11aaf146104dd578063fff74f6c146104ee57600080fd5b8063d2213b5b14610418578063d272ac1e14610438578063d39e60431461046a578063e285c9c4146104a757600080fd5b8063ae8dfb79116100e9578063ae8dfb79146103d9578063c3c5a547146103e1578063caed9897146103f4578063d1982d881461040557600080fd5b8063a48f42e01461038d578063a52ec529146103a0578063a5df9e4e146103b3578063a7050a56146103c657600080fd5b80631a848cfb1161019d578063485cc9551161016c578063485cc95514610325578063644c45e014610338578063839f700c1461035d578063893d20e8146103655780638b09a5f01461036d57600080fd5b80631a848cfb146102c65780632b91e0a9146102dc57806338bb429a146102ef5780633fe9300e1461030257600080fd5b8063120726c3116101d9578063120726c31461027a57806314afd79e1461028b57806317dc5e2a1461029e578063186664d8146102b157600080fd5b806301ffc9a71461020b5780630e41142e146102335780630e6d1de91461024d5780630e9ed68b14610255575b600080fd5b61021e610219366004611d56565b610506565b60405190151581526020015b60405180910390f35b61023b61054c565b60405160ff909116815260200161022a565b61023b6105bf565b6009546001600160a01b03165b6040516001600160a01b03909116815260200161022a565b6006546001600160a01b0316610262565b610262610299366004611d98565b610609565b61021e6102ac366004611d98565b610720565b6102c46102bf366004611d98565b61078a565b005b6102ce610b2f565b60405190815260200161022a565b61021e6102ea366004611d98565b610b9d565b6102626102fd366004611dd5565b610be1565b6103186040518060200160405280600081525081565b60405161022a9190611e38565b6102c4610333366004611e4b565b610c37565b600b546001600160601b03165b6040516001600160601b03909116815260200161022a565b6102ce600381565b610262610dad565b61038061037b366004611d98565b610db8565b60405161022a9190611e84565b61038061039b366004611dd5565b610f1c565b61021e6103ae366004611f21565b610fee565b6103456103c13660046120e1565b61105e565b6103456103d4366004612115565b6111e3565b6102ce600281565b61021e6103ef366004611d98565b6113a0565b6008546001600160a01b0316610262565b6103456104133660046120e1565b611413565b61042b610426366004611f21565b611562565b60405161022a919061233b565b610345610446366004611d98565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102626104783660046123fe565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b610262600181565b61021e6104bd366004611dd5565b61161f565b61023b611679565b6102626104d8366004611f21565b6116c3565b600a546001600160a01b0316610262565b600a54600160a01b90046001600160601b0316610345565b60006001600160e01b031982166301ffc9a760e01b148061053757506001600160e01b03198216634ecea1f160e11b145b1561054457506001919050565b506000919050565b600a54604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa158015610596573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612437565b905090565b600a5460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa158015610596573d6000803e3d6000fd5b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af415801561068d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b19190612454565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015b602060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a9190612471565b92915050565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b90049091168083529082205461078390600160c01b900460ff16610778604690565b60ff90811691161490565b9392505050565b600a546001600160a01b031633146107b45760405162783d2b60e21b815260040160405180910390fd5b6009546001600160a01b0316156107f25760095460405163c3408f4b60e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b600980546001600160a01b0319166001600160a01b03831690811790915560408051631127a41d60e31b815290516000929163893d20e89160048083019260209291908290030181865afa15801561084e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108729190612471565b600654604051630559ea4760e01b8152600360048201529192506000916001600160a01b0390911690630559ea4790602401602060405180830381865afa1580156108c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e5919061248e565b60405163efac97cf60e01b81526004810182905290915060009073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190612454565b6009546001600160a01b031660009081526001602090815260409182902080546bffffffffffffffffffffffff19166001600160601b03858116918217909255835160e081018552908152600b549091169181019190915291925081016109c4602d90565b60ff9081168252600060208084018290526009546001600160a01b03908116604080870191909152898216606080880191909152815180850183528581526080978801526001600160601b03808a1686528585529482902088518154958a0151938a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b19938716600160601b026001600160c01b03199096169290961691909117939093171692909217929092178255918301516001820180549184166001600160a01b031992831617905560a08401516002830180549190941691161790915560c08201516003820190610ac09082612530565b50506006546040516340c10f1960e01b81526001600160a01b0386811660048301526024820186905290911691506340c10f1990604401600060405180830381600087803b158015610b1157600080fd5b505af1158015610b25573d6000803e3d6000fd5b5050505050505050565b600654604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba919061248e565b6001600160a01b0381166000908152600160209081526040808320546001600160601b031683529082905281205461071a90600160c01b900460ff16610778603c90565b60065460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610670565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015610c7c5750825b90506000826001600160401b03166001148015610c985750303b155b905081158015610ca6575080155b15610cc45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cee57845460ff60401b1916600160401b1785555b6007546001600160a01b03163314610d2e576007546040516325977f5b60e01b81526001600160a01b0390911660048201523360248201526044016107e9565b600a80546001600160a01b03808a166001600160a01b03199283161790925560088054928916929091169190911790558315610da457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60006105ba30610609565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c084019190610e93906124a7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebf906124a7565b8015610f0c5780601f10610ee157610100808354040283529160200191610f0c565b820191906000526020600020905b815481529060010190602001808311610eef57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c084019190610e93906124a7565b600a5460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a91906125ef565b600a54604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156110a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cb91906125ef565b6110e857604051639404710360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b031660009081529081905291909120546080840151600160c01b90910460ff16906001600160a01b03166111805760ff808316600090815260056020908152604080832085851684529091528120549091161515900361117b5760405163347a1f9760e21b815260ff8084166004830152821660248201526044016107e9565b6111d2565b60ff80831660009081526004602090815260408083208585168452909152812054909116151590036111d25760405163347a1f9760e21b815260ff8084166004830152821660248201526044016107e9565b6111db846116f7565b949350505050565b600a546000906001600160a01b031633146112105760405162783d2b60e21b815260040160405180910390fd5b608084015160405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128b91906125ef565b156112b45760405163b580d22160e01b81526001600160a01b03821660048201526024016107e9565b60ff8085166000908152600260209081526040808320938716835292905220546001600160a01b03161561131757604051632a16d08d60e01b81526001600160a01b038216600482015260ff8086166024830152841660448201526064016107e9565b60ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b038316179055611358856116f7565b6040805160ff8088168252861660208201529193507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1509392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af415801561103a573d6000803e3d6000fd5b600a54604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa15801561145c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148091906125ef565b61149d57604051639404710360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b900481169116156114f9576040516368f27c4360e11b815260040160405180910390fd5b61150481600a610778565b806115155750611515816028610778565b80611526575061152681603c610778565b156115515760405163347a1f9760e21b815260ff8084166004830152821660248201526044016107e9565b61155a846116f7565b505050919050565b6115ac6040518060e00160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff1681525090565b600a5460405163d2213b5b60e01b815260ff841660048201526001600160a01b039091169063d2213b5b90602401600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071a9190810190612980565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf906024016113f6565b600a5460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa158015610596573d6000803e3d6000fd5b600a546040516319d1478b60e01b815260ff831660048201526000916001600160a01b0316906319d1478b906024016106d9565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b0380821660009081528084528b81208c5160e081018e5281548085168252600160601b81049094169581019590955260ff600160c01b840481169d86019d909d52600160c81b909204909b1615159883019890985260018801546001600160a01b039081169683019690965260028801549095169281019290925260038601805495969395919493899392909160c08401916117b7906124a7565b80601f01602080910402602001604051908101604052809291908181526020018280546117e3906124a7565b80156118305780601f1061180557610100808354040283529160200191611830565b820191906000526020600020905b81548152906001019060200180831161181357829003601f168201915b50505091909252505050604081015160808201519192509060ff881660501461187a576001600160a01b03811661187a57604051630bdad98960e11b815260040160405180910390fd5b600061188d888a89876060015186611ce6565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611908919061248e565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197f9190612454565b9a508a8c600001906001600160601b031690816001600160601b0316815250508b6000808d6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081611ace9190612530565b5050506001600160a01b03881615611bd7576001600160a01b038816600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7791906125ef565b15611ba057604051633fa3dceb60e21b81526001600160a01b03891660048201526024016107e9565b6001600160a01b038816600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038d161790555b604080516001600160601b038d811682528816602082015260ff8c16818301528a151560608201526001600160a01b038a81166080830152891660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a16006546040805160208101825260008082529151631109bad360e11b815291926001600160a01b03169163221375a691611c82918c918891600401612a9e565b6020604051808303816000875af1158015611ca1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc5919061248e565b9050818114611cd657611cd6612aca565b5050505050505050505050919050565b6000611cf3856050610778565b15611d0057506000611d34565b6001600160a01b038416611d23578215611d1b575080611d34565b506000611d34565b8515611d30575082611d34565b5060005b95945050505050565b6001600160e01b031981168114611d5357600080fd5b50565b600060208284031215611d6857600080fd5b813561078381611d3d565b6001600160a01b0381168114611d5357600080fd5b8035611d9381611d73565b919050565b600060208284031215611daa57600080fd5b813561078381611d73565b6001600160601b0381168114611d5357600080fd5b8035611d9381611db5565b600060208284031215611de757600080fd5b813561078381611db5565b6000815180845260005b81811015611e1857602081850181015186830182015201611dfc565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006107836020830184611df2565b60008060408385031215611e5e57600080fd5b8235611e6981611d73565b91506020830135611e7981611d73565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611eed60c08401826001600160a01b03169052565b5060c083015160e0808401526111db610100840182611df2565b60ff81168114611d5357600080fd5b8035611d9381611f07565b600060208284031215611f3357600080fd5b813561078381611f07565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611f7657611f76611f3e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611fa457611fa4611f3e565b604052919050565b8015158114611d5357600080fd5b8035611d9381611fac565b600082601f830112611fd657600080fd5b81356001600160401b03811115611fef57611fef611f3e565b612002601f8201601f1916602001611f7c565b81815284602083860101111561201757600080fd5b816020850160208301376000918101602001919091529392505050565b600060e0828403121561204657600080fd5b61204e611f54565b905061205982611dca565b815261206760208301611dca565b602082015261207860408301611f16565b604082015261208960608301611fba565b606082015261209a60808301611d88565b60808201526120ab60a08301611d88565b60a082015260c08201356001600160401b038111156120c957600080fd5b6120d584828501611fc5565b60c08301525092915050565b6000602082840312156120f357600080fd5b81356001600160401b0381111561210957600080fd5b6111db84828501612034565b60008060006060848603121561212a57600080fd5b83356001600160401b0381111561214057600080fd5b61214c86828701612034565b935050602084013561215d81611f07565b9150604084013561216d81611f07565b809150509250925092565b600081518084526020808501945080840160005b838110156121b15781516001600160a01b03168752958201959082019060010161218c565b509495945050505050565b600081518084526020808501808196508360051b810191508286016000805b86811015612233578385038a52825180518087529087019087870190845b8181101561221e5783516001600160401b0316835292890192918901916001016121f9565b50509a87019a955050918501916001016121db565b509298975050505050505050565b600081518084526020808501808196506005915083821b810183870160005b868110156122fa578383038a5281518051808552908701908785019080881b8601890160005b828110156122e457878203601f1901845284518051808452908c01908c84019060005b818110156122cf5783516001600160e01b0319168352928e0192918e01916001016122a9565b5050958c0195948c0194925050600101612286565b509c89019c955050509186019150600101612260565b509098975050505050505050565b600081518084526020808501945080840160005b838110156121b157815160ff168752958201959082019060010161231c565b6020815260ff82511660208201526000602083015160e06040840152612365610100840182612178565b90506040840151601f198085840301606086015261238383836121bc565b925060608601519150808584030160808601526123a083836121bc565b925060808601519150808584030160a08601526123bd8383612241565b925060a08601519150808584030160c0860152506123db8282612308565b91505060c08401516123f660e085018264ffffffffff169052565b509392505050565b6000806040838503121561241157600080fd5b823561241c81611f07565b91506020830135611e7981611f07565b8051611d9381611f07565b60006020828403121561244957600080fd5b815161078381611f07565b60006020828403121561246657600080fd5b815161078381611db5565b60006020828403121561248357600080fd5b815161078381611d73565b6000602082840312156124a057600080fd5b5051919050565b600181811c908216806124bb57607f821691505b6020821081036124db57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561252b57600081815260208120601f850160051c810160208610156125085750805b601f850160051c820191505b8181101561252757828155600101612514565b5050505b505050565b81516001600160401b0381111561254957612549611f3e565b61255d8161255784546124a7565b846124e1565b602080601f831160018114612592576000841561257a5750858301515b600019600386901b1c1916600185901b178555612527565b600085815260208120601f198616915b828110156125c1578886015182559484019460019091019084016125a2565b50858210156125df5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561260157600080fd5b815161078381611fac565b60006001600160401b0382111561262557612625611f3e565b5060051b60200190565b600082601f83011261264057600080fd5b815160206126556126508361260c565b611f7c565b82815260059290921b8401810191818101908684111561267457600080fd5b8286015b8481101561269857805161268b81611d73565b8352918301918301612678565b509695505050505050565b600082601f8301126126b457600080fd5b815160206126c46126508361260c565b828152600592831b85018201928282019190878511156126e357600080fd5b8387015b8581101561278d5780516001600160401b03808211156127075760008081fd5b818a0191508a603f83011261271c5760008081fd5b86820151604061272e6126508361260c565b82815291861b8401810191898101908e84111561274b5760008081fd5b948201945b8386101561277b5785519250848316831461276b5760008081fd5b828252948a0194908a0190612750565b895250505094860194505084016126e7565b5090979650505050505050565b600082601f8301126127ab57600080fd5b81516127b96126508261260c565b8082825260208201915060208360051b8601019250858311156127db57600080fd5b602085015b838110156128fd5780516001600160401b038111156127fe57600080fd5b8601603f8101881361280f57600080fd5b60208101516128206126508261260c565b81815260059190911b82016040019060208101908a83111561284157600080fd5b604084015b838110156128e75780516001600160401b0381111561286457600080fd5b8501605f81018d1361287557600080fd5b60408101516128866126508261260c565b81815260059190911b82016060019060208101908f8311156128a757600080fd5b6060840193505b828410156128d25783516128c181611d3d565b8252602093840193909101906128ae565b86525050602093840193919091019050612846565b50865250506020938401939190910190506127e0565b5095945050505050565b600082601f83011261291857600080fd5b815160206129286126508361260c565b82815260059290921b8401810191818101908684111561294757600080fd5b8286015b8481101561269857805161295e81611f07565b835291830191830161294b565b805164ffffffffff81168114611d9357600080fd5b60006020828403121561299257600080fd5b81516001600160401b03808211156129a957600080fd5b9083019060e082860312156129bd57600080fd5b6129c5611f54565b6129ce8361242c565b81526020830151828111156129e257600080fd5b6129ee8782860161262f565b602083015250604083015182811115612a0657600080fd5b612a12878286016126a3565b604083015250606083015182811115612a2a57600080fd5b612a36878286016126a3565b606083015250608083015182811115612a4e57600080fd5b612a5a8782860161279a565b60808301525060a083015182811115612a7257600080fd5b612a7e87828601612907565b60a083015250612a9060c0840161296b565b60c082015295945050505050565b6001600160a01b03848116825283166020820152606060408201819052600090611d3490830184611df2565b634e487b7160e01b600052600160045260246000fdfea2646970667358221220f93579fc77fe34943b34dee58877ecb00b1ddae48cb8e0f151c893dc8a9793bf64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001ed438038062001ed483398101604081905262000034916200012e565b60405180606001604052806024815260200162001eb06024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b611a6d80620004436000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80634f6ccce711610104578063a2309ff8116100a2578063caa0f92a11610071578063caa0f92a146103fa578063e985e9c514610402578063f21de1e814610415578063f76f8d781461042657600080fd5b8063a2309ff8146103c4578063a3f4df7e146103cc578063b88d4fde146103d4578063c87b56dd146103e757600080fd5b806370a08231116100de57806370a0823114610383578063862440e21461039657806395d89b41146103a9578063a22cb465146103b157600080fd5b80634f6ccce714610354578063598e2892146103675780636352211e1461037057600080fd5b806323b872dd1161017c57806340c10f191161014b57806340c10f19146102f057806342842e0e1461030357806342966c68146103165780634f558e791461032957600080fd5b806323b872dd146102985780632e85b1f3146102ab5780632f745c59146102b4578063342ec443146102c757600080fd5b8063081812fc116101b8578063081812fc1461023d578063095ea7b31461026857806318160ddd1461027d578063221375a61461028557600080fd5b806301ffc9a7146101df5780630559ea471461020757806306fdde0314610228575b600080fd5b6101f26101ed366004611471565b61044b565b60405190151581526020015b60405180910390f35b61021a61021536600461148e565b610476565b6040519081526020016101fe565b6102306104ab565b6040516101fe91906114ed565b61025061024b36600461148e565b61053d565b6040516001600160a01b0390911681526020016101fe565b61027b61027636600461151c565b610566565b005b60085461021a565b61021a6102933660046115f2565b610575565b61027b6102a6366004611650565b6106a4565b61021a61083581565b61021a6102c236600461151c565b61074d565b6102506102d536600461148e565b6000908152600a60205260409020546001600160a01b031690565b61027b6102fe36600461151c565b6107b2565b61027b610311366004611650565b6107fe565b61027b61032436600461148e565b610819565b6101f261033736600461148e565b6000908152600260205260409020546001600160a01b0316151590565b61021a61036236600461148e565b610873565b61021a61044d81565b61025061037e36600461148e565b6108cc565b61021a61039136600461168c565b6108d7565b61027b6103a43660046116a7565b61091f565b6102306109ca565b61027b6103bf3660046116ee565b6109d9565b60115461021a565b6102306109e4565b61027b6103e236600461172a565b610a00565b6102306103f536600461148e565b610a1d565b61021a610ac7565b6101f26104103660046117a6565b610ad9565b600c546001600160a01b0316610250565b6102306040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610b07565b92915050565b6000600e54600d54600f548461048c91906117ef565b6104969190611806565b6104a19060646117ef565b6104709190611806565b6060600080546104ba90611819565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690611819565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600061054882610b57565b506000828152600460205260409020546001600160a01b0316610470565b610571828233610b90565b5050565b600c546000906001600160a01b031633146105aa576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b6105b2610b9d565b90506001600160a01b038316156105eb576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b81511561060c576000818152600b6020526040902061060a83826118a1565b505b6011805490600061061c83611961565b919050555061062b8482610bc4565b6001600160a01b0383161561069d5760405163bb1e0e5960e01b81526001600160a01b0385811660048301526024820183905284169063bb1e0e5990604401600060405180830381600087803b15801561068457600080fd5b505af1158015610698573d6000803e3d6000fd5b505050505b9392505050565b6106af838383610bde565b6000818152600a60205260409020546001600160a01b031615610748576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050505b505050565b6000610758836108d7565b82106107895760405163295f44f760e21b81526001600160a01b0384166004820152602481018390526044016105a1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107df576040516399c6cd7160e01b81523360048201526024016105a1565b601180549060006107ef83611961565b91905055506105718282610bc4565b61074883838360405180602001604052806000815250610a00565b600c546001600160a01b03163314610846576040516399c6cd7160e01b81523360048201526024016105a1565b61084f81610b57565b5061085981610c63565b6000818152600b602052604081206108709161140d565b50565b600061087e60085490565b82106108a75760405163295f44f760e21b815260006004820152602481018390526044016105a1565b600882815481106108ba576108ba61197a565b90600052602060002001549050919050565b600061047082610b57565b60006001600160a01b038216610903576040516322718ad960e21b8152600060048201526024016105a1565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b0316331461094c576040516399c6cd7160e01b81523360048201526024016105a1565b805160000361096e57604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461098790611819565b905011156109a85760405163303822c760e21b815260040160405180910390fd5b6109b182610b57565b506000828152600b6020526040902061074882826118a1565b6060600180546104ba90611819565b610571338383610c9e565b604051806060016040528060248152602001611a146024913981565b610a0b8484846106a4565b610a1784848484610d3d565b50505050565b6060610a2882610b57565b506000828152600b602052604090208054610a4290611819565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90611819565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b50505050509050919050565b6000610ad4601054610476565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610b3857506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b6000818152600260205260408120546001600160a01b03168061047057604051637e27328960e01b8152600481018490526024016105a1565b6107488383836001610e66565b6000610baa601054610476565b601080549192506000610bbc83611961565b919050555090565b610571828260405180602001604052806000815250610f6c565b6001600160a01b038216610c0857604051633250574960e11b8152600060048201526024016105a1565b6000610c15838333610f83565b9050836001600160a01b0316816001600160a01b031614610a17576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105a1565b6000610c726000836000610f83565b90506001600160a01b03811661057157604051637e27328960e01b8152600481018390526024016105a1565b6001600160a01b038216610cd057604051630b61174360e31b81526001600160a01b03831660048201526024016105a1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610a1757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610d7f903390889087908790600401611990565b6020604051808303816000875af1925050508015610dba575060408051601f3d908101601f19168201909252610db7918101906119cd565b60015b610e23573d808015610de8576040519150601f19603f3d011682016040523d82523d6000602084013e610ded565b606091505b508051600003610e1b57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610e5f57604051633250574960e11b81526001600160a01b03851660048201526024016105a1565b5050505050565b8080610e7a57506001600160a01b03821615155b15610f3c576000610e8a84610b57565b90506001600160a01b03831615801590610eb65750826001600160a01b0316816001600160a01b031614155b8015610ec95750610ec78184610ad9565b155b15610ef25760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105a1565b8115610f3a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610f768383611058565b6107486000848484610d3d565b600080610f918585856110bd565b90506001600160a01b038116610fee57610fe984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611011565b846001600160a01b0316816001600160a01b0316146110115761101181856111b6565b6001600160a01b03851661102d5761102884611247565b611050565b846001600160a01b0316816001600160a01b0316146110505761105085856112f6565b949350505050565b6001600160a01b03821661108257604051633250574960e11b8152600060048201526024016105a1565b600061109083836000610f83565b90506001600160a01b03811615610748576040516339e3563760e11b8152600060048201526024016105a1565b6000828152600260205260408120546001600160a01b03908116908316156110ea576110ea818486611346565b6001600160a01b0381161561112857611107600085600080610e66565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611157576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006111c1836108d7565b600083815260076020526040902054909150808214611214576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611259906001906119ea565b600083815260096020526040812054600880549394509092849081106112815761128161197a565b9060005260206000200154905080600883815481106112a2576112a261197a565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806112da576112da6119fd565b6001900381819060005260206000200160009055905550505050565b60006001611303846108d7565b61130d91906119ea565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6113518383836113aa565b610748576001600160a01b03831661137f57604051637e27328960e01b8152600481018290526024016105a1565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105a1565b60006001600160a01b038316158015906110505750826001600160a01b0316846001600160a01b031614806113e457506113e48484610ad9565b806110505750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461141990611819565b6000825580601f10611429575050565b601f01602090049060005260206000209081019061087091905b808211156114575760008155600101611443565b5090565b6001600160e01b03198116811461087057600080fd5b60006020828403121561148357600080fd5b813561069d8161145b565b6000602082840312156114a057600080fd5b5035919050565b6000815180845260005b818110156114cd576020818501810151868301820152016114b1565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061069d60208301846114a7565b80356001600160a01b038116811461151757600080fd5b919050565b6000806040838503121561152f57600080fd5b61153883611500565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157757611577611546565b604051601f8501601f19908116603f0116810190828211818310171561159f5761159f611546565b816040528093508581528686860111156115b857600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126115e357600080fd5b61069d8383356020850161155c565b60008060006060848603121561160757600080fd5b61161084611500565b925061161e60208501611500565b9150604084013567ffffffffffffffff81111561163a57600080fd5b611646868287016115d2565b9150509250925092565b60008060006060848603121561166557600080fd5b61166e84611500565b925061167c60208501611500565b9150604084013590509250925092565b60006020828403121561169e57600080fd5b61069d82611500565b600080604083850312156116ba57600080fd5b82359150602083013567ffffffffffffffff8111156116d857600080fd5b6116e4858286016115d2565b9150509250929050565b6000806040838503121561170157600080fd5b61170a83611500565b91506020830135801515811461171f57600080fd5b809150509250929050565b6000806000806080858703121561174057600080fd5b61174985611500565b935061175760208601611500565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a8782356020840161155c565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611500565b91506117d060208401611500565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610470576104706117d9565b80820180821115610470576104706117d9565b600181811c9082168061182d57607f821691505b60208210810361184d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561074857600081815260208120601f850160051c8101602086101561187a5750805b601f850160051c820191505b8181101561189957828155600101611886565b505050505050565b815167ffffffffffffffff8111156118bb576118bb611546565b6118cf816118c98454611819565b84611853565b602080601f83116001811461190457600084156118ec5750858301515b600019600386901b1c1916600185901b178555611899565b600085815260208120601f198616915b8281101561193357888601518255948401946001909101908401611914565b50858210156119515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611973576119736117d9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119c3908301846114a7565b9695505050505050565b6000602082840312156119df57600080fd5b815161069d8161145b565b81810381811115610470576104706117d9565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a26469706673582212201c206c88d68a84c98fed36fe3a883ab4f5bdefae62ce762d8cfdc4ec21cf038664736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e465430c4eb3473a92a4e6b6f491fdd776ad6e2d0aee19320eea501577ea85eb5256d",
1006
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102065760003560e01c8063a48f42e01161011a578063d2213b5b116100ad578063e74d052f1161007c578063e74d052f146104af578063f40d7c30146104c2578063f7dd05ba146104ca578063fee11aaf146104dd578063fff74f6c146104ee57600080fd5b8063d2213b5b14610418578063d272ac1e14610438578063d39e60431461046a578063e285c9c4146104a757600080fd5b8063ae8dfb79116100e9578063ae8dfb79146103d9578063c3c5a547146103e1578063caed9897146103f4578063d1982d881461040557600080fd5b8063a48f42e01461038d578063a52ec529146103a0578063a5df9e4e146103b3578063a7050a56146103c657600080fd5b80631a848cfb1161019d578063485cc9551161016c578063485cc95514610325578063644c45e014610338578063839f700c1461035d578063893d20e8146103655780638b09a5f01461036d57600080fd5b80631a848cfb146102c65780632b91e0a9146102dc57806338bb429a146102ef5780633fe9300e1461030257600080fd5b8063120726c3116101d9578063120726c31461027a57806314afd79e1461028b57806317dc5e2a1461029e578063186664d8146102b157600080fd5b806301ffc9a71461020b5780630e41142e146102335780630e6d1de91461024d5780630e9ed68b14610255575b600080fd5b61021e610219366004611d56565b610506565b60405190151581526020015b60405180910390f35b61023b61054c565b60405160ff909116815260200161022a565b61023b6105bf565b6009546001600160a01b03165b6040516001600160a01b03909116815260200161022a565b6006546001600160a01b0316610262565b610262610299366004611d98565b610609565b61021e6102ac366004611d98565b610720565b6102c46102bf366004611d98565b61078a565b005b6102ce610b2f565b60405190815260200161022a565b61021e6102ea366004611d98565b610b9d565b6102626102fd366004611dd5565b610be1565b6103186040518060200160405280600081525081565b60405161022a9190611e38565b6102c4610333366004611e4b565b610c37565b600b546001600160601b03165b6040516001600160601b03909116815260200161022a565b6102ce600381565b610262610dad565b61038061037b366004611d98565b610db8565b60405161022a9190611e84565b61038061039b366004611dd5565b610f1c565b61021e6103ae366004611f21565b610fee565b6103456103c13660046120e1565b61105e565b6103456103d4366004612115565b6111e3565b6102ce600281565b61021e6103ef366004611d98565b6113a0565b6008546001600160a01b0316610262565b6103456104133660046120e1565b611413565b61042b610426366004611f21565b611562565b60405161022a919061233b565b610345610446366004611d98565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102626104783660046123fe565b60ff9081166000908152600260209081526040808320949093168252929092529020546001600160a01b031690565b610262600181565b61021e6104bd366004611dd5565b61161f565b61023b611679565b6102626104d8366004611f21565b6116c3565b600a546001600160a01b0316610262565b600a54600160a01b90046001600160601b0316610345565b60006001600160e01b031982166301ffc9a760e01b148061053757506001600160e01b03198216634ecea1f160e11b145b1561054457506001919050565b506000919050565b600a54604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa158015610596573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612437565b905090565b600a5460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa158015610596573d6000803e3d6000fd5b6006546001600160a01b0382811660009081526001602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e906024015b602060405180830381865af415801561068d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b19190612454565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015b602060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a9190612471565b92915050565b6001600160a01b0381166000908152600160209081526040808320546001600160601b0390811684529183905280832054600160601b90049091168083529082205461078390600160c01b900460ff16610778604690565b60ff90811691161490565b9392505050565b600a546001600160a01b031633146107b45760405162783d2b60e21b815260040160405180910390fd5b6009546001600160a01b0316156107f25760095460405163c3408f4b60e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b600980546001600160a01b0319166001600160a01b03831690811790915560408051631127a41d60e31b815290516000929163893d20e89160048083019260209291908290030181865afa15801561084e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108729190612471565b600654604051630559ea4760e01b8152600360048201529192506000916001600160a01b0390911690630559ea4790602401602060405180830381865afa1580156108c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e5919061248e565b60405163efac97cf60e01b81526004810182905290915060009073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190612454565b6009546001600160a01b031660009081526001602090815260409182902080546bffffffffffffffffffffffff19166001600160601b03858116918217909255835160e081018552908152600b549091169181019190915291925081016109c4602d90565b60ff9081168252600060208084018290526009546001600160a01b03908116604080870191909152898216606080880191909152815180850183528581526080978801526001600160601b03808a1686528585529482902088518154958a0151938a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b19938716600160601b026001600160c01b03199096169290961691909117939093171692909217929092178255918301516001820180549184166001600160a01b031992831617905560a08401516002830180549190941691161790915560c08201516003820190610ac09082612530565b50506006546040516340c10f1960e01b81526001600160a01b0386811660048301526024820186905290911691506340c10f1990604401600060405180830381600087803b158015610b1157600080fd5b505af1158015610b25573d6000803e3d6000fd5b5050505050505050565b600654604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba919061248e565b6001600160a01b0381166000908152600160209081526040808320546001600160601b031683529082905281205461071a90600160c01b900460ff16610778603c90565b60065460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$94a2c899be079b00d952d0d84fffaa5c34$__906308dc895e90602401610670565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015610c7c5750825b90506000826001600160401b03166001148015610c985750303b155b905081158015610ca6575080155b15610cc45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cee57845460ff60401b1916600160401b1785555b6007546001600160a01b03163314610d2e576007546040516325977f5b60e01b81526001600160a01b0390911660048201523360248201526044016107e9565b600a80546001600160a01b03808a166001600160a01b03199283161790925560088054928916929091169190911790558315610da457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60006105ba30610609565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600160208181526040808420546001600160601b03908116855284835293819020815160e08101835281548087168252600160601b81049096169381019390935260ff600160c01b8604811692840192909252600160c81b90940416151560608201529082015483166080820152600282015490921660a083015260038101805460c084019190610e93906124a7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebf906124a7565b8015610f0c5780601f10610ee157610100808354040283529160200191610f0c565b820191906000526020600020905b815481529060010190602001808311610eef57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b0380831660009081526020818152604091829020825160e08101845281548086168252600160601b81049095169281019290925260ff600160c01b8504811693830193909352600160c81b9093049091161515606082015260018201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c084019190610e93906124a7565b600a5460405163a52ec52960e01b815260ff831660048201526000916001600160a01b03169063a52ec52990602401602060405180830381865afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a91906125ef565b600a54604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156110a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cb91906125ef565b6110e857604051639404710360e01b815260040160405180910390fd5b6040828101516020808501516001600160601b031660009081529081905291909120546080840151600160c01b90910460ff16906001600160a01b03166111805760ff808316600090815260056020908152604080832085851684529091528120549091161515900361117b5760405163347a1f9760e21b815260ff8084166004830152821660248201526044016107e9565b6111d2565b60ff80831660009081526004602090815260408083208585168452909152812054909116151590036111d25760405163347a1f9760e21b815260ff8084166004830152821660248201526044016107e9565b6111db846116f7565b949350505050565b600a546000906001600160a01b031633146112105760405162783d2b60e21b815260040160405180910390fd5b608084015160405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128b91906125ef565b156112b45760405163b580d22160e01b81526001600160a01b03821660048201526024016107e9565b60ff8085166000908152600260209081526040808320938716835292905220546001600160a01b03161561131757604051632a16d08d60e01b81526001600160a01b038216600482015260ff8086166024830152841660448201526064016107e9565b60ff848116600090815260026020908152604080832093871683529290522080546001600160a01b0319166001600160a01b038316179055611358856116f7565b6040805160ff8088168252861660208201529193507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a1509392505050565b6001600160a01b0381166000908152600160205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f906024015b602060405180830381865af415801561103a573d6000803e3d6000fd5b600a54604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa15801561145c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148091906125ef565b61149d57604051639404710360e01b815260040160405180910390fd5b6040808301516020808501516001600160601b031660009081528082528381205460ff80851683526003909352939020549192600160c01b900481169116156114f9576040516368f27c4360e11b815260040160405180910390fd5b61150481600a610778565b806115155750611515816028610778565b80611526575061152681603c610778565b156115515760405163347a1f9760e21b815260ff8084166004830152821660248201526044016107e9565b61155a846116f7565b505050919050565b6115ac6040518060e00160405280600060ff1681526020016060815260200160608152602001606081526020016060815260200160608152602001600064ffffffffff1681525090565b600a5460405163d2213b5b60e01b815260ff841660048201526001600160a01b039091169063d2213b5b90602401600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071a9190810190612980565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063b2466acf906024016113f6565b600a5460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa158015610596573d6000803e3d6000fd5b600a546040516319d1478b60e01b815260ff831660048201526000916001600160a01b0316906319d1478b906024016106d9565b60408082015160608084015160808086015160a0808801516020808a01516001600160601b0380821660009081528084528b81208c5160e081018e5281548085168252600160601b81049094169581019590955260ff600160c01b840481169d86019d909d52600160c81b909204909b1615159883019890985260018801546001600160a01b039081169683019690965260028801549095169281019290925260038601805495969395919493899392909160c08401916117b7906124a7565b80601f01602080910402602001604051908101604052809291908181526020018280546117e3906124a7565b80156118305780601f1061180557610100808354040283529160200191611830565b820191906000526020600020905b81548152906001019060200180831161181357829003601f168201915b50505091909252505050604081015160808201519192509060ff881660501461187a576001600160a01b03811661187a57604051630bdad98960e11b815260040160405180910390fd5b600061188d888a89876060015186611ce6565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663caa0f92a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611908919061248e565b60405163efac97cf60e01b81526004810182905290915073__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197f9190612454565b9a508a8c600001906001600160601b031690816001600160601b0316815250508b6000808d6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081611ace9190612530565b5050506001600160a01b03881615611bd7576001600160a01b038816600090815260016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7791906125ef565b15611ba057604051633fa3dceb60e21b81526001600160a01b03891660048201526024016107e9565b6001600160a01b038816600090815260016020526040902080546bffffffffffffffffffffffff19166001600160601b038d161790555b604080516001600160601b038d811682528816602082015260ff8c16818301528a151560608201526001600160a01b038a81166080830152891660a082015290517f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983879181900360c00190a16006546040805160208101825260008082529151631109bad360e11b815291926001600160a01b03169163221375a691611c82918c918891600401612a9e565b6020604051808303816000875af1158015611ca1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc5919061248e565b9050818114611cd657611cd6612aca565b5050505050505050505050919050565b6000611cf3856050610778565b15611d0057506000611d34565b6001600160a01b038416611d23578215611d1b575080611d34565b506000611d34565b8515611d30575082611d34565b5060005b95945050505050565b6001600160e01b031981168114611d5357600080fd5b50565b600060208284031215611d6857600080fd5b813561078381611d3d565b6001600160a01b0381168114611d5357600080fd5b8035611d9381611d73565b919050565b600060208284031215611daa57600080fd5b813561078381611d73565b6001600160601b0381168114611d5357600080fd5b8035611d9381611db5565b600060208284031215611de757600080fd5b813561078381611db5565b6000815180845260005b81811015611e1857602081850181015186830182015201611dfc565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006107836020830184611df2565b60008060408385031215611e5e57600080fd5b8235611e6981611d73565b91506020830135611e7981611d73565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611eed60c08401826001600160a01b03169052565b5060c083015160e0808401526111db610100840182611df2565b60ff81168114611d5357600080fd5b8035611d9381611f07565b600060208284031215611f3357600080fd5b813561078381611f07565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611f7657611f76611f3e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611fa457611fa4611f3e565b604052919050565b8015158114611d5357600080fd5b8035611d9381611fac565b600082601f830112611fd657600080fd5b81356001600160401b03811115611fef57611fef611f3e565b612002601f8201601f1916602001611f7c565b81815284602083860101111561201757600080fd5b816020850160208301376000918101602001919091529392505050565b600060e0828403121561204657600080fd5b61204e611f54565b905061205982611dca565b815261206760208301611dca565b602082015261207860408301611f16565b604082015261208960608301611fba565b606082015261209a60808301611d88565b60808201526120ab60a08301611d88565b60a082015260c08201356001600160401b038111156120c957600080fd5b6120d584828501611fc5565b60c08301525092915050565b6000602082840312156120f357600080fd5b81356001600160401b0381111561210957600080fd5b6111db84828501612034565b60008060006060848603121561212a57600080fd5b83356001600160401b0381111561214057600080fd5b61214c86828701612034565b935050602084013561215d81611f07565b9150604084013561216d81611f07565b809150509250925092565b600081518084526020808501945080840160005b838110156121b15781516001600160a01b03168752958201959082019060010161218c565b509495945050505050565b600081518084526020808501808196508360051b810191508286016000805b86811015612233578385038a52825180518087529087019087870190845b8181101561221e5783516001600160401b0316835292890192918901916001016121f9565b50509a87019a955050918501916001016121db565b509298975050505050505050565b600081518084526020808501808196506005915083821b810183870160005b868110156122fa578383038a5281518051808552908701908785019080881b8601890160005b828110156122e457878203601f1901845284518051808452908c01908c84019060005b818110156122cf5783516001600160e01b0319168352928e0192918e01916001016122a9565b5050958c0195948c0194925050600101612286565b509c89019c955050509186019150600101612260565b509098975050505050505050565b600081518084526020808501945080840160005b838110156121b157815160ff168752958201959082019060010161231c565b6020815260ff82511660208201526000602083015160e06040840152612365610100840182612178565b90506040840151601f198085840301606086015261238383836121bc565b925060608601519150808584030160808601526123a083836121bc565b925060808601519150808584030160a08601526123bd8383612241565b925060a08601519150808584030160c0860152506123db8282612308565b91505060c08401516123f660e085018264ffffffffff169052565b509392505050565b6000806040838503121561241157600080fd5b823561241c81611f07565b91506020830135611e7981611f07565b8051611d9381611f07565b60006020828403121561244957600080fd5b815161078381611f07565b60006020828403121561246657600080fd5b815161078381611db5565b60006020828403121561248357600080fd5b815161078381611d73565b6000602082840312156124a057600080fd5b5051919050565b600181811c908216806124bb57607f821691505b6020821081036124db57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561252b57600081815260208120601f850160051c810160208610156125085750805b601f850160051c820191505b8181101561252757828155600101612514565b5050505b505050565b81516001600160401b0381111561254957612549611f3e565b61255d8161255784546124a7565b846124e1565b602080601f831160018114612592576000841561257a5750858301515b600019600386901b1c1916600185901b178555612527565b600085815260208120601f198616915b828110156125c1578886015182559484019460019091019084016125a2565b50858210156125df5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561260157600080fd5b815161078381611fac565b60006001600160401b0382111561262557612625611f3e565b5060051b60200190565b600082601f83011261264057600080fd5b815160206126556126508361260c565b611f7c565b82815260059290921b8401810191818101908684111561267457600080fd5b8286015b8481101561269857805161268b81611d73565b8352918301918301612678565b509695505050505050565b600082601f8301126126b457600080fd5b815160206126c46126508361260c565b828152600592831b85018201928282019190878511156126e357600080fd5b8387015b8581101561278d5780516001600160401b03808211156127075760008081fd5b818a0191508a603f83011261271c5760008081fd5b86820151604061272e6126508361260c565b82815291861b8401810191898101908e84111561274b5760008081fd5b948201945b8386101561277b5785519250848316831461276b5760008081fd5b828252948a0194908a0190612750565b895250505094860194505084016126e7565b5090979650505050505050565b600082601f8301126127ab57600080fd5b81516127b96126508261260c565b8082825260208201915060208360051b8601019250858311156127db57600080fd5b602085015b838110156128fd5780516001600160401b038111156127fe57600080fd5b8601603f8101881361280f57600080fd5b60208101516128206126508261260c565b81815260059190911b82016040019060208101908a83111561284157600080fd5b604084015b838110156128e75780516001600160401b0381111561286457600080fd5b8501605f81018d1361287557600080fd5b60408101516128866126508261260c565b81815260059190911b82016060019060208101908f8311156128a757600080fd5b6060840193505b828410156128d25783516128c181611d3d565b8252602093840193909101906128ae565b86525050602093840193919091019050612846565b50865250506020938401939190910190506127e0565b5095945050505050565b600082601f83011261291857600080fd5b815160206129286126508361260c565b82815260059290921b8401810191818101908684111561294757600080fd5b8286015b8481101561269857805161295e81611f07565b835291830191830161294b565b805164ffffffffff81168114611d9357600080fd5b60006020828403121561299257600080fd5b81516001600160401b03808211156129a957600080fd5b9083019060e082860312156129bd57600080fd5b6129c5611f54565b6129ce8361242c565b81526020830151828111156129e257600080fd5b6129ee8782860161262f565b602083015250604083015182811115612a0657600080fd5b612a12878286016126a3565b604083015250606083015182811115612a2a57600080fd5b612a36878286016126a3565b606083015250608083015182811115612a4e57600080fd5b612a5a8782860161279a565b60808301525060a083015182811115612a7257600080fd5b612a7e87828601612907565b60a083015250612a9060c0840161296b565b60c082015295945050505050565b6001600160a01b03848116825283166020820152606060408201819052600090611d3490830184611df2565b634e487b7160e01b600052600160045260246000fdfea2646970667358221220f93579fc77fe34943b34dee58877ecb00b1ddae48cb8e0f151c893dc8a9793bf64736f6c63430008140033",
819
1007
  "linkReferences": {
820
- "contracts/types/NftId.sol": {
1008
+ "contracts/type/NftId.sol": {
821
1009
  "NftIdLib": [
822
1010
  {
823
1011
  "length": 20,
824
- "start": 5920
1012
+ "start": 305
825
1013
  },
826
1014
  {
827
1015
  "length": 20,
828
- "start": 6636
1016
+ "start": 489
829
1017
  },
830
1018
  {
831
1019
  "length": 20,
832
- "start": 7317
1020
+ "start": 1133
833
1021
  },
834
1022
  {
835
1023
  "length": 20,
836
- "start": 9235
1024
+ "start": 1394
837
1025
  },
838
1026
  {
839
1027
  "length": 20,
840
- "start": 9844
841
- }
842
- ]
843
- },
844
- "contracts/types/ObjectType.sol": {
845
- "ObjectTypeLib": [
1028
+ "start": 4144
1029
+ },
846
1030
  {
847
1031
  "length": 20,
848
- "start": 9995
849
- }
850
- ]
851
- },
852
- "contracts/types/Version.sol": {
853
- "VersionLib": [
1032
+ "start": 4271
1033
+ },
854
1034
  {
855
1035
  "length": 20,
856
- "start": 231
1036
+ "start": 7013
857
1037
  },
858
1038
  {
859
1039
  "length": 20,
860
- "start": 2745
1040
+ "start": 7700
861
1041
  },
862
1042
  {
863
1043
  "length": 20,
864
- "start": 7376
865
- }
866
- ],
867
- "VersionPartLib": [
1044
+ "start": 8488
1045
+ },
868
1046
  {
869
1047
  "length": 20,
870
- "start": 6867
1048
+ "start": 10475
871
1049
  },
872
1050
  {
873
1051
  "length": 20,
874
- "start": 6995
1052
+ "start": 11828
875
1053
  },
876
1054
  {
877
1055
  "length": 20,
878
- "start": 10119
1056
+ "start": 12332
1057
+ }
1058
+ ]
1059
+ },
1060
+ "contracts/type/ObjectType.sol": {
1061
+ "ObjectTypeLib": [
1062
+ {
1063
+ "length": 20,
1064
+ "start": 10048
879
1065
  },
880
1066
  {
881
1067
  "length": 20,
882
- "start": 10243
1068
+ "start": 11114
883
1069
  }
884
1070
  ]
885
1071
  }
886
1072
  },
887
1073
  "deployedLinkReferences": {
888
- "contracts/types/NftId.sol": {
1074
+ "contracts/type/NftId.sol": {
889
1075
  "NftIdLib": [
890
1076
  {
891
1077
  "length": 20,
892
- "start": 1045
1078
+ "start": 1618
893
1079
  },
894
1080
  {
895
1081
  "length": 20,
896
- "start": 1761
1082
+ "start": 2305
897
1083
  },
898
1084
  {
899
1085
  "length": 20,
900
- "start": 2442
1086
+ "start": 3093
901
1087
  },
902
1088
  {
903
1089
  "length": 20,
904
- "start": 4360
1090
+ "start": 5080
905
1091
  },
906
1092
  {
907
1093
  "length": 20,
908
- "start": 4969
909
- }
910
- ]
911
- },
912
- "contracts/types/ObjectType.sol": {
913
- "ObjectTypeLib": [
1094
+ "start": 6433
1095
+ },
914
1096
  {
915
1097
  "length": 20,
916
- "start": 5120
1098
+ "start": 6937
917
1099
  }
918
1100
  ]
919
1101
  },
920
- "contracts/types/Version.sol": {
921
- "VersionLib": [
922
- {
923
- "length": 20,
924
- "start": 2501
925
- }
926
- ],
927
- "VersionPartLib": [
928
- {
929
- "length": 20,
930
- "start": 1992
931
- },
932
- {
933
- "length": 20,
934
- "start": 2120
935
- },
1102
+ "contracts/type/ObjectType.sol": {
1103
+ "ObjectTypeLib": [
936
1104
  {
937
1105
  "length": 20,
938
- "start": 5244
1106
+ "start": 4653
939
1107
  },
940
1108
  {
941
1109
  "length": 20,
942
- "start": 5368
1110
+ "start": 5719
943
1111
  }
944
1112
  ]
945
1113
  }