@etherisc/gif-next 0.0.2-f02157b-803 → 0.0.2-f080b71-868

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. package/README.md +75 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +948 -229
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +637 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +468 -246
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -156
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +445 -2985
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +606 -175
  32. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  34. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +252 -210
  36. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +540 -179
  38. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +322 -73
  40. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2677 -0
  42. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  43. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  44. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +639 -0
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  54. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +860 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +641 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1276 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +717 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +849 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1539 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +769 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IApplicationService.sol/IApplicationService.json} +191 -184
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +680 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +648 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  90. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IPricingService.sol/IPricingService.json} +270 -173
  92. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  94. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1166 -0
  96. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1269 -0
  100. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  102. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
  104. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +872 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  118. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -330
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  129. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  142. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +98 -77
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  182. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/Component.sol +253 -0
  221. package/contracts/components/Distribution.sol +200 -86
  222. package/contracts/components/IComponent.sol +76 -0
  223. package/contracts/components/IDistributionComponent.sol +44 -16
  224. package/contracts/components/IPoolComponent.sol +88 -37
  225. package/contracts/components/IProductComponent.sol +10 -5
  226. package/contracts/components/Pool.sol +225 -181
  227. package/contracts/components/Product.sol +136 -137
  228. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  229. package/contracts/instance/BundleManager.sol +127 -0
  230. package/contracts/instance/Cloneable.sol +51 -0
  231. package/contracts/instance/IInstance.sol +45 -13
  232. package/contracts/instance/IInstanceService.sol +74 -7
  233. package/contracts/instance/Instance.sol +152 -361
  234. package/contracts/instance/InstanceAccessManager.sol +428 -176
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +299 -0
  236. package/contracts/instance/InstanceReader.sol +49 -30
  237. package/contracts/instance/InstanceService.sol +274 -56
  238. package/contracts/instance/InstanceServiceManager.sol +11 -13
  239. package/contracts/instance/InstanceStore.sol +219 -0
  240. package/contracts/instance/ObjectManager.sol +82 -0
  241. package/contracts/instance/base/ComponentService.sol +147 -0
  242. package/contracts/instance/base/KeyValueStore.sol +13 -5
  243. package/contracts/instance/base/Lifecycle.sol +11 -2
  244. package/contracts/instance/module/IAccess.sol +36 -20
  245. package/contracts/instance/module/IBundle.sol +8 -4
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +2 -0
  248. package/contracts/instance/module/IPolicy.sol +30 -3
  249. package/contracts/instance/module/ISetup.sol +9 -19
  250. package/contracts/instance/service/ApplicationService.sol +183 -0
  251. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  252. package/contracts/instance/service/BundleService.sol +431 -0
  253. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  254. package/contracts/instance/service/ClaimService.sol +145 -0
  255. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  256. package/contracts/instance/service/DistributionService.sol +346 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +64 -0
  259. package/contracts/instance/service/IBundleService.sol +94 -0
  260. package/contracts/instance/service/IClaimService.sol +61 -0
  261. package/contracts/instance/service/IDistributionService.sol +74 -1
  262. package/contracts/instance/service/IPolicyService.sol +74 -0
  263. package/contracts/instance/service/IPoolService.sol +80 -18
  264. package/contracts/instance/service/IPricingService.sol +36 -0
  265. package/contracts/instance/service/IProductService.sol +7 -74
  266. package/contracts/instance/service/PolicyService.sol +376 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +303 -0
  269. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  270. package/contracts/instance/service/PricingService.sol +275 -0
  271. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  272. package/contracts/instance/service/ProductService.sol +210 -0
  273. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  274. package/contracts/registry/ChainNft.sol +9 -1
  275. package/contracts/registry/IRegistry.sol +52 -8
  276. package/contracts/registry/IRegistryService.sol +53 -20
  277. package/contracts/registry/ITransferInterceptor.sol +1 -0
  278. package/contracts/registry/Registry.sol +270 -226
  279. package/contracts/registry/RegistryAccessManager.sol +216 -0
  280. package/contracts/registry/RegistryService.sol +118 -271
  281. package/contracts/registry/RegistryServiceManager.sol +24 -26
  282. package/contracts/registry/ReleaseManager.sol +324 -0
  283. package/contracts/registry/TokenRegistry.sol +116 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/INftOwnable.sol +11 -10
  286. package/contracts/shared/IPolicyHolder.sol +26 -0
  287. package/contracts/shared/IRegisterable.sol +4 -6
  288. package/contracts/shared/IRegistryLinked.sol +12 -0
  289. package/contracts/shared/IService.sol +16 -0
  290. package/contracts/shared/IVersionable.sol +4 -47
  291. package/contracts/shared/NftOwnable.sol +67 -83
  292. package/contracts/shared/PolicyHolder.sol +81 -0
  293. package/contracts/shared/ProxyManager.sol +100 -25
  294. package/contracts/shared/Registerable.sol +16 -31
  295. package/contracts/shared/RegistryLinked.sol +48 -0
  296. package/contracts/shared/Service.sol +72 -0
  297. package/contracts/shared/TokenHandler.sol +11 -5
  298. package/contracts/shared/Versionable.sol +4 -92
  299. package/contracts/test/TestRegisterable.sol +1 -1
  300. package/contracts/test/TestService.sol +6 -7
  301. package/contracts/types/Amount.sol +60 -0
  302. package/contracts/types/Blocknumber.sol +1 -0
  303. package/contracts/types/ClaimId.sol +52 -0
  304. package/contracts/types/DistributorType.sol +2 -2
  305. package/contracts/types/Fee.sol +13 -5
  306. package/contracts/types/NftId.sol +8 -0
  307. package/contracts/types/NftIdSet.sol +26 -24
  308. package/contracts/types/ObjectType.sol +14 -5
  309. package/contracts/types/PayoutId.sol +54 -0
  310. package/contracts/types/Referral.sol +4 -0
  311. package/contracts/types/RoleId.sol +26 -11
  312. package/contracts/types/Seconds.sol +54 -0
  313. package/contracts/types/StateId.sol +5 -0
  314. package/contracts/types/Timestamp.sol +13 -13
  315. package/contracts/types/UFixed.sol +1 -0
  316. package/contracts/types/Version.sol +5 -1
  317. package/package.json +3 -3
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  321. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  323. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  325. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  343. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  358. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  360. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  361. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  362. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  363. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  364. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  365. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  366. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  367. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  368. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  369. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  370. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  371. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  372. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  373. package/contracts/components/BaseComponent.sol +0 -86
  374. package/contracts/components/IBaseComponent.sol +0 -24
  375. package/contracts/experiment/cloning/Cloner.sol +0 -47
  376. package/contracts/experiment/errors/Require.sol +0 -38
  377. package/contracts/experiment/errors/Revert.sol +0 -44
  378. package/contracts/experiment/inheritance/A.sol +0 -53
  379. package/contracts/experiment/inheritance/B.sol +0 -28
  380. package/contracts/experiment/inheritance/C.sol +0 -34
  381. package/contracts/experiment/inheritance/IA.sol +0 -13
  382. package/contracts/experiment/inheritance/IB.sol +0 -10
  383. package/contracts/experiment/inheritance/IC.sol +0 -12
  384. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  385. package/contracts/experiment/statemachine/ISM.sol +0 -25
  386. package/contracts/experiment/statemachine/SM.sol +0 -57
  387. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  388. package/contracts/experiment/types/TypeA.sol +0 -47
  389. package/contracts/experiment/types/TypeB.sol +0 -29
  390. package/contracts/instance/AccessManagedSimple.sol +0 -114
  391. package/contracts/instance/AccessManagerSimple.sol +0 -682
  392. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  393. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  394. package/contracts/instance/base/IInstanceBase.sol +0 -23
  395. package/contracts/instance/base/IService.sol +0 -15
  396. package/contracts/instance/base/ServiceBase.sol +0 -44
  397. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  398. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -0,0 +1,1269 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/instance/service/PoolService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentServiceSenderNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "target",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorIAccessTargetLocked",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "nftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "ErrorNftOwnableAlreadyLinked",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "contractAddress",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorNftOwnableContractNotRegistered",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorNftOwnableInitialOwnerZero",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "account",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "ErrorNftOwnableNotOwner",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "registryAddress",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "ErrorNotRegistry",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "NftId",
225
+ "name": "poolNftId",
226
+ "type": "uint96"
227
+ }
228
+ ],
229
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "NftId",
236
+ "name": "bundlePoolNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "internalType": "NftId",
241
+ "name": "productPoolNftId",
242
+ "type": "uint96"
243
+ }
244
+ ],
245
+ "name": "ErrorPoolServiceBundlePoolMismatch",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [],
250
+ "name": "InvalidInitialization",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [],
255
+ "name": "NotInitializing",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [
261
+ {
262
+ "indexed": false,
263
+ "internalType": "address",
264
+ "name": "authority",
265
+ "type": "address"
266
+ }
267
+ ],
268
+ "name": "AuthorityUpdated",
269
+ "type": "event"
270
+ },
271
+ {
272
+ "anonymous": false,
273
+ "inputs": [
274
+ {
275
+ "indexed": false,
276
+ "internalType": "uint64",
277
+ "name": "version",
278
+ "type": "uint64"
279
+ }
280
+ ],
281
+ "name": "Initialized",
282
+ "type": "event"
283
+ },
284
+ {
285
+ "anonymous": false,
286
+ "inputs": [
287
+ {
288
+ "indexed": false,
289
+ "internalType": "NftId",
290
+ "name": "instanceNftId",
291
+ "type": "uint96"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "NftId",
296
+ "name": "poolNftId",
297
+ "type": "uint96"
298
+ },
299
+ {
300
+ "indexed": false,
301
+ "internalType": "NftId",
302
+ "name": "bundleNftId",
303
+ "type": "uint96"
304
+ }
305
+ ],
306
+ "name": "LogPoolServiceBundleClosed",
307
+ "type": "event"
308
+ },
309
+ {
310
+ "anonymous": false,
311
+ "inputs": [
312
+ {
313
+ "indexed": false,
314
+ "internalType": "NftId",
315
+ "name": "instanceNftId",
316
+ "type": "uint96"
317
+ },
318
+ {
319
+ "indexed": false,
320
+ "internalType": "NftId",
321
+ "name": "poolNftId",
322
+ "type": "uint96"
323
+ },
324
+ {
325
+ "indexed": false,
326
+ "internalType": "NftId",
327
+ "name": "bundleNftId",
328
+ "type": "uint96"
329
+ }
330
+ ],
331
+ "name": "LogPoolServiceBundleCreated",
332
+ "type": "event"
333
+ },
334
+ {
335
+ "anonymous": false,
336
+ "inputs": [
337
+ {
338
+ "indexed": false,
339
+ "internalType": "NftId",
340
+ "name": "poolNftId",
341
+ "type": "uint96"
342
+ },
343
+ {
344
+ "indexed": false,
345
+ "internalType": "RoleId",
346
+ "name": "bundleOwnerRole",
347
+ "type": "uint64"
348
+ }
349
+ ],
350
+ "name": "LogPoolServiceBundleOwnerRoleSet",
351
+ "type": "event"
352
+ },
353
+ {
354
+ "anonymous": false,
355
+ "inputs": [
356
+ {
357
+ "indexed": false,
358
+ "internalType": "NftId",
359
+ "name": "poolNftId",
360
+ "type": "uint96"
361
+ },
362
+ {
363
+ "indexed": false,
364
+ "internalType": "uint256",
365
+ "name": "previousMaxCapitalAmount",
366
+ "type": "uint256"
367
+ },
368
+ {
369
+ "indexed": false,
370
+ "internalType": "uint256",
371
+ "name": "currentMaxCapitalAmount",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
376
+ "type": "event"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
381
+ "outputs": [
382
+ {
383
+ "internalType": "bytes32",
384
+ "name": "",
385
+ "type": "bytes32"
386
+ }
387
+ ],
388
+ "stateMutability": "view",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "REGISTERABLE_LOCATION_V1",
394
+ "outputs": [
395
+ {
396
+ "internalType": "bytes32",
397
+ "name": "",
398
+ "type": "bytes32"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "authority",
407
+ "outputs": [
408
+ {
409
+ "internalType": "address",
410
+ "name": "",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [
419
+ {
420
+ "internalType": "NftId",
421
+ "name": "bundleNftId",
422
+ "type": "uint96"
423
+ }
424
+ ],
425
+ "name": "closeBundle",
426
+ "outputs": [],
427
+ "stateMutability": "nonpayable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "internalType": "address",
434
+ "name": "owner",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "components": [
439
+ {
440
+ "internalType": "UFixed",
441
+ "name": "fractionalFee",
442
+ "type": "uint256"
443
+ },
444
+ {
445
+ "internalType": "uint256",
446
+ "name": "fixedFee",
447
+ "type": "uint256"
448
+ }
449
+ ],
450
+ "internalType": "struct Fee",
451
+ "name": "fee",
452
+ "type": "tuple"
453
+ },
454
+ {
455
+ "internalType": "Amount",
456
+ "name": "stakingAmount",
457
+ "type": "uint96"
458
+ },
459
+ {
460
+ "internalType": "Seconds",
461
+ "name": "lifetime",
462
+ "type": "uint40"
463
+ },
464
+ {
465
+ "internalType": "bytes",
466
+ "name": "filter",
467
+ "type": "bytes"
468
+ }
469
+ ],
470
+ "name": "createBundle",
471
+ "outputs": [
472
+ {
473
+ "internalType": "NftId",
474
+ "name": "bundleNftId",
475
+ "type": "uint96"
476
+ }
477
+ ],
478
+ "stateMutability": "nonpayable",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [],
483
+ "name": "getDomain",
484
+ "outputs": [
485
+ {
486
+ "internalType": "ObjectType",
487
+ "name": "",
488
+ "type": "uint8"
489
+ }
490
+ ],
491
+ "stateMutability": "pure",
492
+ "type": "function"
493
+ },
494
+ {
495
+ "inputs": [],
496
+ "name": "getInitialInfo",
497
+ "outputs": [
498
+ {
499
+ "components": [
500
+ {
501
+ "internalType": "NftId",
502
+ "name": "nftId",
503
+ "type": "uint96"
504
+ },
505
+ {
506
+ "internalType": "NftId",
507
+ "name": "parentNftId",
508
+ "type": "uint96"
509
+ },
510
+ {
511
+ "internalType": "ObjectType",
512
+ "name": "objectType",
513
+ "type": "uint8"
514
+ },
515
+ {
516
+ "internalType": "bool",
517
+ "name": "isInterceptor",
518
+ "type": "bool"
519
+ },
520
+ {
521
+ "internalType": "address",
522
+ "name": "objectAddress",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "internalType": "address",
527
+ "name": "initialOwner",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "internalType": "bytes",
532
+ "name": "data",
533
+ "type": "bytes"
534
+ }
535
+ ],
536
+ "internalType": "struct IRegistry.ObjectInfo",
537
+ "name": "info",
538
+ "type": "tuple"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "getInstanceService",
547
+ "outputs": [
548
+ {
549
+ "internalType": "contract InstanceService",
550
+ "name": "",
551
+ "type": "address"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "getNftId",
560
+ "outputs": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "",
564
+ "type": "uint96"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "getOwner",
573
+ "outputs": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "",
577
+ "type": "address"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [],
585
+ "name": "getRegistry",
586
+ "outputs": [
587
+ {
588
+ "internalType": "contract IRegistry",
589
+ "name": "",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [],
598
+ "name": "getRegistryAddress",
599
+ "outputs": [
600
+ {
601
+ "internalType": "address",
602
+ "name": "",
603
+ "type": "address"
604
+ }
605
+ ],
606
+ "stateMutability": "view",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [],
611
+ "name": "getRegistryService",
612
+ "outputs": [
613
+ {
614
+ "internalType": "contract IRegistryService",
615
+ "name": "",
616
+ "type": "address"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [],
624
+ "name": "getVersion",
625
+ "outputs": [
626
+ {
627
+ "internalType": "Version",
628
+ "name": "",
629
+ "type": "uint24"
630
+ }
631
+ ],
632
+ "stateMutability": "pure",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [],
637
+ "name": "initializeERC165",
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "initialOwner",
647
+ "type": "address"
648
+ },
649
+ {
650
+ "internalType": "address",
651
+ "name": "registryAddress",
652
+ "type": "address"
653
+ }
654
+ ],
655
+ "name": "initializeNftOwnable",
656
+ "outputs": [],
657
+ "stateMutability": "nonpayable",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [
662
+ {
663
+ "internalType": "address",
664
+ "name": "registryAddress",
665
+ "type": "address"
666
+ },
667
+ {
668
+ "internalType": "NftId",
669
+ "name": "parentNftId",
670
+ "type": "uint96"
671
+ },
672
+ {
673
+ "internalType": "ObjectType",
674
+ "name": "objectType",
675
+ "type": "uint8"
676
+ },
677
+ {
678
+ "internalType": "bool",
679
+ "name": "isInterceptor",
680
+ "type": "bool"
681
+ },
682
+ {
683
+ "internalType": "address",
684
+ "name": "initialOwner",
685
+ "type": "address"
686
+ },
687
+ {
688
+ "internalType": "bytes",
689
+ "name": "registryData",
690
+ "type": "bytes"
691
+ }
692
+ ],
693
+ "name": "initializeRegisterable",
694
+ "outputs": [],
695
+ "stateMutability": "nonpayable",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [
700
+ {
701
+ "internalType": "address",
702
+ "name": "registryAddress",
703
+ "type": "address"
704
+ }
705
+ ],
706
+ "name": "initializeRegistryLinked",
707
+ "outputs": [],
708
+ "stateMutability": "nonpayable",
709
+ "type": "function"
710
+ },
711
+ {
712
+ "inputs": [
713
+ {
714
+ "internalType": "address",
715
+ "name": "registry",
716
+ "type": "address"
717
+ },
718
+ {
719
+ "internalType": "address",
720
+ "name": "authority",
721
+ "type": "address"
722
+ },
723
+ {
724
+ "internalType": "address",
725
+ "name": "initialOwner",
726
+ "type": "address"
727
+ }
728
+ ],
729
+ "name": "initializeService",
730
+ "outputs": [],
731
+ "stateMutability": "nonpayable",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [
736
+ {
737
+ "internalType": "address",
738
+ "name": "activatedBy",
739
+ "type": "address"
740
+ },
741
+ {
742
+ "internalType": "bytes",
743
+ "name": "data",
744
+ "type": "bytes"
745
+ }
746
+ ],
747
+ "name": "initializeVersionable",
748
+ "outputs": [],
749
+ "stateMutability": "nonpayable",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "isConsumingScheduledOp",
755
+ "outputs": [
756
+ {
757
+ "internalType": "bytes4",
758
+ "name": "",
759
+ "type": "bytes4"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "linkToRegisteredNftId",
768
+ "outputs": [],
769
+ "stateMutability": "nonpayable",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "contract IInstance",
776
+ "name": "instance",
777
+ "type": "address"
778
+ },
779
+ {
780
+ "internalType": "NftId",
781
+ "name": "productNftId",
782
+ "type": "uint96"
783
+ },
784
+ {
785
+ "internalType": "NftId",
786
+ "name": "applicationNftId",
787
+ "type": "uint96"
788
+ },
789
+ {
790
+ "components": [
791
+ {
792
+ "internalType": "NftId",
793
+ "name": "productNftId",
794
+ "type": "uint96"
795
+ },
796
+ {
797
+ "internalType": "NftId",
798
+ "name": "bundleNftId",
799
+ "type": "uint96"
800
+ },
801
+ {
802
+ "internalType": "ReferralId",
803
+ "name": "referralId",
804
+ "type": "bytes8"
805
+ },
806
+ {
807
+ "internalType": "RiskId",
808
+ "name": "riskId",
809
+ "type": "bytes8"
810
+ },
811
+ {
812
+ "internalType": "uint256",
813
+ "name": "sumInsuredAmount",
814
+ "type": "uint256"
815
+ },
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "premiumAmount",
819
+ "type": "uint256"
820
+ },
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "premiumPaidAmount",
824
+ "type": "uint256"
825
+ },
826
+ {
827
+ "internalType": "Seconds",
828
+ "name": "lifetime",
829
+ "type": "uint40"
830
+ },
831
+ {
832
+ "internalType": "bytes",
833
+ "name": "applicationData",
834
+ "type": "bytes"
835
+ },
836
+ {
837
+ "internalType": "bytes",
838
+ "name": "policyData",
839
+ "type": "bytes"
840
+ },
841
+ {
842
+ "internalType": "uint16",
843
+ "name": "claimsCount",
844
+ "type": "uint16"
845
+ },
846
+ {
847
+ "internalType": "uint16",
848
+ "name": "openClaimsCount",
849
+ "type": "uint16"
850
+ },
851
+ {
852
+ "internalType": "uint256",
853
+ "name": "payoutAmount",
854
+ "type": "uint256"
855
+ },
856
+ {
857
+ "internalType": "Timestamp",
858
+ "name": "activatedAt",
859
+ "type": "uint40"
860
+ },
861
+ {
862
+ "internalType": "Timestamp",
863
+ "name": "expiredAt",
864
+ "type": "uint40"
865
+ },
866
+ {
867
+ "internalType": "Timestamp",
868
+ "name": "closedAt",
869
+ "type": "uint40"
870
+ }
871
+ ],
872
+ "internalType": "struct IPolicy.PolicyInfo",
873
+ "name": "applicationInfo",
874
+ "type": "tuple"
875
+ },
876
+ {
877
+ "internalType": "uint256",
878
+ "name": "premiumAmount",
879
+ "type": "uint256"
880
+ }
881
+ ],
882
+ "name": "lockCollateral",
883
+ "outputs": [],
884
+ "stateMutability": "nonpayable",
885
+ "type": "function"
886
+ },
887
+ {
888
+ "inputs": [
889
+ {
890
+ "internalType": "address",
891
+ "name": "poolAddress",
892
+ "type": "address"
893
+ }
894
+ ],
895
+ "name": "register",
896
+ "outputs": [
897
+ {
898
+ "internalType": "NftId",
899
+ "name": "poolNftId",
900
+ "type": "uint96"
901
+ }
902
+ ],
903
+ "stateMutability": "nonpayable",
904
+ "type": "function"
905
+ },
906
+ {
907
+ "inputs": [
908
+ {
909
+ "internalType": "bytes4",
910
+ "name": "interfaceId",
911
+ "type": "bytes4"
912
+ }
913
+ ],
914
+ "name": "registerInterface",
915
+ "outputs": [],
916
+ "stateMutability": "nonpayable",
917
+ "type": "function"
918
+ },
919
+ {
920
+ "inputs": [
921
+ {
922
+ "internalType": "contract IInstance",
923
+ "name": "instance",
924
+ "type": "address"
925
+ },
926
+ {
927
+ "internalType": "NftId",
928
+ "name": "policyNftId",
929
+ "type": "uint96"
930
+ },
931
+ {
932
+ "components": [
933
+ {
934
+ "internalType": "NftId",
935
+ "name": "productNftId",
936
+ "type": "uint96"
937
+ },
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "bundleNftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "ReferralId",
945
+ "name": "referralId",
946
+ "type": "bytes8"
947
+ },
948
+ {
949
+ "internalType": "RiskId",
950
+ "name": "riskId",
951
+ "type": "bytes8"
952
+ },
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "sumInsuredAmount",
956
+ "type": "uint256"
957
+ },
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "premiumAmount",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "premiumPaidAmount",
966
+ "type": "uint256"
967
+ },
968
+ {
969
+ "internalType": "Seconds",
970
+ "name": "lifetime",
971
+ "type": "uint40"
972
+ },
973
+ {
974
+ "internalType": "bytes",
975
+ "name": "applicationData",
976
+ "type": "bytes"
977
+ },
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "policyData",
981
+ "type": "bytes"
982
+ },
983
+ {
984
+ "internalType": "uint16",
985
+ "name": "claimsCount",
986
+ "type": "uint16"
987
+ },
988
+ {
989
+ "internalType": "uint16",
990
+ "name": "openClaimsCount",
991
+ "type": "uint16"
992
+ },
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "payoutAmount",
996
+ "type": "uint256"
997
+ },
998
+ {
999
+ "internalType": "Timestamp",
1000
+ "name": "activatedAt",
1001
+ "type": "uint40"
1002
+ },
1003
+ {
1004
+ "internalType": "Timestamp",
1005
+ "name": "expiredAt",
1006
+ "type": "uint40"
1007
+ },
1008
+ {
1009
+ "internalType": "Timestamp",
1010
+ "name": "closedAt",
1011
+ "type": "uint40"
1012
+ }
1013
+ ],
1014
+ "internalType": "struct IPolicy.PolicyInfo",
1015
+ "name": "policyInfo",
1016
+ "type": "tuple"
1017
+ }
1018
+ ],
1019
+ "name": "releaseCollateral",
1020
+ "outputs": [],
1021
+ "stateMutability": "nonpayable",
1022
+ "type": "function"
1023
+ },
1024
+ {
1025
+ "inputs": [
1026
+ {
1027
+ "internalType": "address",
1028
+ "name": "newAuthority",
1029
+ "type": "address"
1030
+ }
1031
+ ],
1032
+ "name": "setAuthority",
1033
+ "outputs": [],
1034
+ "stateMutability": "nonpayable",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "RoleId",
1041
+ "name": "bundleOwnerRole",
1042
+ "type": "uint64"
1043
+ }
1044
+ ],
1045
+ "name": "setBundleOwnerRole",
1046
+ "outputs": [],
1047
+ "stateMutability": "nonpayable",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [
1052
+ {
1053
+ "components": [
1054
+ {
1055
+ "internalType": "UFixed",
1056
+ "name": "fractionalFee",
1057
+ "type": "uint256"
1058
+ },
1059
+ {
1060
+ "internalType": "uint256",
1061
+ "name": "fixedFee",
1062
+ "type": "uint256"
1063
+ }
1064
+ ],
1065
+ "internalType": "struct Fee",
1066
+ "name": "poolFee",
1067
+ "type": "tuple"
1068
+ },
1069
+ {
1070
+ "components": [
1071
+ {
1072
+ "internalType": "UFixed",
1073
+ "name": "fractionalFee",
1074
+ "type": "uint256"
1075
+ },
1076
+ {
1077
+ "internalType": "uint256",
1078
+ "name": "fixedFee",
1079
+ "type": "uint256"
1080
+ }
1081
+ ],
1082
+ "internalType": "struct Fee",
1083
+ "name": "stakingFee",
1084
+ "type": "tuple"
1085
+ },
1086
+ {
1087
+ "components": [
1088
+ {
1089
+ "internalType": "UFixed",
1090
+ "name": "fractionalFee",
1091
+ "type": "uint256"
1092
+ },
1093
+ {
1094
+ "internalType": "uint256",
1095
+ "name": "fixedFee",
1096
+ "type": "uint256"
1097
+ }
1098
+ ],
1099
+ "internalType": "struct Fee",
1100
+ "name": "performanceFee",
1101
+ "type": "tuple"
1102
+ }
1103
+ ],
1104
+ "name": "setFees",
1105
+ "outputs": [],
1106
+ "stateMutability": "nonpayable",
1107
+ "type": "function"
1108
+ },
1109
+ {
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "uint256",
1113
+ "name": "maxCapitalAmount",
1114
+ "type": "uint256"
1115
+ }
1116
+ ],
1117
+ "name": "setMaxCapitalAmount",
1118
+ "outputs": [],
1119
+ "stateMutability": "nonpayable",
1120
+ "type": "function"
1121
+ },
1122
+ {
1123
+ "inputs": [
1124
+ {
1125
+ "internalType": "bytes4",
1126
+ "name": "interfaceId",
1127
+ "type": "bytes4"
1128
+ }
1129
+ ],
1130
+ "name": "supportsInterface",
1131
+ "outputs": [
1132
+ {
1133
+ "internalType": "bool",
1134
+ "name": "",
1135
+ "type": "bool"
1136
+ }
1137
+ ],
1138
+ "stateMutability": "view",
1139
+ "type": "function"
1140
+ },
1141
+ {
1142
+ "inputs": [
1143
+ {
1144
+ "internalType": "bytes",
1145
+ "name": "data",
1146
+ "type": "bytes"
1147
+ }
1148
+ ],
1149
+ "name": "upgradeVersionable",
1150
+ "outputs": [],
1151
+ "stateMutability": "nonpayable",
1152
+ "type": "function"
1153
+ }
1154
+ ],
1155
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614d4b80620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002195760003560e01c80637738eb861162000125578063b135d5d411620000af578063cc9fc59a116200007a578063cc9fc59a1462000508578063d0d63b091462000512578063f21de1e814620003a2578063f7c34ee0146200052957600080fd5b8063b135d5d414620004b7578063b68d180914620004ce578063bf7e214f14620004de578063caf4e3d414620004fe57600080fd5b80638e32e97911620000f05780638e32e979146200044e5780638fb360371462000465578063a3c260521462000489578063ada9652e14620004a057600080fd5b80637738eb8614620003ff5780637a9e5e4b146200041657806382678766146200042d578063893d20e8146200044457600080fd5b8063329d6e7411620001a757806359eaa43e116200017257806359eaa43e146200038b5780635ab1bd5314620003a2578063644c45e014620003c8578063675393bf14620003e857600080fd5b8063329d6e74146200032357806336fc697e146200033a5780634420e486146200034457806349bb9e4b146200037457600080fd5b806313f3bc2f11620001e857806313f3bc2f14620002a75780631eff4b2214620002be578063214cdb8014620002f557806327bb7a33146200030c57600080fd5b806301ffc9a7146200021e5780630d8e6e2c14620002635780630fec111c1462000282578063138461e0146200029b575b600080fd5b6200024e6200022f3660046200338b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200026d62000540565b60405162ffffff90911681526020016200025a565b6200028c620005cd565b6040516200025a919062003412565b620002a562000776565b005b620002a5620002b83660046200384b565b6200098b565b620002e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016200025a565b620002a5620003063660046200338b565b62000d8b565b620002a56200031d366004620038f0565b62000dba565b620002a56200033436600462003996565b62000e4c565b620002a562000fa4565b6200035b62000355366004620039ce565b62000fec565b6040516001600160601b0390911681526020016200025a565b620002a562000385366004620039ee565b6200158a565b620002a56200039c36600462003a43565b62001692565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016200025a565b60008051602062004cb6833981519152546001600160601b03166200035b565b620002a5620003f9366004620039ce565b62001718565b6200035b6200041036600462003adf565b62001831565b620002a562000427366004620039ce565b62001a0c565b620002a56200043e36600462003ba6565b62001aae565b620003af62001cdf565b620002a56200045f36600462003bf3565b62001e1e565b6200046f62002072565b6040516001600160e01b031990911681526020016200025a565b620002a56200049a36600462003c5b565b620020ad565b620002e660008051602062004cb683398151915281565b620002a5620004c836600462003c7b565b6200236f565b604051608c81526020016200025a565b60008051602062004cd6833981519152546001600160a01b0316620003af565b620003af620025d2565b620003af620025e0565b620002a56200052336600462003c95565b620025ee565b620002a56200053a36600462003cb5565b62002724565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005c8919062003cf3565b905090565b620005d76200333f565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191620006699062003d1a565b80601f0160208091040260200160405190810160405280929190818152602001828054620006979062003d1a565b8015620006e85780601f10620006bc57610100808354040283529160200191620006e8565b820191906000526020600020905b815481529060010190602001808311620006ca57829003601f168201915b50505050508152505090506040518060e0016040528062000707600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016200075a62001cdf565b6001600160a01b03168152602001826060015181525091505090565b600060008051602062004cb683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200080d919062003d63565b156200083f5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008536001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200089c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008c2919062003d63565b620008ec5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000836565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000941573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000967919062003d90565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009f2919062003db0565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000a47573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a6d919062003e10565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000acb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000af5919081019062003f24565b80519091506001600160601b0384811691161462000b3d578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000836565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000b8e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000bb8919081019062004038565b905060008160c0015180602001905181019062000bd691906200413f565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b15801562000c4e57600080fd5b505af115801562000c63573d6000803e3d6000fd5b505050508260e001511562000d7c57600062000c876001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000cd7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d0191908101906200423e565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000d46959493929190620042ef565b600060405180830381600087803b15801562000d6157600080fd5b505af115801562000d76573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b62000d95620027a3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b62000dc4620027a3565b62000dd0828762002724565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810162000e42838262004396565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000e7062000540565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000eb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ed7919062004462565b60008051602062004cf68339815191528054600160401b900460ff168062000f0c575080546001600160401b03808416911610155b1562000f2b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000f5783620027de565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000fae620027a3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000808080806200100986608c62001003620027e8565b62002862565b9296509094509250905085600062001020620025d2565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562001073573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200109d91908101906200423e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010db57600080fd5b505af1158015620010f0573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200113c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001166919081019062004038565b905080602001516040516200117b906200337d565b6001600160a01b039091168152602001604051809103906000f080158015620011a8573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200122b919062003db0565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b81526004016200125a9291906200450e565b600060405180830381600087803b1580156200127557600080fd5b505af11580156200128a573d6000803e3d6000fd5b5060009250600291506200129b9050565b604051908082528060200260200182016040528015620012d057816020015b6060815260200190600190039081620012ba5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811062001307576200130762004532565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062001348576200134862004532565b6020026020010181905250638267876660e01b8160008151811062001371576200137162004532565b60200260200101516000815181106200138e576200138e62004532565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b9082906001908110620013c857620013c862004532565b6020026020010151600081518110620013e557620013e562004532565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506200142b620027e8565b8160008151811062001441576200144162004532565b60200260200101906001600160401b031690816001600160401b0316815250506200146b62002b6a565b8160018151811062001481576200148162004532565b60200260200101906001600160401b031690816001600160401b031681525050620014ab620025e0565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001524919081019062004548565b86866040518663ffffffff1660e01b815260040162001548959493929190620045c6565b600060405180830381600087803b1580156200156357600080fd5b505af115801562001578573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062004cf68339815191528054600160401b810460ff1615906001600160401b0316600081158015620015bf5750825b90506000826001600160401b03166001148015620015dc5750303b155b905081158015620015eb575080155b156200160a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200163557845460ff60401b1916600160401b1785555b62001641878762002ba7565b83156200168957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b1580156200170357600080fd5b505af115801562001689573d6000803e3d6000fd5b62001722620027a3565b806001600160a01b03163b6000036200175a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000836565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015620017d7575060408051601f3d908101601f19168201909252620017d49181019062003d63565b60015b620018015760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000836565b806200182c5760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000836565b505b50565b6000808062001841608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001887573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018ad919062003db0565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b815260040162001905989796959493929190620046a2565b6020604051808303816000875af115801562001925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200194b919062003d90565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620019ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019d3919062003d90565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b3362001a2e60008051602062004cd6833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001a6b5760405162d1953b60e31b81526001600160a01b038216600482015260240162000836565b816001600160a01b03163b60000362001aa3576040516361798f2f60e11b81526001600160a01b038316600482015260240162000836565b6200182c8262002fad565b60008062001abd608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001b03573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b29919062003db0565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001b7d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ba7919081019062004038565b905060008160c0015180602001905181019062001bc591906200413f565b61014081018990526101608101889052610180810187905260405190915062001bf390829060200162004733565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c49573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c6f919062003db0565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001ca1939291906200482d565b600060405180830381600087803b15801562001cbc57600080fd5b505af115801562001cd1573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062004cb683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001d51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d77919062003d63565b1562001e08576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001ddc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e02919062003db0565b91505090565b54600160601b90046001600160a01b0316919050565b62001e28620027a3565b62001ead83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e6c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e92919062003d90565b603c6000856040518060200160405280600081525062000dba565b6001600160a01b0382161562001ece5762001ec8826200300f565b62002049565b600062001ee36001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562001f44573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f6a919062004864565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562001fb0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd6919062003db0565b905062002047816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002041919062003db0565b6200300f565b505b6200205b634a531f3360e01b62000d8b565b6200206d63b68d180960e01b62000d8b565b505050565b60008051602062004cd6833981519152805460009190600160a01b900460ff166200209f57600062001e02565b638fb3603760e01b91505090565b600080620020bc608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002128919062003db0565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200217c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620021a6919081019062004038565b905060008160c00151806020019051810190620021c491906200413f565b9050620021eb8160200151620021d962003024565b6001600160401b039081169116141590565b15620022165760405163eff765ff60e01b81526001600160601b038616600482015260240162000836565b6001600160401b0386166020808301919091526040516200223a9183910162004733565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002290573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022b6919062003db0565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b8152600401620022e8939291906200482d565b600060405180830381600087803b1580156200230357600080fd5b505af115801562002318573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b6000806200237e608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620023c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023ea919062003db0565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200243e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002468919081019062004038565b905060008160c001518060200190518101906200248691906200413f565b6040808201805190899052905191925090620024a790839060200162004733565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002523919062003db0565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b815260040162002555939291906200482d565b600060405180830381600087803b1580156200257057600080fd5b505af115801562002585573d6000803e3d6000fd5b5050604080516001600160601b038a168152602081018590529081018a90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905062001680565b6000620005c8602862003066565b6000620005c8604662003066565b600080620025fd608c62002dfb565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b1580156200265c57600080fd5b505af115801562002671573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620026d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026fb919062003d90565b604080516001600160601b03928316815282861660208201529186169082015260600162000f97565b6200272e620027a3565b620027398162001718565b6200274362000fa4565b6001600160a01b0382166200276b5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062004cb683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602062004cf683398151915254600160401b900460ff16620027dc57604051631afcd79f60e31b815260040160405180910390fd5b565b62000219620027a3565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200283c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005c8919062004462565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620028b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028dd919062003d63565b62002907576040516359bff0e360e11b81526001600160a01b038816600482015260240162000836565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562002948573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200297291908101906200423e565b90506200298a81604001518860ff9081169116141590565b15620029cc576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640162000836565b60a08101516001600160a01b038581169082161462002a205760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640162000836565b8160200151925062002a328362003182565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002a73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a99919062003db0565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562002af1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b17919062003d63565b62002b5f57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640162000836565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200281e565b60008051602062004cf68339815191528054600160401b810460ff1615906001600160401b031660008115801562002bdc5750825b90506000826001600160401b0316600114801562002bf95750303b155b90508115801562002c08575080155b1562002c275760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831562002c5257845460ff60401b1916600160401b1785555b6000808780602001905181019062002c6b919062004884565b909250905062002c7e8260008b62001e1e565b6001546001600160a01b031663d39e604360dc62002c9b62000540565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562002cf1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d17919062004864565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002d5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d83919062003db0565b600280546001600160a01b0319166001600160a01b039290921691909117905562002db5630728e3df60e31b62000d8b565b505083156200168957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001680565b600062002e076200333f565b600062002e1c6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562002e63573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e89919062003d90565b925062002e9783856200321b565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f04919062003db0565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562002f4f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f75919062003d63565b1562002fa657608082015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000836565b9193909250565b60008051602062004cd683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003019620027a3565b6200182e816200332a565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200281e565b60006200307b6001546001600160a01b031690565b6001600160a01b031663d39e6043836200309462000540565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620030ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003110919062004864565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003156573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200317c919062003db0565b92915050565b6000620031976001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015620031e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200321191908101906200423e565b6080015192915050565b620032256200333f565b60006200323a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200328a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620032b491908101906200423e565b9150620032cc82604001518460ff9081169116141590565b156200331257608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff808616602484015216604482015260640162000836565b62003321826020015162003182565b90509250929050565b62003334620027a3565b6200182e8162002fad565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6103fd80620048b983390190565b6000602082840312156200339e57600080fd5b81356001600160e01b031981168114620033b757600080fd5b9392505050565b60005b83811015620033db578181015183820152602001620033c1565b50506000910152565b60008151808452620033fe816020860160208601620033be565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200347c60c08401826001600160a01b03169052565b5060c083015160e08084015262003498610100840182620033e4565b949350505050565b6001600160a01b03811681146200182e57600080fd5b6001600160601b03811681146200182e57600080fd5b8035620034d981620034b6565b919050565b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156200351a576200351a620034de565b60405290565b604080519081016001600160401b03811182821017156200351a576200351a620034de565b60405161010081016001600160401b03811182821017156200351a576200351a620034de565b60405161012081016001600160401b03811182821017156200351a576200351a620034de565b60405160e081016001600160401b03811182821017156200351a576200351a620034de565b6040516101a081016001600160401b03811182821017156200351a576200351a620034de565b604051601f8201601f191681016001600160401b0381118282101715620036075762003607620034de565b604052919050565b80356001600160c01b031981168114620034d957600080fd5b64ffffffffff811681146200182e57600080fd5b8035620034d98162003628565b60006001600160401b03821115620036655762003665620034de565b50601f01601f191660200190565b600082601f8301126200368557600080fd5b81356200369c620036968262003649565b620035dc565b818152846020838601011115620036b257600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff81168114620034d957600080fd5b60006102008284031215620036f657600080fd5b62003700620034f4565b90506200370d82620034cc565b81526200371d60208301620034cc565b602082015262003730604083016200360f565b604082015262003743606083016200360f565b60608201526080820135608082015260a082013560a082015260c082013560c08201526200377460e083016200363c565b60e0820152610100808301356001600160401b03808211156200379657600080fd5b620037a48683870162003673565b83850152610120925082850135915080821115620037c157600080fd5b50620037d08582860162003673565b828401525050610140620037e6818401620036cf565b90820152610160620037fa838201620036cf565b9082015261018082810135908201526101a0620038198184016200363c565b908201526101c06200382d8382016200363c565b908201526101e0620038418382016200363c565b9082015292915050565b600080600080600060a086880312156200386457600080fd5b85356200387181620034a0565b945060208601356200388381620034b6565b935060408601356200389581620034b6565b925060608601356001600160401b03811115620038b157600080fd5b620038bf88828901620036e2565b95989497509295608001359392505050565b60ff811681146200182e57600080fd5b80151581146200182e57600080fd5b60008060008060008060c087890312156200390a57600080fd5b86356200391781620034a0565b955060208701356200392981620034b6565b945060408701356200393b81620038d1565b935060608701356200394d81620038e1565b925060808701356200395f81620034a0565b915060a08701356001600160401b038111156200397b57600080fd5b6200398989828a0162003673565b9150509295509295509295565b600060208284031215620039a957600080fd5b81356001600160401b03811115620039c057600080fd5b620034988482850162003673565b600060208284031215620039e157600080fd5b8135620033b781620034a0565b6000806040838503121562003a0257600080fd5b823562003a0f81620034a0565b915060208301356001600160401b0381111562003a2b57600080fd5b62003a398582860162003673565b9150509250929050565b60008060006060848603121562003a5957600080fd5b833562003a6681620034a0565b9250602084013562003a7881620034b6565b915060408401356001600160401b0381111562003a9457600080fd5b62003aa286828701620036e2565b9150509250925092565b60006040828403121562003abf57600080fd5b62003ac962003520565b9050813581526020820135602082015292915050565b60008060008060008060c0878903121562003af957600080fd5b863562003b0681620034a0565b955062003b17886020890162003aac565b9450606087013562003b2981620034b6565b9350608087013562003b3b8162003628565b925060a08701356001600160401b038082111562003b5857600080fd5b818901915089601f83011262003b6d57600080fd5b81358181111562003b7d57600080fd5b8a602082850101111562003b9057600080fd5b6020830194508093505050509295509295509295565b600080600060c0848603121562003bbc57600080fd5b62003bc8858562003aac565b925062003bd9856040860162003aac565b915062003bea856080860162003aac565b90509250925092565b60008060006060848603121562003c0957600080fd5b833562003c1681620034a0565b9250602084013562003c2881620034a0565b9150604084013562003c3a81620034a0565b809150509250925092565b6001600160401b03811681146200182e57600080fd5b60006020828403121562003c6e57600080fd5b8135620033b78162003c45565b60006020828403121562003c8e57600080fd5b5035919050565b60006020828403121562003ca857600080fd5b8135620033b781620034b6565b6000806040838503121562003cc957600080fd5b823562003cd681620034a0565b9150602083013562003ce881620034a0565b809150509250929050565b60006020828403121562003d0657600080fd5b815162ffffff81168114620033b757600080fd5b600181811c9082168062003d2f57607f821691505b60208210810362003d5057634e487b7160e01b600052602260045260246000fd5b50919050565b8051620034d981620038e1565b60006020828403121562003d7657600080fd5b8151620033b781620038e1565b8051620034d981620034b6565b60006020828403121562003da357600080fd5b8151620033b781620034b6565b60006020828403121562003dc357600080fd5b8151620033b781620034a0565b8051620034d981620034a0565b60006040828403121562003df057600080fd5b62003dfa62003520565b9050815181526020820151602082015292915050565b6000610140828403121562003e2457600080fd5b62003e2e62003545565b62003e398362003dd0565b815262003e496020840162003dd0565b602082015262003e5c6040840162003d83565b604082015262003e6f6060840162003d83565b606082015262003e83846080850162003ddd565b608082015262003e978460c0850162003ddd565b60a082015262003eab610100840162003d56565b60c082015262003ebf610120840162003dd0565b60e08201529392505050565b600082601f83011262003edd57600080fd5b815162003eee620036968262003649565b81815284602083860101111562003f0457600080fd5b62003498826020830160208701620033be565b8051620034d98162003628565b60006020828403121562003f3757600080fd5b81516001600160401b038082111562003f4f57600080fd5b90830190610140828603121562003f6557600080fd5b62003f6f6200356b565b62003f7a8362003d83565b815262003f8b866020850162003ddd565b602082015260608301518281111562003fa357600080fd5b62003fb18782860162003ecb565b60408301525062003fc56080840162003d83565b606082015262003fd860a0840162003d83565b608082015262003feb60c0840162003d83565b60a082015262003ffe60e0840162003f17565b60c082015261010091506200401582840162003f17565b60e082015262004029610120840162003f17565b91810191909152949350505050565b6000602082840312156200404b57600080fd5b81516001600160401b03808211156200406357600080fd5b9083019060e082860312156200407857600080fd5b6200408262003591565b8251828111156200409257600080fd5b620040a08782860162003ecb565b825250620040b16020840162003dd0565b6020820152620040c46040840162003dd0565b6040820152620040d76060840162003dd0565b6060820152620040ea6080840162003d83565b6080820152620040fd60a0840162003d83565b60a082015260c0830151828111156200411557600080fd5b620041238782860162003ecb565b60c08301525095945050505050565b8051620034d98162003c45565b600061020082840312156200415357600080fd5b6200415d620035b6565b620041688362003d83565b8152620041786020840162004132565b6020820152604083015160408201526060830151606082015260808301516080820152620041a960a0840162003d56565b60a0820152620041bc60c0840162003d56565b60c0820152620041cf60e0840162003d56565b60e082015261010083810151908201526101208084015190820152610140620041fb8582860162003ddd565b90820152610180620042108585830162003ddd565b61016083015262004226856101c0860162003ddd565b908201529392505050565b8051620034d981620038d1565b6000602082840312156200425157600080fd5b81516001600160401b03808211156200426957600080fd5b9083019060e082860312156200427e57600080fd5b6200428862003591565b620042938362003d83565b8152620042a36020840162003d83565b6020820152620042b66040840162004231565b6040820152620042c96060840162003d56565b6060820152620042dc6080840162003dd0565b6080820152620040fd60a0840162003dd0565b60006001600160601b03808816835260a060208401526200431460a0840188620033e4565b81871660408501528381036060850152620043308187620033e4565b925050508260808301529695505050505050565b601f8211156200206d57600081815260208120601f850160051c810160208610156200436d5750805b601f850160051c820191505b818110156200438e5782815560010162004379565b505050505050565b81516001600160401b03811115620043b257620043b2620034de565b620043ca81620043c3845462003d1a565b8462004344565b602080601f831160018114620044025760008415620043e95750858301515b600019600386901b1c1916600185901b1785556200438e565b600085815260208120601f198616915b82811015620044335788860151825594840194600190910190840162004412565b5085821015620044525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200447557600080fd5b8151620033b78162003c45565b6000815160e084526200449960e0850182620033e4565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620045058282620033e4565b95945050505050565b6001600160601b038316815260406020820152600062003498604083018462004482565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200455b57600080fd5b81516001600160401b038111156200457257600080fd5b620034988482850162003ecb565b600081518084526020808501945080840160005b83811015620045bb5781516001600160401b03168752958201959082019060010162004594565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620045f960a0840187620033e4565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200467b57868403601f19018652825180518086529089019089860190845b81811015620046655783516001600160e01b0319168352928b0192918b01916001016200463d565b505096890196945050918701916001016200461a565b505050868103608088015262004692818962004580565b9c9b505050505050505050505050565b6001600160a01b0389811682526001600160601b038981166020840152888216604084015260009161010091620046e6606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b81516001600160601b03168152610200810160208301516200476060208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a08301516200479360a084018215159052565b5060c0830151620047a860c084018215159052565b5060e0830151620047bd60e084018215159052565b506101008381015190830152610120808401519083015261014080840151805182850152602081015161016085015250506101608301516101806200480e8185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b6001600160601b038416815260606020820152600062004851606083018562004482565b905060ff83166040830152949350505050565b6000602082840312156200487757600080fd5b8151620033b781620038d1565b600080604083850312156200489857600080fd5b8251620048a581620034a0565b602084015190925062003ce881620034a056fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122031ce29bfc26843b8b79c894b24c6deab54d343b8b20c9720639dfa4c0de81be264736f6c63430008140033",
1156
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002195760003560e01c80637738eb861162000125578063b135d5d411620000af578063cc9fc59a116200007a578063cc9fc59a1462000508578063d0d63b091462000512578063f21de1e814620003a2578063f7c34ee0146200052957600080fd5b8063b135d5d414620004b7578063b68d180914620004ce578063bf7e214f14620004de578063caf4e3d414620004fe57600080fd5b80638e32e97911620000f05780638e32e979146200044e5780638fb360371462000465578063a3c260521462000489578063ada9652e14620004a057600080fd5b80637738eb8614620003ff5780637a9e5e4b146200041657806382678766146200042d578063893d20e8146200044457600080fd5b8063329d6e7411620001a757806359eaa43e116200017257806359eaa43e146200038b5780635ab1bd5314620003a2578063644c45e014620003c8578063675393bf14620003e857600080fd5b8063329d6e74146200032357806336fc697e146200033a5780634420e486146200034457806349bb9e4b146200037457600080fd5b806313f3bc2f11620001e857806313f3bc2f14620002a75780631eff4b2214620002be578063214cdb8014620002f557806327bb7a33146200030c57600080fd5b806301ffc9a7146200021e5780630d8e6e2c14620002635780630fec111c1462000282578063138461e0146200029b575b600080fd5b6200024e6200022f3660046200338b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200026d62000540565b60405162ffffff90911681526020016200025a565b6200028c620005cd565b6040516200025a919062003412565b620002a562000776565b005b620002a5620002b83660046200384b565b6200098b565b620002e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016200025a565b620002a5620003063660046200338b565b62000d8b565b620002a56200031d366004620038f0565b62000dba565b620002a56200033436600462003996565b62000e4c565b620002a562000fa4565b6200035b62000355366004620039ce565b62000fec565b6040516001600160601b0390911681526020016200025a565b620002a562000385366004620039ee565b6200158a565b620002a56200039c36600462003a43565b62001692565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016200025a565b60008051602062004cb6833981519152546001600160601b03166200035b565b620002a5620003f9366004620039ce565b62001718565b6200035b6200041036600462003adf565b62001831565b620002a562000427366004620039ce565b62001a0c565b620002a56200043e36600462003ba6565b62001aae565b620003af62001cdf565b620002a56200045f36600462003bf3565b62001e1e565b6200046f62002072565b6040516001600160e01b031990911681526020016200025a565b620002a56200049a36600462003c5b565b620020ad565b620002e660008051602062004cb683398151915281565b620002a5620004c836600462003c7b565b6200236f565b604051608c81526020016200025a565b60008051602062004cd6833981519152546001600160a01b0316620003af565b620003af620025d2565b620003af620025e0565b620002a56200052336600462003c95565b620025ee565b620002a56200053a36600462003cb5565b62002724565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005c8919062003cf3565b905090565b620005d76200333f565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191620006699062003d1a565b80601f0160208091040260200160405190810160405280929190818152602001828054620006979062003d1a565b8015620006e85780601f10620006bc57610100808354040283529160200191620006e8565b820191906000526020600020905b815481529060010190602001808311620006ca57829003601f168201915b50505050508152505090506040518060e0016040528062000707600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016200075a62001cdf565b6001600160a01b03168152602001826060015181525091505090565b600060008051602062004cb683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007e7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200080d919062003d63565b156200083f5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008536001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200089c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008c2919062003d63565b620008ec5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000836565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000941573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000967919062003d90565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009f2919062003db0565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000a47573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a6d919062003e10565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000acb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000af5919081019062003f24565b80519091506001600160601b0384811691161462000b3d578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000836565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000b8e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000bb8919081019062004038565b905060008160c0015180602001905181019062000bd691906200413f565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b15801562000c4e57600080fd5b505af115801562000c63573d6000803e3d6000fd5b505050508260e001511562000d7c57600062000c876001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000cd7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d0191908101906200423e565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000d46959493929190620042ef565b600060405180830381600087803b15801562000d6157600080fd5b505af115801562000d76573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b62000d95620027a3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b62000dc4620027a3565b62000dd0828762002724565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810162000e42838262004396565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000e7062000540565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000eb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ed7919062004462565b60008051602062004cf68339815191528054600160401b900460ff168062000f0c575080546001600160401b03808416911610155b1562000f2b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000f5783620027de565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000fae620027a3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000808080806200100986608c62001003620027e8565b62002862565b9296509094509250905085600062001020620025d2565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562001073573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200109d91908101906200423e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010db57600080fd5b505af1158015620010f0573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200113c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001166919081019062004038565b905080602001516040516200117b906200337d565b6001600160a01b039091168152602001604051809103906000f080158015620011a8573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200122b919062003db0565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b81526004016200125a9291906200450e565b600060405180830381600087803b1580156200127557600080fd5b505af11580156200128a573d6000803e3d6000fd5b5060009250600291506200129b9050565b604051908082528060200260200182016040528015620012d057816020015b6060815260200190600190039081620012ba5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811062001307576200130762004532565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062001348576200134862004532565b6020026020010181905250638267876660e01b8160008151811062001371576200137162004532565b60200260200101516000815181106200138e576200138e62004532565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b9082906001908110620013c857620013c862004532565b6020026020010151600081518110620013e557620013e562004532565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506200142b620027e8565b8160008151811062001441576200144162004532565b60200260200101906001600160401b031690816001600160401b0316815250506200146b62002b6a565b8160018151811062001481576200148162004532565b60200260200101906001600160401b031690816001600160401b031681525050620014ab620025e0565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001524919081019062004548565b86866040518663ffffffff1660e01b815260040162001548959493929190620045c6565b600060405180830381600087803b1580156200156357600080fd5b505af115801562001578573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062004cf68339815191528054600160401b810460ff1615906001600160401b0316600081158015620015bf5750825b90506000826001600160401b03166001148015620015dc5750303b155b905081158015620015eb575080155b156200160a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200163557845460ff60401b1916600160401b1785555b62001641878762002ba7565b83156200168957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b1580156200170357600080fd5b505af115801562001689573d6000803e3d6000fd5b62001722620027a3565b806001600160a01b03163b6000036200175a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000836565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015620017d7575060408051601f3d908101601f19168201909252620017d49181019062003d63565b60015b620018015760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000836565b806200182c5760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000836565b505b50565b6000808062001841608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001887573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018ad919062003db0565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b815260040162001905989796959493929190620046a2565b6020604051808303816000875af115801562001925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200194b919062003d90565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620019ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019d3919062003d90565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b3362001a2e60008051602062004cd6833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001a6b5760405162d1953b60e31b81526001600160a01b038216600482015260240162000836565b816001600160a01b03163b60000362001aa3576040516361798f2f60e11b81526001600160a01b038316600482015260240162000836565b6200182c8262002fad565b60008062001abd608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001b03573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b29919062003db0565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001b7d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ba7919081019062004038565b905060008160c0015180602001905181019062001bc591906200413f565b61014081018990526101608101889052610180810187905260405190915062001bf390829060200162004733565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c49573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c6f919062003db0565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001ca1939291906200482d565b600060405180830381600087803b15801562001cbc57600080fd5b505af115801562001cd1573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062004cb683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001d51573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d77919062003d63565b1562001e08576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001ddc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e02919062003db0565b91505090565b54600160601b90046001600160a01b0316919050565b62001e28620027a3565b62001ead83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e6c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e92919062003d90565b603c6000856040518060200160405280600081525062000dba565b6001600160a01b0382161562001ece5762001ec8826200300f565b62002049565b600062001ee36001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562001f44573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f6a919062004864565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562001fb0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd6919062003db0565b905062002047816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002041919062003db0565b6200300f565b505b6200205b634a531f3360e01b62000d8b565b6200206d63b68d180960e01b62000d8b565b505050565b60008051602062004cd6833981519152805460009190600160a01b900460ff166200209f57600062001e02565b638fb3603760e01b91505090565b600080620020bc608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002128919062003db0565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200217c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620021a6919081019062004038565b905060008160c00151806020019051810190620021c491906200413f565b9050620021eb8160200151620021d962003024565b6001600160401b039081169116141590565b15620022165760405163eff765ff60e01b81526001600160601b038616600482015260240162000836565b6001600160401b0386166020808301919091526040516200223a9183910162004733565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002290573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022b6919062003db0565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b8152600401620022e8939291906200482d565b600060405180830381600087803b1580156200230357600080fd5b505af115801562002318573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b6000806200237e608c62002dfb565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620023c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023ea919062003db0565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200243e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002468919081019062004038565b905060008160c001518060200190518101906200248691906200413f565b6040808201805190899052905191925090620024a790839060200162004733565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002523919062003db0565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b815260040162002555939291906200482d565b600060405180830381600087803b1580156200257057600080fd5b505af115801562002585573d6000803e3d6000fd5b5050604080516001600160601b038a168152602081018590529081018a90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905062001680565b6000620005c8602862003066565b6000620005c8604662003066565b600080620025fd608c62002dfb565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b1580156200265c57600080fd5b505af115801562002671573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620026d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026fb919062003d90565b604080516001600160601b03928316815282861660208201529186169082015260600162000f97565b6200272e620027a3565b620027398162001718565b6200274362000fa4565b6001600160a01b0382166200276b5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062004cb683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602062004cf683398151915254600160401b900460ff16620027dc57604051631afcd79f60e31b815260040160405180910390fd5b565b62000219620027a3565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200283c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005c8919062004462565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620028b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028dd919062003d63565b62002907576040516359bff0e360e11b81526001600160a01b038816600482015260240162000836565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562002948573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200297291908101906200423e565b90506200298a81604001518860ff9081169116141590565b15620029cc576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640162000836565b60a08101516001600160a01b038581169082161462002a205760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640162000836565b8160200151925062002a328362003182565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002a73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a99919062003db0565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562002af1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b17919062003d63565b62002b5f57604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640162000836565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200281e565b60008051602062004cf68339815191528054600160401b810460ff1615906001600160401b031660008115801562002bdc5750825b90506000826001600160401b0316600114801562002bf95750303b155b90508115801562002c08575080155b1562002c275760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831562002c5257845460ff60401b1916600160401b1785555b6000808780602001905181019062002c6b919062004884565b909250905062002c7e8260008b62001e1e565b6001546001600160a01b031663d39e604360dc62002c9b62000540565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562002cf1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d17919062004864565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002d5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d83919062003db0565b600280546001600160a01b0319166001600160a01b039290921691909117905562002db5630728e3df60e31b62000d8b565b505083156200168957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001680565b600062002e076200333f565b600062002e1c6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562002e63573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e89919062003d90565b925062002e9783856200321b565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f04919062003db0565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562002f4f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f75919062003d63565b1562002fa657608082015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000836565b9193909250565b60008051602062004cd683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003019620027a3565b6200182e816200332a565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200281e565b60006200307b6001546001600160a01b031690565b6001600160a01b031663d39e6043836200309462000540565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620030ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003110919062004864565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003156573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200317c919062003db0565b92915050565b6000620031976001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015620031e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200321191908101906200423e565b6080015192915050565b620032256200333f565b60006200323a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200328a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620032b491908101906200423e565b9150620032cc82604001518460ff9081169116141590565b156200331257608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff808616602484015216604482015260640162000836565b62003321826020015162003182565b90509250929050565b62003334620027a3565b6200182e8162002fad565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6103fd80620048b983390190565b6000602082840312156200339e57600080fd5b81356001600160e01b031981168114620033b757600080fd5b9392505050565b60005b83811015620033db578181015183820152602001620033c1565b50506000910152565b60008151808452620033fe816020860160208601620033be565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200347c60c08401826001600160a01b03169052565b5060c083015160e08084015262003498610100840182620033e4565b949350505050565b6001600160a01b03811681146200182e57600080fd5b6001600160601b03811681146200182e57600080fd5b8035620034d981620034b6565b919050565b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156200351a576200351a620034de565b60405290565b604080519081016001600160401b03811182821017156200351a576200351a620034de565b60405161010081016001600160401b03811182821017156200351a576200351a620034de565b60405161012081016001600160401b03811182821017156200351a576200351a620034de565b60405160e081016001600160401b03811182821017156200351a576200351a620034de565b6040516101a081016001600160401b03811182821017156200351a576200351a620034de565b604051601f8201601f191681016001600160401b0381118282101715620036075762003607620034de565b604052919050565b80356001600160c01b031981168114620034d957600080fd5b64ffffffffff811681146200182e57600080fd5b8035620034d98162003628565b60006001600160401b03821115620036655762003665620034de565b50601f01601f191660200190565b600082601f8301126200368557600080fd5b81356200369c620036968262003649565b620035dc565b818152846020838601011115620036b257600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff81168114620034d957600080fd5b60006102008284031215620036f657600080fd5b62003700620034f4565b90506200370d82620034cc565b81526200371d60208301620034cc565b602082015262003730604083016200360f565b604082015262003743606083016200360f565b60608201526080820135608082015260a082013560a082015260c082013560c08201526200377460e083016200363c565b60e0820152610100808301356001600160401b03808211156200379657600080fd5b620037a48683870162003673565b83850152610120925082850135915080821115620037c157600080fd5b50620037d08582860162003673565b828401525050610140620037e6818401620036cf565b90820152610160620037fa838201620036cf565b9082015261018082810135908201526101a0620038198184016200363c565b908201526101c06200382d8382016200363c565b908201526101e0620038418382016200363c565b9082015292915050565b600080600080600060a086880312156200386457600080fd5b85356200387181620034a0565b945060208601356200388381620034b6565b935060408601356200389581620034b6565b925060608601356001600160401b03811115620038b157600080fd5b620038bf88828901620036e2565b95989497509295608001359392505050565b60ff811681146200182e57600080fd5b80151581146200182e57600080fd5b60008060008060008060c087890312156200390a57600080fd5b86356200391781620034a0565b955060208701356200392981620034b6565b945060408701356200393b81620038d1565b935060608701356200394d81620038e1565b925060808701356200395f81620034a0565b915060a08701356001600160401b038111156200397b57600080fd5b6200398989828a0162003673565b9150509295509295509295565b600060208284031215620039a957600080fd5b81356001600160401b03811115620039c057600080fd5b620034988482850162003673565b600060208284031215620039e157600080fd5b8135620033b781620034a0565b6000806040838503121562003a0257600080fd5b823562003a0f81620034a0565b915060208301356001600160401b0381111562003a2b57600080fd5b62003a398582860162003673565b9150509250929050565b60008060006060848603121562003a5957600080fd5b833562003a6681620034a0565b9250602084013562003a7881620034b6565b915060408401356001600160401b0381111562003a9457600080fd5b62003aa286828701620036e2565b9150509250925092565b60006040828403121562003abf57600080fd5b62003ac962003520565b9050813581526020820135602082015292915050565b60008060008060008060c0878903121562003af957600080fd5b863562003b0681620034a0565b955062003b17886020890162003aac565b9450606087013562003b2981620034b6565b9350608087013562003b3b8162003628565b925060a08701356001600160401b038082111562003b5857600080fd5b818901915089601f83011262003b6d57600080fd5b81358181111562003b7d57600080fd5b8a602082850101111562003b9057600080fd5b6020830194508093505050509295509295509295565b600080600060c0848603121562003bbc57600080fd5b62003bc8858562003aac565b925062003bd9856040860162003aac565b915062003bea856080860162003aac565b90509250925092565b60008060006060848603121562003c0957600080fd5b833562003c1681620034a0565b9250602084013562003c2881620034a0565b9150604084013562003c3a81620034a0565b809150509250925092565b6001600160401b03811681146200182e57600080fd5b60006020828403121562003c6e57600080fd5b8135620033b78162003c45565b60006020828403121562003c8e57600080fd5b5035919050565b60006020828403121562003ca857600080fd5b8135620033b781620034b6565b6000806040838503121562003cc957600080fd5b823562003cd681620034a0565b9150602083013562003ce881620034a0565b809150509250929050565b60006020828403121562003d0657600080fd5b815162ffffff81168114620033b757600080fd5b600181811c9082168062003d2f57607f821691505b60208210810362003d5057634e487b7160e01b600052602260045260246000fd5b50919050565b8051620034d981620038e1565b60006020828403121562003d7657600080fd5b8151620033b781620038e1565b8051620034d981620034b6565b60006020828403121562003da357600080fd5b8151620033b781620034b6565b60006020828403121562003dc357600080fd5b8151620033b781620034a0565b8051620034d981620034a0565b60006040828403121562003df057600080fd5b62003dfa62003520565b9050815181526020820151602082015292915050565b6000610140828403121562003e2457600080fd5b62003e2e62003545565b62003e398362003dd0565b815262003e496020840162003dd0565b602082015262003e5c6040840162003d83565b604082015262003e6f6060840162003d83565b606082015262003e83846080850162003ddd565b608082015262003e978460c0850162003ddd565b60a082015262003eab610100840162003d56565b60c082015262003ebf610120840162003dd0565b60e08201529392505050565b600082601f83011262003edd57600080fd5b815162003eee620036968262003649565b81815284602083860101111562003f0457600080fd5b62003498826020830160208701620033be565b8051620034d98162003628565b60006020828403121562003f3757600080fd5b81516001600160401b038082111562003f4f57600080fd5b90830190610140828603121562003f6557600080fd5b62003f6f6200356b565b62003f7a8362003d83565b815262003f8b866020850162003ddd565b602082015260608301518281111562003fa357600080fd5b62003fb18782860162003ecb565b60408301525062003fc56080840162003d83565b606082015262003fd860a0840162003d83565b608082015262003feb60c0840162003d83565b60a082015262003ffe60e0840162003f17565b60c082015261010091506200401582840162003f17565b60e082015262004029610120840162003f17565b91810191909152949350505050565b6000602082840312156200404b57600080fd5b81516001600160401b03808211156200406357600080fd5b9083019060e082860312156200407857600080fd5b6200408262003591565b8251828111156200409257600080fd5b620040a08782860162003ecb565b825250620040b16020840162003dd0565b6020820152620040c46040840162003dd0565b6040820152620040d76060840162003dd0565b6060820152620040ea6080840162003d83565b6080820152620040fd60a0840162003d83565b60a082015260c0830151828111156200411557600080fd5b620041238782860162003ecb565b60c08301525095945050505050565b8051620034d98162003c45565b600061020082840312156200415357600080fd5b6200415d620035b6565b620041688362003d83565b8152620041786020840162004132565b6020820152604083015160408201526060830151606082015260808301516080820152620041a960a0840162003d56565b60a0820152620041bc60c0840162003d56565b60c0820152620041cf60e0840162003d56565b60e082015261010083810151908201526101208084015190820152610140620041fb8582860162003ddd565b90820152610180620042108585830162003ddd565b61016083015262004226856101c0860162003ddd565b908201529392505050565b8051620034d981620038d1565b6000602082840312156200425157600080fd5b81516001600160401b03808211156200426957600080fd5b9083019060e082860312156200427e57600080fd5b6200428862003591565b620042938362003d83565b8152620042a36020840162003d83565b6020820152620042b66040840162004231565b6040820152620042c96060840162003d56565b6060820152620042dc6080840162003dd0565b6080820152620040fd60a0840162003dd0565b60006001600160601b03808816835260a060208401526200431460a0840188620033e4565b81871660408501528381036060850152620043308187620033e4565b925050508260808301529695505050505050565b601f8211156200206d57600081815260208120601f850160051c810160208610156200436d5750805b601f850160051c820191505b818110156200438e5782815560010162004379565b505050505050565b81516001600160401b03811115620043b257620043b2620034de565b620043ca81620043c3845462003d1a565b8462004344565b602080601f831160018114620044025760008415620043e95750858301515b600019600386901b1c1916600185901b1785556200438e565b600085815260208120601f198616915b82811015620044335788860151825594840194600190910190840162004412565b5085821015620044525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200447557600080fd5b8151620033b78162003c45565b6000815160e084526200449960e0850182620033e4565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620045058282620033e4565b95945050505050565b6001600160601b038316815260406020820152600062003498604083018462004482565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200455b57600080fd5b81516001600160401b038111156200457257600080fd5b620034988482850162003ecb565b600081518084526020808501945080840160005b83811015620045bb5781516001600160401b03168752958201959082019060010162004594565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620045f960a0840187620033e4565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200467b57868403601f19018652825180518086529089019089860190845b81811015620046655783516001600160e01b0319168352928b0192918b01916001016200463d565b505096890196945050918701916001016200461a565b505050868103608088015262004692818962004580565b9c9b505050505050505050505050565b6001600160a01b0389811682526001600160601b038981166020840152888216604084015260009161010091620046e6606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b81516001600160601b03168152610200810160208301516200476060208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a08301516200479360a084018215159052565b5060c0830151620047a860c084018215159052565b5060e0830151620047bd60e084018215159052565b506101008381015190830152610120808401519083015261014080840151805182850152602081015161016085015250506101608301516101806200480e8185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b6001600160601b038416815260606020820152600062004851606083018562004482565b905060ff83166040830152949350505050565b6000602082840312156200487757600080fd5b8151620033b781620038d1565b600080604083850312156200489857600080fd5b8251620048a581620034a0565b602084015190925062003ce881620034a056fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122031ce29bfc26843b8b79c894b24c6deab54d343b8b20c9720639dfa4c0de81be264736f6c63430008140033",
1157
+ "linkReferences": {
1158
+ "contracts/types/NftId.sol": {
1159
+ "NftIdLib": [
1160
+ {
1161
+ "length": 20,
1162
+ "start": 2194
1163
+ },
1164
+ {
1165
+ "length": 20,
1166
+ "start": 7676
1167
+ }
1168
+ ]
1169
+ },
1170
+ "contracts/types/RoleId.sol": {
1171
+ "RoleIdLib": [
1172
+ {
1173
+ "length": 20,
1174
+ "start": 10470
1175
+ },
1176
+ {
1177
+ "length": 20,
1178
+ "start": 11370
1179
+ },
1180
+ {
1181
+ "length": 20,
1182
+ "start": 12585
1183
+ }
1184
+ ]
1185
+ },
1186
+ "contracts/types/Version.sol": {
1187
+ "VersionLib": [
1188
+ {
1189
+ "length": 20,
1190
+ "start": 1613
1191
+ },
1192
+ {
1193
+ "length": 20,
1194
+ "start": 3892
1195
+ },
1196
+ {
1197
+ "length": 20,
1198
+ "start": 11676
1199
+ },
1200
+ {
1201
+ "length": 20,
1202
+ "start": 12693
1203
+ }
1204
+ ],
1205
+ "VersionPartLib": [
1206
+ {
1207
+ "length": 20,
1208
+ "start": 8175
1209
+ }
1210
+ ]
1211
+ }
1212
+ },
1213
+ "deployedLinkReferences": {
1214
+ "contracts/types/NftId.sol": {
1215
+ "NftIdLib": [
1216
+ {
1217
+ "length": 20,
1218
+ "start": 1964
1219
+ },
1220
+ {
1221
+ "length": 20,
1222
+ "start": 7446
1223
+ }
1224
+ ]
1225
+ },
1226
+ "contracts/types/RoleId.sol": {
1227
+ "RoleIdLib": [
1228
+ {
1229
+ "length": 20,
1230
+ "start": 10240
1231
+ },
1232
+ {
1233
+ "length": 20,
1234
+ "start": 11140
1235
+ },
1236
+ {
1237
+ "length": 20,
1238
+ "start": 12355
1239
+ }
1240
+ ]
1241
+ },
1242
+ "contracts/types/Version.sol": {
1243
+ "VersionLib": [
1244
+ {
1245
+ "length": 20,
1246
+ "start": 1383
1247
+ },
1248
+ {
1249
+ "length": 20,
1250
+ "start": 3662
1251
+ },
1252
+ {
1253
+ "length": 20,
1254
+ "start": 11446
1255
+ },
1256
+ {
1257
+ "length": 20,
1258
+ "start": 12463
1259
+ }
1260
+ ],
1261
+ "VersionPartLib": [
1262
+ {
1263
+ "length": 20,
1264
+ "start": 7945
1265
+ }
1266
+ ]
1267
+ }
1268
+ }
1269
+ }