@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  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 +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -0,0 +1,1598 @@
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
+ {
251
+ "internalType": "Amount",
252
+ "name": "expectedAmount",
253
+ "type": "uint96"
254
+ },
255
+ {
256
+ "internalType": "Amount",
257
+ "name": "actualAmount",
258
+ "type": "uint96"
259
+ }
260
+ ],
261
+ "name": "ErrorPoolServiceInvalidTransferAmount",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "ErrorServiceNotImplemented",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [],
271
+ "name": "InvalidInitialization",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "NotInitializing",
277
+ "type": "error"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "address",
285
+ "name": "authority",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "name": "AuthorityUpdated",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "uint64",
298
+ "name": "version",
299
+ "type": "uint64"
300
+ }
301
+ ],
302
+ "name": "Initialized",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "NftId",
311
+ "name": "instanceNftId",
312
+ "type": "uint96"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "NftId",
317
+ "name": "poolNftId",
318
+ "type": "uint96"
319
+ },
320
+ {
321
+ "indexed": false,
322
+ "internalType": "NftId",
323
+ "name": "bundleNftId",
324
+ "type": "uint96"
325
+ }
326
+ ],
327
+ "name": "LogPoolServiceBundleClosed",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "NftId",
336
+ "name": "instanceNftId",
337
+ "type": "uint96"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "NftId",
342
+ "name": "poolNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "NftId",
348
+ "name": "bundleNftId",
349
+ "type": "uint96"
350
+ }
351
+ ],
352
+ "name": "LogPoolServiceBundleCreated",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "NftId",
361
+ "name": "poolNftId",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "RoleId",
367
+ "name": "bundleOwnerRole",
368
+ "type": "uint64"
369
+ }
370
+ ],
371
+ "name": "LogPoolServiceBundleOwnerRoleSet",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "poolNftId",
381
+ "type": "uint96"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "uint256",
386
+ "name": "previousMaxCapitalAmount",
387
+ "type": "uint256"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "uint256",
392
+ "name": "currentMaxCapitalAmount",
393
+ "type": "uint256"
394
+ }
395
+ ],
396
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
397
+ "type": "event"
398
+ },
399
+ {
400
+ "inputs": [],
401
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
402
+ "outputs": [
403
+ {
404
+ "internalType": "bytes32",
405
+ "name": "",
406
+ "type": "bytes32"
407
+ }
408
+ ],
409
+ "stateMutability": "view",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "inputs": [],
414
+ "name": "REGISTERABLE_LOCATION_V1",
415
+ "outputs": [
416
+ {
417
+ "internalType": "bytes32",
418
+ "name": "",
419
+ "type": "bytes32"
420
+ }
421
+ ],
422
+ "stateMutability": "view",
423
+ "type": "function"
424
+ },
425
+ {
426
+ "inputs": [],
427
+ "name": "authority",
428
+ "outputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "NftId",
442
+ "name": "bundleNftId",
443
+ "type": "uint96"
444
+ }
445
+ ],
446
+ "name": "closeBundle",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [
453
+ {
454
+ "internalType": "address",
455
+ "name": "owner",
456
+ "type": "address"
457
+ },
458
+ {
459
+ "components": [
460
+ {
461
+ "internalType": "UFixed",
462
+ "name": "fractionalFee",
463
+ "type": "uint256"
464
+ },
465
+ {
466
+ "internalType": "uint256",
467
+ "name": "fixedFee",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "internalType": "struct Fee",
472
+ "name": "fee",
473
+ "type": "tuple"
474
+ },
475
+ {
476
+ "internalType": "Amount",
477
+ "name": "stakingAmount",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "Seconds",
482
+ "name": "lifetime",
483
+ "type": "uint40"
484
+ },
485
+ {
486
+ "internalType": "bytes",
487
+ "name": "filter",
488
+ "type": "bytes"
489
+ }
490
+ ],
491
+ "name": "createBundle",
492
+ "outputs": [
493
+ {
494
+ "internalType": "NftId",
495
+ "name": "bundleNftId",
496
+ "type": "uint96"
497
+ }
498
+ ],
499
+ "stateMutability": "nonpayable",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "inputs": [],
504
+ "name": "getDomain",
505
+ "outputs": [
506
+ {
507
+ "internalType": "ObjectType",
508
+ "name": "",
509
+ "type": "uint8"
510
+ }
511
+ ],
512
+ "stateMutability": "pure",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [],
517
+ "name": "getInitialInfo",
518
+ "outputs": [
519
+ {
520
+ "components": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "nftId",
524
+ "type": "uint96"
525
+ },
526
+ {
527
+ "internalType": "NftId",
528
+ "name": "parentNftId",
529
+ "type": "uint96"
530
+ },
531
+ {
532
+ "internalType": "ObjectType",
533
+ "name": "objectType",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "internalType": "bool",
538
+ "name": "isInterceptor",
539
+ "type": "bool"
540
+ },
541
+ {
542
+ "internalType": "address",
543
+ "name": "objectAddress",
544
+ "type": "address"
545
+ },
546
+ {
547
+ "internalType": "address",
548
+ "name": "initialOwner",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "bytes",
553
+ "name": "data",
554
+ "type": "bytes"
555
+ }
556
+ ],
557
+ "internalType": "struct IRegistry.ObjectInfo",
558
+ "name": "info",
559
+ "type": "tuple"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "getInstanceService",
568
+ "outputs": [
569
+ {
570
+ "internalType": "contract InstanceService",
571
+ "name": "",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [],
580
+ "name": "getNftId",
581
+ "outputs": [
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "",
585
+ "type": "uint96"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "getOwner",
594
+ "outputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [],
606
+ "name": "getRegistry",
607
+ "outputs": [
608
+ {
609
+ "internalType": "contract IRegistry",
610
+ "name": "",
611
+ "type": "address"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getRegistryService",
620
+ "outputs": [
621
+ {
622
+ "internalType": "contract IRegistryService",
623
+ "name": "",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getVersion",
633
+ "outputs": [
634
+ {
635
+ "internalType": "Version",
636
+ "name": "",
637
+ "type": "uint24"
638
+ }
639
+ ],
640
+ "stateMutability": "pure",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "initializeERC165",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "initialOwner",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "registryAddress",
660
+ "type": "address"
661
+ }
662
+ ],
663
+ "name": "initializeNftOwnable",
664
+ "outputs": [],
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
670
+ {
671
+ "internalType": "address",
672
+ "name": "registryAddress",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "NftId",
677
+ "name": "parentNftId",
678
+ "type": "uint96"
679
+ },
680
+ {
681
+ "internalType": "ObjectType",
682
+ "name": "objectType",
683
+ "type": "uint8"
684
+ },
685
+ {
686
+ "internalType": "bool",
687
+ "name": "isInterceptor",
688
+ "type": "bool"
689
+ },
690
+ {
691
+ "internalType": "address",
692
+ "name": "initialOwner",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "bytes",
697
+ "name": "registryData",
698
+ "type": "bytes"
699
+ }
700
+ ],
701
+ "name": "initializeRegisterable",
702
+ "outputs": [],
703
+ "stateMutability": "nonpayable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "registryAddress",
711
+ "type": "address"
712
+ }
713
+ ],
714
+ "name": "initializeRegistryLinked",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "registry",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "address",
728
+ "name": "authority",
729
+ "type": "address"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "initialOwner",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "initializeService",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "address",
746
+ "name": "activatedBy",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "bytes",
751
+ "name": "data",
752
+ "type": "bytes"
753
+ }
754
+ ],
755
+ "name": "initializeVersionable",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "isConsumingScheduledOp",
763
+ "outputs": [
764
+ {
765
+ "internalType": "bytes4",
766
+ "name": "",
767
+ "type": "bytes4"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "linkToRegisteredNftId",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
782
+ {
783
+ "internalType": "contract IInstance",
784
+ "name": "instance",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "productNftId",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "NftId",
794
+ "name": "applicationNftId",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "components": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "productNftId",
802
+ "type": "uint96"
803
+ },
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "bundleNftId",
807
+ "type": "uint96"
808
+ },
809
+ {
810
+ "internalType": "ReferralId",
811
+ "name": "referralId",
812
+ "type": "bytes8"
813
+ },
814
+ {
815
+ "internalType": "RiskId",
816
+ "name": "riskId",
817
+ "type": "bytes8"
818
+ },
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "sumInsuredAmount",
822
+ "type": "uint256"
823
+ },
824
+ {
825
+ "internalType": "uint256",
826
+ "name": "premiumAmount",
827
+ "type": "uint256"
828
+ },
829
+ {
830
+ "internalType": "uint256",
831
+ "name": "premiumPaidAmount",
832
+ "type": "uint256"
833
+ },
834
+ {
835
+ "internalType": "Seconds",
836
+ "name": "lifetime",
837
+ "type": "uint40"
838
+ },
839
+ {
840
+ "internalType": "bytes",
841
+ "name": "applicationData",
842
+ "type": "bytes"
843
+ },
844
+ {
845
+ "internalType": "bytes",
846
+ "name": "policyData",
847
+ "type": "bytes"
848
+ },
849
+ {
850
+ "internalType": "uint16",
851
+ "name": "claimsCount",
852
+ "type": "uint16"
853
+ },
854
+ {
855
+ "internalType": "uint16",
856
+ "name": "openClaimsCount",
857
+ "type": "uint16"
858
+ },
859
+ {
860
+ "internalType": "Amount",
861
+ "name": "claimAmount",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "Amount",
866
+ "name": "payoutAmount",
867
+ "type": "uint96"
868
+ },
869
+ {
870
+ "internalType": "Timestamp",
871
+ "name": "activatedAt",
872
+ "type": "uint40"
873
+ },
874
+ {
875
+ "internalType": "Timestamp",
876
+ "name": "expiredAt",
877
+ "type": "uint40"
878
+ },
879
+ {
880
+ "internalType": "Timestamp",
881
+ "name": "closedAt",
882
+ "type": "uint40"
883
+ }
884
+ ],
885
+ "internalType": "struct IPolicy.PolicyInfo",
886
+ "name": "applicationInfo",
887
+ "type": "tuple"
888
+ },
889
+ {
890
+ "internalType": "uint256",
891
+ "name": "premiumAmount",
892
+ "type": "uint256"
893
+ }
894
+ ],
895
+ "name": "lockCollateral",
896
+ "outputs": [],
897
+ "stateMutability": "nonpayable",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "bundleNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "components": [
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "netPremiumAmount",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "fullPremiumAmount",
917
+ "type": "uint256"
918
+ },
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "premiumAmount",
922
+ "type": "uint256"
923
+ },
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "productFeeFixAmount",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "poolFeeFixAmount",
932
+ "type": "uint256"
933
+ },
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "bundleFeeFixAmount",
937
+ "type": "uint256"
938
+ },
939
+ {
940
+ "internalType": "uint256",
941
+ "name": "distributionFeeFixAmount",
942
+ "type": "uint256"
943
+ },
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "productFeeVarAmount",
947
+ "type": "uint256"
948
+ },
949
+ {
950
+ "internalType": "uint256",
951
+ "name": "poolFeeVarAmount",
952
+ "type": "uint256"
953
+ },
954
+ {
955
+ "internalType": "uint256",
956
+ "name": "bundleFeeVarAmount",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint256",
961
+ "name": "distributionFeeVarAmount",
962
+ "type": "uint256"
963
+ },
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "distributionOwnerFeeFixAmount",
967
+ "type": "uint256"
968
+ },
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "distributionOwnerFeeVarAmount",
972
+ "type": "uint256"
973
+ },
974
+ {
975
+ "internalType": "uint256",
976
+ "name": "commissionAmount",
977
+ "type": "uint256"
978
+ },
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "discountAmount",
982
+ "type": "uint256"
983
+ }
984
+ ],
985
+ "internalType": "struct IPolicy.Premium",
986
+ "name": "premium",
987
+ "type": "tuple"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "actualAmountTransferred",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "name": "processSale",
996
+ "outputs": [],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "contract IInstance",
1004
+ "name": "instance",
1005
+ "type": "address"
1006
+ },
1007
+ {
1008
+ "internalType": "NftId",
1009
+ "name": "policyNftId",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
1013
+ "components": [
1014
+ {
1015
+ "internalType": "NftId",
1016
+ "name": "productNftId",
1017
+ "type": "uint96"
1018
+ },
1019
+ {
1020
+ "internalType": "NftId",
1021
+ "name": "bundleNftId",
1022
+ "type": "uint96"
1023
+ },
1024
+ {
1025
+ "internalType": "ReferralId",
1026
+ "name": "referralId",
1027
+ "type": "bytes8"
1028
+ },
1029
+ {
1030
+ "internalType": "RiskId",
1031
+ "name": "riskId",
1032
+ "type": "bytes8"
1033
+ },
1034
+ {
1035
+ "internalType": "uint256",
1036
+ "name": "sumInsuredAmount",
1037
+ "type": "uint256"
1038
+ },
1039
+ {
1040
+ "internalType": "uint256",
1041
+ "name": "premiumAmount",
1042
+ "type": "uint256"
1043
+ },
1044
+ {
1045
+ "internalType": "uint256",
1046
+ "name": "premiumPaidAmount",
1047
+ "type": "uint256"
1048
+ },
1049
+ {
1050
+ "internalType": "Seconds",
1051
+ "name": "lifetime",
1052
+ "type": "uint40"
1053
+ },
1054
+ {
1055
+ "internalType": "bytes",
1056
+ "name": "applicationData",
1057
+ "type": "bytes"
1058
+ },
1059
+ {
1060
+ "internalType": "bytes",
1061
+ "name": "policyData",
1062
+ "type": "bytes"
1063
+ },
1064
+ {
1065
+ "internalType": "uint16",
1066
+ "name": "claimsCount",
1067
+ "type": "uint16"
1068
+ },
1069
+ {
1070
+ "internalType": "uint16",
1071
+ "name": "openClaimsCount",
1072
+ "type": "uint16"
1073
+ },
1074
+ {
1075
+ "internalType": "Amount",
1076
+ "name": "claimAmount",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "Amount",
1081
+ "name": "payoutAmount",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "Timestamp",
1086
+ "name": "activatedAt",
1087
+ "type": "uint40"
1088
+ },
1089
+ {
1090
+ "internalType": "Timestamp",
1091
+ "name": "expiredAt",
1092
+ "type": "uint40"
1093
+ },
1094
+ {
1095
+ "internalType": "Timestamp",
1096
+ "name": "closedAt",
1097
+ "type": "uint40"
1098
+ }
1099
+ ],
1100
+ "internalType": "struct IPolicy.PolicyInfo",
1101
+ "name": "policyInfo",
1102
+ "type": "tuple"
1103
+ },
1104
+ {
1105
+ "internalType": "Amount",
1106
+ "name": "payoutAmount",
1107
+ "type": "uint96"
1108
+ }
1109
+ ],
1110
+ "name": "reduceCollateral",
1111
+ "outputs": [],
1112
+ "stateMutability": "nonpayable",
1113
+ "type": "function"
1114
+ },
1115
+ {
1116
+ "inputs": [
1117
+ {
1118
+ "internalType": "address",
1119
+ "name": "poolAddress",
1120
+ "type": "address"
1121
+ }
1122
+ ],
1123
+ "name": "register",
1124
+ "outputs": [
1125
+ {
1126
+ "internalType": "NftId",
1127
+ "name": "poolNftId",
1128
+ "type": "uint96"
1129
+ }
1130
+ ],
1131
+ "stateMutability": "nonpayable",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "bytes4",
1138
+ "name": "interfaceId",
1139
+ "type": "bytes4"
1140
+ }
1141
+ ],
1142
+ "name": "registerInterface",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [
1149
+ {
1150
+ "internalType": "contract IInstance",
1151
+ "name": "instance",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "NftId",
1156
+ "name": "policyNftId",
1157
+ "type": "uint96"
1158
+ },
1159
+ {
1160
+ "components": [
1161
+ {
1162
+ "internalType": "NftId",
1163
+ "name": "productNftId",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "NftId",
1168
+ "name": "bundleNftId",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "ReferralId",
1173
+ "name": "referralId",
1174
+ "type": "bytes8"
1175
+ },
1176
+ {
1177
+ "internalType": "RiskId",
1178
+ "name": "riskId",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "uint256",
1183
+ "name": "sumInsuredAmount",
1184
+ "type": "uint256"
1185
+ },
1186
+ {
1187
+ "internalType": "uint256",
1188
+ "name": "premiumAmount",
1189
+ "type": "uint256"
1190
+ },
1191
+ {
1192
+ "internalType": "uint256",
1193
+ "name": "premiumPaidAmount",
1194
+ "type": "uint256"
1195
+ },
1196
+ {
1197
+ "internalType": "Seconds",
1198
+ "name": "lifetime",
1199
+ "type": "uint40"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes",
1203
+ "name": "applicationData",
1204
+ "type": "bytes"
1205
+ },
1206
+ {
1207
+ "internalType": "bytes",
1208
+ "name": "policyData",
1209
+ "type": "bytes"
1210
+ },
1211
+ {
1212
+ "internalType": "uint16",
1213
+ "name": "claimsCount",
1214
+ "type": "uint16"
1215
+ },
1216
+ {
1217
+ "internalType": "uint16",
1218
+ "name": "openClaimsCount",
1219
+ "type": "uint16"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "claimAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "payoutAmount",
1229
+ "type": "uint96"
1230
+ },
1231
+ {
1232
+ "internalType": "Timestamp",
1233
+ "name": "activatedAt",
1234
+ "type": "uint40"
1235
+ },
1236
+ {
1237
+ "internalType": "Timestamp",
1238
+ "name": "expiredAt",
1239
+ "type": "uint40"
1240
+ },
1241
+ {
1242
+ "internalType": "Timestamp",
1243
+ "name": "closedAt",
1244
+ "type": "uint40"
1245
+ }
1246
+ ],
1247
+ "internalType": "struct IPolicy.PolicyInfo",
1248
+ "name": "policyInfo",
1249
+ "type": "tuple"
1250
+ }
1251
+ ],
1252
+ "name": "releaseCollateral",
1253
+ "outputs": [],
1254
+ "stateMutability": "nonpayable",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "newAuthority",
1262
+ "type": "address"
1263
+ }
1264
+ ],
1265
+ "name": "setAuthority",
1266
+ "outputs": [],
1267
+ "stateMutability": "nonpayable",
1268
+ "type": "function"
1269
+ },
1270
+ {
1271
+ "inputs": [
1272
+ {
1273
+ "internalType": "RoleId",
1274
+ "name": "bundleOwnerRole",
1275
+ "type": "uint64"
1276
+ }
1277
+ ],
1278
+ "name": "setBundleOwnerRole",
1279
+ "outputs": [],
1280
+ "stateMutability": "nonpayable",
1281
+ "type": "function"
1282
+ },
1283
+ {
1284
+ "inputs": [
1285
+ {
1286
+ "components": [
1287
+ {
1288
+ "internalType": "UFixed",
1289
+ "name": "fractionalFee",
1290
+ "type": "uint256"
1291
+ },
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "fixedFee",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "internalType": "struct Fee",
1299
+ "name": "poolFee",
1300
+ "type": "tuple"
1301
+ },
1302
+ {
1303
+ "components": [
1304
+ {
1305
+ "internalType": "UFixed",
1306
+ "name": "fractionalFee",
1307
+ "type": "uint256"
1308
+ },
1309
+ {
1310
+ "internalType": "uint256",
1311
+ "name": "fixedFee",
1312
+ "type": "uint256"
1313
+ }
1314
+ ],
1315
+ "internalType": "struct Fee",
1316
+ "name": "stakingFee",
1317
+ "type": "tuple"
1318
+ },
1319
+ {
1320
+ "components": [
1321
+ {
1322
+ "internalType": "UFixed",
1323
+ "name": "fractionalFee",
1324
+ "type": "uint256"
1325
+ },
1326
+ {
1327
+ "internalType": "uint256",
1328
+ "name": "fixedFee",
1329
+ "type": "uint256"
1330
+ }
1331
+ ],
1332
+ "internalType": "struct Fee",
1333
+ "name": "performanceFee",
1334
+ "type": "tuple"
1335
+ }
1336
+ ],
1337
+ "name": "setFees",
1338
+ "outputs": [],
1339
+ "stateMutability": "nonpayable",
1340
+ "type": "function"
1341
+ },
1342
+ {
1343
+ "inputs": [
1344
+ {
1345
+ "internalType": "uint256",
1346
+ "name": "maxCapitalAmount",
1347
+ "type": "uint256"
1348
+ }
1349
+ ],
1350
+ "name": "setMaxCapitalAmount",
1351
+ "outputs": [],
1352
+ "stateMutability": "nonpayable",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [
1357
+ {
1358
+ "internalType": "bytes4",
1359
+ "name": "interfaceId",
1360
+ "type": "bytes4"
1361
+ }
1362
+ ],
1363
+ "name": "supportsInterface",
1364
+ "outputs": [
1365
+ {
1366
+ "internalType": "bool",
1367
+ "name": "",
1368
+ "type": "bool"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "view",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "bytes",
1378
+ "name": "data",
1379
+ "type": "bytes"
1380
+ }
1381
+ ],
1382
+ "name": "upgradeVersionable",
1383
+ "outputs": [],
1384
+ "stateMutability": "nonpayable",
1385
+ "type": "function"
1386
+ }
1387
+ ],
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61568880620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063b135d5d411620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063d3e7275c146200054c578063f7c34ee0146200056357600080fd5b8063b135d5d414620004c3578063b43b32c914620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063a3c260521462000495578063ada9652e14620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b8063329d6e7411620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063675393bf14620003dd578063725d6e1114620003f457600080fd5b8063329d6e74146200032f57806336fc697e14620003465780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063291265af146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462003ae6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b60405162000266919062003b6d565b620002b162000768565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462003ae6565b6200097d565b620002b16200031236600462003e35565b620009ac565b620002b162000329366004620040ae565b62000a57565b620002b1620003403660046200412c565b62000a70565b620002b162000bc8565b620003676200036136600462004164565b62000c10565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004184565b62001138565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b600080516020620055f3833981519152546001600160601b031662000367565b620002b1620003ee36600462004164565b62001240565b620002b162000405366004620041d9565b62001359565b620003676200041c3660046200430b565b62001ce6565b620002b16200043336600462004164565b62001ec1565b620002b16200044a366004620043d2565b62001f63565b620003a462002131565b620002b16200046b3660046200441f565b62002270565b6200047b620024c4565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004487565b620024ff565b620002db600080516020620055f383398151915281565b620002b1620004d4366004620044a7565b62002747565b620002b1620004eb366004620044c1565b62002952565b604051608c815260200162000266565b60008051602062005613833981519152546001600160a01b0316620003a4565b620003a4620029d8565b620003a4620029e6565b620002b1620005463660046200452a565b620029f4565b620002b16200055d3660046200454a565b62002b2a565b620002b162000574366004620045d0565b62002f29565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200060291906200460e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001620006bc62002131565b6001600160a01b03168152602001826001018054620006db9062004635565b80601f0160208091040260200160405190810160405280929190818152602001828054620007099062004635565b80156200075a5780601f106200072e576101008083540402835291602001916200075a565b820191906000526020600020905b8154815290600101906020018083116200073c57829003601f168201915b505050505081525091505090565b6000600080516020620055f383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007ff91906200467e565b15620008315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008456001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200088e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b491906200467e565b620008de5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000933573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009599190620046ab565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200098762002fa8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009b662002fa8565b620009c2828762002f29565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a4d83826200471d565b5050505050505050565b6040516324dbc43f60e21b815260040160405180910390fd5b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a946200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000ad5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000afb9190620047f6565b600080516020620056338339815191528054600160401b900460ff168062000b30575080546001600160401b03808416911610155b1562000b4f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b7b8362002fe3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000bd262002fa8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008080808062000c2d86608c62000c2762002fed565b62003067565b9296509094509250905085600062000c44620029d8565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562000c97573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000cc191908101906200487c565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801562000cff57600080fd5b505af115801562000d14573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000d60573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d8a919081019062004962565b9050806020015160405162000d9f9062003ad8565b6001600160a01b039091168152602001604051809103906000f08015801562000dcc573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d9062000e08908b90859060040162004ab3565b600060405180830381600087803b15801562000e2357600080fd5b505af115801562000e38573d6000803e3d6000fd5b50600092506002915062000e499050565b60405190808252806020026020018201604052801562000e7e57816020015b606081526020019060019003908162000e685790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811062000eb55762000eb562004ad7565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062000ef65762000ef662004ad7565b6020026020010181905250638267876660e01b8160008151811062000f1f5762000f1f62004ad7565b602002602001015160008151811062000f3c5762000f3c62004ad7565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b908290600190811062000f765762000f7662004ad7565b602002602001015160008151811062000f935762000f9362004ad7565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062000fd962002fed565b8160008151811062000fef5762000fef62004ad7565b60200260200101906001600160401b031690816001600160401b031681525050620010196200336f565b816001815181106200102f576200102f62004ad7565b60200260200101906001600160401b031690816001600160401b03168152505062001059620029e6565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620010a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010d2919081019062004aed565b86866040518663ffffffff1660e01b8152600401620010f695949392919062004b6b565b600060405180830381600087803b1580156200111157600080fd5b505af115801562001126573d6000803e3d6000fd5b50505050505050505050505050919050565b600080516020620056338339815191528054600160401b810460ff1615906001600160401b03166000811580156200116d5750825b90506000826001600160401b031660011480156200118a5750303b155b90508115801562001199575080155b15620011b85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620011e357845460ff60401b1916600160401b1785555b620011ef8787620033ac565b83156200123757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6200124a62002fa8565b806001600160a01b03163b600003620012825760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015620012ff575060408051601f3d908101601f19168201909252620012fc918101906200467e565b60015b620013295760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b80620013545760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000828565b505b50565b60006200136e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015620013c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620013ec91908101906200487c565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801562001446573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200147091908101906200487c565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015620014ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014f491908101906200487c565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a6080015162001532919062004c47565b6040518263ffffffff1660e01b81526004016200155191815260200190565b602060405180830381865af41580156200156f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015959190620046ab565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a00151620015ca919062004c47565b6040518263ffffffff1660e01b8152600401620015e991815260200190565b602060405180830381865af415801562001607573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200162d9190620046ab565b8951604051632620eecb60e11b8152600481019190915290915060009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af415801562001687573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016ad9190620046ab565b60405163274acb3560e01b81526001600160601b039182166004820152908416602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200170f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017359190620046ab565b60405163274acb3560e01b81526001600160601b039182166004820152908316602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af415801562001797573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017bd9190620046ab565b604051632620eecb60e11b8152600481018b905290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af415801562001811573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018379190620046ab565b60405163c4cade9d60e01b81526001600160601b039182166004820152908216602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562001899573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018bf91906200467e565b6200196a57604051632620eecb60e11b8152600481018a9052819073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af415801562001917573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200193d9190620046ab565b604051639080fd1360e01b81526001600160601b0392831660048201529116602482015260440162000828565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620019c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019e991906200467e565b1562001bdb576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a30573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a56919062004c69565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa15801562001aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ad3919081019062004962565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af415801562001b3d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b639190620046ab565b6001600160601b031660a0820152865160405163a4eeee5960e01b81526001600160a01b0387169163a4eeee599162001ba59190859060ff9060040162004c89565b600060405180830381600087803b15801562001bc057600080fd5b505af115801562001bd5573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562001c34573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c5a91906200467e565b1562001cd957600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562001cbf57600080fd5b505af115801562001cd4573d6000803e3d6000fd5b505050505b5050505050505050505050565b6000808062001cf6608c62003600565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d3c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d62919062004c69565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b815260040162001dba98979695949392919062004cc0565b6020604051808303816000875af115801562001dda573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e009190620046ab565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e62573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e889190620046ab565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b3362001ee360008051602062005613833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001f205760405162d1953b60e31b81526001600160a01b038216600482015260240162000828565b816001600160a01b03163b60000362001f58576040516361798f2f60e11b81526001600160a01b038316600482015260240162000828565b620013548262003844565b6000808062001f73608c62003600565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001fba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fe0919062004c69565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002034573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200205e919081019062004962565b905060008160c001518060200190518101906200207c919062004d84565b61014081018a905261016081018990526101808101889052604051909150620020aa90829060200162004e76565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b8152600401620020f29392919062004c89565b600060405180830381600087803b1580156200210d57600080fd5b505af115801562002122573d6000803e3d6000fd5b50505050505050505050505050565b600080600080516020620055f383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620021a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c991906200467e565b156200225a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062004c69565b91505090565b54600160601b90046001600160a01b0316919050565b6200227a62002fa8565b620022ff83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620022be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022e49190620046ab565b603c60008560405180602001604052806000815250620009ac565b6001600160a01b0382161562002320576200231a82620038a6565b6200249b565b6000620023356001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562002396573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023bc919062004f70565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002428919062004c69565b905062002499816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200246d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002493919062004c69565b620038a6565b505b620024ad634a531f3360e01b6200097d565b620024bf63b68d180960e01b6200097d565b505050565b60008051602062005613833981519152805460009190600160a01b900460ff16620024f157600062002254565b638fb3603760e01b91505090565b600080806200250f608c62003600565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002556573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200257c919062004c69565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620025d0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620025fa919081019062004962565b905060008160c0015180602001905181019062002618919062004d84565b90506200263381602001516200262d620038bb565b620038fd565b156200265e5760405163eff765ff60e01b81526001600160601b038716600482015260240162000828565b6001600160401b038716602080830191909152604051620026829183910162004e76565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b8152600401620026ca9392919062004c89565b600060405180830381600087803b158015620026e557600080fd5b505af1158015620026fa573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e93500190506200122e565b6000808062002757608c62003600565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200279e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027c4919062004c69565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002818573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002842919081019062004962565b905060008160c0015180602001905181019062002860919062004d84565b60408082018051908a90529051919250906200288190839060200162004e76565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b8152600401620028c99392919062004c89565b600060405180830381600087803b158015620028e457600080fd5b505af1158015620028f9573d6000803e3d6000fd5b5050604080516001600160601b038b168152602081018590529081018b90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905060405180910390a15050505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b158015620029c357600080fd5b505af115801562001237573d6000803e3d6000fd5b600062000602602862003914565b600062000602604662003914565b60008062002a03608c62003600565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002a6257600080fd5b505af115801562002a77573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002adb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b019190620046ab565b604080516001600160601b03928316815282861660208201529186169082015260600162000bbb565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b91919062004c69565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562002be6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c0c919062004f90565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562002c6a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002c94919081019062005058565b80519091506001600160601b0384811691161462002cdc578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000828565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562002d2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002d57919081019062004962565b905060008160c0015180602001905181019062002d75919062004d84565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b15801562002ded57600080fd5b505af115801562002e02573d6000803e3d6000fd5b505050508260e00151156200212257600062002e266001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562002e76573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ea091908101906200487c565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162002ee59594939291906200516c565b600060405180830381600087803b15801562002f0057600080fd5b505af115801562002f15573d6000803e3d6000fd5b505050505050505050505050505050505050565b62002f3362002fa8565b62002f3e8162001240565b62002f4862000bc8565b6001600160a01b03821662002f705760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020620055f383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206200563383398151915254600160401b900460ff1662002fe157604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002fa8565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562003041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006029190620047f6565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620030bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030e291906200467e565b6200310c576040516359bff0e360e11b81526001600160a01b038816600482015260240162000828565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200314d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200317791908101906200487c565b90506200318f81604001518860ff9081169116141590565b15620031d1576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640162000828565b60a08101516001600160a01b0385811690821614620032255760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640162000828565b81602001519250620032378362003a2a565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003278573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200329e919062004c69565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015620032f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200331c91906200467e565b6200336457604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640162000828565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162003023565b600080516020620056338339815191528054600160401b810460ff1615906001600160401b0316600081158015620033e15750825b90506000826001600160401b03166001148015620033fe5750303b155b9050811580156200340d575080155b156200342c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200345757845460ff60401b1916600160401b1785555b60008087806020019051810190620034709190620051c1565b9092509050620034838260008b62002270565b6001546001600160a01b031663d39e604360dc620034a06200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620034f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200351c919062004f70565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003562573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003588919062004c69565b600280546001600160a01b0319166001600160a01b0392909216919091179055620035ba6327e68c6160e11b6200097d565b505083156200123757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200122e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806200364d6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801562003695573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620036bf91908101906200487c565b9250620036d783604001518660ff9081169116141590565b156200371d57608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640162000828565b8260000151935062003733836020015162003a2a565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c69565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015620037e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200380b91906200467e565b156200383c57608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000828565b509193909250565b6000805160206200561383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b620038b062002fa8565b620013568162003ac3565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162003023565b6001600160401b0382811690821614155b92915050565b6000620039296001546001600160a01b031690565b6001600160a01b031663d39e604383620039426200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003998573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039be919062004f70565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003a04573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200390e919062004c69565b600062003a3f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003a8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003ab991908101906200487c565b6080015192915050565b62003acd62002fa8565b620013568162003844565b6103fd80620051f683390190565b60006020828403121562003af957600080fd5b81356001600160e01b03198116811462003b1257600080fd5b9392505050565b60005b8381101562003b3657818101518382015260200162003b1c565b50506000910152565b6000815180845262003b5981602086016020860162003b19565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015162003bd760c08401826001600160a01b03169052565b5060c083015160e08084015262003bf361010084018262003b3f565b949350505050565b6001600160a01b03811681146200135657600080fd5b6001600160601b03811681146200135657600080fd5b803562003c348162003c11565b919050565b60ff811681146200135657600080fd5b80151581146200135657600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562003c945762003c9462003c58565b60405290565b6040516101e081016001600160401b038111828210171562003c945762003c9462003c58565b604080519081016001600160401b038111828210171562003c945762003c9462003c58565b60405160e081016001600160401b038111828210171562003c945762003c9462003c58565b6040516101a081016001600160401b038111828210171562003c945762003c9462003c58565b60405161010081016001600160401b038111828210171562003c945762003c9462003c58565b60405161012081016001600160401b038111828210171562003c945762003c9462003c58565b604051601f8201601f191681016001600160401b038111828210171562003da75762003da762003c58565b604052919050565b60006001600160401b0382111562003dcb5762003dcb62003c58565b50601f01601f191660200190565b600082601f83011262003deb57600080fd5b813562003e0262003dfc8262003daf565b62003d7c565b81815284602083860101111562003e1857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121562003e4f57600080fd5b863562003e5c8162003bfb565b9550602087013562003e6e8162003c11565b9450604087013562003e808162003c39565b9350606087013562003e928162003c49565b9250608087013562003ea48162003bfb565b915060a08701356001600160401b0381111562003ec057600080fd5b62003ece89828a0162003dd9565b9150509295509295509295565b80356001600160c01b03198116811462003c3457600080fd5b64ffffffffff811681146200135657600080fd5b803562003c348162003ef4565b803561ffff8116811462003c3457600080fd5b6000610220828403121562003f3c57600080fd5b62003f4662003c6e565b905062003f538262003c27565b815262003f636020830162003c27565b602082015262003f766040830162003edb565b604082015262003f896060830162003edb565b60608201526080820135608082015260a082013560a082015260c082013560c082015262003fba60e0830162003f08565b60e0820152610100808301356001600160401b038082111562003fdc57600080fd5b62003fea8683870162003dd9565b838501526101209250828501359150808211156200400757600080fd5b50620040168582860162003dd9565b8284015250506101406200402c81840162003f15565b908201526101606200404083820162003f15565b908201526101806200405483820162003c27565b908201526101a06200406883820162003c27565b908201526101c06200407c83820162003f08565b908201526101e06200409083820162003f08565b90820152610200620040a483820162003f08565b9082015292915050565b60008060008060808587031215620040c557600080fd5b8435620040d28162003bfb565b93506020850135620040e48162003c11565b925060408501356001600160401b038111156200410057600080fd5b6200410e8782880162003f28565b9250506060850135620041218162003c11565b939692955090935050565b6000602082840312156200413f57600080fd5b81356001600160401b038111156200415657600080fd5b62003bf38482850162003dd9565b6000602082840312156200417757600080fd5b813562003b128162003bfb565b600080604083850312156200419857600080fd5b8235620041a58162003bfb565b915060208301356001600160401b03811115620041c157600080fd5b620041cf8582860162003dd9565b9150509250929050565b6000806000838503610220811215620041f157600080fd5b8435620041fe8162003c11565b93506101e0601f1982018113156200421557600080fd5b6200421f62003c9a565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c09150818801358185015250818701358184015250508092505061020084013590509250925092565b600060408284031215620042eb57600080fd5b620042f562003cc0565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200432557600080fd5b8635620043328162003bfb565b9550620043438860208901620042d8565b94506060870135620043558162003c11565b93506080870135620043678162003ef4565b925060a08701356001600160401b03808211156200438457600080fd5b818901915089601f8301126200439957600080fd5b813581811115620043a957600080fd5b8a6020828501011115620043bc57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620043e857600080fd5b620043f48585620042d8565b9250620044058560408601620042d8565b9150620044168560808601620042d8565b90509250925092565b6000806000606084860312156200443557600080fd5b8335620044428162003bfb565b92506020840135620044548162003bfb565b91506040840135620044668162003bfb565b809150509250925092565b6001600160401b03811681146200135657600080fd5b6000602082840312156200449a57600080fd5b813562003b128162004471565b600060208284031215620044ba57600080fd5b5035919050565b600080600060608486031215620044d757600080fd5b8335620044e48162003bfb565b92506020840135620044f68162003c11565b915060408401356001600160401b038111156200451257600080fd5b620045208682870162003f28565b9150509250925092565b6000602082840312156200453d57600080fd5b813562003b128162003c11565b600080600080600060a086880312156200456357600080fd5b8535620045708162003bfb565b94506020860135620045828162003c11565b93506040860135620045948162003c11565b925060608601356001600160401b03811115620045b057600080fd5b620045be8882890162003f28565b95989497509295608001359392505050565b60008060408385031215620045e457600080fd5b8235620045f18162003bfb565b91506020830135620046038162003bfb565b809150509250929050565b6000602082840312156200462157600080fd5b815162ffffff8116811462003b1257600080fd5b600181811c908216806200464a57607f821691505b6020821081036200466b57634e487b7160e01b600052602260045260246000fd5b50919050565b805162003c348162003c49565b6000602082840312156200469157600080fd5b815162003b128162003c49565b805162003c348162003c11565b600060208284031215620046be57600080fd5b815162003b128162003c11565b601f821115620024bf57600081815260208120601f850160051c81016020861015620046f45750805b601f850160051c820191505b81811015620047155782815560010162004700565b505050505050565b81516001600160401b0381111562004739576200473962003c58565b62004751816200474a845462004635565b84620046cb565b602080601f831160018114620047895760008415620047705750858301515b600019600386901b1c1916600185901b17855562004715565b600085815260208120601f198616915b82811015620047ba5788860151825594840194600190910190840162004799565b5085821015620047d95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805162003c348162004471565b6000602082840312156200480957600080fd5b815162003b128162004471565b805162003c348162003c39565b805162003c348162003bfb565b600082601f8301126200484257600080fd5b81516200485362003dfc8262003daf565b8181528460208386010111156200486957600080fd5b62003bf382602083016020870162003b19565b6000602082840312156200488f57600080fd5b81516001600160401b0380821115620048a757600080fd5b9083019060e08286031215620048bc57600080fd5b620048c662003ce5565b620048d1836200469e565b8152620048e1602084016200469e565b6020820152620048f46040840162004816565b6040820152620049076060840162004671565b60608201526200491a6080840162004823565b60808201526200492d60a0840162004823565b60a082015260c0830151828111156200494557600080fd5b620049538782860162004830565b60c08301525095945050505050565b6000602082840312156200497557600080fd5b81516001600160401b03808211156200498d57600080fd5b9083019060e08286031215620049a257600080fd5b620049ac62003ce5565b825182811115620049bc57600080fd5b620049ca8782860162004830565b825250620049db6020840162004823565b6020820152620049ee6040840162004823565b604082015262004a016060840162004823565b606082015262004a14608084016200469e565b60808201526200492d60a084016200469e565b6000815160e0845262004a3e60e085018262003b3f565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c086015262004aaa828262003b3f565b95945050505050565b6001600160601b038316815260406020820152600062003bf3604083018462004a27565b634e487b7160e01b600052603260045260246000fd5b60006020828403121562004b0057600080fd5b81516001600160401b0381111562004b1757600080fd5b62003bf38482850162004830565b600081518084526020808501945080840160005b8381101562004b605781516001600160401b03168752958201959082019060010162004b39565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015262004b9e60a084018762003b3f565b8381036060850152855180825282820190600581901b830184018489016000805b8481101562004c2057868403601f19018652825180518086529089019089860190845b8181101562004c0a5783516001600160e01b0319168352928b0192918b019160010162004be2565b5050968901969450509187019160010162004bbf565b505050868103608088015262004c37818962004b25565b9c9b505050505050505050505050565b808201808211156200390e57634e487b7160e01b600052601160045260246000fd5b60006020828403121562004c7c57600080fd5b815162003b128162003bfb565b6001600160601b038416815260606020820152600062004cad606083018562004a27565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162004d04606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b60006040828403121562004d6457600080fd5b62004d6e62003cc0565b9050815181526020820151602082015292915050565b6000610200828403121562004d9857600080fd5b62004da262003d0a565b62004dad836200469e565b815262004dbd60208401620047e9565b602082015260408301516040820152606083015160608201526080830151608082015262004dee60a0840162004671565b60a082015262004e0160c0840162004671565b60c082015262004e1460e0840162004671565b60e08201526101008381015190820152610120808401519082015261014062004e408582860162004d51565b9082015261018062004e558585830162004d51565b61016083015262004e6b856101c0860162004d51565b908201529392505050565b81516001600160601b031681526102008101602083015162004ea360208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a083015162004ed660a084018215159052565b5060c083015162004eeb60c084018215159052565b5060e083015162004f0060e084018215159052565b5061010083810151908301526101208084015190830152610140808401518051828501526020810151610160850152505061016083015161018062004f518185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b60006020828403121562004f8357600080fd5b815162003b128162003c39565b6000610140828403121562004fa457600080fd5b62004fae62003d30565b62004fb98362004823565b815262004fc96020840162004823565b602082015262004fdc604084016200469e565b604082015262004fef606084016200469e565b606082015262005003846080850162004d51565b6080820152620050178460c0850162004d51565b60a08201526200502b610100840162004671565b60c08201526200503f610120840162004823565b60e08201529392505050565b805162003c348162003ef4565b6000602082840312156200506b57600080fd5b81516001600160401b03808211156200508357600080fd5b9083019061014082860312156200509957600080fd5b620050a362003d56565b620050ae836200469e565b8152620050bf866020850162004d51565b6020820152606083015182811115620050d757600080fd5b620050e58782860162004830565b604083015250620050f9608084016200469e565b60608201526200510c60a084016200469e565b60808201526200511f60c084016200469e565b60a08201526200513260e084016200504b565b60c08201526101009150620051498284016200504b565b60e08201526200515d61012084016200504b565b91810191909152949350505050565b60006001600160601b03808816835260a060208401526200519160a084018862003b3f565b81871660408501528381036060850152620051ad818762003b3f565b925050508260808301529695505050505050565b60008060408385031215620051d557600080fd5b8251620051e28162003bfb565b6020840151909250620046038162003bfb56fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b2f21b5f21a45a1921fccf0b0e287c3cf493c27caa4c3c7fc1ba6237f8e0c6d164736f6c63430008140033",
1389
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063b135d5d411620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063d3e7275c146200054c578063f7c34ee0146200056357600080fd5b8063b135d5d414620004c3578063b43b32c914620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063a3c260521462000495578063ada9652e14620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b8063329d6e7411620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063675393bf14620003dd578063725d6e1114620003f457600080fd5b8063329d6e74146200032f57806336fc697e14620003465780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063291265af146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462003ae6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b60405162000266919062003b6d565b620002b162000768565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462003ae6565b6200097d565b620002b16200031236600462003e35565b620009ac565b620002b162000329366004620040ae565b62000a57565b620002b1620003403660046200412c565b62000a70565b620002b162000bc8565b620003676200036136600462004164565b62000c10565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004184565b62001138565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b600080516020620055f3833981519152546001600160601b031662000367565b620002b1620003ee36600462004164565b62001240565b620002b162000405366004620041d9565b62001359565b620003676200041c3660046200430b565b62001ce6565b620002b16200043336600462004164565b62001ec1565b620002b16200044a366004620043d2565b62001f63565b620003a462002131565b620002b16200046b3660046200441f565b62002270565b6200047b620024c4565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004487565b620024ff565b620002db600080516020620055f383398151915281565b620002b1620004d4366004620044a7565b62002747565b620002b1620004eb366004620044c1565b62002952565b604051608c815260200162000266565b60008051602062005613833981519152546001600160a01b0316620003a4565b620003a4620029d8565b620003a4620029e6565b620002b1620005463660046200452a565b620029f4565b620002b16200055d3660046200454a565b62002b2a565b620002b162000574366004620045d0565b62002f29565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200060291906200460e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001620006bc62002131565b6001600160a01b03168152602001826001018054620006db9062004635565b80601f0160208091040260200160405190810160405280929190818152602001828054620007099062004635565b80156200075a5780601f106200072e576101008083540402835291602001916200075a565b820191906000526020600020905b8154815290600101906020018083116200073c57829003601f168201915b505050505081525091505090565b6000600080516020620055f383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007ff91906200467e565b15620008315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008456001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200088e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b491906200467e565b620008de5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562000933573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009599190620046ab565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200098762002fa8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009b662002fa8565b620009c2828762002f29565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a4d83826200471d565b5050505050505050565b6040516324dbc43f60e21b815260040160405180910390fd5b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a946200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000ad5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000afb9190620047f6565b600080516020620056338339815191528054600160401b900460ff168062000b30575080546001600160401b03808416911610155b1562000b4f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b7b8362002fe3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000bd262002fa8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008080808062000c2d86608c62000c2762002fed565b62003067565b9296509094509250905085600062000c44620029d8565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562000c97573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000cc191908101906200487c565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801562000cff57600080fd5b505af115801562000d14573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000d60573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d8a919081019062004962565b9050806020015160405162000d9f9062003ad8565b6001600160a01b039091168152602001604051809103906000f08015801562000dcc573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d9062000e08908b90859060040162004ab3565b600060405180830381600087803b15801562000e2357600080fd5b505af115801562000e38573d6000803e3d6000fd5b50600092506002915062000e499050565b60405190808252806020026020018201604052801562000e7e57816020015b606081526020019060019003908162000e685790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811062000eb55762000eb562004ad7565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062000ef65762000ef662004ad7565b6020026020010181905250638267876660e01b8160008151811062000f1f5762000f1f62004ad7565b602002602001015160008151811062000f3c5762000f3c62004ad7565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b908290600190811062000f765762000f7662004ad7565b602002602001015160008151811062000f935762000f9362004ad7565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062000fd962002fed565b8160008151811062000fef5762000fef62004ad7565b60200260200101906001600160401b031690816001600160401b031681525050620010196200336f565b816001815181106200102f576200102f62004ad7565b60200260200101906001600160401b031690816001600160401b03168152505062001059620029e6565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620010a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010d2919081019062004aed565b86866040518663ffffffff1660e01b8152600401620010f695949392919062004b6b565b600060405180830381600087803b1580156200111157600080fd5b505af115801562001126573d6000803e3d6000fd5b50505050505050505050505050919050565b600080516020620056338339815191528054600160401b810460ff1615906001600160401b03166000811580156200116d5750825b90506000826001600160401b031660011480156200118a5750303b155b90508115801562001199575080155b15620011b85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620011e357845460ff60401b1916600160401b1785555b620011ef8787620033ac565b83156200123757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6200124a62002fa8565b806001600160a01b03163b600003620012825760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015620012ff575060408051601f3d908101601f19168201909252620012fc918101906200467e565b60015b620013295760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000828565b80620013545760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000828565b505b50565b60006200136e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015620013c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620013ec91908101906200487c565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801562001446573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200147091908101906200487c565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015620014ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014f491908101906200487c565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a6080015162001532919062004c47565b6040518263ffffffff1660e01b81526004016200155191815260200190565b602060405180830381865af41580156200156f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015959190620046ab565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a00151620015ca919062004c47565b6040518263ffffffff1660e01b8152600401620015e991815260200190565b602060405180830381865af415801562001607573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200162d9190620046ab565b8951604051632620eecb60e11b8152600481019190915290915060009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af415801562001687573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016ad9190620046ab565b60405163274acb3560e01b81526001600160601b039182166004820152908416602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200170f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017359190620046ab565b60405163274acb3560e01b81526001600160601b039182166004820152908316602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af415801562001797573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017bd9190620046ab565b604051632620eecb60e11b8152600481018b905290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af415801562001811573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018379190620046ab565b60405163c4cade9d60e01b81526001600160601b039182166004820152908216602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562001899573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018bf91906200467e565b6200196a57604051632620eecb60e11b8152600481018a9052819073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af415801562001917573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200193d9190620046ab565b604051639080fd1360e01b81526001600160601b0392831660048201529116602482015260440162000828565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620019c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019e991906200467e565b1562001bdb576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a30573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a56919062004c69565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa15801562001aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ad3919081019062004962565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af415801562001b3d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b639190620046ab565b6001600160601b031660a0820152865160405163a4eeee5960e01b81526001600160a01b0387169163a4eeee599162001ba59190859060ff9060040162004c89565b600060405180830381600087803b15801562001bc057600080fd5b505af115801562001bd5573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562001c34573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c5a91906200467e565b1562001cd957600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562001cbf57600080fd5b505af115801562001cd4573d6000803e3d6000fd5b505050505b5050505050505050505050565b6000808062001cf6608c62003600565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d3c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d62919062004c69565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b815260040162001dba98979695949392919062004cc0565b6020604051808303816000875af115801562001dda573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e009190620046ab565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e62573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e889190620046ab565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b3362001ee360008051602062005613833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001f205760405162d1953b60e31b81526001600160a01b038216600482015260240162000828565b816001600160a01b03163b60000362001f58576040516361798f2f60e11b81526001600160a01b038316600482015260240162000828565b620013548262003844565b6000808062001f73608c62003600565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001fba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fe0919062004c69565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002034573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200205e919081019062004962565b905060008160c001518060200190518101906200207c919062004d84565b61014081018a905261016081018990526101808101889052604051909150620020aa90829060200162004e76565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b8152600401620020f29392919062004c89565b600060405180830381600087803b1580156200210d57600080fd5b505af115801562002122573d6000803e3d6000fd5b50505050505050505050505050565b600080600080516020620055f383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620021a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c991906200467e565b156200225a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062004c69565b91505090565b54600160601b90046001600160a01b0316919050565b6200227a62002fa8565b620022ff83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620022be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022e49190620046ab565b603c60008560405180602001604052806000815250620009ac565b6001600160a01b0382161562002320576200231a82620038a6565b6200249b565b6000620023356001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562002396573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023bc919062004f70565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562002402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002428919062004c69565b905062002499816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200246d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002493919062004c69565b620038a6565b505b620024ad634a531f3360e01b6200097d565b620024bf63b68d180960e01b6200097d565b505050565b60008051602062005613833981519152805460009190600160a01b900460ff16620024f157600062002254565b638fb3603760e01b91505090565b600080806200250f608c62003600565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002556573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200257c919062004c69565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620025d0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620025fa919081019062004962565b905060008160c0015180602001905181019062002618919062004d84565b90506200263381602001516200262d620038bb565b620038fd565b156200265e5760405163eff765ff60e01b81526001600160601b038716600482015260240162000828565b6001600160401b038716602080830191909152604051620026829183910162004e76565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b8152600401620026ca9392919062004c89565b600060405180830381600087803b158015620026e557600080fd5b505af1158015620026fa573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e93500190506200122e565b6000808062002757608c62003600565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200279e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027c4919062004c69565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002818573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002842919081019062004962565b905060008160c0015180602001905181019062002860919062004d84565b60408082018051908a90529051919250906200288190839060200162004e76565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b8152600401620028c99392919062004c89565b600060405180830381600087803b158015620028e457600080fd5b505af1158015620028f9573d6000803e3d6000fd5b5050604080516001600160601b038b168152602081018590529081018b90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905060405180910390a15050505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b158015620029c357600080fd5b505af115801562001237573d6000803e3d6000fd5b600062000602602862003914565b600062000602604662003914565b60008062002a03608c62003600565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002a6257600080fd5b505af115801562002a77573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002adb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b019190620046ab565b604080516001600160601b03928316815282861660208201529186169082015260600162000bbb565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002b6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b91919062004c69565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562002be6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002c0c919062004f90565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562002c6a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002c94919081019062005058565b80519091506001600160601b0384811691161462002cdc578051604051630a49ea2360e01b81526001600160601b039182166004820152908416602482015260440162000828565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562002d2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002d57919081019062004962565b905060008160c0015180602001905181019062002d75919062004d84565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b15801562002ded57600080fd5b505af115801562002e02573d6000803e3d6000fd5b505050508260e00151156200212257600062002e266001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562002e76573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ea091908101906200487c565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162002ee59594939291906200516c565b600060405180830381600087803b15801562002f0057600080fd5b505af115801562002f15573d6000803e3d6000fd5b505050505050505050505050505050505050565b62002f3362002fa8565b62002f3e8162001240565b62002f4862000bc8565b6001600160a01b03821662002f705760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020620055f383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206200563383398151915254600160401b900460ff1662002fe157604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002fa8565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562003041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006029190620047f6565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620030bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030e291906200467e565b6200310c576040516359bff0e360e11b81526001600160a01b038816600482015260240162000828565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200314d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200317791908101906200487c565b90506200318f81604001518860ff9081169116141590565b15620031d1576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640162000828565b60a08101516001600160a01b0385811690821614620032255760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640162000828565b81602001519250620032378362003a2a565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003278573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200329e919062004c69565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015620032f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200331c91906200467e565b6200336457604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640162000828565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162003023565b600080516020620056338339815191528054600160401b810460ff1615906001600160401b0316600081158015620033e15750825b90506000826001600160401b03166001148015620033fe5750303b155b9050811580156200340d575080155b156200342c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200345757845460ff60401b1916600160401b1785555b60008087806020019051810190620034709190620051c1565b9092509050620034838260008b62002270565b6001546001600160a01b031663d39e604360dc620034a06200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620034f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200351c919062004f70565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003562573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003588919062004c69565b600280546001600160a01b0319166001600160a01b0392909216919091179055620035ba6327e68c6160e11b6200097d565b505083156200123757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200122e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806200364d6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801562003695573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620036bf91908101906200487c565b9250620036d783604001518660ff9081169116141590565b156200371d57608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640162000828565b8260000151935062003733836020015162003a2a565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c69565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015620037e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200380b91906200467e565b156200383c57608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240162000828565b509193909250565b6000805160206200561383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b620038b062002fa8565b620013568162003ac3565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162003023565b6001600160401b0382811690821614155b92915050565b6000620039296001546001600160a01b031690565b6001600160a01b031663d39e604383620039426200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003998573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039be919062004f70565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003a04573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200390e919062004c69565b600062003a3f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003a8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003ab991908101906200487c565b6080015192915050565b62003acd62002fa8565b620013568162003844565b6103fd80620051f683390190565b60006020828403121562003af957600080fd5b81356001600160e01b03198116811462003b1257600080fd5b9392505050565b60005b8381101562003b3657818101518382015260200162003b1c565b50506000910152565b6000815180845262003b5981602086016020860162003b19565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015162003bd760c08401826001600160a01b03169052565b5060c083015160e08084015262003bf361010084018262003b3f565b949350505050565b6001600160a01b03811681146200135657600080fd5b6001600160601b03811681146200135657600080fd5b803562003c348162003c11565b919050565b60ff811681146200135657600080fd5b80151581146200135657600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562003c945762003c9462003c58565b60405290565b6040516101e081016001600160401b038111828210171562003c945762003c9462003c58565b604080519081016001600160401b038111828210171562003c945762003c9462003c58565b60405160e081016001600160401b038111828210171562003c945762003c9462003c58565b6040516101a081016001600160401b038111828210171562003c945762003c9462003c58565b60405161010081016001600160401b038111828210171562003c945762003c9462003c58565b60405161012081016001600160401b038111828210171562003c945762003c9462003c58565b604051601f8201601f191681016001600160401b038111828210171562003da75762003da762003c58565b604052919050565b60006001600160401b0382111562003dcb5762003dcb62003c58565b50601f01601f191660200190565b600082601f83011262003deb57600080fd5b813562003e0262003dfc8262003daf565b62003d7c565b81815284602083860101111562003e1857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121562003e4f57600080fd5b863562003e5c8162003bfb565b9550602087013562003e6e8162003c11565b9450604087013562003e808162003c39565b9350606087013562003e928162003c49565b9250608087013562003ea48162003bfb565b915060a08701356001600160401b0381111562003ec057600080fd5b62003ece89828a0162003dd9565b9150509295509295509295565b80356001600160c01b03198116811462003c3457600080fd5b64ffffffffff811681146200135657600080fd5b803562003c348162003ef4565b803561ffff8116811462003c3457600080fd5b6000610220828403121562003f3c57600080fd5b62003f4662003c6e565b905062003f538262003c27565b815262003f636020830162003c27565b602082015262003f766040830162003edb565b604082015262003f896060830162003edb565b60608201526080820135608082015260a082013560a082015260c082013560c082015262003fba60e0830162003f08565b60e0820152610100808301356001600160401b038082111562003fdc57600080fd5b62003fea8683870162003dd9565b838501526101209250828501359150808211156200400757600080fd5b50620040168582860162003dd9565b8284015250506101406200402c81840162003f15565b908201526101606200404083820162003f15565b908201526101806200405483820162003c27565b908201526101a06200406883820162003c27565b908201526101c06200407c83820162003f08565b908201526101e06200409083820162003f08565b90820152610200620040a483820162003f08565b9082015292915050565b60008060008060808587031215620040c557600080fd5b8435620040d28162003bfb565b93506020850135620040e48162003c11565b925060408501356001600160401b038111156200410057600080fd5b6200410e8782880162003f28565b9250506060850135620041218162003c11565b939692955090935050565b6000602082840312156200413f57600080fd5b81356001600160401b038111156200415657600080fd5b62003bf38482850162003dd9565b6000602082840312156200417757600080fd5b813562003b128162003bfb565b600080604083850312156200419857600080fd5b8235620041a58162003bfb565b915060208301356001600160401b03811115620041c157600080fd5b620041cf8582860162003dd9565b9150509250929050565b6000806000838503610220811215620041f157600080fd5b8435620041fe8162003c11565b93506101e0601f1982018113156200421557600080fd5b6200421f62003c9a565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c09150818801358185015250818701358184015250508092505061020084013590509250925092565b600060408284031215620042eb57600080fd5b620042f562003cc0565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200432557600080fd5b8635620043328162003bfb565b9550620043438860208901620042d8565b94506060870135620043558162003c11565b93506080870135620043678162003ef4565b925060a08701356001600160401b03808211156200438457600080fd5b818901915089601f8301126200439957600080fd5b813581811115620043a957600080fd5b8a6020828501011115620043bc57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620043e857600080fd5b620043f48585620042d8565b9250620044058560408601620042d8565b9150620044168560808601620042d8565b90509250925092565b6000806000606084860312156200443557600080fd5b8335620044428162003bfb565b92506020840135620044548162003bfb565b91506040840135620044668162003bfb565b809150509250925092565b6001600160401b03811681146200135657600080fd5b6000602082840312156200449a57600080fd5b813562003b128162004471565b600060208284031215620044ba57600080fd5b5035919050565b600080600060608486031215620044d757600080fd5b8335620044e48162003bfb565b92506020840135620044f68162003c11565b915060408401356001600160401b038111156200451257600080fd5b620045208682870162003f28565b9150509250925092565b6000602082840312156200453d57600080fd5b813562003b128162003c11565b600080600080600060a086880312156200456357600080fd5b8535620045708162003bfb565b94506020860135620045828162003c11565b93506040860135620045948162003c11565b925060608601356001600160401b03811115620045b057600080fd5b620045be8882890162003f28565b95989497509295608001359392505050565b60008060408385031215620045e457600080fd5b8235620045f18162003bfb565b91506020830135620046038162003bfb565b809150509250929050565b6000602082840312156200462157600080fd5b815162ffffff8116811462003b1257600080fd5b600181811c908216806200464a57607f821691505b6020821081036200466b57634e487b7160e01b600052602260045260246000fd5b50919050565b805162003c348162003c49565b6000602082840312156200469157600080fd5b815162003b128162003c49565b805162003c348162003c11565b600060208284031215620046be57600080fd5b815162003b128162003c11565b601f821115620024bf57600081815260208120601f850160051c81016020861015620046f45750805b601f850160051c820191505b81811015620047155782815560010162004700565b505050505050565b81516001600160401b0381111562004739576200473962003c58565b62004751816200474a845462004635565b84620046cb565b602080601f831160018114620047895760008415620047705750858301515b600019600386901b1c1916600185901b17855562004715565b600085815260208120601f198616915b82811015620047ba5788860151825594840194600190910190840162004799565b5085821015620047d95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805162003c348162004471565b6000602082840312156200480957600080fd5b815162003b128162004471565b805162003c348162003c39565b805162003c348162003bfb565b600082601f8301126200484257600080fd5b81516200485362003dfc8262003daf565b8181528460208386010111156200486957600080fd5b62003bf382602083016020870162003b19565b6000602082840312156200488f57600080fd5b81516001600160401b0380821115620048a757600080fd5b9083019060e08286031215620048bc57600080fd5b620048c662003ce5565b620048d1836200469e565b8152620048e1602084016200469e565b6020820152620048f46040840162004816565b6040820152620049076060840162004671565b60608201526200491a6080840162004823565b60808201526200492d60a0840162004823565b60a082015260c0830151828111156200494557600080fd5b620049538782860162004830565b60c08301525095945050505050565b6000602082840312156200497557600080fd5b81516001600160401b03808211156200498d57600080fd5b9083019060e08286031215620049a257600080fd5b620049ac62003ce5565b825182811115620049bc57600080fd5b620049ca8782860162004830565b825250620049db6020840162004823565b6020820152620049ee6040840162004823565b604082015262004a016060840162004823565b606082015262004a14608084016200469e565b60808201526200492d60a084016200469e565b6000815160e0845262004a3e60e085018262003b3f565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c086015262004aaa828262003b3f565b95945050505050565b6001600160601b038316815260406020820152600062003bf3604083018462004a27565b634e487b7160e01b600052603260045260246000fd5b60006020828403121562004b0057600080fd5b81516001600160401b0381111562004b1757600080fd5b62003bf38482850162004830565b600081518084526020808501945080840160005b8381101562004b605781516001600160401b03168752958201959082019060010162004b39565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015262004b9e60a084018762003b3f565b8381036060850152855180825282820190600581901b830184018489016000805b8481101562004c2057868403601f19018652825180518086529089019089860190845b8181101562004c0a5783516001600160e01b0319168352928b0192918b019160010162004be2565b5050968901969450509187019160010162004bbf565b505050868103608088015262004c37818962004b25565b9c9b505050505050505050505050565b808201808211156200390e57634e487b7160e01b600052601160045260246000fd5b60006020828403121562004c7c57600080fd5b815162003b128162003bfb565b6001600160601b038416815260606020820152600062004cad606083018562004a27565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162004d04606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b60006040828403121562004d6457600080fd5b62004d6e62003cc0565b9050815181526020820151602082015292915050565b6000610200828403121562004d9857600080fd5b62004da262003d0a565b62004dad836200469e565b815262004dbd60208401620047e9565b602082015260408301516040820152606083015160608201526080830151608082015262004dee60a0840162004671565b60a082015262004e0160c0840162004671565b60c082015262004e1460e0840162004671565b60e08201526101008381015190820152610120808401519082015261014062004e408582860162004d51565b9082015261018062004e558585830162004d51565b61016083015262004e6b856101c0860162004d51565b908201529392505050565b81516001600160601b031681526102008101602083015162004ea360208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a083015162004ed660a084018215159052565b5060c083015162004eeb60c084018215159052565b5060e083015162004f0060e084018215159052565b5061010083810151908301526101208084015190830152610140808401518051828501526020810151610160850152505061016083015161018062004f518185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b60006020828403121562004f8357600080fd5b815162003b128162003c39565b6000610140828403121562004fa457600080fd5b62004fae62003d30565b62004fb98362004823565b815262004fc96020840162004823565b602082015262004fdc604084016200469e565b604082015262004fef606084016200469e565b606082015262005003846080850162004d51565b6080820152620050178460c0850162004d51565b60a08201526200502b610100840162004671565b60c08201526200503f610120840162004823565b60e08201529392505050565b805162003c348162003ef4565b6000602082840312156200506b57600080fd5b81516001600160401b03808211156200508357600080fd5b9083019061014082860312156200509957600080fd5b620050a362003d56565b620050ae836200469e565b8152620050bf866020850162004d51565b6020820152606083015182811115620050d757600080fd5b620050e58782860162004830565b604083015250620050f9608084016200469e565b60608201526200510c60a084016200469e565b60808201526200511f60c084016200469e565b60a08201526200513260e084016200504b565b60c08201526101009150620051498284016200504b565b60e08201526200515d61012084016200504b565b91810191909152949350505050565b60006001600160601b03808816835260a060208401526200519160a084018862003b3f565b81871660408501528381036060850152620051ad818762003b3f565b925050508260808301529695505050505050565b60008060408385031215620051d557600080fd5b8251620051e28162003bfb565b6020840151909250620046038162003bfb56fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b2f21b5f21a45a1921fccf0b0e287c3cf493c27caa4c3c7fc1ba6237f8e0c6d164736f6c63430008140033",
1390
+ "linkReferences": {
1391
+ "contracts/types/Amount.sol": {
1392
+ "AmountLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 5609
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 5761
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 5938
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 6074
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 6210
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 6332
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 6468
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 6594
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 6766
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 7144
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 7391
1436
+ }
1437
+ ]
1438
+ },
1439
+ "contracts/types/NftId.sol": {
1440
+ "NftIdLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 2180
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 8782
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/types/RoleId.sol": {
1452
+ "RoleIdLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 12523
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 13423
1460
+ },
1461
+ {
1462
+ "length": 20,
1463
+ "start": 14784
1464
+ }
1465
+ ]
1466
+ },
1467
+ "contracts/types/Version.sol": {
1468
+ "VersionLib": [
1469
+ {
1470
+ "length": 20,
1471
+ "start": 1671
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 2904
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 13729
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 14915
1484
+ }
1485
+ ],
1486
+ "VersionPartLib": [
1487
+ {
1488
+ "length": 20,
1489
+ "start": 9281
1490
+ }
1491
+ ]
1492
+ }
1493
+ },
1494
+ "deployedLinkReferences": {
1495
+ "contracts/types/Amount.sol": {
1496
+ "AmountLib": [
1497
+ {
1498
+ "length": 20,
1499
+ "start": 5379
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 5531
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 5708
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 5844
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 5980
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 6102
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 6238
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 6364
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 6536
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 6914
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 7161
1540
+ }
1541
+ ]
1542
+ },
1543
+ "contracts/types/NftId.sol": {
1544
+ "NftIdLib": [
1545
+ {
1546
+ "length": 20,
1547
+ "start": 1950
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 8552
1552
+ }
1553
+ ]
1554
+ },
1555
+ "contracts/types/RoleId.sol": {
1556
+ "RoleIdLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 12293
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 13193
1564
+ },
1565
+ {
1566
+ "length": 20,
1567
+ "start": 14554
1568
+ }
1569
+ ]
1570
+ },
1571
+ "contracts/types/Version.sol": {
1572
+ "VersionLib": [
1573
+ {
1574
+ "length": 20,
1575
+ "start": 1441
1576
+ },
1577
+ {
1578
+ "length": 20,
1579
+ "start": 2674
1580
+ },
1581
+ {
1582
+ "length": 20,
1583
+ "start": 13499
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 14685
1588
+ }
1589
+ ],
1590
+ "VersionPartLib": [
1591
+ {
1592
+ "length": 20,
1593
+ "start": 9051
1594
+ }
1595
+ ]
1596
+ }
1597
+ }
1598
+ }