@etherisc/gif-next 0.0.2-ce2fc91-485 → 0.0.2-ce3fd5e-324

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