@etherisc/gif-next 0.0.2-ecbd488-936 → 0.0.2-ed1536c-164

Sign up to get free protection for your applications and to get access to all the features.
Files changed (557) 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 +415 -776
  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 -3065
  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 +510 -378
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -123
  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 -349
  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 +389 -117
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +368 -222
  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 +488 -182
  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 +438 -333
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -132
  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/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  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 +60 -31
  253. package/contracts/instance/IInstanceService.sol +66 -13
  254. package/contracts/instance/Instance.sol +149 -364
  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 +313 -141
  259. package/contracts/instance/InstanceServiceManager.sol +12 -25
  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 -30
  298. package/contracts/registry/IRegistryService.sol +46 -28
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +369 -235
  301. package/contracts/registry/RegistryAccessManager.sol +196 -0
  302. package/contracts/registry/RegistryService.sol +113 -205
  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 +64 -80
  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 -719
  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 -444
  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 -839
  449. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  451. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1046
  453. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -448
  455. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  456. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  457. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  458. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  459. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  460. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  461. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  462. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  463. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  464. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  465. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  466. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  467. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  468. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  469. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  470. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  471. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  472. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  473. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  474. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  475. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  476. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  477. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  478. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  479. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  480. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  482. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  483. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  484. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  485. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  486. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  487. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  488. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  489. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  490. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  493. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  494. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  496. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  497. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  498. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  499. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  501. package/contracts/components/BaseComponent.sol +0 -91
  502. package/contracts/components/Distribution.sol +0 -159
  503. package/contracts/components/IBaseComponent.sol +0 -25
  504. package/contracts/components/IDistributionComponent.sol +0 -44
  505. package/contracts/components/IPoolComponent.sol +0 -62
  506. package/contracts/components/IProductComponent.sol +0 -35
  507. package/contracts/components/Pool.sol +0 -242
  508. package/contracts/components/Product.sol +0 -284
  509. package/contracts/experiment/cloning/Cloner.sol +0 -47
  510. package/contracts/experiment/errors/Require.sol +0 -38
  511. package/contracts/experiment/errors/Revert.sol +0 -44
  512. package/contracts/experiment/inheritance/A.sol +0 -53
  513. package/contracts/experiment/inheritance/B.sol +0 -28
  514. package/contracts/experiment/inheritance/C.sol +0 -34
  515. package/contracts/experiment/inheritance/IA.sol +0 -13
  516. package/contracts/experiment/inheritance/IB.sol +0 -10
  517. package/contracts/experiment/inheritance/IC.sol +0 -12
  518. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  519. package/contracts/experiment/statemachine/ISM.sol +0 -25
  520. package/contracts/experiment/statemachine/SM.sol +0 -57
  521. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  522. package/contracts/experiment/types/TypeA.sol +0 -47
  523. package/contracts/experiment/types/TypeB.sol +0 -29
  524. package/contracts/instance/AccessManagedSimple.sol +0 -115
  525. package/contracts/instance/AccessManagerSimple.sol +0 -692
  526. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  527. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  528. package/contracts/instance/base/IInstanceBase.sol +0 -23
  529. package/contracts/instance/base/KeyValueStore.sol +0 -172
  530. package/contracts/instance/module/ISetup.sol +0 -44
  531. package/contracts/instance/module/ITreasury.sol +0 -23
  532. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  533. package/contracts/instance/service/DistributionService.sol +0 -88
  534. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  535. package/contracts/instance/service/IDistributionService.sol +0 -12
  536. package/contracts/instance/service/IPoolService.sol +0 -37
  537. package/contracts/instance/service/IProductService.sol +0 -107
  538. package/contracts/instance/service/PoolService.sol +0 -194
  539. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  540. package/contracts/instance/service/ProductService.sol +0 -543
  541. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  542. package/contracts/shared/ContractDeployerLib.sol +0 -72
  543. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  544. package/contracts/test/TestFee.sol +0 -25
  545. package/contracts/test/TestRegisterable.sol +0 -18
  546. package/contracts/test/TestRoleId.sol +0 -14
  547. package/contracts/test/TestService.sol +0 -24
  548. package/contracts/test/TestToken.sol +0 -26
  549. package/contracts/test/TestVersion.sol +0 -44
  550. package/contracts/test/TestVersionable.sol +0 -17
  551. package/contracts/types/ChainId.sol +0 -38
  552. package/contracts/types/NftIdSet.sol +0 -60
  553. package/contracts/types/NumberId.sol +0 -52
  554. package/contracts/types/RoleId.sol +0 -90
  555. /package/contracts/{types → type}/AddressSet.sol +0 -0
  556. /package/contracts/{types → type}/Key32.sol +0 -0
  557. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,723 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleServiceManager",
4
+ "sourceName": "contracts/pool/BundleServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "registryAddress",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "bytes32",
20
+ "name": "salt",
21
+ "type": "bytes32"
22
+ }
23
+ ],
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "NftId",
31
+ "name": "nftId",
32
+ "type": "uint96"
33
+ }
34
+ ],
35
+ "name": "ErrorNftOwnableAlreadyLinked",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "contractAddress",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableContractNotRegistered",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorNftOwnableInitialOwnerZero",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "account",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ErrorNftOwnableNotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registryAddress",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotRegistry",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorProxyManagerAlreadyDeployed",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "Version",
85
+ "name": "nextVersion",
86
+ "type": "uint24"
87
+ }
88
+ ],
89
+ "name": "ErrorProxyManagerNextVersionNotIncreasing",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "ErrorProxyManagerNotYetDeployed",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "ErrorProxyManagerZeroVersion",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "InvalidInitialization",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "NotInitializing",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": false,
117
+ "internalType": "uint64",
118
+ "name": "version",
119
+ "type": "uint64"
120
+ }
121
+ ],
122
+ "name": "Initialized",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": true,
130
+ "internalType": "address",
131
+ "name": "proxy",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "indexed": false,
136
+ "internalType": "address",
137
+ "name": "initialImplementation",
138
+ "type": "address"
139
+ }
140
+ ],
141
+ "name": "LogProxyManagerVersionableDeployed",
142
+ "type": "event"
143
+ },
144
+ {
145
+ "anonymous": false,
146
+ "inputs": [
147
+ {
148
+ "indexed": true,
149
+ "internalType": "address",
150
+ "name": "proxy",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "indexed": false,
155
+ "internalType": "address",
156
+ "name": "upgradedImplementation",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "LogProxyManagerVersionableUpgraded",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
166
+ "outputs": [
167
+ {
168
+ "internalType": "bytes32",
169
+ "name": "",
170
+ "type": "bytes32"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "initialImplementation",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "internalType": "bytes",
185
+ "name": "initializationData",
186
+ "type": "bytes"
187
+ }
188
+ ],
189
+ "name": "deploy",
190
+ "outputs": [
191
+ {
192
+ "internalType": "contract IVersionable",
193
+ "name": "versionable",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "stateMutability": "nonpayable",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "address",
204
+ "name": "initialImplementation",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "initializationData",
210
+ "type": "bytes"
211
+ },
212
+ {
213
+ "internalType": "bytes32",
214
+ "name": "salt",
215
+ "type": "bytes32"
216
+ }
217
+ ],
218
+ "name": "deployDetermenistic",
219
+ "outputs": [
220
+ {
221
+ "internalType": "contract IVersionable",
222
+ "name": "versionable",
223
+ "type": "address"
224
+ }
225
+ ],
226
+ "stateMutability": "nonpayable",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [],
231
+ "name": "getBundleService",
232
+ "outputs": [
233
+ {
234
+ "internalType": "contract BundleService",
235
+ "name": "",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "proxyOwner",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "internalType": "bytes",
251
+ "name": "deployData",
252
+ "type": "bytes"
253
+ }
254
+ ],
255
+ "name": "getDeployData",
256
+ "outputs": [
257
+ {
258
+ "internalType": "bytes",
259
+ "name": "data",
260
+ "type": "bytes"
261
+ }
262
+ ],
263
+ "stateMutability": "pure",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [],
268
+ "name": "getNftId",
269
+ "outputs": [
270
+ {
271
+ "internalType": "NftId",
272
+ "name": "",
273
+ "type": "uint96"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "getOwner",
282
+ "outputs": [
283
+ {
284
+ "internalType": "address",
285
+ "name": "",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "getProxy",
295
+ "outputs": [
296
+ {
297
+ "internalType": "contract UpgradableProxyWithAdmin",
298
+ "name": "",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "stateMutability": "nonpayable",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "getRegistry",
308
+ "outputs": [
309
+ {
310
+ "internalType": "contract IRegistry",
311
+ "name": "",
312
+ "type": "address"
313
+ }
314
+ ],
315
+ "stateMutability": "view",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "internalType": "bytes",
322
+ "name": "upgradeData",
323
+ "type": "bytes"
324
+ }
325
+ ],
326
+ "name": "getUpgradeData",
327
+ "outputs": [
328
+ {
329
+ "internalType": "bytes",
330
+ "name": "data",
331
+ "type": "bytes"
332
+ }
333
+ ],
334
+ "stateMutability": "pure",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "getVersion",
340
+ "outputs": [
341
+ {
342
+ "internalType": "Version",
343
+ "name": "",
344
+ "type": "uint24"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "idx",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "name": "getVersion",
359
+ "outputs": [
360
+ {
361
+ "internalType": "Version",
362
+ "name": "",
363
+ "type": "uint24"
364
+ }
365
+ ],
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "getVersionCount",
372
+ "outputs": [
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "",
376
+ "type": "uint256"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "Version",
386
+ "name": "_version",
387
+ "type": "uint24"
388
+ }
389
+ ],
390
+ "name": "getVersionInfo",
391
+ "outputs": [
392
+ {
393
+ "components": [
394
+ {
395
+ "internalType": "Version",
396
+ "name": "version",
397
+ "type": "uint24"
398
+ },
399
+ {
400
+ "internalType": "address",
401
+ "name": "implementation",
402
+ "type": "address"
403
+ },
404
+ {
405
+ "internalType": "address",
406
+ "name": "activatedBy",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "Timestamp",
411
+ "name": "activatedAt",
412
+ "type": "uint40"
413
+ },
414
+ {
415
+ "internalType": "Blocknumber",
416
+ "name": "activatedIn",
417
+ "type": "uint32"
418
+ }
419
+ ],
420
+ "internalType": "struct ProxyManager.VersionInfo",
421
+ "name": "",
422
+ "type": "tuple"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "initializeERC165",
431
+ "outputs": [],
432
+ "stateMutability": "nonpayable",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [
437
+ {
438
+ "internalType": "address",
439
+ "name": "initialOwner",
440
+ "type": "address"
441
+ },
442
+ {
443
+ "internalType": "address",
444
+ "name": "registryAddress",
445
+ "type": "address"
446
+ }
447
+ ],
448
+ "name": "initializeNftOwnable",
449
+ "outputs": [],
450
+ "stateMutability": "nonpayable",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [
455
+ {
456
+ "internalType": "address",
457
+ "name": "registry",
458
+ "type": "address"
459
+ }
460
+ ],
461
+ "name": "initializeProxyManager",
462
+ "outputs": [],
463
+ "stateMutability": "nonpayable",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [
468
+ {
469
+ "internalType": "address",
470
+ "name": "registryAddress",
471
+ "type": "address"
472
+ }
473
+ ],
474
+ "name": "initializeRegistryLinked",
475
+ "outputs": [],
476
+ "stateMutability": "nonpayable",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "linkToRegisteredNftId",
482
+ "outputs": [],
483
+ "stateMutability": "nonpayable",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "bytes4",
490
+ "name": "interfaceId",
491
+ "type": "bytes4"
492
+ }
493
+ ],
494
+ "name": "registerInterface",
495
+ "outputs": [],
496
+ "stateMutability": "nonpayable",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [
501
+ {
502
+ "internalType": "bytes4",
503
+ "name": "interfaceId",
504
+ "type": "bytes4"
505
+ }
506
+ ],
507
+ "name": "supportsInterface",
508
+ "outputs": [
509
+ {
510
+ "internalType": "bool",
511
+ "name": "",
512
+ "type": "bool"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "address",
522
+ "name": "newImplementation",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "internalType": "bytes",
527
+ "name": "upgradeData",
528
+ "type": "bytes"
529
+ }
530
+ ],
531
+ "name": "upgrade",
532
+ "outputs": [
533
+ {
534
+ "internalType": "contract IVersionable",
535
+ "name": "versionable",
536
+ "type": "address"
537
+ }
538
+ ],
539
+ "stateMutability": "nonpayable",
540
+ "type": "function"
541
+ }
542
+ ],
543
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162008cd438038062008cd4833981016040819052620000349162000b98565b816200004081620000e9565b50600081604051620000529062000b5f565b8190604051809103906000f590508015801562000073573d6000803e3d6000fd5b50604080516001600160a01b038681166020830152308284015287166060808301919091528251808303909101815260809091019091529091506000620000bc83838662000209565b600580546001600160a01b0319166001600160a01b03929092169190911790555062000d71945050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b0316600081158015620001345750825b90506000826001600160401b03166001148015620001515750303b155b90508115801562000160575080155b156200017f5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b03191660011785558315620001ae57845460ff60401b1916680100000000000000001785555b620001ba3387620003ab565b83156200020157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b60006200021562000444565b6001600160a01b0316336001600160a01b0316146200024e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620002705760405163402b135f60e11b815260040160405180910390fd5b60006200027c62000444565b9050308386826200028e85896200059d565b6040516200029c9062000b6d565b620002aa9392919062000c21565b8190604051809103906000f5905080158015620002cb573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b815290519194506200035e918591630d8e6e2c9160048083019260209291908290030181865afa15801562000330573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000356919062000c58565b8784620005f7565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b620003b5620009ae565b620003c081620009ff565b620003ca62000b17565b6001600160a01b038216620003f25760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620004c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ed919062000c86565b156200057e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000578919062000caa565b91505090565b546c0100000000000000000000000090046001600160a01b0316919050565b60606349bb9e4b60e01b8383604051602401620005bc92919062000cc8565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b620006798373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801562000646573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200066c919062000c58565b62ffffff90811691161490565b1562000698576040516348c618db60e01b815260040160405180910390fd5b60045415620008035760048054620006b39060019062000cf6565b81548110620006c657620006c662000d18565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156200073b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000761919062000d2e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620007b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007dc919062000d2e565b116200080357604051633e614b6d60e11b815262ffffff8416600482015260240162000245565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015620008d7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008fd919062000d48565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620009fd57604051631afcd79f60e31b815260040160405180910390fd5b565b62000a09620009ae565b806001600160a01b03163b60000362000a415760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000245565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000abe575060408051601f3d908101601f1916820190925262000abb9181019062000c86565b60015b62000ae85760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000245565b8062000b135760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000245565b5050565b62000b21620009ae565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61464c806200375983390190565b610f2f8062007da583390190565b80516001600160a01b038116811462000b9357600080fd5b919050565b60008060006060848603121562000bae57600080fd5b62000bb98462000b7b565b925062000bc96020850162000b7b565b9150604084015190509250925092565b6000815180845260005b8181101562000c015760208185018101518683018201520162000be3565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b0384811682528316602082015260606040820181905260009062000c4f9083018462000bd9565b95945050505050565b60006020828403121562000c6b57600080fd5b815162ffffff8116811462000c7f57600080fd5b9392505050565b60006020828403121562000c9957600080fd5b8151801515811462000c7f57600080fd5b60006020828403121562000cbd57600080fd5b62000c7f8262000b7b565b6001600160a01b038316815260406020820181905260009062000cee9083018462000bd9565b949350505050565b81810381811115620005f157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000d4157600080fd5b5051919050565b60006020828403121562000d5b57600080fd5b815164ffffffffff8116811462000c7f57600080fd5b6129d88062000d816000396000f3fe60806040523480156200001157600080fd5b50600436106200015d5760003560e01c8063675393bf11620000c7578063ada9652e1162000086578063ada9652e146200040c578063b88da7591462000423578063c987336c146200043a578063e97fac051462000451578063f7c34ee01462000468578063fed3d63f146200047f57600080fd5b8063675393bf14620003af578063893d20e814620003c65780638e9afce614620003d0578063933a9ce814620003e7578063946dfcfe14620003f957600080fd5b80631775564d11620001205780631775564d1462000219578063214cdb80146200023f57806336fc697e14620002565780634d459c9014620002605780635ab1bd531462000373578063644c45e0146200038557600080fd5b806301ffc9a71462000162578063058f7a9714620001a757806307484e8014620001c05780630d8e6e2c14620001f0578063138461e0146200020f575b600080fd5b6200019262000173366004620015fb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001be620001b836600462001644565b62000491565b005b620001d7620001d13660046200170f565b620005aa565b6040516001600160a01b0390911681526020016200019e565b620001fa6200074c565b60405162ffffff90911681526020016200019e565b620001be620007c2565b620002306200022a3660046200176e565b620009d3565b6040516200019e91906200180c565b620001be62000250366004620015fb565b62000a2d565b620001be62000a5c565b620003156200027136600462001833565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016200019e565b6001546001600160a01b0316620001d7565b60008051602062002983833981519152546040516001600160601b0390911681526020016200019e565b620001be620003c036600462001644565b62000aa4565b620001d762000bbd565b62000230620003e136600462001853565b62000cfc565b6002546001600160a01b0316620001d7565b6004545b6040519081526020016200019e565b620003fd6000805160206200298383398151915281565b620001fa6200043436600462001894565b62000d51565b620001d76200044b3660046200176e565b62000d95565b620001d7620004623660046200176e565b62000fd3565b620001be62000479366004620018ae565b6200116b565b6005546001600160a01b0316620001d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620004d85750825b905060008267ffffffffffffffff166001148015620004f65750303b155b90508115801562000505575080155b15620005245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200054f57845460ff60401b1916600160401b1785555b6200055b33876200116b565b8315620005a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620005b662000bbd565b6001600160a01b0316336001600160a01b031614620005ef5760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620006115760405163402b135f60e11b815260040160405180910390fd5b60006200061d62000bbd565b9050308386826200062f8589620009d3565b6040516200063d90620015ed565b6200064b93929190620018ec565b8190604051809103906000f59050801580156200066c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450620006ff918591630d8e6e2c9160048083019260209291908290030181865afa158015620006d1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006f7919062001923565b8784620011ea565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa15801562000797573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007bd919062001923565b905090565b60006000805160206200298383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000859919062001943565b15620008875780546040516301ab8b6760e21b81526001600160601b039091166004820152602401620005e6565b306200089b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015620008e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200090a919062001943565b620009345760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620005e6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000989573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009af919062001967565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b60606349bb9e4b60e01b8383604051602401620009f292919062001992565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b62000a37620015a1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b62000a66620015a1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62000aae620015a1565b806001600160a01b03163b60000362000ae65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620005e6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000b63575060408051601f3d908101601f1916820190925262000b609181019062001943565b60015b62000b8d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620005e6565b8062000bb85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620005e6565b505b50565b6000806000805160206200298383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000c2f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c55919062001943565b1562000ce6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000cba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ce09190620019b8565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000d1991906200180c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000d695762000d69620019d8565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000da162000bbd565b6001600160a01b0316336001600160a01b03161462000dd65760405163086391f760e31b8152336004820152602401620005e6565b60045460000362000dfa5760405163366dfd2160e21b815260040160405180910390fd5b600062000e0662000bbd565b9050600062000e1d6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000e5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e839190620019b8565b6002549091506001600160a01b03908116908216639623609d828862000ea98962000cfc565b6040518463ffffffff1660e01b815260040162000ec993929190620018ec565b600060405180830381600087803b15801562000ee457600080fd5b505af115801562000ef9573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000f86846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f58573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f7e919062001923565b8785620011ea565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000fdf62000bbd565b6001600160a01b0316336001600160a01b031614620010145760405163086391f760e31b8152336004820152602401620005e6565b60045415620010365760405163402b135f60e11b815260040160405180910390fd5b60006200104262000bbd565b9050308481620010538487620009d3565b6040516200106190620015ed565b6200106f93929190620018ec565b604051809103906000f0801580156200108c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b815290519194506200111f918591630d8e6e2c9160048083019260209291908290030181865afa158015620010f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001117919062001923565b8684620011ea565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b62001175620015a1565b620011808162000aa4565b6200118a62000a5c565b6001600160a01b038216620011b25760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200298383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6200126c8373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801562001239573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200125f919062001923565b62ffffff90811691161490565b156200128b576040516348c618db60e01b815260040160405180910390fd5b60045415620013f65760048054620012a690600190620019ee565b81548110620012b957620012b9620019d8565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156200132e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001354919062001a10565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620013a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013cf919062001a10565b11620013f657604051633e614b6d60e11b815262ffffff84166004820152602401620005e6565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015620014ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014f0919062001a2a565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620015eb57604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f8062001a5483390190565b6000602082840312156200160e57600080fd5b81356001600160e01b0319811681146200162757600080fd5b9392505050565b6001600160a01b038116811462000bba57600080fd5b6000602082840312156200165757600080fd5b813562001627816200162e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200168c57600080fd5b813567ffffffffffffffff80821115620016aa57620016aa62001664565b604051601f8301601f19908116603f01168101908282118183101715620016d557620016d562001664565b81604052838152866020858801011115620016ef57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200172557600080fd5b833562001732816200162e565b9250602084013567ffffffffffffffff8111156200174f57600080fd5b6200175d868287016200167a565b925050604084013590509250925092565b600080604083850312156200178257600080fd5b82356200178f816200162e565b9150602083013567ffffffffffffffff811115620017ac57600080fd5b620017ba858286016200167a565b9150509250929050565b6000815180845260005b81811015620017ec57602081850181015186830182015201620017ce565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620016276020830184620017c4565b62ffffff8116811462000bba57600080fd5b6000602082840312156200184657600080fd5b8135620016278162001821565b6000602082840312156200186657600080fd5b813567ffffffffffffffff8111156200187e57600080fd5b6200188c848285016200167a565b949350505050565b600060208284031215620018a757600080fd5b5035919050565b60008060408385031215620018c257600080fd5b8235620018cf816200162e565b91506020830135620018e1816200162e565b809150509250929050565b6001600160a01b038481168252831660208201526060604082018190526000906200191a90830184620017c4565b95945050505050565b6000602082840312156200193657600080fd5b8151620016278162001821565b6000602082840312156200195657600080fd5b815180151581146200162757600080fd5b6000602082840312156200197a57600080fd5b81516001600160601b03811681146200162757600080fd5b6001600160a01b03831681526040602082018190526000906200188c90830184620017c4565b600060208284031215620019cb57600080fd5b815162001627816200162e565b634e487b7160e01b600052603260045260246000fd5b8181038181111562000a2757634e487b7160e01b600052601160045260246000fd5b60006020828403121562001a2357600080fd5b5051919050565b60006020828403121562001a3d57600080fd5b815164ffffffffff811681146200162757600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212207966e6262ffee9800c39871be69122adcbd02031b25f7a4b3dc664c23b4cbbb964736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61456680620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063675393bf11610104578063aa9acb2c116100a2578063b68d180911610071578063b68d180914610471578063bf7e214f14610480578063e283b4a914610488578063f7c34ee01461049b57600080fd5b8063aa9acb2c14610423578063ad328d9f14610436578063ada9652e14610449578063b5346af51461045e57600080fd5b8063893d20e8116100de578063893d20e8146103ae5780638e32e979146103b65780638fb36037146103c9578063a3f4df7e146103ea57600080fd5b8063675393bf1461037557806376429bc0146103885780637a9e5e4b1461039b57600080fd5b8063214cdb801161017c57806349bb9e4b1161014b57806349bb9e4b146102f85780634adcf9091461030b5780635ab1bd531461031e578063644c45e01461034357600080fd5b8063214cdb80146102b757806327bb7a33146102ca578063329d6e74146102dd57806336fc697e146102f057600080fd5b80630fec111c116101b85780630fec111c14610252578063138461e0146102675780631eff4b221461026f5780631f8e8f36146102a457600080fd5b806301ffc9a7146101df57806306fa4565146102215780630d8e6e2c14610236575b600080fd5b61020c6101ed36600461355c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f36600461359b565b6104ae565b005b61023e61069e565b60405162ffffff9091168152602001610218565b61025a610728565b6040516102189190613608565b6102346108b9565b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102b2366004613798565b610ac0565b6102346102c536600461355c565b610d7c565b6102346102d836600461387d565b610da9565b6102346102eb366004613915565b610e4e565b610234610f93565b610234610306366004613949565b610fd9565b61023461031936600461398e565b6110d8565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206144d1833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b6102346103833660046139ea565b611587565b610234610396366004613a07565b611695565b6102346103a93660046139ea565b611865565b61032b6118e8565b6102346103c4366004613a40565b611a1f565b6103d1611c58565b6040516001600160e01b03199091168152602001610218565b6104166040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102189190613a8b565b610234610431366004613a07565b611c90565b61023461044436600461398e565b611ed9565b6102966000805160206144d183398151915281565b61023461046c36600461359b565b611fc8565b60405160dc8152602001610218565b61032b6121af565b61035d610496366004613ab1565b6121cb565b6102346104a9366004613b92565b612759565b60006104ba608c6127d0565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105209190613bc0565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561057a57600080fd5b505af115801561058e573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f69190613bc0565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b15801561064357600080fd5b505af1158015610657573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107239190613bdd565b905090565b61073061351e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cd9190613c12565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108156118e8565b6001600160a01b0316815260200182600101805461083290613c2f565b80601f016020809104026020016040519081016040528092919081815260200182805461085e90613c2f565b80156108ab5780601f10610880576101008083540402835291602001916108ab565b820191906000526020600020905b81548152906001019060200180831161088e57829003601f168201915b505050505081525091505090565b60006000805160206144d183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c9190613c74565b1561097d5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109906001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156109d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fc9190613c74565b610a245760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610974565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9c9190613c12565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080610acd608c6127d0565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b369190613bc0565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610b89573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bb19190810190613ce1565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c339190613c74565b15610c5c576040516349e9f38360e01b81526001600160601b0387166004820152602401610974565b80516001600160601b03858116911614610ca757805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610974565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190613bc0565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610d4293929190613e3c565b600060405180830381600087803b158015610d5c57600080fd5b505af1158015610d70573d6000803e3d6000fd5b50505050505050505050565b610d8461296c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610db161296c565b610dbb8287612759565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610e448382613eb7565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e7061069e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed49190613f76565b6000805160206145118339815191528054600160401b900460ff1680610f07575080546001600160401b03808416911610155b15610f255760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f4f836129a5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610691565b610f9b61296c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206145118339815191528054600160401b810460ff1615906001600160401b031660008115801561100c5750825b90506000826001600160401b031660011480156110285750303b155b905081158015611036575080155b156110545760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561107e57845460ff60401b1916600160401b1785555b61108887876129ad565b83156110cf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6110e5335b600036612b28565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111499190613bc0565b905060006001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03881660dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156111ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f29190613f9f565b6040518263ffffffff1660e01b815260040161121091815260200190565b60a060405180830381865afa15801561122d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112519190613fe0565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156112a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112d09190810190613ce1565b90506112e58260045b60ff9081169116141590565b8061136f575061136f816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561133c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113609190614077565b64ffffffffff90811691161090565b156113b457608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610974565b6000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190613bc0565b6040516317bb785d60e21b81526001600160601b0388166004820152909150600090819081906001600160a01b03851690635eede17490602401606060405180830381865afa15801561146f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114939190614094565b92509250925060006114ae846114a98585612c26565b612cb5565b90506114ba818a612d00565b156114f35760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610974565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303816000875af115801561154a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156e9190613c12565b506115798c8c612d87565b505050505050505050505050565b61158f61296c565b806001600160a01b03163b6000036115c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610974565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561163f575060408051601f3d908101601f1916820190925261163c91810190613c74565b60015b6116675760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610974565b806116905760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610974565b505b50565b61169e336110dd565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117009190613bc0565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa15801561174f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117739190613c74565b61179b576040516392bb4dff60e01b81526001600160601b0382166004820152602401610974565b816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fd9190613bc0565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe67890602401600060405180830381600087803b15801561184957600080fd5b505af115801561185d573d6000803e3d6000fd5b505050505050565b3361186e6121af565b6001600160a01b0316816001600160a01b0316146118a95760405162d1953b60e31b81526001600160a01b0382166004820152602401610974565b816001600160a01b03163b6000036118df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610974565b6116908261303c565b6000806000805160206144d183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197c9190613c74565b15611a09576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a039190613bc0565b91505090565b54600160601b90046001600160a01b0316919050565b611a2761296c565b611aa783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d9190613c12565b603c60008560405180602001604052806000815250610da9565b6001600160a01b03821615611ac457611abf8261309d565b611c33565b6000611ad86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5c91906140d6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ba1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc59190613bc0565b9050611c31816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2c9190613bc0565b61309d565b505b611c43634a531f3360e01b610d7c565b611c5363b68d180960e01b610d7c565b505050565b6000805160206144f1833981519152805460009190600160a01b900460ff16611c82576000611a03565b638fb3603760e01b91505090565b611c99336110dd565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb9190613bc0565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611d5557600080fd5b505af1158015611d69573d6000803e3d6000fd5b505050506000826001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd19190613bc0565b6040516322cc1d4560e11b81526001600160601b03841660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e489190613f9f565b90508015611e7b576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610974565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b158015611ec557600080fd5b505af1158015610e44573d6000803e3d6000fd5b611ee2336110dd565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f449190613bc0565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303816000875af1158015611f9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc19190613c12565b5050505050565b6000611fd4608c6127d0565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203a9190613bc0565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561209457600080fd5b505af11580156120a8573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121109190613bc0565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b15801561215d57600080fd5b505af1158015612171573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f492506020019050610691565b6000805160206144f1833981519152546001600160a01b031690565b60006121d6336110dd565b600360009054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561224e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122729190613c12565b6001600160601b031681526020018b6001600160601b0316815260200161229760dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018a6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016122f69190613608565b6020604051808303816000875af1158015612315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123399190613c12565b90506000896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561237b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239f9190613bc0565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af415801561246b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248f9190614077565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af41580156124ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125129190614077565b64ffffffffff16815260006020909101526040516001600160e01b031960e085901b1681526125459291906004016140f3565b600060405180830381600087803b15801561255f57600080fd5b505af1158015612573573d6000803e3d6000fd5b50505050600460009054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156125e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061260b9190613c12565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b0392831660248501529082166044840152166064820152608401600060405180830381600087803b15801561266a57600080fd5b505af115801561267e573d6000803e3d6000fd5b5050505060008a6001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e69190613bc0565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b15801561273357600080fd5b505af1158015612747573d6000803e3d6000fd5b50505050505098975050505050505050565b61276161296c565b61276a81611587565b612772610f93565b6001600160a01b0382166127995760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206144d183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006127da61351e565b60006127ee6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612834573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128589190613c12565b925061286483856130ae565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ce9190613bc0565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293c9190613c74565b1561296557604051637d71120960e11b81526001600160601b0384166004820152602401610974565b9193909250565b60008051602061451183398151915254600160401b900460ff166129a357604051631afcd79f60e31b815260040160405180910390fd5b565b6101da61296c565b6000805160206145118339815191528054600160401b810460ff1615906001600160401b03166000811580156129e05750825b90506000826001600160401b031660011480156129fc5750303b155b905081158015612a0a575080155b15612a285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a5257845460ff60401b1916600160401b1785555b60008087806020019051810190612a699190614115565b9092509050612a7a8260008b611a1f565b612a896028613259565b613259565b600380546001600160a01b0319166001600160a01b0392909216919091179055612ab4612a84606490565b600480546001600160a01b0319166001600160a01b0392909216919091179055612ae46375f5307560e01b610d7c565b505083156110cf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016110c6565b6000805160206144f1833981519152600080612b63612b456121af565b8730612b55600460008a8c614144565b612b5e9161416e565b61336c565b915091508161185d5763ffffffff811615612c0357825460ff60a01b1916600160a01b178355612b916121af565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bc09392919061419e565b600060405180830381600087803b158015612bda57600080fd5b505af1158015612bee573d6000803e3d6000fd5b5050845460ff60a01b191685555061185d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610974565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cae9190613c12565b9392505050565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612c6d565b6040516304d40eb160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401602060405180830381865af4158015612d63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cae9190613c74565b6000826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612deb9190613bc0565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612e3e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e669190810190614208565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612ec6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eea9190613c74565b8015612f435750612f43816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561133c573d6000803e3d6000fd5b15612f6c57604051630cd0c0b560e31b81526001600160601b0384166004820152602401610974565b6000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd09190613bc0565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b15801561301d57600080fd5b505af1158015613031573d6000803e3d6000fd5b505050505050505050565b6000805160206144f183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130a561296c565b61169281613478565b6130b661351e565b6000806130cb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa15801561311b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261314391908101906143b3565b92506131508460646112d9565b156131a657604083015160ff8581169116146131a157604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610974565b613242565b6131c183604001516131b6606e90565b60ff90811691161490565b806131d757506131d783604001516131b6608c90565b806131ed57506131ed83604001516131b6607890565b80613203575061320383604001516131b6608290565b61324257604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610974565b61324f8360200151613489565b9150509250929050565b600061326d6001546001600160a01b031690565b6001600160a01b031663d39e60438361328461069e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156132d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fd91906140d6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613342573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133669190613bc0565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516133db9190614485565b600060405180830381855afa9150503d8060008114613416576040519150601f19603f3d011682016040523d82523d6000602084013e61341b565b606091505b5091509150811561346d57604081511061344d578080602001905181019061344391906144a1565b909450925061346d565b602081511061346d578080602001905181019061346a9190613c74565b93505b505094509492505050565b61348061296c565b6116928161303c565b600061349d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261351491908101906143b3565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561356e57600080fd5b81356001600160e01b031981168114612cae57600080fd5b6001600160601b038116811461169257600080fd5b6000602082840312156135ad57600080fd5b8135612cae81613586565b60005b838110156135d35781810151838201526020016135bb565b50506000910152565b600081518084526135f48160208601602086016135b8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161367160c08401826001600160a01b03169052565b5060c083015160e08084015261368b6101008401826135dc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156136cb576136cb613693565b60405290565b60405160c081016001600160401b03811182821017156136cb576136cb613693565b60405161022081016001600160401b03811182821017156136cb576136cb613693565b60405160e081016001600160401b03811182821017156136cb576136cb613693565b604051601f8201601f191681016001600160401b038111828210171561376057613760613693565b604052919050565b60006040828403121561377a57600080fd5b6137826136a9565b9050813581526020820135602082015292915050565b600080606083850312156137ab57600080fd5b82356137b681613586565b91506137c58460208501613768565b90509250929050565b6001600160a01b038116811461169257600080fd5b60ff8116811461169257600080fd5b801515811461169257600080fd5b60006001600160401b0382111561381957613819613693565b50601f01601f191660200190565b600082601f83011261383857600080fd5b813561384b61384682613800565b613738565b81815284602083860101111561386057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561389657600080fd5b86356138a1816137ce565b955060208701356138b181613586565b945060408701356138c1816137e3565b935060608701356138d1816137f2565b925060808701356138e1816137ce565b915060a08701356001600160401b038111156138fc57600080fd5b61390889828a01613827565b9150509295509295509295565b60006020828403121561392757600080fd5b81356001600160401b0381111561393d57600080fd5b61368b84828501613827565b6000806040838503121561395c57600080fd5b8235613967816137ce565b915060208301356001600160401b0381111561398257600080fd5b61324f85828601613827565b600080600080608085870312156139a457600080fd5b84356139af816137ce565b935060208501356139bf81613586565b925060408501356139cf81613586565b915060608501356139df81613586565b939692955090935050565b6000602082840312156139fc57600080fd5b8135612cae816137ce565b60008060408385031215613a1a57600080fd5b8235613a25816137ce565b91506020830135613a3581613586565b809150509250929050565b600080600060608486031215613a5557600080fd5b8335613a60816137ce565b92506020840135613a70816137ce565b91506040840135613a80816137ce565b809150509250925092565b602081526000612cae60208301846135dc565b64ffffffffff8116811461169257600080fd5b600080600080600080600080610100898b031215613ace57600080fd5b8835613ad9816137ce565b97506020890135613ae981613586565b96506040890135613af9816137ce565b9550613b088a60608b01613768565b945060a0890135613b1881613586565b935060c0890135613b2881613a9e565b925060e08901356001600160401b0380821115613b4457600080fd5b818b0191508b601f830112613b5857600080fd5b813581811115613b6757600080fd5b8c6020828501011115613b7957600080fd5b6020830194508093505050509295985092959890939650565b60008060408385031215613ba557600080fd5b8235613bb0816137ce565b91506020830135613a35816137ce565b600060208284031215613bd257600080fd5b8151612cae816137ce565b600060208284031215613bef57600080fd5b815162ffffff81168114612cae57600080fd5b8051613c0d81613586565b919050565b600060208284031215613c2457600080fd5b8151612cae81613586565b600181811c90821680613c4357607f821691505b602082108103613c6357634e487b7160e01b600052602260045260246000fd5b50919050565b8051613c0d816137f2565b600060208284031215613c8657600080fd5b8151612cae816137f2565b600082601f830112613ca257600080fd5b8151613cb061384682613800565b818152846020838601011115613cc557600080fd5b61368b8260208301602087016135b8565b8051613c0d81613a9e565b600060208284031215613cf357600080fd5b81516001600160401b0380821115613d0a57600080fd5b9083019081850360e0811215613d1f57600080fd5b613d276136d1565b8351613d3281613586565b81526040601f1983011215613d4657600080fd5b613d4e6136a9565b60208581015182526040860151818301528201526060840151915082821115613d7657600080fd5b613d8287838601613c91565b6040820152613d9360808501613cd6565b6060820152613da460a08501613cd6565b6080820152613db560c08501613cd6565b60a08201529695505050505050565b6001600160601b03815116825260006020820151805160208501526020810151604085015250604082015160e06060850152613e0360e08501826135dc565b9050606083015164ffffffffff80821660808701528060808601511660a08701528060a08601511660c087015250508091505092915050565b6001600160601b0384168152606060208201526000613e5e6060830185613dc4565b905060ff83166040830152949350505050565b601f821115611c5357600081815260208120601f850160051c81016020861015613e985750805b601f850160051c820191505b8181101561185d57828155600101613ea4565b81516001600160401b03811115613ed057613ed0613693565b613ee481613ede8454613c2f565b84613e71565b602080601f831160018114613f195760008415613f015750858301515b600019600386901b1c1916600185901b17855561185d565b600085815260208120601f198616915b82811015613f4857888601518255948401946001909101908401613f29565b5085821015613f665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613f8857600080fd5b81516001600160401b0381168114612cae57600080fd5b600060208284031215613fb157600080fd5b5051919050565b8051613c0d816137e3565b8051613c0d816137ce565b63ffffffff8116811461169257600080fd5b600060a08284031215613ff257600080fd5b60405160a081018181106001600160401b038211171561401457614014613693565b6040528251614022816137e3565b81526020830151614032816137e3565b60208201526040830151614045816137ce565b6040820152606083015161405881613fce565b6060820152608083015161406b81613fce565b60808201529392505050565b60006020828403121561408957600080fd5b8151612cae81613a9e565b6000806000606084860312156140a957600080fd5b83516140b481613586565b60208501519093506140c581613586565b6040850151909250613a8081613586565b6000602082840312156140e857600080fd5b8151612cae816137e3565b6001600160601b038316815260406020820152600061368b6040830184613dc4565b6000806040838503121561412857600080fd5b8251614133816137ce565b6020840151909250613a35816137ce565b6000808585111561415457600080fd5b8386111561416157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156141965780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613c0d57600080fd5b805161ffff81168114613c0d57600080fd5b60006020828403121561421a57600080fd5b81516001600160401b038082111561423157600080fd5b90830190610220828603121561424657600080fd5b61424e6136f3565b61425783613c02565b815261426560208401613c02565b6020820152614276604084016141de565b6040820152614287606084016141de565b606082015261429860808401613c02565b60808201526142a960a08401613c02565b60a08201526142ba60c08401613c02565b60c08201526142cb60e08401613cd6565b60e082015261010080840151838111156142e457600080fd5b6142f088828701613c91565b828401525050610120808401518381111561430a57600080fd5b61431688828701613c91565b828401525050610140915061432c8284016141f6565b8282015261016091506143408284016141f6565b828201526101809150614354828401613c02565b828201526101a09150614368828401613c02565b828201526101c0915061437c828401613cd6565b828201526101e09150614390828401613cd6565b8282015261020091506143a4828401613cd6565b91810191909152949350505050565b6000602082840312156143c557600080fd5b81516001600160401b03808211156143dc57600080fd5b9083019060e082860312156143f057600080fd5b6143f8613716565b61440183613c02565b815261440f60208401613c02565b602082015261442060408401613fb8565b604082015261443160608401613c69565b606082015261444260808401613fc3565b608082015261445360a08401613fc3565b60a082015260c08301518281111561446a57600080fd5b61447687828601613c91565b60c08301525095945050505050565b600082516144978184602087016135b8565b9190910192915050565b600080604083850312156144b457600080fd5b82516144bf816137f2565b6020840151909250613a3581613fce56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202e35b91649c6f4e8e00ad9ca12a43402e0602de8a940aa91736c93d1f8725b6b64736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
544
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b50600436106200015d5760003560e01c8063675393bf11620000c7578063ada9652e1162000086578063ada9652e146200040c578063b88da7591462000423578063c987336c146200043a578063e97fac051462000451578063f7c34ee01462000468578063fed3d63f146200047f57600080fd5b8063675393bf14620003af578063893d20e814620003c65780638e9afce614620003d0578063933a9ce814620003e7578063946dfcfe14620003f957600080fd5b80631775564d11620001205780631775564d1462000219578063214cdb80146200023f57806336fc697e14620002565780634d459c9014620002605780635ab1bd531462000373578063644c45e0146200038557600080fd5b806301ffc9a71462000162578063058f7a9714620001a757806307484e8014620001c05780630d8e6e2c14620001f0578063138461e0146200020f575b600080fd5b6200019262000173366004620015fb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001be620001b836600462001644565b62000491565b005b620001d7620001d13660046200170f565b620005aa565b6040516001600160a01b0390911681526020016200019e565b620001fa6200074c565b60405162ffffff90911681526020016200019e565b620001be620007c2565b620002306200022a3660046200176e565b620009d3565b6040516200019e91906200180c565b620001be62000250366004620015fb565b62000a2d565b620001be62000a5c565b620003156200027136600462001833565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016200019e565b6001546001600160a01b0316620001d7565b60008051602062002983833981519152546040516001600160601b0390911681526020016200019e565b620001be620003c036600462001644565b62000aa4565b620001d762000bbd565b62000230620003e136600462001853565b62000cfc565b6002546001600160a01b0316620001d7565b6004545b6040519081526020016200019e565b620003fd6000805160206200298383398151915281565b620001fa6200043436600462001894565b62000d51565b620001d76200044b3660046200176e565b62000d95565b620001d7620004623660046200176e565b62000fd3565b620001be62000479366004620018ae565b6200116b565b6005546001600160a01b0316620001d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620004d85750825b905060008267ffffffffffffffff166001148015620004f65750303b155b90508115801562000505575080155b15620005245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200054f57845460ff60401b1916600160401b1785555b6200055b33876200116b565b8315620005a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620005b662000bbd565b6001600160a01b0316336001600160a01b031614620005ef5760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620006115760405163402b135f60e11b815260040160405180910390fd5b60006200061d62000bbd565b9050308386826200062f8589620009d3565b6040516200063d90620015ed565b6200064b93929190620018ec565b8190604051809103906000f59050801580156200066c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b81529051919450620006ff918591630d8e6e2c9160048083019260209291908290030181865afa158015620006d1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006f7919062001923565b8784620011ea565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa15801562000797573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007bd919062001923565b905090565b60006000805160206200298383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000859919062001943565b15620008875780546040516301ab8b6760e21b81526001600160601b039091166004820152602401620005e6565b306200089b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015620008e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200090a919062001943565b620009345760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620005e6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000989573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009af919062001967565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b60606349bb9e4b60e01b8383604051602401620009f292919062001992565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b62000a37620015a1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b62000a66620015a1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62000aae620015a1565b806001600160a01b03163b60000362000ae65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620005e6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000b63575060408051601f3d908101601f1916820190925262000b609181019062001943565b60015b62000b8d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620005e6565b8062000bb85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620005e6565b505b50565b6000806000805160206200298383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000c2f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c55919062001943565b1562000ce6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000cba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ce09190620019b8565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000d1991906200180c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000d695762000d69620019d8565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000da162000bbd565b6001600160a01b0316336001600160a01b03161462000dd65760405163086391f760e31b8152336004820152602401620005e6565b60045460000362000dfa5760405163366dfd2160e21b815260040160405180910390fd5b600062000e0662000bbd565b9050600062000e1d6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000e5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e839190620019b8565b6002549091506001600160a01b03908116908216639623609d828862000ea98962000cfc565b6040518463ffffffff1660e01b815260040162000ec993929190620018ec565b600060405180830381600087803b15801562000ee457600080fd5b505af115801562000ef9573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000f86846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f58573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f7e919062001923565b8785620011ea565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000fdf62000bbd565b6001600160a01b0316336001600160a01b031614620010145760405163086391f760e31b8152336004820152602401620005e6565b60045415620010365760405163402b135f60e11b815260040160405180910390fd5b60006200104262000bbd565b9050308481620010538487620009d3565b6040516200106190620015ed565b6200106f93929190620018ec565b604051809103906000f0801580156200108c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b815290519194506200111f918591630d8e6e2c9160048083019260209291908290030181865afa158015620010f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001117919062001923565b8684620011ea565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b62001175620015a1565b620011808162000aa4565b6200118a62000a5c565b6001600160a01b038216620011b25760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200298383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6200126c8373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801562001239573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200125f919062001923565b62ffffff90811691161490565b156200128b576040516348c618db60e01b815260040160405180910390fd5b60045415620013f65760048054620012a690600190620019ee565b81548110620012b957620012b9620019d8565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156200132e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001354919062001a10565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620013a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013cf919062001a10565b11620013f657604051633e614b6d60e11b815262ffffff84166004820152602401620005e6565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015620014ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014f0919062001a2a565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620015eb57604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f8062001a5483390190565b6000602082840312156200160e57600080fd5b81356001600160e01b0319811681146200162757600080fd5b9392505050565b6001600160a01b038116811462000bba57600080fd5b6000602082840312156200165757600080fd5b813562001627816200162e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200168c57600080fd5b813567ffffffffffffffff80821115620016aa57620016aa62001664565b604051601f8301601f19908116603f01168101908282118183101715620016d557620016d562001664565b81604052838152866020858801011115620016ef57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200172557600080fd5b833562001732816200162e565b9250602084013567ffffffffffffffff8111156200174f57600080fd5b6200175d868287016200167a565b925050604084013590509250925092565b600080604083850312156200178257600080fd5b82356200178f816200162e565b9150602083013567ffffffffffffffff811115620017ac57600080fd5b620017ba858286016200167a565b9150509250929050565b6000815180845260005b81811015620017ec57602081850181015186830182015201620017ce565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620016276020830184620017c4565b62ffffff8116811462000bba57600080fd5b6000602082840312156200184657600080fd5b8135620016278162001821565b6000602082840312156200186657600080fd5b813567ffffffffffffffff8111156200187e57600080fd5b6200188c848285016200167a565b949350505050565b600060208284031215620018a757600080fd5b5035919050565b60008060408385031215620018c257600080fd5b8235620018cf816200162e565b91506020830135620018e1816200162e565b809150509250929050565b6001600160a01b038481168252831660208201526060604082018190526000906200191a90830184620017c4565b95945050505050565b6000602082840312156200193657600080fd5b8151620016278162001821565b6000602082840312156200195657600080fd5b815180151581146200162757600080fd5b6000602082840312156200197a57600080fd5b81516001600160601b03811681146200162757600080fd5b6001600160a01b03831681526040602082018190526000906200188c90830184620017c4565b600060208284031215620019cb57600080fd5b815162001627816200162e565b634e487b7160e01b600052603260045260246000fd5b8181038181111562000a2757634e487b7160e01b600052601160045260246000fd5b60006020828403121562001a2357600080fd5b5051919050565b60006020828403121562001a3d57600080fd5b815164ffffffffff811681146200162757600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212207966e6262ffee9800c39871be69122adcbd02031b25f7a4b3dc664c23b4cbbb964736f6c63430008140033",
545
+ "linkReferences": {
546
+ "contracts/type/Amount.sol": {
547
+ "AmountLib": [
548
+ {
549
+ "length": 20,
550
+ "start": 24031
551
+ },
552
+ {
553
+ "length": 20,
554
+ "start": 25742
555
+ },
556
+ {
557
+ "length": 20,
558
+ "start": 25885
559
+ },
560
+ {
561
+ "length": 20,
562
+ "start": 25960
563
+ }
564
+ ]
565
+ },
566
+ "contracts/type/NftId.sol": {
567
+ "NftIdLib": [
568
+ {
569
+ "length": 20,
570
+ "start": 1164
571
+ },
572
+ {
573
+ "length": 20,
574
+ "start": 5497
575
+ },
576
+ {
577
+ "length": 20,
578
+ "start": 6517
579
+ },
580
+ {
581
+ "length": 20,
582
+ "start": 16289
583
+ },
584
+ {
585
+ "length": 20,
586
+ "start": 16685
587
+ },
588
+ {
589
+ "length": 20,
590
+ "start": 17428
591
+ },
592
+ {
593
+ "length": 20,
594
+ "start": 18845
595
+ },
596
+ {
597
+ "length": 20,
598
+ "start": 20829
599
+ },
600
+ {
601
+ "length": 20,
602
+ "start": 23110
603
+ }
604
+ ]
605
+ },
606
+ "contracts/type/Timestamp.sol": {
607
+ "TimestampLib": [
608
+ {
609
+ "length": 20,
610
+ "start": 2204
611
+ },
612
+ {
613
+ "length": 20,
614
+ "start": 8720
615
+ },
616
+ {
617
+ "length": 20,
618
+ "start": 19252
619
+ },
620
+ {
621
+ "length": 20,
622
+ "start": 23665
623
+ },
624
+ {
625
+ "length": 20,
626
+ "start": 23795
627
+ },
628
+ {
629
+ "length": 20,
630
+ "start": 26315
631
+ },
632
+ {
633
+ "length": 20,
634
+ "start": 26427
635
+ }
636
+ ]
637
+ },
638
+ "contracts/type/Version.sol": {
639
+ "VersionLib": [
640
+ {
641
+ "length": 20,
642
+ "start": 1534
643
+ },
644
+ {
645
+ "length": 20,
646
+ "start": 1792
647
+ },
648
+ {
649
+ "length": 20,
650
+ "start": 1915
651
+ },
652
+ {
653
+ "length": 20,
654
+ "start": 8050
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 8308
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 8431
663
+ },
664
+ {
665
+ "length": 20,
666
+ "start": 16132
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 18063
671
+ },
672
+ {
673
+ "length": 20,
674
+ "start": 27358
675
+ }
676
+ ],
677
+ "VersionPartLib": [
678
+ {
679
+ "length": 20,
680
+ "start": 21309
681
+ }
682
+ ]
683
+ }
684
+ },
685
+ "deployedLinkReferences": {
686
+ "contracts/type/NftId.sol": {
687
+ "NftIdLib": [
688
+ {
689
+ "length": 20,
690
+ "start": 2040
691
+ },
692
+ {
693
+ "length": 20,
694
+ "start": 3060
695
+ }
696
+ ]
697
+ },
698
+ "contracts/type/Timestamp.sol": {
699
+ "TimestampLib": [
700
+ {
701
+ "length": 20,
702
+ "start": 5263
703
+ }
704
+ ]
705
+ },
706
+ "contracts/type/Version.sol": {
707
+ "VersionLib": [
708
+ {
709
+ "length": 20,
710
+ "start": 4593
711
+ },
712
+ {
713
+ "length": 20,
714
+ "start": 4851
715
+ },
716
+ {
717
+ "length": 20,
718
+ "start": 4974
719
+ }
720
+ ]
721
+ }
722
+ }
723
+ }