@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d5fac82-078

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. package/README.md +10 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1395 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1575 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +851 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1362
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +264 -218
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +459 -2530
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +746 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +432 -280
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +415 -380
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +362 -95
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +13 -159
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -276
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +448 -195
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1426 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1641 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +779 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +218 -191
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +182 -302
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +241 -230
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +254 -168
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +72 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1217 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +883 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +711 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +209 -17
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +225 -230
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +235 -43
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +305 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +341 -254
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +351 -84
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +540 -83
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +148 -62
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1747 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1765 -0
  133. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  134. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  135. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  136. package/artifacts/contracts/shared/Component.sol/Component.json +892 -0
  137. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  138. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/ComponentService.sol/ComponentService.json} +294 -126
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  141. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  143. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  144. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1594 -0
  145. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  146. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponent.sol/IComponent.json} +173 -212
  147. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  149. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  150. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  151. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  153. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  155. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  157. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  159. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -47
  161. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  162. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  163. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  164. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +342 -61
  165. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  166. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -53
  167. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  168. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  169. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Service.sol/Service.json +189 -150
  171. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  172. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  173. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  174. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  175. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  177. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  178. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → staking/IStakingService.sol/IStakingService.json} +198 -207
  179. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  181. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  182. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  183. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  184. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  185. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  187. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  189. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  191. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  193. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  194. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  195. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  197. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  199. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  201. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  203. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  205. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  206. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  207. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  209. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  211. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  212. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  213. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  215. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  217. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  219. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  223. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  224. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  225. package/contracts/distribution/Distribution.sol +285 -0
  226. package/contracts/distribution/DistributionService.sol +351 -0
  227. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  228. package/contracts/distribution/IDistributionComponent.sol +71 -0
  229. package/contracts/distribution/IDistributionService.sol +87 -0
  230. package/contracts/instance/BundleManager.sol +22 -25
  231. package/contracts/instance/IInstance.sol +56 -41
  232. package/contracts/instance/IInstanceService.sol +50 -17
  233. package/contracts/instance/Instance.sol +151 -197
  234. package/contracts/instance/InstanceAdmin.sol +354 -0
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  236. package/contracts/instance/InstanceReader.sol +102 -49
  237. package/contracts/instance/InstanceService.sol +200 -247
  238. package/contracts/instance/InstanceServiceManager.sol +12 -22
  239. package/contracts/instance/InstanceStore.sol +211 -0
  240. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  241. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  242. package/contracts/instance/base/ILifecycle.sol +3 -3
  243. package/contracts/instance/base/KeyValueStore.sol +44 -47
  244. package/contracts/instance/base/Lifecycle.sol +28 -7
  245. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  246. package/contracts/instance/module/IAccess.sol +17 -21
  247. package/contracts/instance/module/IBundle.sol +11 -8
  248. package/contracts/instance/module/IComponents.sol +41 -0
  249. package/contracts/instance/module/IDistribution.sol +7 -4
  250. package/contracts/instance/module/IPolicy.sol +50 -17
  251. package/contracts/instance/module/IRisk.sol +1 -1
  252. package/contracts/instance/module/ISetup.sol +9 -22
  253. package/contracts/instance/module/ITreasury.sol +2 -2
  254. package/contracts/pool/BundleService.sol +384 -0
  255. package/contracts/pool/BundleServiceManager.sol +42 -0
  256. package/contracts/pool/IBundleService.sol +118 -0
  257. package/contracts/pool/IPoolComponent.sol +114 -0
  258. package/contracts/pool/IPoolService.sol +114 -0
  259. package/contracts/pool/Pool.sol +302 -0
  260. package/contracts/pool/PoolService.sol +404 -0
  261. package/contracts/pool/PoolServiceManager.sol +42 -0
  262. package/contracts/product/ApplicationService.sol +187 -0
  263. package/contracts/product/ApplicationServiceManager.sol +38 -0
  264. package/contracts/product/ClaimService.sol +443 -0
  265. package/contracts/product/ClaimServiceManager.sol +38 -0
  266. package/contracts/product/IApplicationService.sol +62 -0
  267. package/contracts/product/IClaimService.sol +93 -0
  268. package/contracts/product/IPolicyService.sol +80 -0
  269. package/contracts/product/IPricingService.sol +37 -0
  270. package/contracts/product/IProductComponent.sol +41 -0
  271. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  272. package/contracts/product/PolicyService.sol +378 -0
  273. package/contracts/product/PolicyServiceManager.sol +42 -0
  274. package/contracts/product/PricingService.sol +276 -0
  275. package/contracts/product/PricingServiceManager.sol +42 -0
  276. package/contracts/product/Product.sol +379 -0
  277. package/contracts/product/ProductService.sol +212 -0
  278. package/contracts/product/ProductServiceManager.sol +42 -0
  279. package/contracts/registry/ChainNft.sol +8 -0
  280. package/contracts/registry/IRegistry.sol +42 -21
  281. package/contracts/registry/IRegistryService.sol +42 -41
  282. package/contracts/registry/ITransferInterceptor.sol +1 -0
  283. package/contracts/registry/Registry.sol +165 -96
  284. package/contracts/registry/RegistryAdmin.sol +143 -0
  285. package/contracts/registry/RegistryService.sol +84 -171
  286. package/contracts/registry/RegistryServiceManager.sol +22 -24
  287. package/contracts/registry/ReleaseManager.sol +317 -202
  288. package/contracts/registry/TokenRegistry.sol +23 -15
  289. package/contracts/shared/AccessManagerCustom.sol +736 -0
  290. package/contracts/shared/AccessManagerExtended.sol +469 -0
  291. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  292. package/contracts/shared/AccessManagerExtendedWithDisable.sol +125 -0
  293. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +271 -0
  296. package/contracts/shared/ComponentService.sol +141 -0
  297. package/contracts/shared/ERC165.sol +14 -12
  298. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  299. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +17 -0
  300. package/contracts/shared/IComponent.sol +90 -0
  301. package/contracts/shared/INftOwnable.sol +12 -11
  302. package/contracts/shared/IPolicyHolder.sol +40 -0
  303. package/contracts/shared/IRegisterable.sol +4 -6
  304. package/contracts/shared/IRegistryLinked.sol +11 -0
  305. package/contracts/shared/IService.sol +6 -4
  306. package/contracts/shared/IVersionable.sol +5 -48
  307. package/contracts/shared/NftOwnable.sol +68 -85
  308. package/contracts/shared/PolicyHolder.sol +94 -0
  309. package/contracts/shared/ProxyManager.sol +131 -25
  310. package/contracts/shared/Registerable.sol +26 -41
  311. package/contracts/shared/RegistryLinked.sol +43 -0
  312. package/contracts/shared/Service.sol +37 -23
  313. package/contracts/shared/TokenHandler.sol +14 -6
  314. package/contracts/shared/Versionable.sol +4 -92
  315. package/contracts/staking/IStakingService.sol +102 -0
  316. package/contracts/staking/StakingService.sol +169 -0
  317. package/contracts/staking/StakingServiceManager.sol +40 -0
  318. package/contracts/type/Amount.sol +109 -0
  319. package/contracts/{types → type}/Blocknumber.sol +1 -0
  320. package/contracts/type/ClaimId.sol +75 -0
  321. package/contracts/{types → type}/DistributorType.sol +2 -2
  322. package/contracts/{types → type}/Fee.sol +17 -8
  323. package/contracts/{types → type}/NftId.sol +8 -0
  324. package/contracts/{types → type}/NftIdSet.sol +1 -1
  325. package/contracts/{types → type}/ObjectType.sol +17 -7
  326. package/contracts/type/PayoutId.sol +82 -0
  327. package/contracts/{types → type}/Referral.sol +4 -0
  328. package/contracts/type/RoleId.sol +139 -0
  329. package/contracts/type/Seconds.sol +54 -0
  330. package/contracts/{types → type}/StateId.sol +7 -2
  331. package/contracts/{types → type}/Timestamp.sol +18 -13
  332. package/contracts/{types → type}/UFixed.sol +1 -0
  333. package/contracts/{types → type}/Version.sol +1 -0
  334. package/package.json +3 -3
  335. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  337. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  339. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  340. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  341. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  342. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  343. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  344. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  345. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  346. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  349. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  351. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  353. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  355. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  357. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  359. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  361. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  363. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  365. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  370. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  372. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  374. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  376. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  378. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  379. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  380. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  382. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  384. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  386. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  387. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  388. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  389. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  390. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  391. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  392. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  393. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  394. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  395. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  396. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  397. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  398. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  399. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  400. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  402. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  404. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  406. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  408. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  410. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  414. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  417. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  418. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  419. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  420. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  421. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  422. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  423. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  424. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  425. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  426. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  427. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  428. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  429. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  430. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  431. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  432. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  433. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  434. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  435. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  437. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  438. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  439. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  440. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  441. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  442. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  443. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  444. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  445. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  446. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  447. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  448. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  449. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  450. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  451. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  452. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  455. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  456. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  458. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  459. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  461. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  462. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  464. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  465. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  467. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  474. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  475. package/contracts/components/BaseComponent.sol +0 -159
  476. package/contracts/components/Distribution.sol +0 -164
  477. package/contracts/components/IBaseComponent.sol +0 -34
  478. package/contracts/components/IDistributionComponent.sol +0 -44
  479. package/contracts/components/IPoolComponent.sol +0 -66
  480. package/contracts/components/IProductComponent.sol +0 -35
  481. package/contracts/components/Pool.sol +0 -272
  482. package/contracts/components/Product.sol +0 -301
  483. package/contracts/experiment/cloning/Cloner.sol +0 -47
  484. package/contracts/experiment/errors/Require.sol +0 -38
  485. package/contracts/experiment/errors/Revert.sol +0 -44
  486. package/contracts/experiment/inheritance/A.sol +0 -53
  487. package/contracts/experiment/inheritance/B.sol +0 -28
  488. package/contracts/experiment/inheritance/C.sol +0 -34
  489. package/contracts/experiment/inheritance/IA.sol +0 -13
  490. package/contracts/experiment/inheritance/IB.sol +0 -10
  491. package/contracts/experiment/inheritance/IC.sol +0 -12
  492. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  493. package/contracts/experiment/statemachine/ISM.sol +0 -25
  494. package/contracts/experiment/statemachine/SM.sol +0 -57
  495. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  496. package/contracts/experiment/types/TypeA.sol +0 -47
  497. package/contracts/experiment/types/TypeB.sol +0 -29
  498. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  499. package/contracts/instance/IInstanceBase.sol +0 -26
  500. package/contracts/instance/InstanceAccessManager.sol +0 -303
  501. package/contracts/instance/InstanceBase.sol +0 -41
  502. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  503. package/contracts/instance/base/IInstanceBase.sol +0 -23
  504. package/contracts/instance/service/BundleService.sol +0 -294
  505. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  506. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  507. package/contracts/instance/service/DistributionService.sol +0 -120
  508. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  509. package/contracts/instance/service/IBundleService.sol +0 -44
  510. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  511. package/contracts/instance/service/IDistributionService.sol +0 -12
  512. package/contracts/instance/service/IPolicyService.sol +0 -94
  513. package/contracts/instance/service/IPoolService.sol +0 -20
  514. package/contracts/instance/service/PolicyService.sol +0 -539
  515. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  516. package/contracts/instance/service/PoolService.sol +0 -145
  517. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  518. package/contracts/instance/service/ProductService.sol +0 -213
  519. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  520. package/contracts/registry/RegistryAccessManager.sol +0 -210
  521. package/contracts/shared/ContractDeployerLib.sol +0 -72
  522. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  523. package/contracts/test/TestFee.sol +0 -25
  524. package/contracts/test/TestRegisterable.sol +0 -18
  525. package/contracts/test/TestRoleId.sol +0 -14
  526. package/contracts/test/TestService.sol +0 -25
  527. package/contracts/test/TestToken.sol +0 -26
  528. package/contracts/test/TestVersion.sol +0 -44
  529. package/contracts/test/TestVersionable.sol +0 -17
  530. package/contracts/test/Usdc.sol +0 -26
  531. package/contracts/types/ChainId.sol +0 -38
  532. package/contracts/types/NumberId.sol +0 -52
  533. package/contracts/types/RoleId.sol +0 -90
  534. /package/contracts/{types → type}/AddressSet.sol +0 -0
  535. /package/contracts/{types → type}/Key32.sol +0 -0
  536. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,719 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ApplicationServiceManager",
4
+ "sourceName": "contracts/product/ApplicationServiceManager.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": "getApplicationService",
232
+ "outputs": [
233
+ {
234
+ "internalType": "contract ApplicationService",
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
+ {
482
+ "internalType": "address",
483
+ "name": "nftOwnableAddress",
484
+ "type": "address"
485
+ }
486
+ ],
487
+ "name": "linkToNftOwnable",
488
+ "outputs": [
489
+ {
490
+ "internalType": "NftId",
491
+ "name": "",
492
+ "type": "uint96"
493
+ }
494
+ ],
495
+ "stateMutability": "nonpayable",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [],
500
+ "name": "linkToProxy",
501
+ "outputs": [
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "",
505
+ "type": "uint96"
506
+ }
507
+ ],
508
+ "stateMutability": "nonpayable",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "linkToRegisteredNftId",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "bytes4",
522
+ "name": "interfaceId",
523
+ "type": "bytes4"
524
+ }
525
+ ],
526
+ "name": "registerInterface",
527
+ "outputs": [],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [
533
+ {
534
+ "internalType": "bytes4",
535
+ "name": "interfaceId",
536
+ "type": "bytes4"
537
+ }
538
+ ],
539
+ "name": "supportsInterface",
540
+ "outputs": [
541
+ {
542
+ "internalType": "bool",
543
+ "name": "",
544
+ "type": "bool"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "address",
554
+ "name": "newImplementation",
555
+ "type": "address"
556
+ },
557
+ {
558
+ "internalType": "bytes",
559
+ "name": "upgradeData",
560
+ "type": "bytes"
561
+ }
562
+ ],
563
+ "name": "upgrade",
564
+ "outputs": [
565
+ {
566
+ "internalType": "contract IVersionable",
567
+ "name": "versionable",
568
+ "type": "address"
569
+ }
570
+ ],
571
+ "stateMutability": "nonpayable",
572
+ "type": "function"
573
+ }
574
+ ],
575
+ "bytecode": "0x60806040523480156200001157600080fd5b506040516200734638038062007346833981016040819052620000349162000b98565b816200004081620000e9565b50600081604051620000529062000b5f565b8190604051809103906000f590508015801562000073573d6000803e3d6000fd5b50604080516001600160a01b038681166020830152308284015287166060808301919091528251808303909101815260809091019091529091506000620000bc83838662000209565b600580546001600160a01b0319166001600160a01b03929092169190911790555062000d71945050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b0316600081158015620001345750825b90506000826001600160401b03166001148015620001515750303b155b90508115801562000160575080155b156200017f5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b03191660011785558315620001ae57845460ff60401b1916680100000000000000001785555b620001ba3387620003ab565b83156200020157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b60006200021562000444565b6001600160a01b0316336001600160a01b0316146200024e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620002705760405163402b135f60e11b815260040160405180910390fd5b60006200027c62000444565b9050308386826200028e85896200059d565b6040516200029c9062000b6d565b620002aa9392919062000c21565b8190604051809103906000f5905080158015620002cb573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b815290519194506200035e918591630d8e6e2c9160048083019260209291908290030181865afa15801562000330573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000356919062000c58565b8784620005f7565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b620003b5620009ae565b620003c081620009ff565b620003ca62000b17565b6001600160a01b038216620003f25760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620004c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ed919062000c86565b156200057e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000578919062000caa565b91505090565b546c0100000000000000000000000090046001600160a01b0316919050565b60606349bb9e4b60e01b8383604051602401620005bc92919062000cc8565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b620006798373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801562000646573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200066c919062000c58565b62ffffff90811691161490565b1562000698576040516348c618db60e01b815260040160405180910390fd5b60045415620008035760048054620006b39060019062000cf6565b81548110620006c657620006c662000d18565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af41580156200073b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000761919062000d2e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620007b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007dc919062000d2e565b116200080357604051633e614b6d60e11b815262ffffff8416600482015260240162000245565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015620008d7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008fd919062000d48565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620009fd57604051631afcd79f60e31b815260040160405180910390fd5b565b62000a09620009ae565b806001600160a01b03163b60000362000a415760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000245565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa92505050801562000abe575060408051601f3d908101601f1916820190925262000abb9181019062000c86565b60015b62000ae85760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000245565b8062000b135760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000245565b5050565b62000b21620009ae565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612c05806200381283390190565b610f2f806200641783390190565b80516001600160a01b038116811462000b9357600080fd5b919050565b60008060006060848603121562000bae57600080fd5b62000bb98462000b7b565b925062000bc96020850162000b7b565b9150604084015190509250925092565b6000815180845260005b8181101562000c015760208185018101518683018201520162000be3565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b0384811682528316602082015260606040820181905260009062000c4f9083018462000bd9565b95945050505050565b60006020828403121562000c6b57600080fd5b815162ffffff8116811462000c7f57600080fd5b9392505050565b60006020828403121562000c9957600080fd5b8151801515811462000c7f57600080fd5b60006020828403121562000cbd57600080fd5b62000c7f8262000b7b565b6001600160a01b038316815260406020820181905260009062000cee9083018462000bd9565b949350505050565b81810381811115620005f157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000d4157600080fd5b5051919050565b60006020828403121562000d5b57600080fd5b815164ffffffffff8116811462000c7f57600080fd5b612a918062000d816000396000f3fe60806040523480156200001157600080fd5b5060043610620001755760003560e01c8063675393bf11620000d3578063b88da7591162000086578063b88da7591462000461578063c987336c1462000478578063e8ec07d1146200048f578063e97fac0514620004a1578063f7c34ee014620004b8578063fd0c63d914620004cf57600080fd5b8063675393bf14620003ed578063893d20e814620004045780638e9afce6146200040e578063933a9ce81462000425578063946dfcfe1462000437578063ada9652e146200044a57600080fd5b8063214cdb80116200012c578063214cdb80146200025757806336fc697e146200026e57806340be237614620002785780634d459c9014620002a85780635ab1bd5314620003bb578063644c45e014620003cd57600080fd5b806301ffc9a7146200017a578063058f7a9714620001bf57806307484e8014620001d85780630d8e6e2c1462000208578063138461e014620002275780631775564d1462000231575b600080fd5b620001aa6200018b366004620016b4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001d6620001d0366004620016fd565b620004d9565b005b620001ef620001e9366004620017c8565b620005f2565b6040516001600160a01b039091168152602001620001b6565b6200021262000794565b60405162ffffff9091168152602001620001b6565b620001d66200080a565b620002486200024236600462001827565b62000818565b604051620001b69190620018c5565b620001d662000268366004620016b4565b62000872565b620001d6620008a1565b6200028f62000289366004620016fd565b620008e9565b6040516001600160601b039091168152602001620001b6565b6200035d620002b9366004620018ec565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001620001b6565b6001546001600160a01b0316620001ef565b60008051602062002a3c833981519152546001600160601b03166200028f565b620001d6620003fe366004620016fd565b62000935565b620001ef62000a4d565b620002486200041f3660046200190c565b62000b8c565b6002546001600160a01b0316620001ef565b6004545b604051908152602001620001b6565b6200043b60008051602062002a3c83398151915281565b62000212620004723660046200194d565b62000be1565b620001ef6200048936600462001827565b62000c25565b6005546001600160a01b0316620001ef565b620001ef620004b236600462001827565b62000e63565b620001d6620004c936600462001967565b62000ffb565b6200028f6200107a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620005205750825b905060008267ffffffffffffffff1660011480156200053e5750303b155b9050811580156200054d575080155b156200056c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200059757845460ff60401b1916600160401b1785555b620005a3338762000ffb565b8315620005ea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620005fe62000a4d565b6001600160a01b0316336001600160a01b031614620006375760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620006595760405163402b135f60e11b815260040160405180910390fd5b60006200066562000a4d565b90503083868262000677858962000818565b6040516200068590620016a6565b6200069393929190620019a5565b8190604051809103906000f5905080158015620006b4573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000747918591630d8e6e2c9160048083019260209291908290030181865afa15801562000719573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200073f9190620019dc565b878462001094565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa158015620007df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008059190620019dc565b905090565b62000815306200144b565b50565b60606349bb9e4b60e01b838360405160240162000837929190620019fc565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200087c6200165a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620008ab6200165a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000620008f562000a4d565b6001600160a01b0316336001600160a01b0316146200092a5760405163086391f760e31b81523360048201526024016200062e565b6200086c826200144b565b6200093f6200165a565b806001600160a01b03163b600003620009775760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620009f4575060408051601f3d908101601f19168201909252620009f19181019062001a22565b60015b62000a1e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b8062000a495760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200062e565b5050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000abf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae5919062001a22565b1562000b76576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000b4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b70919062001a46565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000ba99190620018c5565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000bf95762000bf962001a66565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000c3162000a4d565b6001600160a01b0316336001600160a01b03161462000c665760405163086391f760e31b81523360048201526024016200062e565b60045460000362000c8a5760405163366dfd2160e21b815260040160405180910390fd5b600062000c9662000a4d565b9050600062000cad6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000ced573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d13919062001a46565b6002549091506001600160a01b03908116908216639623609d828862000d398962000b8c565b6040518463ffffffff1660e01b815260040162000d5993929190620019a5565b600060405180830381600087803b15801562000d7457600080fd5b505af115801562000d89573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000e16846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000de8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e0e9190620019dc565b878562001094565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000e6f62000a4d565b6001600160a01b0316336001600160a01b03161462000ea45760405163086391f760e31b81523360048201526024016200062e565b6004541562000ec65760405163402b135f60e11b815260040160405180910390fd5b600062000ed262000a4d565b905030848162000ee3848762000818565b60405162000ef190620016a6565b62000eff93929190620019a5565b604051809103906000f08015801562000f1c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000faf918591630d8e6e2c9160048083019260209291908290030181865afa15801562000f81573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fa79190620019dc565b868462001094565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b620010056200165a565b620010108162000935565b6200101a620008a1565b6001600160a01b038216620010425760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062002a3c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60025460009062000805906001600160a01b0316620008e9565b620011168373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015620010e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011099190620019dc565b62ffffff90811691161490565b1562001135576040516348c618db60e01b815260040160405180910390fd5b60045415620012a05760048054620011509060019062001a7c565b8154811062001163576200116362001a66565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620011d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011fe919062001a9e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801562001253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001279919062001a9e565b11620012a057604051633e614b6d60e11b815262ffffff841660048201526024016200062e565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af415801562001374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200139a919062001ab8565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620014bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014e3919062001a22565b15620015115780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016200062e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801562001566573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200158c919062001a22565b620015b65760405163b9304b0d60e01b81526001600160a01b03841660048201526024016200062e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156200160b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001631919062001ae1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620016a457604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f8062001b0d83390190565b600060208284031215620016c757600080fd5b81356001600160e01b031981168114620016e057600080fd5b9392505050565b6001600160a01b03811681146200081557600080fd5b6000602082840312156200171057600080fd5b8135620016e081620016e7565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200174557600080fd5b813567ffffffffffffffff808211156200176357620017636200171d565b604051601f8301601f19908116603f011681019082821181831017156200178e576200178e6200171d565b81604052838152866020858801011115620017a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600060608486031215620017de57600080fd5b8335620017eb81620016e7565b9250602084013567ffffffffffffffff8111156200180857600080fd5b620018168682870162001733565b925050604084013590509250925092565b600080604083850312156200183b57600080fd5b82356200184881620016e7565b9150602083013567ffffffffffffffff8111156200186557600080fd5b620018738582860162001733565b9150509250929050565b6000815180845260005b81811015620018a55760208185018101518683018201520162001887565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620016e060208301846200187d565b62ffffff811681146200081557600080fd5b600060208284031215620018ff57600080fd5b8135620016e081620018da565b6000602082840312156200191f57600080fd5b813567ffffffffffffffff8111156200193757600080fd5b620019458482850162001733565b949350505050565b6000602082840312156200196057600080fd5b5035919050565b600080604083850312156200197b57600080fd5b82356200198881620016e7565b915060208301356200199a81620016e7565b809150509250929050565b6001600160a01b03848116825283166020820152606060408201819052600090620019d3908301846200187d565b95945050505050565b600060208284031215620019ef57600080fd5b8151620016e081620018da565b6001600160a01b038316815260406020820181905260009062001945908301846200187d565b60006020828403121562001a3557600080fd5b81518015158114620016e057600080fd5b60006020828403121562001a5957600080fd5b8151620016e081620016e7565b634e487b7160e01b600052603260045260246000fd5b818103818111156200086c57634e487b7160e01b600052601160045260246000fd5b60006020828403121562001ab157600080fd5b5051919050565b60006020828403121562001acb57600080fd5b815164ffffffffff81168114620016e057600080fd5b60006020828403121562001af457600080fd5b81516001600160601b0381168114620016e057600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220aa2093dc40fab4d325b813357e1894e5df3a75bb399370dd077205c4c0506f8564736f6c6343000814003360806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612b1f80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806362cbbd7b116100f9578063ada9652e11610097578063c219f0c011610071578063c219f0c014610421578063caf4e3d414610434578063cc9fc59a1461043c578063f7c34ee01461044457600080fd5b8063ada9652e146103df578063b68d1809146103f4578063bf7e214f1461040357600080fd5b80637a9e5e4b116100d35780637a9e5e4b14610390578063893d20e8146103a35780638e32e979146103ab5780638fb36037146103be57600080fd5b806362cbbd7b14610348578063644c45e01461035f578063675393bf1461037d57600080fd5b8063329d6e741161016657806349bb9e4b1161014057806349bb9e4b146102e7578063536ef74b146102fa5780635ab1bd5314610310578063603ccaad1461033557600080fd5b8063329d6e74146102a157806336fc697e146102b457806340be2376146102bc57600080fd5b8063138461e0116101a2578063138461e01461023c5780631eff4b2214610246578063214cdb801461027b57806327bb7a331461028e57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004611e68565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610213610457565b60405162ffffff9091168152602001610202565b61022f6104e1565b6040516102029190611ee9565b610244610602565b005b61026d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b610244610289366004611e68565b61060e565b61024461029c3660046120c9565b61063b565b6102446102af366004612161565b6106e0565b61024461082d565b6102cf6102ca366004612195565b610873565b6040516001600160601b039091168152602001610202565b6102446102f53660046121b2565b6108c6565b6102cf610308366004612201565b600092915050565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b61024461034336600461223a565b6109c4565b610244610356366004612282565b50505050505050565b600080516020612a8a833981519152546001600160601b03166102cf565b61024461038b366004612195565b610aac565b61024461039e366004612195565b610bb9565b61031d610c53565b6102446103b936600461232c565b610d8a565b6103c6610fc3565b6040516001600160e01b03199091168152602001610202565b61026d600080516020612a8a83398151915281565b60405160d28152602001610202565b600080516020612aaa833981519152546001600160a01b031661031d565b6102cf61042f366004612377565b610ffb565b61031d611514565b61031d611525565b6102446104523660046123eb565b611531565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190612419565b905090565b6104e9611e2a565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161055e610c53565b6001600160a01b0316815260200182600101805461057b9061243e565b80601f01602080910402602001604051908101604052809291908181526020018280546105a79061243e565b80156105f45780601f106105c9576101008083540402835291602001916105f4565b820191906000526020600020905b8154815290600101906020018083116105d757829003601f168201915b505050505081525091505090565b61060b306115a8565b50565b6106166117a9565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6106436117a9565b61064d8287611531565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016106d683826124be565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610702610457565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610742573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610766919061257d565b600080516020612aca8339815191528054600160401b900460ff1680610799575080546001600160401b03808416911610155b156107b75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556107e1836117e2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6108356117a9565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061087d610c53565b6001600160a01b0316336001600160a01b0316146108b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108be826115a8565b90505b919050565b600080516020612aca8339815191528054600160401b810460ff1615906001600160401b03166000811580156108f95750825b90506000826001600160401b031660011480156109155750303b155b905081158015610923575080155b156109415760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561096b57845460ff60401b1916600160401b1785555b61097587876117ea565b831561035657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b60006109d0606e61195f565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3691906125a6565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b505050505050565b610ab46117a9565b806001600160a01b03163b600003610aea5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ac565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610b64575060408051601f3d908101601f19168201909252610b61918101906125ce565b60015b610b8c5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ac565b80610bb55760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108ac565b5050565b33610bd9600080516020612aaa833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610c145760405162d1953b60e31b81526001600160a01b03821660048201526024016108ac565b816001600160a01b03163b600003610c4a576040516361798f2f60e11b81526001600160a01b03831660048201526024016108ac565b610bb582611b01565b600080600080516020612a8a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce791906125ce565b15610d74576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e91906125a6565b91505090565b54600160601b90046001600160a01b0316919050565b610d926117a9565b610e1283846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df89190612601565b603c6000856040518060200160405280600081525061063b565b6001600160a01b03821615610e2f57610e2a82611b62565b610f9e565b6000610e436001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610ea3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec79190612629565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3091906125a6565b9050610f9c816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9791906125a6565b611b62565b505b610fae634a531f3360e01b61060e565b610fbe63b68d180960e01b61060e565b505050565b600080516020612aaa833981519152805460009190600160a01b900460ff16610fed576000610d6e565b638fb3603760e01b91505090565b60008080611009606e61195f565b9250509150611016611514565b6001600160a01b0316635c992fed6040518060e00160405280611037600090565b6001600160601b03168152602001856001600160601b0316815260200161105c60d390565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016110bb9190611ee9565b6020604051808303816000875af11580156110da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fe9190612601565b600354604051637a5ff29d60e11b81529194506000916001600160a01b039091169063f4bfe53a906111409086908e908e908e908c908f908f90600401612646565b6101e060405180830381865afa15801561115e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118291906126ae565b90506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd9685604001516040518263ffffffff1660e01b815260040161121c91815260200190565b602060405180830381865af4158015611239573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125d9190612601565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d89190612601565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190612601565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156113e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140c9190612601565b6001600160601b03168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a691906125a6565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b81526004016114d3929190612769565b600060405180830381600087803b1580156114ed57600080fd5b505af1158015611501573d6000803e3d6000fd5b5050505050505050979650505050505050565b60006104dc6028611b73565b611b73565b60006104dc6046611b73565b6115396117a9565b61154281610aac565b61154a61082d565b6001600160a01b0382166115715760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612a8a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080600080516020612a8a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611618573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163c91906125ce565b156116685780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156116bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e091906125ce565b6117085760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108ac565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561175c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117809190612601565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020612aca83398151915254600160401b900460ff166117e057604051631afcd79f60e31b815260040160405180910390fd5b565b6101c46117a9565b600080516020612aca8339815191528054600160401b810460ff1615906001600160401b031660008115801561181d5750825b90506000826001600160401b031660011480156118395750303b155b905081158015611847575080155b156118655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561188f57845460ff60401b1916600160401b1785555b600080878060200190518101906118a69190612930565b92505091506118b682828b610d8a565b6118c6639380705d60e01b61060e565b6118d06078611b73565b600280546001600160a01b0319166001600160a01b03929092169190911790556118fb61152060e690565b600380546001600160a01b0319166001600160a01b03929092169190911790555050831561035657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016109b3565b6000611969611e2a565b600061197d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156119c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e79190612601565b92506119f38385611c80565b8092508193505050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5d91906125a6565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611aa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acb91906125ce565b15611afa57608082015160405163d53987e560e01b81526001600160a01b0390911660048201526024016108ac565b9193909250565b600080516020612aaa83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b6a6117a9565b61060b81611d84565b6000611b876001546001600160a01b031690565b6001600160a01b031663d39e604383611b9e610457565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c179190612629565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108be91906125a6565b611c88611e2a565b6000611c9c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611ceb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d1391908101906129b7565b9150611d2a82604001518460ff9081169116141590565b15611d6e57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016108ac565b611d7b8260200151611d95565b90509250929050565b611d8c6117a9565b61060b81611b01565b6000611da96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611df8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2091908101906129b7565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611e7a57600080fd5b81356001600160e01b031981168114611e9257600080fd5b9392505050565b60005b83811015611eb4578181015183820152602001611e9c565b50506000910152565b60008151808452611ed5816020860160208601611e99565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f5260c08401826001600160a01b03169052565b5060c083015160e080840152611f6c610100840182611ebd565b949350505050565b6001600160a01b038116811461060b57600080fd5b6001600160601b038116811461060b57600080fd5b60ff8116811461060b57600080fd5b801515811461060b57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715611ff457611ff4611fbb565b60405290565b60405160e081016001600160401b0381118282101715611ff457611ff4611fbb565b604051601f8201601f191681016001600160401b038111828210171561204457612044611fbb565b604052919050565b60006001600160401b0382111561206557612065611fbb565b50601f01601f191660200190565b600082601f83011261208457600080fd5b81356120976120928261204c565b61201c565b8181528460208386010111156120ac57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156120e257600080fd5b86356120ed81611f74565b955060208701356120fd81611f89565b9450604087013561210d81611f9e565b9350606087013561211d81611fad565b9250608087013561212d81611f74565b915060a08701356001600160401b0381111561214857600080fd5b61215489828a01612073565b9150509295509295509295565b60006020828403121561217357600080fd5b81356001600160401b0381111561218957600080fd5b611f6c84828501612073565b6000602082840312156121a757600080fd5b8135611e9281611f74565b600080604083850312156121c557600080fd5b82356121d081611f74565b915060208301356001600160401b038111156121eb57600080fd5b6121f785828601612073565b9150509250929050565b6000806040838503121561221457600080fd5b823561221f81611f89565b9150602083013561222f81611f89565b809150509250929050565b60006020828403121561224c57600080fd5b8135611e9281611f89565b6001600160c01b03198116811461060b57600080fd5b803564ffffffffff811681146108c157600080fd5b600080600080600080600060e0888a03121561229d57600080fd5b87356122a881611f89565b965060208801356122b881612257565b955060408801356122c881611f89565b945060608801356122d881612257565b935060808801356122e881611f89565b92506122f660a0890161226d565b915060c08801356001600160401b0381111561231157600080fd5b61231d8a828b01612073565b91505092959891949750929550565b60008060006060848603121561234157600080fd5b833561234c81611f74565b9250602084013561235c81611f74565b9150604084013561236c81611f74565b809150509250925092565b600080600080600080600060e0888a03121561239257600080fd5b873561239d81611f74565b965060208801356123ad81612257565b955060408801356123bd81611f89565b94506123cb6060890161226d565b935060808801356123db81611f89565b925060a08801356122f681612257565b600080604083850312156123fe57600080fd5b823561240981611f74565b9150602083013561222f81611f74565b60006020828403121561242b57600080fd5b815162ffffff81168114611e9257600080fd5b600181811c9082168061245257607f821691505b60208210810361247257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610fbe57600081815260208120601f850160051c8101602086101561249f5750805b601f850160051c820191505b81811015610aa4578281556001016124ab565b81516001600160401b038111156124d7576124d7611fbb565b6124eb816124e5845461243e565b84612478565b602080601f83116001811461252057600084156125085750858301515b600019600386901b1c1916600185901b178555610aa4565b600085815260208120601f198616915b8281101561254f57888601518255948401946001909101908401612530565b508582101561256d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561258f57600080fd5b81516001600160401b0381168114611e9257600080fd5b6000602082840312156125b857600080fd5b8151611e9281611f74565b80516108c181611fad565b6000602082840312156125e057600080fd5b8151611e9281611fad565b80516108c181611f74565b80516108c181611f89565b60006020828403121561261357600080fd5b8151611e9281611f89565b80516108c181611f9e565b60006020828403121561263b57600080fd5b8151611e9281611f9e565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e0608085015261269160e0850188611ebd565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156126c157600080fd5b6126c9611fd1565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b6001600160601b0383168152604060208201526127926040820183516001600160601b03169052565b600060208301516127ae60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c0830151610100612821818501836001600160601b03169052565b60e0850151915061012061283d8186018464ffffffffff169052565b8186015192506102209150610140828187015261285e610260870185611ebd565b9350818701519150610160603f19878603018188015261287e8584611ebd565b9450818801519250610180915061289a8288018461ffff169052565b87015191506101a06128b18782018461ffff169052565b9087015191506101c0906128cf878301846001600160601b03169052565b87015191506101e06128eb878201846001600160601b03169052565b908701519150610200906129078783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b60008060006060848603121561294557600080fd5b835161295081611f74565b602085015190935061296181611f74565b604085015190925061236c81611f74565b600082601f83011261298357600080fd5b81516129916120928261204c565b8181528460208386010111156129a657600080fd5b611f6c826020830160208701611e99565b6000602082840312156129c957600080fd5b81516001600160401b03808211156129e057600080fd5b9083019060e082860312156129f457600080fd5b6129fc611ffa565b612a05836125f6565b8152612a13602084016125f6565b6020820152612a246040840161261e565b6040820152612a35606084016125c3565b6060820152612a46608084016125eb565b6080820152612a5760a084016125eb565b60a082015260c083015182811115612a6e57600080fd5b612a7a87828601612972565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122062d503096493dfad83713fa3e87e19d8852dc4689bdf8d66c60792bff4c98ae964736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
576
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620001755760003560e01c8063675393bf11620000d3578063b88da7591162000086578063b88da7591462000461578063c987336c1462000478578063e8ec07d1146200048f578063e97fac0514620004a1578063f7c34ee014620004b8578063fd0c63d914620004cf57600080fd5b8063675393bf14620003ed578063893d20e814620004045780638e9afce6146200040e578063933a9ce81462000425578063946dfcfe1462000437578063ada9652e146200044a57600080fd5b8063214cdb80116200012c578063214cdb80146200025757806336fc697e146200026e57806340be237614620002785780634d459c9014620002a85780635ab1bd5314620003bb578063644c45e014620003cd57600080fd5b806301ffc9a7146200017a578063058f7a9714620001bf57806307484e8014620001d85780630d8e6e2c1462000208578063138461e014620002275780631775564d1462000231575b600080fd5b620001aa6200018b366004620016b4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620001d6620001d0366004620016fd565b620004d9565b005b620001ef620001e9366004620017c8565b620005f2565b6040516001600160a01b039091168152602001620001b6565b6200021262000794565b60405162ffffff9091168152602001620001b6565b620001d66200080a565b620002486200024236600462001827565b62000818565b604051620001b69190620018c5565b620001d662000268366004620016b4565b62000872565b620001d6620008a1565b6200028f62000289366004620016fd565b620008e9565b6040516001600160601b039091168152602001620001b6565b6200035d620002b9366004620018ec565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001620001b6565b6001546001600160a01b0316620001ef565b60008051602062002a3c833981519152546001600160601b03166200028f565b620001d6620003fe366004620016fd565b62000935565b620001ef62000a4d565b620002486200041f3660046200190c565b62000b8c565b6002546001600160a01b0316620001ef565b6004545b604051908152602001620001b6565b6200043b60008051602062002a3c83398151915281565b62000212620004723660046200194d565b62000be1565b620001ef6200048936600462001827565b62000c25565b6005546001600160a01b0316620001ef565b620001ef620004b236600462001827565b62000e63565b620001d6620004c936600462001967565b62000ffb565b6200028f6200107a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620005205750825b905060008267ffffffffffffffff1660011480156200053e5750303b155b9050811580156200054d575080155b156200056c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200059757845460ff60401b1916600160401b1785555b620005a3338762000ffb565b8315620005ea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6000620005fe62000a4d565b6001600160a01b0316336001600160a01b031614620006375760405163086391f760e31b81523360048201526024015b60405180910390fd5b60045415620006595760405163402b135f60e11b815260040160405180910390fd5b60006200066562000a4d565b90503083868262000677858962000818565b6040516200068590620016a6565b6200069393929190620019a5565b8190604051809103906000f5905080158015620006b4573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000747918591630d8e6e2c9160048083019260209291908290030181865afa15801562000719573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200073f9190620019dc565b878462001094565b6002546040516001600160a01b038881168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b600254604080516303639b8b60e21b815290516000926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa158015620007df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008059190620019dc565b905090565b62000815306200144b565b50565b60606349bb9e4b60e01b838360405160240162000837929190620019fc565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b6200087c6200165a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620008ab6200165a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000620008f562000a4d565b6001600160a01b0316336001600160a01b0316146200092a5760405163086391f760e31b81523360048201526024016200062e565b6200086c826200144b565b6200093f6200165a565b806001600160a01b03163b600003620009775760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620009f4575060408051601f3d908101601f19168201909252620009f19181019062001a22565b60015b62000a1e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200062e565b8062000a495760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200062e565b5050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000abf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae5919062001a22565b1562000b76576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562000b4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b70919062001a46565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240162000ba99190620018c5565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b60006004828154811062000bf95762000bf962001a66565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600062000c3162000a4d565b6001600160a01b0316336001600160a01b03161462000c665760405163086391f760e31b81523360048201526024016200062e565b60045460000362000c8a5760405163366dfd2160e21b815260040160405180910390fd5b600062000c9662000a4d565b9050600062000cad6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000ced573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d13919062001a46565b6002549091506001600160a01b03908116908216639623609d828862000d398962000b8c565b6040518463ffffffff1660e01b815260040162000d5993929190620019a5565b600060405180830381600087803b15801562000d7457600080fd5b505af115801562000d89573d6000803e3d6000fd5b50505050600260009054906101000a90046001600160a01b0316935062000e16846001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000de8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e0e9190620019dc565b878562001094565b6002546040516001600160a01b038881168252909116907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b600062000e6f62000a4d565b6001600160a01b0316336001600160a01b03161462000ea45760405163086391f760e31b81523360048201526024016200062e565b6004541562000ec65760405163402b135f60e11b815260040160405180910390fd5b600062000ed262000a4d565b905030848162000ee3848762000818565b60405162000ef190620016a6565b62000eff93929190620019a5565b604051809103906000f08015801562000f1c573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169182179055604080516303639b8b60e21b8152905191945062000faf918591630d8e6e2c9160048083019260209291908290030181865afa15801562000f81573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fa79190620019dc565b868462001094565b6002546040516001600160a01b038781168252909116907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a2505092915050565b620010056200165a565b620010108162000935565b6200101a620008a1565b6001600160a01b038216620010425760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062002a3c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60025460009062000805906001600160a01b0316620008e9565b620011168373__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015620010e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011099190620019dc565b62ffffff90811691161490565b1562001135576040516348c618db60e01b815260040160405180910390fd5b60045415620012a05760048054620011509060019062001a7c565b8154811062001163576200116362001a66565b60009182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015620011d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011fe919062001a9e565b604051635560100760e01b815262ffffff8516600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af415801562001253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001279919062001a9e565b11620012a057604051633e614b6d60e11b815262ffffff841660048201526024016200062e565b600480546001810182556000829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808916600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020848101919091529085168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af415801562001374573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200139a919062001ab8565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff968716600090815260038452604090819020855181549587015199166001600160b81b03199095169490941763010000006001600160a01b03998a1602178455840151600190930180546060860151608090960151949098166001600160c81b031990981697909717600160a01b94909216939093021763ffffffff60c81b1916600160c81b9190921602179092555050565b60008060008051602062002a3c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015620014bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014e3919062001a22565b15620015115780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016200062e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801562001566573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200158c919062001a22565b620015b65760405163b9304b0d60e01b81526001600160a01b03841660048201526024016200062e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156200160b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001631919062001ae1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620016a457604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f8062001b0d83390190565b600060208284031215620016c757600080fd5b81356001600160e01b031981168114620016e057600080fd5b9392505050565b6001600160a01b03811681146200081557600080fd5b6000602082840312156200171057600080fd5b8135620016e081620016e7565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200174557600080fd5b813567ffffffffffffffff808211156200176357620017636200171d565b604051601f8301601f19908116603f011681019082821181831017156200178e576200178e6200171d565b81604052838152866020858801011115620017a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600060608486031215620017de57600080fd5b8335620017eb81620016e7565b9250602084013567ffffffffffffffff8111156200180857600080fd5b620018168682870162001733565b925050604084013590509250925092565b600080604083850312156200183b57600080fd5b82356200184881620016e7565b9150602083013567ffffffffffffffff8111156200186557600080fd5b620018738582860162001733565b9150509250929050565b6000815180845260005b81811015620018a55760208185018101518683018201520162001887565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620016e060208301846200187d565b62ffffff811681146200081557600080fd5b600060208284031215620018ff57600080fd5b8135620016e081620018da565b6000602082840312156200191f57600080fd5b813567ffffffffffffffff8111156200193757600080fd5b620019458482850162001733565b949350505050565b6000602082840312156200196057600080fd5b5035919050565b600080604083850312156200197b57600080fd5b82356200198881620016e7565b915060208301356200199a81620016e7565b809150509250929050565b6001600160a01b03848116825283166020820152606060408201819052600090620019d3908301846200187d565b95945050505050565b600060208284031215620019ef57600080fd5b8151620016e081620018da565b6001600160a01b038316815260406020820181905260009062001945908301846200187d565b60006020828403121562001a3557600080fd5b81518015158114620016e057600080fd5b60006020828403121562001a5957600080fd5b8151620016e081620016e7565b634e487b7160e01b600052603260045260246000fd5b818103818111156200086c57634e487b7160e01b600052601160045260246000fd5b60006020828403121562001ab157600080fd5b5051919050565b60006020828403121562001acb57600080fd5b815164ffffffffff81168114620016e057600080fd5b60006020828403121562001af457600080fd5b81516001600160601b0381168114620016e057600080fdfe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212200f354f3858b79004283cbafcf9c19180bf92b398dce732ba6a1b88b900eb55dc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220aa2093dc40fab4d325b813357e1894e5df3a75bb399370dd077205c4c0506f8564736f6c63430008140033",
577
+ "linkReferences": {
578
+ "contracts/type/Amount.sol": {
579
+ "AmountLib": [
580
+ {
581
+ "length": 20,
582
+ "start": 19161
583
+ },
584
+ {
585
+ "length": 20,
586
+ "start": 19301
587
+ },
588
+ {
589
+ "length": 20,
590
+ "start": 19486
591
+ },
592
+ {
593
+ "length": 20,
594
+ "start": 19609
595
+ }
596
+ ]
597
+ },
598
+ "contracts/type/NftId.sol": {
599
+ "NftIdLib": [
600
+ {
601
+ "length": 20,
602
+ "start": 1164
603
+ },
604
+ {
605
+ "length": 20,
606
+ "start": 6149
607
+ },
608
+ {
609
+ "length": 20,
610
+ "start": 8707
611
+ },
612
+ {
613
+ "length": 20,
614
+ "start": 17793
615
+ },
616
+ {
617
+ "length": 20,
618
+ "start": 20182
619
+ }
620
+ ]
621
+ },
622
+ "contracts/type/Timestamp.sol": {
623
+ "TimestampLib": [
624
+ {
625
+ "length": 20,
626
+ "start": 2204
627
+ },
628
+ {
629
+ "length": 20,
630
+ "start": 8378
631
+ }
632
+ ]
633
+ },
634
+ "contracts/type/Version.sol": {
635
+ "VersionLib": [
636
+ {
637
+ "length": 20,
638
+ "start": 1534
639
+ },
640
+ {
641
+ "length": 20,
642
+ "start": 1792
643
+ },
644
+ {
645
+ "length": 20,
646
+ "start": 1915
647
+ },
648
+ {
649
+ "length": 20,
650
+ "start": 7708
651
+ },
652
+ {
653
+ "length": 20,
654
+ "start": 7966
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 8089
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 15734
663
+ },
664
+ {
665
+ "length": 20,
666
+ "start": 16346
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 21681
671
+ }
672
+ ],
673
+ "VersionPartLib": [
674
+ {
675
+ "length": 20,
676
+ "start": 18273
677
+ }
678
+ ]
679
+ }
680
+ },
681
+ "deployedLinkReferences": {
682
+ "contracts/type/NftId.sol": {
683
+ "NftIdLib": [
684
+ {
685
+ "length": 20,
686
+ "start": 2692
687
+ },
688
+ {
689
+ "length": 20,
690
+ "start": 5250
691
+ }
692
+ ]
693
+ },
694
+ "contracts/type/Timestamp.sol": {
695
+ "TimestampLib": [
696
+ {
697
+ "length": 20,
698
+ "start": 4921
699
+ }
700
+ ]
701
+ },
702
+ "contracts/type/Version.sol": {
703
+ "VersionLib": [
704
+ {
705
+ "length": 20,
706
+ "start": 4251
707
+ },
708
+ {
709
+ "length": 20,
710
+ "start": 4509
711
+ },
712
+ {
713
+ "length": 20,
714
+ "start": 4632
715
+ }
716
+ ]
717
+ }
718
+ }
719
+ }