@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,1798 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/instance/service/DistributionService.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": "caller",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorDistributionServiceCallerNotRegistered",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "name": "ErrorIAccessTargetLocked",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "caller",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "commissionPercentage",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "maxCommissionPercentage",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "maxDiscountPercentage",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "discountPercentage",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "minDiscountPercentage",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "discountPercentage",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "ErrorIDistributionServiceDiscountTooLow",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "Timestamp",
246
+ "name": "expiryAt",
247
+ "type": "uint40"
248
+ }
249
+ ],
250
+ "name": "ErrorIDistributionServiceExpirationInvalid",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "maxReferralLifetime",
258
+ "type": "uint256"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "expiryAt",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "ErrorIDistributionServiceExpiryTooLong",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "distributionFeeFixAmount",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "distributionFeeVarAmount",
279
+ "type": "uint256"
280
+ },
281
+ {
282
+ "internalType": "uint256",
283
+ "name": "distributionOwnerFeeFixAmount",
284
+ "type": "uint256"
285
+ },
286
+ {
287
+ "internalType": "uint256",
288
+ "name": "distributionOwnerFeeVarAmount",
289
+ "type": "uint256"
290
+ },
291
+ {
292
+ "internalType": "uint256",
293
+ "name": "commissionAmount",
294
+ "type": "uint256"
295
+ },
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "discountAmount",
299
+ "type": "uint256"
300
+ }
301
+ ],
302
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "transferredDistributionFeeAmount",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "expectedDistributionFeeAmount",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "string",
325
+ "name": "code",
326
+ "type": "string"
327
+ }
328
+ ],
329
+ "name": "ErrorIDistributionServiceInvalidReferral",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [
334
+ {
335
+ "internalType": "ReferralId",
336
+ "name": "referralId",
337
+ "type": "bytes8"
338
+ }
339
+ ],
340
+ "name": "ErrorIDistributionServiceInvalidReferralId",
341
+ "type": "error"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "maxDiscountPercentage",
348
+ "type": "uint256"
349
+ },
350
+ {
351
+ "internalType": "uint256",
352
+ "name": "limit",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "maxReferrals",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
368
+ "type": "error"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "uint256",
374
+ "name": "minFee",
375
+ "type": "uint256"
376
+ },
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "limit",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "nftId",
391
+ "type": "uint96"
392
+ },
393
+ {
394
+ "internalType": "NftId",
395
+ "name": "parentNftId",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "NftId",
406
+ "name": "distributionNftId",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "internalType": "ReferralId",
411
+ "name": "referralId",
412
+ "type": "bytes8"
413
+ }
414
+ ],
415
+ "name": "ErrorIDistributionServiceReferralInvalid",
416
+ "type": "error"
417
+ },
418
+ {
419
+ "inputs": [
420
+ {
421
+ "internalType": "NftId",
422
+ "name": "nftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "ErrorNftOwnableAlreadyLinked",
427
+ "type": "error"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "contractAddress",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "ErrorNftOwnableContractNotRegistered",
438
+ "type": "error"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "ErrorNftOwnableInitialOwnerZero",
443
+ "type": "error"
444
+ },
445
+ {
446
+ "inputs": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "account",
450
+ "type": "address"
451
+ }
452
+ ],
453
+ "name": "ErrorNftOwnableNotOwner",
454
+ "type": "error"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "address",
460
+ "name": "registryAddress",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "name": "ErrorNotRegistry",
465
+ "type": "error"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "ErrorServiceNotImplemented",
470
+ "type": "error"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "InvalidInitialization",
475
+ "type": "error"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "NotInitializing",
480
+ "type": "error"
481
+ },
482
+ {
483
+ "anonymous": false,
484
+ "inputs": [
485
+ {
486
+ "indexed": false,
487
+ "internalType": "address",
488
+ "name": "authority",
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "name": "AuthorityUpdated",
493
+ "type": "event"
494
+ },
495
+ {
496
+ "anonymous": false,
497
+ "inputs": [
498
+ {
499
+ "indexed": false,
500
+ "internalType": "uint64",
501
+ "name": "version",
502
+ "type": "uint64"
503
+ }
504
+ ],
505
+ "name": "Initialized",
506
+ "type": "event"
507
+ },
508
+ {
509
+ "inputs": [],
510
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
511
+ "outputs": [
512
+ {
513
+ "internalType": "bytes32",
514
+ "name": "",
515
+ "type": "bytes32"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "REGISTERABLE_LOCATION_V1",
524
+ "outputs": [
525
+ {
526
+ "internalType": "bytes32",
527
+ "name": "",
528
+ "type": "bytes32"
529
+ }
530
+ ],
531
+ "stateMutability": "view",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [],
536
+ "name": "authority",
537
+ "outputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "",
541
+ "type": "address"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [
549
+ {
550
+ "internalType": "NftId",
551
+ "name": "distributionNftId",
552
+ "type": "uint96"
553
+ },
554
+ {
555
+ "internalType": "ReferralId",
556
+ "name": "referralId",
557
+ "type": "bytes8"
558
+ },
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "netPremiumAmount",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "fullPremiumAmount",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "premiumAmount",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "internalType": "uint256",
578
+ "name": "productFeeFixAmount",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "poolFeeFixAmount",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "bundleFeeFixAmount",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "distributionFeeFixAmount",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "productFeeVarAmount",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "poolFeeVarAmount",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "bundleFeeVarAmount",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "distributionFeeVarAmount",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "distributionOwnerFeeFixAmount",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "distributionOwnerFeeVarAmount",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "commissionAmount",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "discountAmount",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "internalType": "struct IPolicy.Premium",
638
+ "name": "premium",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "name": "calculateFeeAmount",
643
+ "outputs": [
644
+ {
645
+ "components": [
646
+ {
647
+ "internalType": "uint256",
648
+ "name": "netPremiumAmount",
649
+ "type": "uint256"
650
+ },
651
+ {
652
+ "internalType": "uint256",
653
+ "name": "fullPremiumAmount",
654
+ "type": "uint256"
655
+ },
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "premiumAmount",
659
+ "type": "uint256"
660
+ },
661
+ {
662
+ "internalType": "uint256",
663
+ "name": "productFeeFixAmount",
664
+ "type": "uint256"
665
+ },
666
+ {
667
+ "internalType": "uint256",
668
+ "name": "poolFeeFixAmount",
669
+ "type": "uint256"
670
+ },
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "bundleFeeFixAmount",
674
+ "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "distributionFeeFixAmount",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "productFeeVarAmount",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "uint256",
688
+ "name": "poolFeeVarAmount",
689
+ "type": "uint256"
690
+ },
691
+ {
692
+ "internalType": "uint256",
693
+ "name": "bundleFeeVarAmount",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "distributionFeeVarAmount",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "distributionOwnerFeeFixAmount",
704
+ "type": "uint256"
705
+ },
706
+ {
707
+ "internalType": "uint256",
708
+ "name": "distributionOwnerFeeVarAmount",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "commissionAmount",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "discountAmount",
719
+ "type": "uint256"
720
+ }
721
+ ],
722
+ "internalType": "struct IPolicy.Premium",
723
+ "name": "finalPremium",
724
+ "type": "tuple"
725
+ }
726
+ ],
727
+ "stateMutability": "view",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "distributor",
735
+ "type": "address"
736
+ },
737
+ {
738
+ "internalType": "DistributorType",
739
+ "name": "distributorType",
740
+ "type": "bytes8"
741
+ },
742
+ {
743
+ "internalType": "bytes",
744
+ "name": "data",
745
+ "type": "bytes"
746
+ }
747
+ ],
748
+ "name": "createDistributor",
749
+ "outputs": [
750
+ {
751
+ "internalType": "NftId",
752
+ "name": "distributorNftId",
753
+ "type": "uint96"
754
+ }
755
+ ],
756
+ "stateMutability": "nonpayable",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "string",
763
+ "name": "name",
764
+ "type": "string"
765
+ },
766
+ {
767
+ "internalType": "UFixed",
768
+ "name": "minDiscountPercentage",
769
+ "type": "uint256"
770
+ },
771
+ {
772
+ "internalType": "UFixed",
773
+ "name": "maxDiscountPercentage",
774
+ "type": "uint256"
775
+ },
776
+ {
777
+ "internalType": "UFixed",
778
+ "name": "commissionPercentage",
779
+ "type": "uint256"
780
+ },
781
+ {
782
+ "internalType": "uint32",
783
+ "name": "maxReferralCount",
784
+ "type": "uint32"
785
+ },
786
+ {
787
+ "internalType": "uint32",
788
+ "name": "maxReferralLifetime",
789
+ "type": "uint32"
790
+ },
791
+ {
792
+ "internalType": "bool",
793
+ "name": "allowSelfReferrals",
794
+ "type": "bool"
795
+ },
796
+ {
797
+ "internalType": "bool",
798
+ "name": "allowRenewals",
799
+ "type": "bool"
800
+ },
801
+ {
802
+ "internalType": "bytes",
803
+ "name": "data",
804
+ "type": "bytes"
805
+ }
806
+ ],
807
+ "name": "createDistributorType",
808
+ "outputs": [
809
+ {
810
+ "internalType": "DistributorType",
811
+ "name": "distributorType",
812
+ "type": "bytes8"
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "NftId",
822
+ "name": "distributorNftId",
823
+ "type": "uint96"
824
+ },
825
+ {
826
+ "internalType": "string",
827
+ "name": "code",
828
+ "type": "string"
829
+ },
830
+ {
831
+ "internalType": "UFixed",
832
+ "name": "discountPercentage",
833
+ "type": "uint256"
834
+ },
835
+ {
836
+ "internalType": "uint32",
837
+ "name": "maxReferrals",
838
+ "type": "uint32"
839
+ },
840
+ {
841
+ "internalType": "Timestamp",
842
+ "name": "expiryAt",
843
+ "type": "uint40"
844
+ },
845
+ {
846
+ "internalType": "bytes",
847
+ "name": "data",
848
+ "type": "bytes"
849
+ }
850
+ ],
851
+ "name": "createReferral",
852
+ "outputs": [
853
+ {
854
+ "internalType": "ReferralId",
855
+ "name": "referralId",
856
+ "type": "bytes8"
857
+ }
858
+ ],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [],
864
+ "name": "getDomain",
865
+ "outputs": [
866
+ {
867
+ "internalType": "ObjectType",
868
+ "name": "",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "stateMutability": "pure",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [],
877
+ "name": "getInitialInfo",
878
+ "outputs": [
879
+ {
880
+ "components": [
881
+ {
882
+ "internalType": "NftId",
883
+ "name": "nftId",
884
+ "type": "uint96"
885
+ },
886
+ {
887
+ "internalType": "NftId",
888
+ "name": "parentNftId",
889
+ "type": "uint96"
890
+ },
891
+ {
892
+ "internalType": "ObjectType",
893
+ "name": "objectType",
894
+ "type": "uint8"
895
+ },
896
+ {
897
+ "internalType": "bool",
898
+ "name": "isInterceptor",
899
+ "type": "bool"
900
+ },
901
+ {
902
+ "internalType": "address",
903
+ "name": "objectAddress",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "internalType": "address",
908
+ "name": "initialOwner",
909
+ "type": "address"
910
+ },
911
+ {
912
+ "internalType": "bytes",
913
+ "name": "data",
914
+ "type": "bytes"
915
+ }
916
+ ],
917
+ "internalType": "struct IRegistry.ObjectInfo",
918
+ "name": "info",
919
+ "type": "tuple"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getInstanceService",
928
+ "outputs": [
929
+ {
930
+ "internalType": "contract InstanceService",
931
+ "name": "",
932
+ "type": "address"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
940
+ "name": "getNftId",
941
+ "outputs": [
942
+ {
943
+ "internalType": "NftId",
944
+ "name": "",
945
+ "type": "uint96"
946
+ }
947
+ ],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [],
953
+ "name": "getOwner",
954
+ "outputs": [
955
+ {
956
+ "internalType": "address",
957
+ "name": "",
958
+ "type": "address"
959
+ }
960
+ ],
961
+ "stateMutability": "view",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [],
966
+ "name": "getRegistry",
967
+ "outputs": [
968
+ {
969
+ "internalType": "contract IRegistry",
970
+ "name": "",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "stateMutability": "view",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [],
979
+ "name": "getRegistryService",
980
+ "outputs": [
981
+ {
982
+ "internalType": "contract IRegistryService",
983
+ "name": "",
984
+ "type": "address"
985
+ }
986
+ ],
987
+ "stateMutability": "view",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [],
992
+ "name": "getVersion",
993
+ "outputs": [
994
+ {
995
+ "internalType": "Version",
996
+ "name": "",
997
+ "type": "uint24"
998
+ }
999
+ ],
1000
+ "stateMutability": "pure",
1001
+ "type": "function"
1002
+ },
1003
+ {
1004
+ "inputs": [],
1005
+ "name": "initializeERC165",
1006
+ "outputs": [],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "address",
1014
+ "name": "initialOwner",
1015
+ "type": "address"
1016
+ },
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "registryAddress",
1020
+ "type": "address"
1021
+ }
1022
+ ],
1023
+ "name": "initializeNftOwnable",
1024
+ "outputs": [],
1025
+ "stateMutability": "nonpayable",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "address",
1032
+ "name": "registryAddress",
1033
+ "type": "address"
1034
+ },
1035
+ {
1036
+ "internalType": "NftId",
1037
+ "name": "parentNftId",
1038
+ "type": "uint96"
1039
+ },
1040
+ {
1041
+ "internalType": "ObjectType",
1042
+ "name": "objectType",
1043
+ "type": "uint8"
1044
+ },
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "isInterceptor",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "initialOwner",
1053
+ "type": "address"
1054
+ },
1055
+ {
1056
+ "internalType": "bytes",
1057
+ "name": "registryData",
1058
+ "type": "bytes"
1059
+ }
1060
+ ],
1061
+ "name": "initializeRegisterable",
1062
+ "outputs": [],
1063
+ "stateMutability": "nonpayable",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "registryAddress",
1071
+ "type": "address"
1072
+ }
1073
+ ],
1074
+ "name": "initializeRegistryLinked",
1075
+ "outputs": [],
1076
+ "stateMutability": "nonpayable",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "address",
1083
+ "name": "registry",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "authority",
1089
+ "type": "address"
1090
+ },
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "initialOwner",
1094
+ "type": "address"
1095
+ }
1096
+ ],
1097
+ "name": "initializeService",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "activatedBy",
1107
+ "type": "address"
1108
+ },
1109
+ {
1110
+ "internalType": "bytes",
1111
+ "name": "data",
1112
+ "type": "bytes"
1113
+ }
1114
+ ],
1115
+ "name": "initializeVersionable",
1116
+ "outputs": [],
1117
+ "stateMutability": "nonpayable",
1118
+ "type": "function"
1119
+ },
1120
+ {
1121
+ "inputs": [],
1122
+ "name": "isConsumingScheduledOp",
1123
+ "outputs": [
1124
+ {
1125
+ "internalType": "bytes4",
1126
+ "name": "",
1127
+ "type": "bytes4"
1128
+ }
1129
+ ],
1130
+ "stateMutability": "view",
1131
+ "type": "function"
1132
+ },
1133
+ {
1134
+ "inputs": [],
1135
+ "name": "linkToRegisteredNftId",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "distributionNftId",
1145
+ "type": "uint96"
1146
+ },
1147
+ {
1148
+ "internalType": "ReferralId",
1149
+ "name": "referralId",
1150
+ "type": "bytes8"
1151
+ },
1152
+ {
1153
+ "components": [
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "netPremiumAmount",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "fullPremiumAmount",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "premiumAmount",
1167
+ "type": "uint256"
1168
+ },
1169
+ {
1170
+ "internalType": "uint256",
1171
+ "name": "productFeeFixAmount",
1172
+ "type": "uint256"
1173
+ },
1174
+ {
1175
+ "internalType": "uint256",
1176
+ "name": "poolFeeFixAmount",
1177
+ "type": "uint256"
1178
+ },
1179
+ {
1180
+ "internalType": "uint256",
1181
+ "name": "bundleFeeFixAmount",
1182
+ "type": "uint256"
1183
+ },
1184
+ {
1185
+ "internalType": "uint256",
1186
+ "name": "distributionFeeFixAmount",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "productFeeVarAmount",
1192
+ "type": "uint256"
1193
+ },
1194
+ {
1195
+ "internalType": "uint256",
1196
+ "name": "poolFeeVarAmount",
1197
+ "type": "uint256"
1198
+ },
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "bundleFeeVarAmount",
1202
+ "type": "uint256"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "distributionFeeVarAmount",
1207
+ "type": "uint256"
1208
+ },
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "distributionOwnerFeeFixAmount",
1212
+ "type": "uint256"
1213
+ },
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "distributionOwnerFeeVarAmount",
1217
+ "type": "uint256"
1218
+ },
1219
+ {
1220
+ "internalType": "uint256",
1221
+ "name": "commissionAmount",
1222
+ "type": "uint256"
1223
+ },
1224
+ {
1225
+ "internalType": "uint256",
1226
+ "name": "discountAmount",
1227
+ "type": "uint256"
1228
+ }
1229
+ ],
1230
+ "internalType": "struct IPolicy.Premium",
1231
+ "name": "premium",
1232
+ "type": "tuple"
1233
+ },
1234
+ {
1235
+ "internalType": "uint256",
1236
+ "name": "transferredDistributionFeeAmount",
1237
+ "type": "uint256"
1238
+ }
1239
+ ],
1240
+ "name": "processSale",
1241
+ "outputs": [],
1242
+ "stateMutability": "nonpayable",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [
1247
+ {
1248
+ "internalType": "NftId",
1249
+ "name": "distributionNftId",
1250
+ "type": "uint96"
1251
+ },
1252
+ {
1253
+ "internalType": "ReferralId",
1254
+ "name": "referralId",
1255
+ "type": "bytes8"
1256
+ }
1257
+ ],
1258
+ "name": "referralIsValid",
1259
+ "outputs": [
1260
+ {
1261
+ "internalType": "bool",
1262
+ "name": "isValid",
1263
+ "type": "bool"
1264
+ }
1265
+ ],
1266
+ "stateMutability": "view",
1267
+ "type": "function"
1268
+ },
1269
+ {
1270
+ "inputs": [
1271
+ {
1272
+ "internalType": "address",
1273
+ "name": "distributionAddress",
1274
+ "type": "address"
1275
+ }
1276
+ ],
1277
+ "name": "register",
1278
+ "outputs": [
1279
+ {
1280
+ "internalType": "NftId",
1281
+ "name": "distributionNftId",
1282
+ "type": "uint96"
1283
+ }
1284
+ ],
1285
+ "stateMutability": "nonpayable",
1286
+ "type": "function"
1287
+ },
1288
+ {
1289
+ "inputs": [
1290
+ {
1291
+ "internalType": "bytes4",
1292
+ "name": "interfaceId",
1293
+ "type": "bytes4"
1294
+ }
1295
+ ],
1296
+ "name": "registerInterface",
1297
+ "outputs": [],
1298
+ "stateMutability": "nonpayable",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [
1303
+ {
1304
+ "internalType": "address",
1305
+ "name": "newAuthority",
1306
+ "type": "address"
1307
+ }
1308
+ ],
1309
+ "name": "setAuthority",
1310
+ "outputs": [],
1311
+ "stateMutability": "nonpayable",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [
1316
+ {
1317
+ "components": [
1318
+ {
1319
+ "internalType": "UFixed",
1320
+ "name": "fractionalFee",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "fixedFee",
1326
+ "type": "uint256"
1327
+ }
1328
+ ],
1329
+ "internalType": "struct Fee",
1330
+ "name": "minDistributionOwnerFee",
1331
+ "type": "tuple"
1332
+ },
1333
+ {
1334
+ "components": [
1335
+ {
1336
+ "internalType": "UFixed",
1337
+ "name": "fractionalFee",
1338
+ "type": "uint256"
1339
+ },
1340
+ {
1341
+ "internalType": "uint256",
1342
+ "name": "fixedFee",
1343
+ "type": "uint256"
1344
+ }
1345
+ ],
1346
+ "internalType": "struct Fee",
1347
+ "name": "distributionFee",
1348
+ "type": "tuple"
1349
+ }
1350
+ ],
1351
+ "name": "setFees",
1352
+ "outputs": [],
1353
+ "stateMutability": "nonpayable",
1354
+ "type": "function"
1355
+ },
1356
+ {
1357
+ "inputs": [
1358
+ {
1359
+ "internalType": "bytes4",
1360
+ "name": "interfaceId",
1361
+ "type": "bytes4"
1362
+ }
1363
+ ],
1364
+ "name": "supportsInterface",
1365
+ "outputs": [
1366
+ {
1367
+ "internalType": "bool",
1368
+ "name": "",
1369
+ "type": "bool"
1370
+ }
1371
+ ],
1372
+ "stateMutability": "view",
1373
+ "type": "function"
1374
+ },
1375
+ {
1376
+ "inputs": [
1377
+ {
1378
+ "internalType": "NftId",
1379
+ "name": "distributorNftId",
1380
+ "type": "uint96"
1381
+ },
1382
+ {
1383
+ "internalType": "DistributorType",
1384
+ "name": "distributorType",
1385
+ "type": "bytes8"
1386
+ },
1387
+ {
1388
+ "internalType": "bytes",
1389
+ "name": "data",
1390
+ "type": "bytes"
1391
+ }
1392
+ ],
1393
+ "name": "updateDistributorType",
1394
+ "outputs": [],
1395
+ "stateMutability": "nonpayable",
1396
+ "type": "function"
1397
+ },
1398
+ {
1399
+ "inputs": [
1400
+ {
1401
+ "internalType": "bytes",
1402
+ "name": "data",
1403
+ "type": "bytes"
1404
+ }
1405
+ ],
1406
+ "name": "upgradeVersionable",
1407
+ "outputs": [],
1408
+ "stateMutability": "nonpayable",
1409
+ "type": "function"
1410
+ }
1411
+ ],
1412
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615d8a80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80635dcb3bae1161010f578063ada9652e116100a2578063caf4e3d411610071578063caf4e3d414610548578063cc9fc59a14610550578063d25f509514610558578063f7c34ee01461056b57600080fd5b8063ada9652e146104f3578063b68d180914610508578063b6b412ba14610517578063bf7e214f1461052a57600080fd5b8063893d20e8116100de578063893d20e8146104a45780638dd2b781146104ac5780638e32e979146104bf5780638fb36037146104d257600080fd5b80635dcb3bae1461044d578063644c45e014610460578063675393bf1461047e5780637a9e5e4b1461049157600080fd5b806327bb7a33116101875780633d683fd9116101565780633d683fd9146103d75780634420e486146103ea57806349bb9e4b146104155780635ab1bd531461042857600080fd5b806327bb7a33146103895780632b5198b11461039c578063329d6e74146103bc57806336fc697e146103cf57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a7578063219a3195146102ba57806325d073841461037657600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b61022261020336600461483b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61057e565b60405162ffffff909116815260200161022e565b61025b610608565b60405161022e91906148b5565b61027061075f565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b536600461483b565b610966565b6102cd6102c8366004614b24565b610993565b60405161022e9190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610222610384366004614b6d565b611220565b610270610397366004614c65565b611553565b6103af6103aa366004614d0f565b6115f8565b60405161022e9190614ddb565b6102706103ca366004614df0565b611ac1565b610270611c0e565b6102706103e5366004614e24565b611c54565b6103fd6103f8366004614e85565b611dc1565b6040516001600160601b03909116815260200161022e565b610270610423366004614ea2565b61225d565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b6103fd61045b366004614ef1565b61235c565b600080516020615cf5833981519152546001600160601b03166103fd565b61027061048c366004614e85565b6124fc565b61027061049f366004614e85565b61260a565b6104356126a4565b6103af6104ba366004614f24565b6127db565b6102706104cd366004614fbe565b612fe7565b6104da613220565b6040516001600160e01b0319909116815260200161022e565b610299600080516020615cf583398151915281565b6040516078815260200161022e565b610270610525366004615039565b613258565b600080516020615d15833981519152546001600160a01b0316610435565b6104356134de565b6104356134ea565b61027061056636600461506e565b6134f6565b6102706105793660046150c0565b6139ba565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060391906150ee565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106bb6126a4565b6001600160a01b031681526020018260010180546106d890615113565b80601f016020809104026020016040519081016040528092919081815260200182805461070490615113565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b505050505081525091505090565b6000600080516020615cf583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f29190615158565b156108235780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108366001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190615158565b6108ca5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161081a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109429190615180565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61096e613a31565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a0c604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a1785613a6a565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061519d565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af591906151f5565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b8f9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b47919060040190815260200190565b602060405180830381865af4158015610b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b889190615296565b8451613b93565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c049190615296565b61014089018190526020890180519192508291610c229083906152c5565b905250610c2f8a8a611220565b610c615750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611219565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c90908d90600401614ddb565b600060405180830381865afa158015610cad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd59190810190615333565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d2b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d539190810190615411565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d869190600401614ddb565b600060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dcb91908101906154ba565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e489190615296565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e8b92600401918252602082015260400190565b602060405180830381865af4158015610ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc9190615296565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190615296565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f8a9160040190815260200190565b602060405180830381865af4158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb9190615296565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261100e92600401918252602082015260400190565b602060405180830381865af415801561102b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104f9190615296565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c49190615296565b6101c08d0181905260208701516101608e01526110e182876155b1565b6110eb91906155b1565b6101808d01526101c08c015160208d015161110691906155b1565b60408d0152505050506020820151610160890151101561117f5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161081a565b876101a00151886101800151896101c0015161119b91906152c5565b6111a591906152c5565b8861014001511461120f5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161081a565b8796505050505050505b9392505050565b60008061122c84613a6a565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561126e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611292919061519d565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016112bd9190614ddb565b600060405180830381865afa1580156112da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113029190810190615333565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113849190615158565b156113945760009250505061154d565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156113f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114149190615158565b80611526575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149a9190615158565b8015611526575061152673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151191906155c4565b8260a0015164ffffffffff9081169116111590565b92508280156115485750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b61155b613a31565b61156582876139ba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016115ee838261562f565b5050505050505050565b6000806000611605613ba8565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d919061519d565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e191906151f5565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117699190615296565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f19190615296565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af415801561184b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186f9190615158565b1561197e57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e89190615296565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c9190615296565b60405163e2ed03dd60e01b81526004810192909252602482015260440161081a565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119ba9291906156ee565b602060405180830381865af41580156119d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fb9190615710565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b8152600401611a7f92919061572d565b600060405180830381600087803b158015611a9957600080fd5b505af1158015611aad573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611ae361057e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b479190615805565b600080516020615d358339815191528054600160401b900460ff1680611b7a575080546001600160401b03808416911610155b15611b985760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611bc283613e2c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611c16613a31565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611c5e613ba8565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc5919061519d565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d409190810190615411565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611d87908990859060ff90600401615879565b600060405180830381600087803b158015611da157600080fd5b505af1158015611db5573d6000803e3d6000fd5b50505050505050505050565b600080808080611dda866078611dd5613e34565b613eac565b93509350935093506000611dec6134de565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611e3e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e6691908101906158b9565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ea857600080fd5b505af1158015611ebc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3a91906151f5565b6040518363ffffffff1660e01b8152600401611f579291906159c3565b600060405180830381600087803b158015611f7157600080fd5b505af1158015611f85573d6000803e3d6000fd5b506000925060029150611f959050565b604051908082528060200260200182016040528015611fc857816020015b6060815260200190600190039081611fb35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611ffc57611ffc6159e1565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061203b5761203b6159e1565b602002602001018190525063b6b412ba60e01b81600081518110612061576120616159e1565b602002602001015160008151811061207b5761207b6159e1565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106120b2576120b26159e1565b60200260200101516000815181106120cc576120cc6159e1565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050612110613e34565b81600081518110612123576121236159e1565b60200260200101906001600160401b031690816001600160401b03168152505061214b61419d565b8160018151811061215e5761215e6159e1565b60200260200101906001600160401b031690816001600160401b0316815250506121866134ea565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156121d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121fc91908101906159f7565b86866040518663ffffffff1660e01b815260040161221e959493929190615a6f565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615d358339815191528054600160401b810460ff1615906001600160401b03166000811580156122905750825b90506000826001600160401b031660011480156122ac5750303b155b9050811580156122ba575080155b156122d85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561230257845460ff60401b1916600160401b1785555b61230c87876141d9565b831561235357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612369613ba8565b915091506123756134de565b6001600160a01b03166357a8fba76040518060e00160405280612396600090565b6001600160601b03168152602001856001600160601b031681526020016123bb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161241a91906148b5565b6020604051808303816000875af1158015612439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245d9190615180565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906124c09087908590600401615b43565b600060405180830381600087803b1580156124da57600080fd5b505af11580156124ee573d6000803e3d6000fd5b505050505050509392505050565b612504613a31565b806001600160a01b03163b60000361253a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161081a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156125b4575060408051601f3d908101601f191682019092526125b191810190615158565b60015b6125dc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161081a565b806126055760405163fdeac91f60e01b81526001600160a01b038316600482015260240161081a565b505b50565b3361262a600080516020615d15833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146126655760405162d1953b60e31b81526001600160a01b038216600482015260240161081a565b816001600160a01b03163b60000361269b576040516361798f2f60e11b81526001600160a01b038316600482015260240161081a565b612605826142f9565b600080600080516020615cf583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127389190615158565b156127c5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561279b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127bf919061519d565b91505090565b54600160601b90046001600160a01b0316919050565b60008060006127e8613ba8565b9150915087516000036128105787604051634fad6a5360e11b815260040161081a9190615b65565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015612866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288a9190615158565b156128b15760405163df85467b60e01b815264ffffffffff8616600482015260240161081a565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612915919061519d565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612968573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129909190810190615411565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906129c5908590600401614ddb565b600060405180830381865afa1580156129e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a0a91908101906154ba565b90508963ffffffff16816080015163ffffffff161015612a4b576080810151604051636fcee12560e01b815263ffffffff909116600482015260240161081a565b60208101518b1015612b67576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612aad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad19190615296565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b459190615296565b6040516338a25a8b60e21b81526004810192909252602482015260440161081a565b60408101518b1115612c83576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bed9190615296565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c619190615296565b604051631e1ea4f360e31b81526004810192909252602482015260440161081a565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfb91906155c4565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d769190615296565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df09190615296565b612dfa91906155b1565b1115612ea65760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7f9190615296565b6040516331fa6ab160e11b815263ffffffff9092166004830152602482015260440161081a565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612edf9291906156ee565b602060405180830381865af4158015612efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f209190615710565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b8152600401612fa4929190615bf4565b600060405180830381600087803b158015612fbe57600080fd5b505af1158015612fd2573d6000803e3d6000fd5b50505050505050505050509695505050505050565b612fef613a31565b61306f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130559190615180565b603c60008560405180602001604052806000815250611553565b6001600160a01b0382161561308c576130878261435a565b6131fb565b60006130a06001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015613100573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131249190615c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061318d919061519d565b90506131f9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f4919061519d565b61435a565b505b61320b634a531f3360e01b610966565b61321b63b68d180960e01b610966565b505050565b600080516020615d15833981519152805460009190600160a01b900460ff1661324a5760006127bf565b638fb3603760e01b91505090565b815181511015613372578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156132b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d99190615296565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561332c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133509190615296565b604051631a9c6b0960e01b81526004810192909252602482015260440161081a565b60008080613380607861436b565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156133c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ea919061519d565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa15801561343e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061346291906151f5565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d1906134a3908890859060ff90600401615c36565b600060405180830381600087803b1580156134bd57600080fd5b505af11580156134d1573d6000803e3d6000fd5b5050505050505050505050565b6000610603602861459e565b6000610603604661459e565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061353a906001600160c01b0319881690600401614ddb565b602060405180830381865af4158015613557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357b9190615158565b159050600061358a8686611220565b9050818015613597575080155b156135d057604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b03198616602482015260440161081a565b60006135db87613a6a565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561361d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613641919061519d565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016136719190614ddb565b600060405180830381865afa15801561368e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136b69190810190615333565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa15801561370c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137349190810190615411565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa158015613788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137ac91906151f5565b905060008961018001518a61016001516137c691906152c5565b6101a08b01519091506137d981836152c5565b8a1461380c57896137ea82846152c5565b60405163b9d36bcd60e01b81526004810192909252602482015260440161081a565b811561388b57818360a00181815161382491906152c5565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161385893929190615c36565b600060405180830381600087803b15801561387257600080fd5b505af1158015613886573d6000803e3d6000fd5b505050505b88156139ab576001856080018181516138a49190615c66565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906138de908f90899060ff90600401615c8a565b600060405180830381600087803b1580156138f857600080fd5b505af115801561390c573d6000803e3d6000fd5b5050505060008111156139ab57808460600181815161392b91906152c5565b905250608084018051600191906139439083906152c5565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139789190889060ff90600401615879565b600060405180830381600087803b15801561399257600080fd5b505af11580156139a6573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6139c2613a31565b6139cb816124fc565b6139d3611c0e565b6001600160a01b0382166139fa5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615cf583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615d3583398151915254600160401b900460ff16613a6857604051631afcd79f60e31b815260040160405180910390fd5b565b600080613a7f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ace573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613af691908101906158b9565b6020015190506000613b106001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b8791908101906158b9565b60800151949350505050565b60006112198383670de0b6b3a76400006146ab565b600080613bbd6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c279190615180565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ca69190615158565b15613cc65760405163752c00fd60e11b815233600482015260240161081a565b6000613cda6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d5191908101906158b9565b9050613d6f8160400151613d63607890565b60ff9081169116141590565b15613d8f57604051637ab07d8760e01b815233600482015260240161081a565b6000613da36001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613df8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e2091908101906158b9565b60800151939492505050565b6101f0613a31565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613e88573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106039190615805565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f249190615158565b613f4c576040516359bff0e360e11b81526001600160a01b038816600482015260240161081a565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613f8c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fb491908101906158b9565b9050613fcb81604001518860ff9081169116141590565b1561400b576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640161081a565b60a08101516001600160a01b038581169082161461405d5760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640161081a565b8160200151925061406d83614795565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d1919061519d565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015614128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061414c9190615158565b61419257604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640161081a565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613e6b565b600080516020615d358339815191528054600160401b810460ff1615906001600160401b031660008115801561420c5750825b90506000826001600160401b031660011480156142285750303b155b905081158015614236575080155b156142545760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561427e57845460ff60401b1916600160401b1785555b600080878060200190518101906142959190615caf565b925090506142a58160008b612fe7565b6142b563a6812b7960e01b610966565b5050831561235357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161234a565b600080516020615d1583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614362613a31565b6126078161482a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806143b76001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156143fe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261442691908101906158b9565b925061443d83604001518660ff9081169116141590565b1561448157608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640161081a565b826000015193506144958360200151614795565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156144d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144f9919061519d565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145679190615158565b1561459657608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240161081a565b509193909250565b60006145b26001546001600160a01b031690565b6001600160a01b031663d39e6043836145c961057e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561461e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146429190615c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614687573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154d919061519d565b60008080600019858709858702925082811083820303915050806000036146e5578382816146db576146db615cde565b0492505050611219565b80841161472c5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161081a565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006147a96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156147f8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261482091908101906158b9565b6080015192915050565b614832613a31565b612607816142f9565b60006020828403121561484d57600080fd5b81356001600160e01b03198116811461121957600080fd5b60005b83811015614880578181015183820152602001614868565b50506000910152565b600081518084526148a1816020860160208601614865565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161491e60c08401826001600160a01b03169052565b5060c083015160e080840152614938610100840182614889565b949350505050565b6001600160601b038116811461260757600080fd5b6001600160c01b03198116811461260757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156149a4576149a461496b565b60405290565b604080519081016001600160401b03811182821017156149a4576149a461496b565b60405160e081016001600160401b03811182821017156149a4576149a461496b565b60405160a081016001600160401b03811182821017156149a4576149a461496b565b60405161012081016001600160401b03811182821017156149a4576149a461496b565b604051601f8201601f191681016001600160401b0381118282101715614a5b57614a5b61496b565b604052919050565b60006101e08284031215614a7657600080fd5b614a7e614981565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b3a57600080fd5b8335614b4581614940565b92506020840135614b5581614955565b9150614b648560408601614a63565b90509250925092565b60008060408385031215614b8057600080fd5b8235614b8b81614940565b91506020830135614b9b81614955565b809150509250929050565b6001600160a01b038116811461260757600080fd5b60ff8116811461260757600080fd5b801515811461260757600080fd5b8035614be381614bca565b919050565b60006001600160401b03821115614c0157614c0161496b565b50601f01601f191660200190565b600082601f830112614c2057600080fd5b8135614c33614c2e82614be8565b614a33565b818152846020838601011115614c4857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614c7e57600080fd5b8635614c8981614ba6565b95506020870135614c9981614940565b94506040870135614ca981614bbb565b93506060870135614cb981614bca565b92506080870135614cc981614ba6565b915060a08701356001600160401b03811115614ce457600080fd5b614cf089828a01614c0f565b9150509295509295509295565b63ffffffff8116811461260757600080fd5b60008060008060008060008060006101208a8c031215614d2e57600080fd5b89356001600160401b0380821115614d4557600080fd5b614d518d838e01614c0f565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614d7882614cfd565b90955060a08b013590614d8a82614cfd565b819550614d9960c08d01614bd8565b9450614da760e08d01614bd8565b93506101008c0135915080821115614dbe57600080fd5b50614dcb8c828d01614c0f565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614e0257600080fd5b81356001600160401b03811115614e1857600080fd5b61493884828501614c0f565b600080600060608486031215614e3957600080fd5b8335614e4481614940565b92506020840135614e5481614955565b915060408401356001600160401b03811115614e6f57600080fd5b614e7b86828701614c0f565b9150509250925092565b600060208284031215614e9757600080fd5b813561121981614ba6565b60008060408385031215614eb557600080fd5b8235614ec081614ba6565b915060208301356001600160401b03811115614edb57600080fd5b614ee785828601614c0f565b9150509250929050565b600080600060608486031215614f0657600080fd5b8335614e4481614ba6565b64ffffffffff8116811461260757600080fd5b60008060008060008060c08789031215614f3d57600080fd5b8635614f4881614940565b955060208701356001600160401b0380821115614f6457600080fd5b614f708a838b01614c0f565b96506040890135955060608901359150614f8982614cfd565b909350608088013590614f9b82614f11565b90925060a08801359080821115614fb157600080fd5b50614cf089828a01614c0f565b600080600060608486031215614fd357600080fd5b8335614fde81614ba6565b92506020840135614fee81614ba6565b91506040840135614ffe81614ba6565b809150509250925092565b60006040828403121561501b57600080fd5b6150236149aa565b9050813581526020820135602082015292915050565b6000806080838503121561504c57600080fd5b6150568484615009565b91506150658460408501615009565b90509250929050565b600080600080610240858703121561508557600080fd5b843561509081614940565b935060208501356150a081614955565b92506150af8660408701614a63565b939692955092936102200135925050565b600080604083850312156150d357600080fd5b82356150de81614ba6565b91506020830135614b9b81614ba6565b60006020828403121561510057600080fd5b815162ffffff8116811461121957600080fd5b600181811c9082168061512757607f821691505b60208210810361514757634e487b7160e01b600052602260045260246000fd5b50919050565b8051614be381614bca565b60006020828403121561516a57600080fd5b815161121981614bca565b8051614be381614940565b60006020828403121561519257600080fd5b815161121981614940565b6000602082840312156151af57600080fd5b815161121981614ba6565b6000604082840312156151cc57600080fd5b6151d46149aa565b9050815181526020820151602082015292915050565b8051614be381614ba6565b6000610100828403121561520857600080fd5b60405160c081018181106001600160401b038211171561522a5761522a61496b565b604052825161523881614940565b8152602083015161524881614ba6565b602082015261525a84604085016151ba565b604082015261526c84608085016151ba565b606082015260c083015161527f81614ba6565b608082015260e0929092015160a083015250919050565b6000602082840312156152a857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561154d5761154d6152af565b600082601f8301126152e957600080fd5b81516152f7614c2e82614be8565b81815284602083860101111561530c57600080fd5b614938826020830160208701614865565b8051614be381614cfd565b8051614be381614f11565b60006020828403121561534557600080fd5b81516001600160401b038082111561535c57600080fd5b9083019060e0828603121561537057600080fd5b6153786149cc565b61538183615175565b815260208301518281111561539557600080fd5b6153a1878286016152d8565b602083015250604083015160408201526153bd6060840161531d565b60608201526153ce6080840161531d565b60808201526153df60a08401615328565b60a082015260c0830151828111156153f657600080fd5b615402878286016152d8565b60c08301525095945050505050565b60006020828403121561542357600080fd5b81516001600160401b038082111561543a57600080fd5b9083019060a0828603121561544e57600080fd5b6154566149ee565b825161546181614955565b8152602083015161547181614bca565b602082015260408301518281111561548857600080fd5b615494878286016152d8565b604083015250606083015160608201526080830151608082015280935050505092915050565b6000602082840312156154cc57600080fd5b81516001600160401b03808211156154e357600080fd5b9083019061012082860312156154f857600080fd5b615500614a10565b82518281111561550f57600080fd5b61551b878286016152d8565b8252506020830151602082015260408301516040820152606083015160608201526155486080840161531d565b608082015261555960a0840161531d565b60a082015261556a60c0840161514d565b60c082015261557b60e0840161514d565b60e0820152610100808401518381111561559457600080fd5b6155a0888287016152d8565b918301919091525095945050505050565b8181038181111561154d5761154d6152af565b6000602082840312156155d657600080fd5b815161121981614f11565b601f82111561321b57600081815260208120601f850160051c810160208610156156085750805b601f850160051c820191505b8181101561562757828155600101615614565b505050505050565b81516001600160401b038111156156485761564861496b565b61565c816156568454615113565b846155e1565b602080601f83116001811461569157600084156156795750858301515b600019600386901b1c1916600185901b178555615627565b600085815260208120601f198616915b828110156156c0578886015182559484019460019091019084016156a1565b50858210156156de5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b03831681526040602082015260006149386040830184614889565b60006020828403121561572257600080fd5b815161121981614955565b6001600160401b0360c01b83168152604060208201526000825161012080604085015261575e610160850183614889565b91506020850151606085015260408501516080850152606085015160a0850152608085015161579560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006157bd8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526157e68282614889565b9695505050505050565b6001600160401b038116811461260757600080fd5b60006020828403121561581757600080fd5b8151611219816157f0565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261585960a0850182614889565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b038416815260606020820152600061589b6060830185615822565b905060ff83166040830152949350505050565b8051614be381614bbb565b6000602082840312156158cb57600080fd5b81516001600160401b03808211156158e257600080fd5b9083019060e082860312156158f657600080fd5b6158fe6149cc565b61590783615175565b815261591560208401615175565b6020820152615926604084016158ae565b60408201526159376060840161514d565b6060820152615948608084016151ea565b60808201526153df60a084016151ea565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112196020830184615959565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615a0957600080fd5b81516001600160401b03811115615a1f57600080fd5b614938848285016152d8565b600081518084526020808501945080840160005b83811015615a645781516001600160401b031687529582019590820190600101615a3f565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615aa060a0840187614889565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615b1e57868403601f19018652825180518086529089019089860190845b81811015615b095783516001600160e01b0319168352928b0192918b0191600101615ae3565b50509689019694505091870191600101615ac1565b5050508681036080880152615b338189615a2b565b9c9b505050505050505050505050565b6001600160601b03831681526040602082015260006149386040830184615822565b6020815260006112196020830184614889565b6001600160601b0381511682526000602082015160e06020850152615ba060e0850182614889565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115488282614889565b6001600160401b0360c01b831681526040602082015260006149386040830184615b78565b600060208284031215615c2b57600080fd5b815161121981614bbb565b6001600160601b03841681526101408101615c546020830185615959565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615c8357615c836152af565b5092915050565b6001600160401b0360c01b8416815260606020820152600061589b6060830185615b78565b60008060408385031215615cc257600080fd5b8251615ccd81614ba6565b6020840151909250614b9b81614ba6565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220843265b9538f144540313dcb62f32f6b25275935ab3acf6c55e52f6a0c577fd564736f6c63430008140033",
1413
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80635dcb3bae1161010f578063ada9652e116100a2578063caf4e3d411610071578063caf4e3d414610548578063cc9fc59a14610550578063d25f509514610558578063f7c34ee01461056b57600080fd5b8063ada9652e146104f3578063b68d180914610508578063b6b412ba14610517578063bf7e214f1461052a57600080fd5b8063893d20e8116100de578063893d20e8146104a45780638dd2b781146104ac5780638e32e979146104bf5780638fb36037146104d257600080fd5b80635dcb3bae1461044d578063644c45e014610460578063675393bf1461047e5780637a9e5e4b1461049157600080fd5b806327bb7a33116101875780633d683fd9116101565780633d683fd9146103d75780634420e486146103ea57806349bb9e4b146104155780635ab1bd531461042857600080fd5b806327bb7a33146103895780632b5198b11461039c578063329d6e74146103bc57806336fc697e146103cf57600080fd5b80631eff4b22116101c35780631eff4b2214610272578063214cdb80146102a7578063219a3195146102ba57806325d073841461037657600080fd5b806301ffc9a7146101f55780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b600080fd5b61022261020336600461483b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61057e565b60405162ffffff909116815260200161022e565b61025b610608565b60405161022e91906148b5565b61027061075f565b005b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102b536600461483b565b610966565b6102cd6102c8366004614b24565b610993565b60405161022e9190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610222610384366004614b6d565b611220565b610270610397366004614c65565b611553565b6103af6103aa366004614d0f565b6115f8565b60405161022e9190614ddb565b6102706103ca366004614df0565b611ac1565b610270611c0e565b6102706103e5366004614e24565b611c54565b6103fd6103f8366004614e85565b611dc1565b6040516001600160601b03909116815260200161022e565b610270610423366004614ea2565b61225d565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b6103fd61045b366004614ef1565b61235c565b600080516020615cf5833981519152546001600160601b03166103fd565b61027061048c366004614e85565b6124fc565b61027061049f366004614e85565b61260a565b6104356126a4565b6103af6104ba366004614f24565b6127db565b6102706104cd366004614fbe565b612fe7565b6104da613220565b6040516001600160e01b0319909116815260200161022e565b610299600080516020615cf583398151915281565b6040516078815260200161022e565b610270610525366004615039565b613258565b600080516020615d15833981519152546001600160a01b0316610435565b6104356134de565b6104356134ea565b61027061056636600461506e565b6134f6565b6102706105793660046150c0565b6139ba565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060391906150ee565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106bb6126a4565b6001600160a01b031681526020018260010180546106d890615113565b80601f016020809104026020016040519081016040528092919081815260200182805461070490615113565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b505050505081525091505090565b6000600080516020615cf583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f29190615158565b156108235780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108366001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190615158565b6108ca5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161081a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109429190615180565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61096e613a31565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a0c604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a1785613a6a565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061519d565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af591906151f5565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b8f9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b47919060040190815260200190565b602060405180830381865af4158015610b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b889190615296565b8451613b93565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c049190615296565b61014089018190526020890180519192508291610c229083906152c5565b905250610c2f8a8a611220565b610c615750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611219565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c90908d90600401614ddb565b600060405180830381865afa158015610cad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd59190810190615333565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d2b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d539190810190615411565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d869190600401614ddb565b600060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dcb91908101906154ba565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e489190615296565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e8b92600401918252602082015260400190565b602060405180830381865af4158015610ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc9190615296565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190615296565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f8a9160040190815260200190565b602060405180830381865af4158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb9190615296565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261100e92600401918252602082015260400190565b602060405180830381865af415801561102b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104f9190615296565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c49190615296565b6101c08d0181905260208701516101608e01526110e182876155b1565b6110eb91906155b1565b6101808d01526101c08c015160208d015161110691906155b1565b60408d0152505050506020820151610160890151101561117f5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161081a565b876101a00151886101800151896101c0015161119b91906152c5565b6111a591906152c5565b8861014001511461120f5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c40161081a565b8796505050505050505b9392505050565b60008061122c84613a6a565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561126e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611292919061519d565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016112bd9190614ddb565b600060405180830381865afa1580156112da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113029190810190615333565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113849190615158565b156113945760009250505061154d565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156113f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114149190615158565b80611526575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149a9190615158565b8015611526575061152673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151191906155c4565b8260a0015164ffffffffff9081169116111590565b92508280156115485750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b61155b613a31565b61156582876139ba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016115ee838261562f565b5050505050505050565b6000806000611605613ba8565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d919061519d565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e191906151f5565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117699190615296565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f19190615296565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af415801561184b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186f9190615158565b1561197e57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e89190615296565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c9190615296565b60405163e2ed03dd60e01b81526004810192909252602482015260440161081a565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119ba9291906156ee565b602060405180830381865af41580156119d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fb9190615710565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b8152600401611a7f92919061572d565b600060405180830381600087803b158015611a9957600080fd5b505af1158015611aad573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611ae361057e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b479190615805565b600080516020615d358339815191528054600160401b900460ff1680611b7a575080546001600160401b03808416911610155b15611b985760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611bc283613e2c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611c16613a31565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611c5e613ba8565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ca1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc5919061519d565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611d18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d409190810190615411565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611d87908990859060ff90600401615879565b600060405180830381600087803b158015611da157600080fd5b505af1158015611db5573d6000803e3d6000fd5b50505050505050505050565b600080808080611dda866078611dd5613e34565b613eac565b93509350935093506000611dec6134de565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611e3e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e6691908101906158b9565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ea857600080fd5b505af1158015611ebc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3a91906151f5565b6040518363ffffffff1660e01b8152600401611f579291906159c3565b600060405180830381600087803b158015611f7157600080fd5b505af1158015611f85573d6000803e3d6000fd5b506000925060029150611f959050565b604051908082528060200260200182016040528015611fc857816020015b6060815260200190600190039081611fb35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611ffc57611ffc6159e1565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061203b5761203b6159e1565b602002602001018190525063b6b412ba60e01b81600081518110612061576120616159e1565b602002602001015160008151811061207b5761207b6159e1565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106120b2576120b26159e1565b60200260200101516000815181106120cc576120cc6159e1565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050612110613e34565b81600081518110612123576121236159e1565b60200260200101906001600160401b031690816001600160401b03168152505061214b61419d565b8160018151811061215e5761215e6159e1565b60200260200101906001600160401b031690816001600160401b0316815250506121866134ea565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156121d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121fc91908101906159f7565b86866040518663ffffffff1660e01b815260040161221e959493929190615a6f565b600060405180830381600087803b15801561223857600080fd5b505af115801561224c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615d358339815191528054600160401b810460ff1615906001600160401b03166000811580156122905750825b90506000826001600160401b031660011480156122ac5750303b155b9050811580156122ba575080155b156122d85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561230257845460ff60401b1916600160401b1785555b61230c87876141d9565b831561235357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612369613ba8565b915091506123756134de565b6001600160a01b03166357a8fba76040518060e00160405280612396600090565b6001600160601b03168152602001856001600160601b031681526020016123bb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161241a91906148b5565b6020604051808303816000875af1158015612439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245d9190615180565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906124c09087908590600401615b43565b600060405180830381600087803b1580156124da57600080fd5b505af11580156124ee573d6000803e3d6000fd5b505050505050509392505050565b612504613a31565b806001600160a01b03163b60000361253a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161081a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156125b4575060408051601f3d908101601f191682019092526125b191810190615158565b60015b6125dc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161081a565b806126055760405163fdeac91f60e01b81526001600160a01b038316600482015260240161081a565b505b50565b3361262a600080516020615d15833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146126655760405162d1953b60e31b81526001600160a01b038216600482015260240161081a565b816001600160a01b03163b60000361269b576040516361798f2f60e11b81526001600160a01b038316600482015260240161081a565b612605826142f9565b600080600080516020615cf583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127389190615158565b156127c5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561279b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127bf919061519d565b91505090565b54600160601b90046001600160a01b0316919050565b60008060006127e8613ba8565b9150915087516000036128105787604051634fad6a5360e11b815260040161081a9190615b65565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015612866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288a9190615158565b156128b15760405163df85467b60e01b815264ffffffffff8616600482015260240161081a565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612915919061519d565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612968573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129909190810190615411565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906129c5908590600401614ddb565b600060405180830381865afa1580156129e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a0a91908101906154ba565b90508963ffffffff16816080015163ffffffff161015612a4b576080810151604051636fcee12560e01b815263ffffffff909116600482015260240161081a565b60208101518b1015612b67576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612aad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad19190615296565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b459190615296565b6040516338a25a8b60e21b81526004810192909252602482015260440161081a565b60408101518b1115612c83576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bed9190615296565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c619190615296565b604051631e1ea4f360e31b81526004810192909252602482015260440161081a565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfb91906155c4565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612d52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d769190615296565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df09190615296565b612dfa91906155b1565b1115612ea65760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7f9190615296565b6040516331fa6ab160e11b815263ffffffff9092166004830152602482015260440161081a565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612edf9291906156ee565b602060405180830381865af4158015612efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f209190615710565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b031663ca0e7f0889836040518363ffffffff1660e01b8152600401612fa4929190615bf4565b600060405180830381600087803b158015612fbe57600080fd5b505af1158015612fd2573d6000803e3d6000fd5b50505050505050505050509695505050505050565b612fef613a31565b61306f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130559190615180565b603c60008560405180602001604052806000815250611553565b6001600160a01b0382161561308c576130878261435a565b6131fb565b60006130a06001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015613100573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131249190615c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061318d919061519d565b90506131f9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f4919061519d565b61435a565b505b61320b634a531f3360e01b610966565b61321b63b68d180960e01b610966565b505050565b600080516020615d15833981519152805460009190600160a01b900460ff1661324a5760006127bf565b638fb3603760e01b91505090565b815181511015613372578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156132b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d99190615296565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561332c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133509190615296565b604051631a9c6b0960e01b81526004810192909252602482015260440161081a565b60008080613380607861436b565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156133c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ea919061519d565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa15801561343e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061346291906151f5565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d1906134a3908890859060ff90600401615c36565b600060405180830381600087803b1580156134bd57600080fd5b505af11580156134d1573d6000803e3d6000fd5b5050505050505050505050565b6000610603602861459e565b6000610603604661459e565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061353a906001600160c01b0319881690600401614ddb565b602060405180830381865af4158015613557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357b9190615158565b159050600061358a8686611220565b9050818015613597575080155b156135d057604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b03198616602482015260440161081a565b60006135db87613a6a565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561361d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613641919061519d565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016136719190614ddb565b600060405180830381865afa15801561368e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136b69190810190615333565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa15801561370c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137349190810190615411565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa158015613788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137ac91906151f5565b905060008961018001518a61016001516137c691906152c5565b6101a08b01519091506137d981836152c5565b8a1461380c57896137ea82846152c5565b60405163b9d36bcd60e01b81526004810192909252602482015260440161081a565b811561388b57818360a00181815161382491906152c5565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161385893929190615c36565b600060405180830381600087803b15801561387257600080fd5b505af1158015613886573d6000803e3d6000fd5b505050505b88156139ab576001856080018181516138a49190615c66565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906138de908f90899060ff90600401615c8a565b600060405180830381600087803b1580156138f857600080fd5b505af115801561390c573d6000803e3d6000fd5b5050505060008111156139ab57808460600181815161392b91906152c5565b905250608084018051600191906139439083906152c5565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139789190889060ff90600401615879565b600060405180830381600087803b15801561399257600080fd5b505af11580156139a6573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6139c2613a31565b6139cb816124fc565b6139d3611c0e565b6001600160a01b0382166139fa5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615cf583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615d3583398151915254600160401b900460ff16613a6857604051631afcd79f60e31b815260040160405180910390fd5b565b600080613a7f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ace573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613af691908101906158b9565b6020015190506000613b106001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b5f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b8791908101906158b9565b60800151949350505050565b60006112198383670de0b6b3a76400006146ab565b600080613bbd6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c279190615180565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ca69190615158565b15613cc65760405163752c00fd60e11b815233600482015260240161081a565b6000613cda6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613d29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d5191908101906158b9565b9050613d6f8160400151613d63607890565b60ff9081169116141590565b15613d8f57604051637ab07d8760e01b815233600482015260240161081a565b6000613da36001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613df8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e2091908101906158b9565b60800151939492505050565b6101f0613a31565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613e88573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106039190615805565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015613f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f249190615158565b613f4c576040516359bff0e360e11b81526001600160a01b038816600482015260240161081a565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613f8c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fb491908101906158b9565b9050613fcb81604001518860ff9081169116141590565b1561400b576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a166024830152909116604482015260640161081a565b60a08101516001600160a01b038581169082161461405d5760a0820151604051632b50a20960e21b81526001600160a01b03808c1660048301529182166024820152908616604482015260640161081a565b8160200151925061406d83614795565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d1919061519d565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015614128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061414c9190615158565b61419257604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b038616604482015260640161081a565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613e6b565b600080516020615d358339815191528054600160401b810460ff1615906001600160401b031660008115801561420c5750825b90506000826001600160401b031660011480156142285750303b155b905081158015614236575080155b156142545760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561427e57845460ff60401b1916600160401b1785555b600080878060200190518101906142959190615caf565b925090506142a58160008b612fe7565b6142b563a6812b7960e01b610966565b5050831561235357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161234a565b600080516020615d1583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614362613a31565b6126078161482a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806143b76001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156143fe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261442691908101906158b9565b925061443d83604001518660ff9081169116141590565b1561448157608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff808816602484015216604482015260640161081a565b826000015193506144958360200151614795565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156144d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144f9919061519d565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145679190615158565b1561459657608083015160405163d53987e560e01b81526001600160a01b03909116600482015260240161081a565b509193909250565b60006145b26001546001600160a01b031690565b6001600160a01b031663d39e6043836145c961057e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561461e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146429190615c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614687573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154d919061519d565b60008080600019858709858702925082811083820303915050806000036146e5578382816146db576146db615cde565b0492505050611219565b80841161472c5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161081a565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006147a96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156147f8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261482091908101906158b9565b6080015192915050565b614832613a31565b612607816142f9565b60006020828403121561484d57600080fd5b81356001600160e01b03198116811461121957600080fd5b60005b83811015614880578181015183820152602001614868565b50506000910152565b600081518084526148a1816020860160208601614865565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161491e60c08401826001600160a01b03169052565b5060c083015160e080840152614938610100840182614889565b949350505050565b6001600160601b038116811461260757600080fd5b6001600160c01b03198116811461260757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b03811182821017156149a4576149a461496b565b60405290565b604080519081016001600160401b03811182821017156149a4576149a461496b565b60405160e081016001600160401b03811182821017156149a4576149a461496b565b60405160a081016001600160401b03811182821017156149a4576149a461496b565b60405161012081016001600160401b03811182821017156149a4576149a461496b565b604051601f8201601f191681016001600160401b0381118282101715614a5b57614a5b61496b565b604052919050565b60006101e08284031215614a7657600080fd5b614a7e614981565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b3a57600080fd5b8335614b4581614940565b92506020840135614b5581614955565b9150614b648560408601614a63565b90509250925092565b60008060408385031215614b8057600080fd5b8235614b8b81614940565b91506020830135614b9b81614955565b809150509250929050565b6001600160a01b038116811461260757600080fd5b60ff8116811461260757600080fd5b801515811461260757600080fd5b8035614be381614bca565b919050565b60006001600160401b03821115614c0157614c0161496b565b50601f01601f191660200190565b600082601f830112614c2057600080fd5b8135614c33614c2e82614be8565b614a33565b818152846020838601011115614c4857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614c7e57600080fd5b8635614c8981614ba6565b95506020870135614c9981614940565b94506040870135614ca981614bbb565b93506060870135614cb981614bca565b92506080870135614cc981614ba6565b915060a08701356001600160401b03811115614ce457600080fd5b614cf089828a01614c0f565b9150509295509295509295565b63ffffffff8116811461260757600080fd5b60008060008060008060008060006101208a8c031215614d2e57600080fd5b89356001600160401b0380821115614d4557600080fd5b614d518d838e01614c0f565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614d7882614cfd565b90955060a08b013590614d8a82614cfd565b819550614d9960c08d01614bd8565b9450614da760e08d01614bd8565b93506101008c0135915080821115614dbe57600080fd5b50614dcb8c828d01614c0f565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614e0257600080fd5b81356001600160401b03811115614e1857600080fd5b61493884828501614c0f565b600080600060608486031215614e3957600080fd5b8335614e4481614940565b92506020840135614e5481614955565b915060408401356001600160401b03811115614e6f57600080fd5b614e7b86828701614c0f565b9150509250925092565b600060208284031215614e9757600080fd5b813561121981614ba6565b60008060408385031215614eb557600080fd5b8235614ec081614ba6565b915060208301356001600160401b03811115614edb57600080fd5b614ee785828601614c0f565b9150509250929050565b600080600060608486031215614f0657600080fd5b8335614e4481614ba6565b64ffffffffff8116811461260757600080fd5b60008060008060008060c08789031215614f3d57600080fd5b8635614f4881614940565b955060208701356001600160401b0380821115614f6457600080fd5b614f708a838b01614c0f565b96506040890135955060608901359150614f8982614cfd565b909350608088013590614f9b82614f11565b90925060a08801359080821115614fb157600080fd5b50614cf089828a01614c0f565b600080600060608486031215614fd357600080fd5b8335614fde81614ba6565b92506020840135614fee81614ba6565b91506040840135614ffe81614ba6565b809150509250925092565b60006040828403121561501b57600080fd5b6150236149aa565b9050813581526020820135602082015292915050565b6000806080838503121561504c57600080fd5b6150568484615009565b91506150658460408501615009565b90509250929050565b600080600080610240858703121561508557600080fd5b843561509081614940565b935060208501356150a081614955565b92506150af8660408701614a63565b939692955092936102200135925050565b600080604083850312156150d357600080fd5b82356150de81614ba6565b91506020830135614b9b81614ba6565b60006020828403121561510057600080fd5b815162ffffff8116811461121957600080fd5b600181811c9082168061512757607f821691505b60208210810361514757634e487b7160e01b600052602260045260246000fd5b50919050565b8051614be381614bca565b60006020828403121561516a57600080fd5b815161121981614bca565b8051614be381614940565b60006020828403121561519257600080fd5b815161121981614940565b6000602082840312156151af57600080fd5b815161121981614ba6565b6000604082840312156151cc57600080fd5b6151d46149aa565b9050815181526020820151602082015292915050565b8051614be381614ba6565b6000610100828403121561520857600080fd5b60405160c081018181106001600160401b038211171561522a5761522a61496b565b604052825161523881614940565b8152602083015161524881614ba6565b602082015261525a84604085016151ba565b604082015261526c84608085016151ba565b606082015260c083015161527f81614ba6565b608082015260e0929092015160a083015250919050565b6000602082840312156152a857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561154d5761154d6152af565b600082601f8301126152e957600080fd5b81516152f7614c2e82614be8565b81815284602083860101111561530c57600080fd5b614938826020830160208701614865565b8051614be381614cfd565b8051614be381614f11565b60006020828403121561534557600080fd5b81516001600160401b038082111561535c57600080fd5b9083019060e0828603121561537057600080fd5b6153786149cc565b61538183615175565b815260208301518281111561539557600080fd5b6153a1878286016152d8565b602083015250604083015160408201526153bd6060840161531d565b60608201526153ce6080840161531d565b60808201526153df60a08401615328565b60a082015260c0830151828111156153f657600080fd5b615402878286016152d8565b60c08301525095945050505050565b60006020828403121561542357600080fd5b81516001600160401b038082111561543a57600080fd5b9083019060a0828603121561544e57600080fd5b6154566149ee565b825161546181614955565b8152602083015161547181614bca565b602082015260408301518281111561548857600080fd5b615494878286016152d8565b604083015250606083015160608201526080830151608082015280935050505092915050565b6000602082840312156154cc57600080fd5b81516001600160401b03808211156154e357600080fd5b9083019061012082860312156154f857600080fd5b615500614a10565b82518281111561550f57600080fd5b61551b878286016152d8565b8252506020830151602082015260408301516040820152606083015160608201526155486080840161531d565b608082015261555960a0840161531d565b60a082015261556a60c0840161514d565b60c082015261557b60e0840161514d565b60e0820152610100808401518381111561559457600080fd5b6155a0888287016152d8565b918301919091525095945050505050565b8181038181111561154d5761154d6152af565b6000602082840312156155d657600080fd5b815161121981614f11565b601f82111561321b57600081815260208120601f850160051c810160208610156156085750805b601f850160051c820191505b8181101561562757828155600101615614565b505050505050565b81516001600160401b038111156156485761564861496b565b61565c816156568454615113565b846155e1565b602080601f83116001811461569157600084156156795750858301515b600019600386901b1c1916600185901b178555615627565b600085815260208120601f198616915b828110156156c0578886015182559484019460019091019084016156a1565b50858210156156de5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b03831681526040602082015260006149386040830184614889565b60006020828403121561572257600080fd5b815161121981614955565b6001600160401b0360c01b83168152604060208201526000825161012080604085015261575e610160850183614889565b91506020850151606085015260408501516080850152606085015160a0850152608085015161579560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006157bd8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526157e68282614889565b9695505050505050565b6001600160401b038116811461260757600080fd5b60006020828403121561581757600080fd5b8151611219816157f0565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261585960a0850182614889565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b038416815260606020820152600061589b6060830185615822565b905060ff83166040830152949350505050565b8051614be381614bbb565b6000602082840312156158cb57600080fd5b81516001600160401b03808211156158e257600080fd5b9083019060e082860312156158f657600080fd5b6158fe6149cc565b61590783615175565b815261591560208401615175565b6020820152615926604084016158ae565b60408201526159376060840161514d565b6060820152615948608084016151ea565b60808201526153df60a084016151ea565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112196020830184615959565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615a0957600080fd5b81516001600160401b03811115615a1f57600080fd5b614938848285016152d8565b600081518084526020808501945080840160005b83811015615a645781516001600160401b031687529582019590820190600101615a3f565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615aa060a0840187614889565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615b1e57868403601f19018652825180518086529089019089860190845b81811015615b095783516001600160e01b0319168352928b0192918b0191600101615ae3565b50509689019694505091870191600101615ac1565b5050508681036080880152615b338189615a2b565b9c9b505050505050505050505050565b6001600160601b03831681526040602082015260006149386040830184615822565b6020815260006112196020830184614889565b6001600160601b0381511682526000602082015160e06020850152615ba060e0850182614889565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526115488282614889565b6001600160401b0360c01b831681526040602082015260006149386040830184615b78565b600060208284031215615c2b57600080fd5b815161121981614bbb565b6001600160601b03841681526101408101615c546020830185615959565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615c8357615c836152af565b5092915050565b6001600160401b0360c01b8416815260606020820152600061589b6060830185615b78565b60008060408385031215615cc257600080fd5b8251615ccd81614ba6565b6020840151909250614b9b81614ba6565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220843265b9538f144540313dcb62f32f6b25275935ab3acf6c55e52f6a0c577fd564736f6c63430008140033",
1414
+ "linkReferences": {
1415
+ "contracts/types/DistributorType.sol": {
1416
+ "DistributorTypeLib": [
1417
+ {
1418
+ "length": 20,
1419
+ "start": 6761
1420
+ }
1421
+ ]
1422
+ },
1423
+ "contracts/types/NftId.sol": {
1424
+ "NftIdLib": [
1425
+ {
1426
+ "length": 20,
1427
+ "start": 2170
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 5132
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 10176
1436
+ },
1437
+ {
1438
+ "length": 20,
1439
+ "start": 15662
1440
+ }
1441
+ ]
1442
+ },
1443
+ "contracts/types/Referral.sol": {
1444
+ "ReferralLib": [
1445
+ {
1446
+ "length": 20,
1447
+ "start": 12174
1448
+ },
1449
+ {
1450
+ "length": 20,
1451
+ "start": 13806
1452
+ }
1453
+ ]
1454
+ },
1455
+ "contracts/types/RoleId.sol": {
1456
+ "RoleIdLib": [
1457
+ {
1458
+ "length": 20,
1459
+ "start": 16179
1460
+ },
1461
+ {
1462
+ "length": 20,
1463
+ "start": 17053
1464
+ }
1465
+ ]
1466
+ },
1467
+ "contracts/types/Timestamp.sol": {
1468
+ "TimestampLib": [
1469
+ {
1470
+ "length": 20,
1471
+ "start": 5276
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 5410
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 5516
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 10514
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 11638
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 11774
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 11896
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 12039
1500
+ }
1501
+ ]
1502
+ },
1503
+ "contracts/types/UFixed.sol": {
1504
+ "UFixedLib": [
1505
+ {
1506
+ "length": 20,
1507
+ "start": 3074
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 3212
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 3792
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 3906
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 4041
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 4166
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 4293
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 4428
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 6129
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 6265
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 6391
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 6512
1552
+ },
1553
+ {
1554
+ "length": 20,
1555
+ "start": 6628
1556
+ },
1557
+ {
1558
+ "length": 20,
1559
+ "start": 11097
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 11213
1564
+ },
1565
+ {
1566
+ "length": 20,
1567
+ "start": 11381
1568
+ },
1569
+ {
1570
+ "length": 20,
1571
+ "start": 11497
1572
+ },
1573
+ {
1574
+ "length": 20,
1575
+ "start": 13153
1576
+ },
1577
+ {
1578
+ "length": 20,
1579
+ "start": 13272
1580
+ }
1581
+ ]
1582
+ },
1583
+ "contracts/types/Version.sol": {
1584
+ "VersionLib": [
1585
+ {
1586
+ "length": 20,
1587
+ "start": 1675
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 7081
1592
+ },
1593
+ {
1594
+ "length": 20,
1595
+ "start": 18122
1596
+ }
1597
+ ],
1598
+ "VersionPartLib": [
1599
+ {
1600
+ "length": 20,
1601
+ "start": 12716
1602
+ }
1603
+ ]
1604
+ }
1605
+ },
1606
+ "deployedLinkReferences": {
1607
+ "contracts/types/DistributorType.sol": {
1608
+ "DistributorTypeLib": [
1609
+ {
1610
+ "length": 20,
1611
+ "start": 6531
1612
+ }
1613
+ ]
1614
+ },
1615
+ "contracts/types/NftId.sol": {
1616
+ "NftIdLib": [
1617
+ {
1618
+ "length": 20,
1619
+ "start": 1940
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 4902
1624
+ },
1625
+ {
1626
+ "length": 20,
1627
+ "start": 9946
1628
+ },
1629
+ {
1630
+ "length": 20,
1631
+ "start": 15432
1632
+ }
1633
+ ]
1634
+ },
1635
+ "contracts/types/Referral.sol": {
1636
+ "ReferralLib": [
1637
+ {
1638
+ "length": 20,
1639
+ "start": 11944
1640
+ },
1641
+ {
1642
+ "length": 20,
1643
+ "start": 13576
1644
+ }
1645
+ ]
1646
+ },
1647
+ "contracts/types/RoleId.sol": {
1648
+ "RoleIdLib": [
1649
+ {
1650
+ "length": 20,
1651
+ "start": 15949
1652
+ },
1653
+ {
1654
+ "length": 20,
1655
+ "start": 16823
1656
+ }
1657
+ ]
1658
+ },
1659
+ "contracts/types/Timestamp.sol": {
1660
+ "TimestampLib": [
1661
+ {
1662
+ "length": 20,
1663
+ "start": 5046
1664
+ },
1665
+ {
1666
+ "length": 20,
1667
+ "start": 5180
1668
+ },
1669
+ {
1670
+ "length": 20,
1671
+ "start": 5286
1672
+ },
1673
+ {
1674
+ "length": 20,
1675
+ "start": 10284
1676
+ },
1677
+ {
1678
+ "length": 20,
1679
+ "start": 11408
1680
+ },
1681
+ {
1682
+ "length": 20,
1683
+ "start": 11544
1684
+ },
1685
+ {
1686
+ "length": 20,
1687
+ "start": 11666
1688
+ },
1689
+ {
1690
+ "length": 20,
1691
+ "start": 11809
1692
+ }
1693
+ ]
1694
+ },
1695
+ "contracts/types/UFixed.sol": {
1696
+ "UFixedLib": [
1697
+ {
1698
+ "length": 20,
1699
+ "start": 2844
1700
+ },
1701
+ {
1702
+ "length": 20,
1703
+ "start": 2982
1704
+ },
1705
+ {
1706
+ "length": 20,
1707
+ "start": 3562
1708
+ },
1709
+ {
1710
+ "length": 20,
1711
+ "start": 3676
1712
+ },
1713
+ {
1714
+ "length": 20,
1715
+ "start": 3811
1716
+ },
1717
+ {
1718
+ "length": 20,
1719
+ "start": 3936
1720
+ },
1721
+ {
1722
+ "length": 20,
1723
+ "start": 4063
1724
+ },
1725
+ {
1726
+ "length": 20,
1727
+ "start": 4198
1728
+ },
1729
+ {
1730
+ "length": 20,
1731
+ "start": 5899
1732
+ },
1733
+ {
1734
+ "length": 20,
1735
+ "start": 6035
1736
+ },
1737
+ {
1738
+ "length": 20,
1739
+ "start": 6161
1740
+ },
1741
+ {
1742
+ "length": 20,
1743
+ "start": 6282
1744
+ },
1745
+ {
1746
+ "length": 20,
1747
+ "start": 6398
1748
+ },
1749
+ {
1750
+ "length": 20,
1751
+ "start": 10867
1752
+ },
1753
+ {
1754
+ "length": 20,
1755
+ "start": 10983
1756
+ },
1757
+ {
1758
+ "length": 20,
1759
+ "start": 11151
1760
+ },
1761
+ {
1762
+ "length": 20,
1763
+ "start": 11267
1764
+ },
1765
+ {
1766
+ "length": 20,
1767
+ "start": 12923
1768
+ },
1769
+ {
1770
+ "length": 20,
1771
+ "start": 13042
1772
+ }
1773
+ ]
1774
+ },
1775
+ "contracts/types/Version.sol": {
1776
+ "VersionLib": [
1777
+ {
1778
+ "length": 20,
1779
+ "start": 1445
1780
+ },
1781
+ {
1782
+ "length": 20,
1783
+ "start": 6851
1784
+ },
1785
+ {
1786
+ "length": 20,
1787
+ "start": 17892
1788
+ }
1789
+ ],
1790
+ "VersionPartLib": [
1791
+ {
1792
+ "length": 20,
1793
+ "start": 12486
1794
+ }
1795
+ ]
1796
+ }
1797
+ }
1798
+ }