@etherisc/gif-next 0.0.2-f824182-503 → 0.0.2-f831797-539

Sign up to get free protection for your applications and to get access to all the features.
Files changed (461) hide show
  1. package/README.md +411 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +644 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1301 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +271 -236
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +851 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +936 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +712 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1143 -133
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +950 -157
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +783 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1599 -798
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2341 -875
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1284 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  56. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  57. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  58. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  60. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  62. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  63. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  64. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  66. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  68. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  70. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  72. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  74. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  76. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1724 -0
  78. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +801 -0
  80. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  82. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  84. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  86. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
  88. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  90. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +428 -0
  92. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
  94. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  96. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +816 -0
  100. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +653 -0
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  104. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  106. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  114. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
  116. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  118. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  120. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  122. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  124. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  125. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  126. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  131. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  132. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  136. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  137. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  138. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IService.sol/IService.json +269 -0
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  153. package/artifacts/contracts/shared/Service.sol/Service.json +425 -0
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  166. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestService.sol/TestService.json +521 -0
  168. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  170. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  172. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  174. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  175. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  176. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  180. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  182. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  220. package/contracts/components/Component.sol +215 -51
  221. package/contracts/components/Distribution.sol +280 -0
  222. package/contracts/components/IComponent.sol +74 -0
  223. package/contracts/components/IDistributionComponent.sol +71 -0
  224. package/contracts/components/IPoolComponent.sol +113 -0
  225. package/contracts/components/IProductComponent.sol +40 -0
  226. package/contracts/components/Pool.sol +277 -30
  227. package/contracts/components/Product.sol +252 -48
  228. package/contracts/instance/BundleManager.sol +127 -0
  229. package/contracts/instance/Cloneable.sol +46 -0
  230. package/contracts/instance/IInstance.sol +92 -24
  231. package/contracts/instance/IInstanceService.sol +60 -0
  232. package/contracts/instance/Instance.sol +274 -51
  233. package/contracts/instance/InstanceAccessManager.sol +297 -0
  234. package/contracts/instance/InstanceReader.sol +294 -0
  235. package/contracts/instance/InstanceService.sol +489 -0
  236. package/contracts/instance/InstanceServiceManager.sol +54 -0
  237. package/contracts/instance/ObjectManager.sol +84 -0
  238. package/contracts/instance/base/ComponentService.sol +134 -0
  239. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  240. package/contracts/instance/base/ILifecycle.sol +30 -0
  241. package/contracts/instance/base/KeyValueStore.sol +175 -0
  242. package/contracts/instance/base/Lifecycle.sol +109 -0
  243. package/contracts/instance/module/IAccess.sol +47 -0
  244. package/contracts/instance/module/IBundle.sol +21 -0
  245. package/contracts/instance/module/IComponents.sol +35 -0
  246. package/contracts/instance/module/IDistribution.sol +41 -0
  247. package/contracts/instance/module/IPolicy.sol +72 -0
  248. package/contracts/instance/module/IRisk.sol +11 -0
  249. package/contracts/instance/module/ISetup.sol +33 -0
  250. package/contracts/instance/module/ITreasury.sol +23 -0
  251. package/contracts/instance/service/ApplicationService.sol +350 -0
  252. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  253. package/contracts/instance/service/BundleService.sol +336 -0
  254. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  255. package/contracts/instance/service/ClaimService.sol +151 -0
  256. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  257. package/contracts/instance/service/DistributionService.sol +450 -0
  258. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  259. package/contracts/instance/service/IApplicationService.sol +82 -0
  260. package/contracts/instance/service/IBundleService.sol +62 -0
  261. package/contracts/instance/service/IClaimService.sol +61 -0
  262. package/contracts/instance/service/IDistributionService.sol +98 -0
  263. package/contracts/instance/service/IPolicyService.sol +72 -0
  264. package/contracts/instance/service/IPoolService.sol +35 -0
  265. package/contracts/instance/service/IProductService.sol +40 -0
  266. package/contracts/instance/service/PolicyService.sol +403 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +163 -0
  269. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  270. package/contracts/instance/service/ProductService.sol +233 -0
  271. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  272. package/contracts/registry/ChainNft.sol +129 -62
  273. package/contracts/registry/IRegistry.sol +73 -41
  274. package/contracts/registry/IRegistryService.sol +67 -0
  275. package/contracts/registry/ITransferInterceptor.sol +6 -0
  276. package/contracts/registry/Registry.sol +408 -126
  277. package/contracts/registry/RegistryAccessManager.sol +216 -0
  278. package/contracts/registry/RegistryService.sol +283 -0
  279. package/contracts/registry/RegistryServiceManager.sol +62 -0
  280. package/contracts/registry/ReleaseManager.sol +322 -0
  281. package/contracts/registry/TokenRegistry.sol +116 -0
  282. package/contracts/shared/ContractDeployerLib.sol +72 -0
  283. package/contracts/shared/ERC165.sol +27 -0
  284. package/contracts/shared/INftOwnable.sol +23 -0
  285. package/contracts/shared/IPolicyHolder.sol +26 -0
  286. package/contracts/shared/IRegisterable.sol +15 -0
  287. package/contracts/shared/IRegistryLinked.sol +12 -0
  288. package/contracts/shared/IService.sol +18 -0
  289. package/contracts/shared/IVersionable.sol +53 -0
  290. package/contracts/shared/NftOwnable.sol +120 -0
  291. package/contracts/shared/PolicyHolder.sol +81 -0
  292. package/contracts/shared/ProxyManager.sol +169 -0
  293. package/contracts/shared/Registerable.sol +74 -0
  294. package/contracts/shared/RegistryLinked.sol +48 -0
  295. package/contracts/shared/Service.sol +58 -0
  296. package/contracts/shared/TokenHandler.sol +33 -0
  297. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  298. package/contracts/shared/Versionable.sol +59 -0
  299. package/contracts/test/TestFee.sol +25 -0
  300. package/contracts/test/TestRegisterable.sol +18 -0
  301. package/contracts/test/TestRoleId.sol +14 -0
  302. package/contracts/test/TestService.sol +25 -0
  303. package/contracts/test/TestToken.sol +26 -0
  304. package/contracts/test/TestVersion.sol +44 -0
  305. package/contracts/test/TestVersionable.sol +17 -0
  306. package/contracts/test/Usdc.sol +26 -0
  307. package/contracts/types/AddressSet.sol +58 -0
  308. package/contracts/types/Blocknumber.sol +1 -0
  309. package/contracts/types/ClaimId.sol +52 -0
  310. package/contracts/types/DistributorType.sol +55 -0
  311. package/contracts/types/Fee.sol +45 -20
  312. package/contracts/types/Key32.sol +50 -0
  313. package/contracts/types/NftId.sol +30 -1
  314. package/contracts/types/NftIdSet.sol +62 -0
  315. package/contracts/types/NumberId.sol +52 -0
  316. package/contracts/types/ObjectType.sol +65 -15
  317. package/contracts/types/PayoutId.sol +54 -0
  318. package/contracts/types/Referral.sol +89 -0
  319. package/contracts/types/RiskId.sol +43 -0
  320. package/contracts/types/RoleId.sol +95 -0
  321. package/contracts/types/Seconds.sol +54 -0
  322. package/contracts/types/StateId.sol +19 -4
  323. package/contracts/types/Timestamp.sol +31 -6
  324. package/contracts/types/UFixed.sol +151 -31
  325. package/contracts/types/Version.sol +108 -0
  326. package/package.json +14 -5
  327. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  328. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  329. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  330. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  331. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  332. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  333. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  335. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  337. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  339. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  341. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  343. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  345. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  347. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  349. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  351. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  353. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  355. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  359. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  361. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  363. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  365. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  367. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  369. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  370. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  371. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  372. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  373. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  374. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  376. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  378. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  379. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  380. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  381. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  382. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  383. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  385. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  387. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  388. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  389. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  390. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  391. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  394. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  395. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  397. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  399. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  400. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  401. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  402. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  403. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  404. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  406. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  407. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  409. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  411. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  412. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  414. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  415. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  416. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  417. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  418. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  419. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  420. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  421. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  422. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  423. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  424. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  425. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  426. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  427. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  428. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  429. package/contracts/components/IPool.sol +0 -15
  430. package/contracts/components/IProduct.sol +0 -16
  431. package/contracts/experiment/errors/Require.sol +0 -38
  432. package/contracts/experiment/errors/Revert.sol +0 -44
  433. package/contracts/experiment/inheritance/A.sol +0 -53
  434. package/contracts/experiment/inheritance/B.sol +0 -28
  435. package/contracts/experiment/inheritance/C.sol +0 -34
  436. package/contracts/experiment/inheritance/IA.sol +0 -13
  437. package/contracts/experiment/inheritance/IB.sol +0 -10
  438. package/contracts/experiment/inheritance/IC.sol +0 -12
  439. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  440. package/contracts/experiment/statemachine/ISM.sol +0 -25
  441. package/contracts/experiment/statemachine/README.md +0 -112
  442. package/contracts/experiment/statemachine/SM.sol +0 -57
  443. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  444. package/contracts/experiment/types/TypeA.sol +0 -47
  445. package/contracts/experiment/types/TypeB.sol +0 -29
  446. package/contracts/instance/access/Access.sol +0 -165
  447. package/contracts/instance/access/IAccess.sol +0 -63
  448. package/contracts/instance/component/ComponentModule.sol +0 -274
  449. package/contracts/instance/component/IComponent.sol +0 -74
  450. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  451. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  452. package/contracts/instance/policy/IPolicy.sol +0 -50
  453. package/contracts/instance/policy/PolicyModule.sol +0 -114
  454. package/contracts/instance/pool/IPoolModule.sol +0 -23
  455. package/contracts/instance/pool/PoolModule.sol +0 -81
  456. package/contracts/instance/product/IProductService.sol +0 -36
  457. package/contracts/instance/product/ProductService.sol +0 -136
  458. package/contracts/instance/treasury/ITreasury.sol +0 -91
  459. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  460. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  461. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1724 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/instance/service/DistributionService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "component",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
70
+ }
71
+ ],
72
+ "name": "ErrorComponentServiceInvalidType",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "component",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "ErrorComponentServiceSenderNotOwner",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "target",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorIAccessTargetLocked",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "caller",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "commissionPercentage",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "maxCommissionPercentage",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "uint256",
149
+ "name": "maxDiscountPercentage",
150
+ "type": "uint256"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "discountPercentage",
155
+ "type": "uint256"
156
+ }
157
+ ],
158
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "minDiscountPercentage",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "discountPercentage",
171
+ "type": "uint256"
172
+ }
173
+ ],
174
+ "name": "ErrorIDistributionServiceDiscountTooLow",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "Timestamp",
181
+ "name": "expiryAt",
182
+ "type": "uint40"
183
+ }
184
+ ],
185
+ "name": "ErrorIDistributionServiceExpirationInvalid",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "maxReferralLifetime",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "expiryAt",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "name": "ErrorIDistributionServiceExpiryTooLong",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "uint256",
208
+ "name": "distributionFeeFixAmount",
209
+ "type": "uint256"
210
+ },
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "distributionFeeVarAmount",
214
+ "type": "uint256"
215
+ },
216
+ {
217
+ "internalType": "uint256",
218
+ "name": "distributionOwnerFeeFixAmount",
219
+ "type": "uint256"
220
+ },
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "distributionOwnerFeeVarAmount",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "commissionAmount",
229
+ "type": "uint256"
230
+ },
231
+ {
232
+ "internalType": "uint256",
233
+ "name": "discountAmount",
234
+ "type": "uint256"
235
+ }
236
+ ],
237
+ "name": "ErrorIDistributionServiceFeeCalculationMismatch",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "transferredDistributionFeeAmount",
245
+ "type": "uint256"
246
+ },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "expectedDistributionFeeAmount",
250
+ "type": "uint256"
251
+ }
252
+ ],
253
+ "name": "ErrorIDistributionServiceInvalidFeeTransferred",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "internalType": "string",
260
+ "name": "code",
261
+ "type": "string"
262
+ }
263
+ ],
264
+ "name": "ErrorIDistributionServiceInvalidReferral",
265
+ "type": "error"
266
+ },
267
+ {
268
+ "inputs": [
269
+ {
270
+ "internalType": "ReferralId",
271
+ "name": "referralId",
272
+ "type": "bytes8"
273
+ }
274
+ ],
275
+ "name": "ErrorIDistributionServiceInvalidReferralId",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "maxDiscountPercentage",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "limit",
288
+ "type": "uint256"
289
+ }
290
+ ],
291
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "maxReferrals",
299
+ "type": "uint256"
300
+ }
301
+ ],
302
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "minFee",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "limit",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "NftId",
325
+ "name": "nftId",
326
+ "type": "uint96"
327
+ },
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "parentNftId",
331
+ "type": "uint96"
332
+ }
333
+ ],
334
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
335
+ "type": "error"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "distributionNftId",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "internalType": "ReferralId",
346
+ "name": "referralId",
347
+ "type": "bytes8"
348
+ }
349
+ ],
350
+ "name": "ErrorIDistributionServiceReferralInvalid",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "caller",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "ErrorIServiceCallerUnknown",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "NftId",
368
+ "name": "nftId",
369
+ "type": "uint96"
370
+ }
371
+ ],
372
+ "name": "ErrorNftOwnableAlreadyLinked",
373
+ "type": "error"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "address",
379
+ "name": "contractAddress",
380
+ "type": "address"
381
+ }
382
+ ],
383
+ "name": "ErrorNftOwnableContractNotRegistered",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "ErrorNftOwnableInitialOwnerZero",
389
+ "type": "error"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "account",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "name": "ErrorNftOwnableNotOwner",
400
+ "type": "error"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "address",
406
+ "name": "registryAddress",
407
+ "type": "address"
408
+ }
409
+ ],
410
+ "name": "ErrorNotRegistry",
411
+ "type": "error"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "InvalidInitialization",
416
+ "type": "error"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "NotInitializing",
421
+ "type": "error"
422
+ },
423
+ {
424
+ "anonymous": false,
425
+ "inputs": [
426
+ {
427
+ "indexed": false,
428
+ "internalType": "uint64",
429
+ "name": "version",
430
+ "type": "uint64"
431
+ }
432
+ ],
433
+ "name": "Initialized",
434
+ "type": "event"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
439
+ "outputs": [
440
+ {
441
+ "internalType": "bytes32",
442
+ "name": "",
443
+ "type": "bytes32"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "REGISTERABLE_LOCATION_V1",
452
+ "outputs": [
453
+ {
454
+ "internalType": "bytes32",
455
+ "name": "",
456
+ "type": "bytes32"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "NftId",
466
+ "name": "distributionNftId",
467
+ "type": "uint96"
468
+ },
469
+ {
470
+ "internalType": "ReferralId",
471
+ "name": "referralId",
472
+ "type": "bytes8"
473
+ },
474
+ {
475
+ "components": [
476
+ {
477
+ "internalType": "uint256",
478
+ "name": "netPremiumAmount",
479
+ "type": "uint256"
480
+ },
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "fullPremiumAmount",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "uint256",
488
+ "name": "premiumAmount",
489
+ "type": "uint256"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "productFeeFixAmount",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "poolFeeFixAmount",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "internalType": "uint256",
503
+ "name": "bundleFeeFixAmount",
504
+ "type": "uint256"
505
+ },
506
+ {
507
+ "internalType": "uint256",
508
+ "name": "distributionFeeFixAmount",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "productFeeVarAmount",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "poolFeeVarAmount",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "bundleFeeVarAmount",
524
+ "type": "uint256"
525
+ },
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "distributionFeeVarAmount",
529
+ "type": "uint256"
530
+ },
531
+ {
532
+ "internalType": "uint256",
533
+ "name": "distributionOwnerFeeFixAmount",
534
+ "type": "uint256"
535
+ },
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "distributionOwnerFeeVarAmount",
539
+ "type": "uint256"
540
+ },
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "commissionAmount",
544
+ "type": "uint256"
545
+ },
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "discountAmount",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "internalType": "struct IPolicy.Premium",
553
+ "name": "premium",
554
+ "type": "tuple"
555
+ }
556
+ ],
557
+ "name": "calculateFeeAmount",
558
+ "outputs": [
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "netPremiumAmount",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "fullPremiumAmount",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "premiumAmount",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "internalType": "uint256",
578
+ "name": "productFeeFixAmount",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "poolFeeFixAmount",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "bundleFeeFixAmount",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "distributionFeeFixAmount",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "productFeeVarAmount",
599
+ "type": "uint256"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "poolFeeVarAmount",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "bundleFeeVarAmount",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "distributionFeeVarAmount",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "distributionOwnerFeeFixAmount",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "distributionOwnerFeeVarAmount",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "commissionAmount",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "discountAmount",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "internalType": "struct IPolicy.Premium",
638
+ "name": "finalPremium",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "distributor",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "DistributorType",
654
+ "name": "distributorType",
655
+ "type": "bytes8"
656
+ },
657
+ {
658
+ "internalType": "bytes",
659
+ "name": "data",
660
+ "type": "bytes"
661
+ }
662
+ ],
663
+ "name": "createDistributor",
664
+ "outputs": [
665
+ {
666
+ "internalType": "NftId",
667
+ "name": "distributorNftId",
668
+ "type": "uint96"
669
+ }
670
+ ],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "string",
678
+ "name": "name",
679
+ "type": "string"
680
+ },
681
+ {
682
+ "internalType": "UFixed",
683
+ "name": "minDiscountPercentage",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "UFixed",
688
+ "name": "maxDiscountPercentage",
689
+ "type": "uint256"
690
+ },
691
+ {
692
+ "internalType": "UFixed",
693
+ "name": "commissionPercentage",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "uint32",
698
+ "name": "maxReferralCount",
699
+ "type": "uint32"
700
+ },
701
+ {
702
+ "internalType": "uint32",
703
+ "name": "maxReferralLifetime",
704
+ "type": "uint32"
705
+ },
706
+ {
707
+ "internalType": "bool",
708
+ "name": "allowSelfReferrals",
709
+ "type": "bool"
710
+ },
711
+ {
712
+ "internalType": "bool",
713
+ "name": "allowRenewals",
714
+ "type": "bool"
715
+ },
716
+ {
717
+ "internalType": "bytes",
718
+ "name": "data",
719
+ "type": "bytes"
720
+ }
721
+ ],
722
+ "name": "createDistributorType",
723
+ "outputs": [
724
+ {
725
+ "internalType": "DistributorType",
726
+ "name": "distributorType",
727
+ "type": "bytes8"
728
+ }
729
+ ],
730
+ "stateMutability": "nonpayable",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [
735
+ {
736
+ "internalType": "NftId",
737
+ "name": "distributorNftId",
738
+ "type": "uint96"
739
+ },
740
+ {
741
+ "internalType": "string",
742
+ "name": "code",
743
+ "type": "string"
744
+ },
745
+ {
746
+ "internalType": "UFixed",
747
+ "name": "discountPercentage",
748
+ "type": "uint256"
749
+ },
750
+ {
751
+ "internalType": "uint32",
752
+ "name": "maxReferrals",
753
+ "type": "uint32"
754
+ },
755
+ {
756
+ "internalType": "Timestamp",
757
+ "name": "expiryAt",
758
+ "type": "uint40"
759
+ },
760
+ {
761
+ "internalType": "bytes",
762
+ "name": "data",
763
+ "type": "bytes"
764
+ }
765
+ ],
766
+ "name": "createReferral",
767
+ "outputs": [
768
+ {
769
+ "internalType": "ReferralId",
770
+ "name": "referralId",
771
+ "type": "bytes8"
772
+ }
773
+ ],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ },
777
+ {
778
+ "inputs": [],
779
+ "name": "getDomain",
780
+ "outputs": [
781
+ {
782
+ "internalType": "ObjectType",
783
+ "name": "",
784
+ "type": "uint8"
785
+ }
786
+ ],
787
+ "stateMutability": "pure",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "inputs": [],
792
+ "name": "getInitialInfo",
793
+ "outputs": [
794
+ {
795
+ "components": [
796
+ {
797
+ "internalType": "NftId",
798
+ "name": "nftId",
799
+ "type": "uint96"
800
+ },
801
+ {
802
+ "internalType": "NftId",
803
+ "name": "parentNftId",
804
+ "type": "uint96"
805
+ },
806
+ {
807
+ "internalType": "ObjectType",
808
+ "name": "objectType",
809
+ "type": "uint8"
810
+ },
811
+ {
812
+ "internalType": "bool",
813
+ "name": "isInterceptor",
814
+ "type": "bool"
815
+ },
816
+ {
817
+ "internalType": "address",
818
+ "name": "objectAddress",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "initialOwner",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "bytes",
828
+ "name": "data",
829
+ "type": "bytes"
830
+ }
831
+ ],
832
+ "internalType": "struct IRegistry.ObjectInfo",
833
+ "name": "info",
834
+ "type": "tuple"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [],
842
+ "name": "getInstanceService",
843
+ "outputs": [
844
+ {
845
+ "internalType": "contract InstanceService",
846
+ "name": "",
847
+ "type": "address"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "getMajorVersion",
856
+ "outputs": [
857
+ {
858
+ "internalType": "VersionPart",
859
+ "name": "majorVersion",
860
+ "type": "uint8"
861
+ }
862
+ ],
863
+ "stateMutability": "view",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [],
868
+ "name": "getNftId",
869
+ "outputs": [
870
+ {
871
+ "internalType": "NftId",
872
+ "name": "",
873
+ "type": "uint96"
874
+ }
875
+ ],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [],
881
+ "name": "getOwner",
882
+ "outputs": [
883
+ {
884
+ "internalType": "address",
885
+ "name": "",
886
+ "type": "address"
887
+ }
888
+ ],
889
+ "stateMutability": "view",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [],
894
+ "name": "getRegistry",
895
+ "outputs": [
896
+ {
897
+ "internalType": "contract IRegistry",
898
+ "name": "",
899
+ "type": "address"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [],
907
+ "name": "getRegistryAddress",
908
+ "outputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "",
912
+ "type": "address"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [],
920
+ "name": "getRegistryService",
921
+ "outputs": [
922
+ {
923
+ "internalType": "contract IRegistryService",
924
+ "name": "",
925
+ "type": "address"
926
+ }
927
+ ],
928
+ "stateMutability": "view",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [],
933
+ "name": "getVersion",
934
+ "outputs": [
935
+ {
936
+ "internalType": "Version",
937
+ "name": "",
938
+ "type": "uint24"
939
+ }
940
+ ],
941
+ "stateMutability": "pure",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "initializeERC165",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "address",
955
+ "name": "initialOwner",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "registryAddress",
961
+ "type": "address"
962
+ }
963
+ ],
964
+ "name": "initializeNftOwnable",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "address",
973
+ "name": "registryAddress",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "NftId",
978
+ "name": "parentNftId",
979
+ "type": "uint96"
980
+ },
981
+ {
982
+ "internalType": "ObjectType",
983
+ "name": "objectType",
984
+ "type": "uint8"
985
+ },
986
+ {
987
+ "internalType": "bool",
988
+ "name": "isInterceptor",
989
+ "type": "bool"
990
+ },
991
+ {
992
+ "internalType": "address",
993
+ "name": "initialOwner",
994
+ "type": "address"
995
+ },
996
+ {
997
+ "internalType": "bytes",
998
+ "name": "registryData",
999
+ "type": "bytes"
1000
+ }
1001
+ ],
1002
+ "name": "initializeRegisterable",
1003
+ "outputs": [],
1004
+ "stateMutability": "nonpayable",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "address",
1011
+ "name": "registryAddress",
1012
+ "type": "address"
1013
+ }
1014
+ ],
1015
+ "name": "initializeRegistryLinked",
1016
+ "outputs": [],
1017
+ "stateMutability": "nonpayable",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "registry",
1025
+ "type": "address"
1026
+ },
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "initialOwner",
1030
+ "type": "address"
1031
+ }
1032
+ ],
1033
+ "name": "initializeService",
1034
+ "outputs": [],
1035
+ "stateMutability": "nonpayable",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "address",
1042
+ "name": "activatedBy",
1043
+ "type": "address"
1044
+ },
1045
+ {
1046
+ "internalType": "bytes",
1047
+ "name": "data",
1048
+ "type": "bytes"
1049
+ }
1050
+ ],
1051
+ "name": "initializeVersionable",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [],
1058
+ "name": "linkToRegisteredNftId",
1059
+ "outputs": [],
1060
+ "stateMutability": "nonpayable",
1061
+ "type": "function"
1062
+ },
1063
+ {
1064
+ "inputs": [
1065
+ {
1066
+ "internalType": "NftId",
1067
+ "name": "distributionNftId",
1068
+ "type": "uint96"
1069
+ },
1070
+ {
1071
+ "internalType": "ReferralId",
1072
+ "name": "referralId",
1073
+ "type": "bytes8"
1074
+ },
1075
+ {
1076
+ "components": [
1077
+ {
1078
+ "internalType": "uint256",
1079
+ "name": "netPremiumAmount",
1080
+ "type": "uint256"
1081
+ },
1082
+ {
1083
+ "internalType": "uint256",
1084
+ "name": "fullPremiumAmount",
1085
+ "type": "uint256"
1086
+ },
1087
+ {
1088
+ "internalType": "uint256",
1089
+ "name": "premiumAmount",
1090
+ "type": "uint256"
1091
+ },
1092
+ {
1093
+ "internalType": "uint256",
1094
+ "name": "productFeeFixAmount",
1095
+ "type": "uint256"
1096
+ },
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "poolFeeFixAmount",
1100
+ "type": "uint256"
1101
+ },
1102
+ {
1103
+ "internalType": "uint256",
1104
+ "name": "bundleFeeFixAmount",
1105
+ "type": "uint256"
1106
+ },
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "distributionFeeFixAmount",
1110
+ "type": "uint256"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "productFeeVarAmount",
1115
+ "type": "uint256"
1116
+ },
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "poolFeeVarAmount",
1120
+ "type": "uint256"
1121
+ },
1122
+ {
1123
+ "internalType": "uint256",
1124
+ "name": "bundleFeeVarAmount",
1125
+ "type": "uint256"
1126
+ },
1127
+ {
1128
+ "internalType": "uint256",
1129
+ "name": "distributionFeeVarAmount",
1130
+ "type": "uint256"
1131
+ },
1132
+ {
1133
+ "internalType": "uint256",
1134
+ "name": "distributionOwnerFeeFixAmount",
1135
+ "type": "uint256"
1136
+ },
1137
+ {
1138
+ "internalType": "uint256",
1139
+ "name": "distributionOwnerFeeVarAmount",
1140
+ "type": "uint256"
1141
+ },
1142
+ {
1143
+ "internalType": "uint256",
1144
+ "name": "commissionAmount",
1145
+ "type": "uint256"
1146
+ },
1147
+ {
1148
+ "internalType": "uint256",
1149
+ "name": "discountAmount",
1150
+ "type": "uint256"
1151
+ }
1152
+ ],
1153
+ "internalType": "struct IPolicy.Premium",
1154
+ "name": "premium",
1155
+ "type": "tuple"
1156
+ },
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "transferredDistributionFeeAmount",
1160
+ "type": "uint256"
1161
+ }
1162
+ ],
1163
+ "name": "processSale",
1164
+ "outputs": [],
1165
+ "stateMutability": "nonpayable",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [
1170
+ {
1171
+ "internalType": "NftId",
1172
+ "name": "distributionNftId",
1173
+ "type": "uint96"
1174
+ },
1175
+ {
1176
+ "internalType": "ReferralId",
1177
+ "name": "referralId",
1178
+ "type": "bytes8"
1179
+ }
1180
+ ],
1181
+ "name": "referralIsValid",
1182
+ "outputs": [
1183
+ {
1184
+ "internalType": "bool",
1185
+ "name": "isValid",
1186
+ "type": "bool"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "address",
1196
+ "name": "distributionAddress",
1197
+ "type": "address"
1198
+ }
1199
+ ],
1200
+ "name": "register",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "NftId",
1204
+ "name": "distributionNftId",
1205
+ "type": "uint96"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "nonpayable",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "bytes4",
1215
+ "name": "interfaceId",
1216
+ "type": "bytes4"
1217
+ }
1218
+ ],
1219
+ "name": "registerInterface",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "components": [
1228
+ {
1229
+ "internalType": "UFixed",
1230
+ "name": "fractionalFee",
1231
+ "type": "uint256"
1232
+ },
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "fixedFee",
1236
+ "type": "uint256"
1237
+ }
1238
+ ],
1239
+ "internalType": "struct Fee",
1240
+ "name": "minDistributionOwnerFee",
1241
+ "type": "tuple"
1242
+ },
1243
+ {
1244
+ "components": [
1245
+ {
1246
+ "internalType": "UFixed",
1247
+ "name": "fractionalFee",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "fixedFee",
1253
+ "type": "uint256"
1254
+ }
1255
+ ],
1256
+ "internalType": "struct Fee",
1257
+ "name": "distributionFee",
1258
+ "type": "tuple"
1259
+ }
1260
+ ],
1261
+ "name": "setFees",
1262
+ "outputs": [],
1263
+ "stateMutability": "nonpayable",
1264
+ "type": "function"
1265
+ },
1266
+ {
1267
+ "inputs": [
1268
+ {
1269
+ "internalType": "bytes4",
1270
+ "name": "interfaceId",
1271
+ "type": "bytes4"
1272
+ }
1273
+ ],
1274
+ "name": "supportsInterface",
1275
+ "outputs": [
1276
+ {
1277
+ "internalType": "bool",
1278
+ "name": "",
1279
+ "type": "bool"
1280
+ }
1281
+ ],
1282
+ "stateMutability": "view",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ {
1288
+ "internalType": "NftId",
1289
+ "name": "distributorNftId",
1290
+ "type": "uint96"
1291
+ },
1292
+ {
1293
+ "internalType": "DistributorType",
1294
+ "name": "distributorType",
1295
+ "type": "bytes8"
1296
+ },
1297
+ {
1298
+ "internalType": "bytes",
1299
+ "name": "data",
1300
+ "type": "bytes"
1301
+ }
1302
+ ],
1303
+ "name": "updateDistributorType",
1304
+ "outputs": [],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1308
+ {
1309
+ "inputs": [
1310
+ {
1311
+ "internalType": "bytes",
1312
+ "name": "data",
1313
+ "type": "bytes"
1314
+ }
1315
+ ],
1316
+ "name": "upgradeVersionable",
1317
+ "outputs": [],
1318
+ "stateMutability": "nonpayable",
1319
+ "type": "function"
1320
+ }
1321
+ ],
1322
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615be180620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614812565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b604051610223919061488c565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614812565b610974565b6102c26102bd366004614afb565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614b44565b61122f565b61026561038c366004614c3c565b611568565b6103a461039f366004614ce6565b6115f4565b6040516102239190614db2565b6102656103bf366004614dc7565b611baf565b610265611cfc565b6102656103da366004614dfb565b611d42565b6103f26103ed366004614e5c565b611eb0565b6040516001600160601b039091168152602001610223565b610265610418366004614e79565b61221f565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004614ec8565b61231e565b600080516020615b6c833981519152546001600160601b03166103f2565b610265610481366004614e5c565b6124bf565b61042a6125cd565b6103a461049c366004614efb565b612704565b61028e600080516020615b6c83398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004614fc5565b612f94565b61042a61321a565b61042a6132b1565b6104b96132db565b610265610504366004614ffa565b613352565b61026561051736600461504c565b6138a6565b61026561052a36600461504c565b61393e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b4919061507a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106699061509f565b80601f01602080910402602001604051908101604052809291908181526020018280546106959061509f565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516125cd565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615b6c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906150e4565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906150e4565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610950919061510c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c6139b5565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a25856139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c9190615129565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615181565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190615222565b8451613b71565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c139190615222565b61014089018190526020890180519192508291610c31908390615251565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614db2565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce491908101906152bf565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061539d565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614db2565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615446565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e579190615222565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb9190615222565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f509190615222565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190615222565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190615222565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d39190615222565b6101c08d0181905260208701516101608e01526110f0828761553d565b6110fa919061553d565b6101808d01526101c08c015160208d0151611115919061553d565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615251565b6111b49190615251565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d856139ee565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a59190615129565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614db2565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261131591908101906152bf565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906150e4565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906150e4565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906150e4565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115259190615550565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b6115706139b5565b61157a828761393e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea83826155bc565b5050505050505050565b6000806000611601613b86565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a9190615129565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615181565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117669190615222565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee9190615222565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906150e4565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190615222565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119599190615222565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061567b565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061569d565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614db2565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a809190615222565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906150e4565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b90859085906004016156ba565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615786565b600080516020615b8c8339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613bd0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d046139b5565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613b86565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190615129565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061539d565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016157fa565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613bd8565b613c4f565b93509350935093506000611edb61321a565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f55919081019061583a565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615181565b6040518363ffffffff1660e01b8152600401612046929190615944565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b505050506120806132b1565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120f69190810190615962565b6040518463ffffffff1660e01b815260040161211493929190615996565b600060405180830381600087803b15801561212e57600080fd5b505af1158015612142573d6000803e3d6000fd5b5050505061214e6132b1565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561219c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121c49190810190615962565b6040518463ffffffff1660e01b81526004016121e293929190615996565b600060405180830381600087803b1580156121fc57600080fd5b505af1158015612210573d6000803e3d6000fd5b50505050505050505050919050565b600080516020615b8c8339815191528054600160401b810460ff1615906001600160401b03166000811580156122525750825b90506000826001600160401b0316600114801561226e5750303b155b90508115801561227c575080155b1561229a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122c457845460ff60401b1916600160401b1785555b6122ce8787614029565b831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080600061232b613b86565b925092505061233861321a565b6001600160a01b03166357a8fba76040518060e00160405280612359600090565b6001600160601b03168152602001856001600160601b0316815260200161237e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016123dd919061488c565b6020604051808303816000875af11580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612420919061510c565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e9061248390879085906004016159d2565b600060405180830381600087803b15801561249d57600080fd5b505af11580156124b1573d6000803e3d6000fd5b505050505050509392505050565b6124c76139b5565b806001600160a01b03163b6000036124fd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612577575060408051601f3d908101601f19168201909252612574918101906150e4565b60015b61259f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806125c85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615b6c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561263d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266191906150e4565b156126ee576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156126c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e89190615129565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612711613b86565b9250925050875160000361273a5787604051634fad6a5360e11b815260040161082891906159f4565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015612790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b491906150e4565b156127db5760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283f9190615129565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612892573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128ba919081019061539d565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906128ef908590600401614db2565b600060405180830381865afa15801561290c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129349190810190615446565b90508963ffffffff16816080015163ffffffff161015612975576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612a91576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129fb9190615222565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6f9190615222565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612bad576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b179190615222565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8b9190615222565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c259190615550565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca09190615222565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1a9190615222565b612d24919061553d565b1115612dd05760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da99190615222565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612e0992919061567b565b602060405180830381865af4158015612e26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4a919061569d565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401612ef29190614db2565b602060405180830381865af4158015612f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f339190615222565b836040518363ffffffff1660e01b8152600401612f51929190615a83565b600060405180830381600087803b158015612f6b57600080fd5b505af1158015612f7f573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156130ae578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ff1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130159190615222565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190615222565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806130bb6078614147565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131239190615129565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa15801561317a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061319e9190615181565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d1906131df908590859060ff90600401615a9c565b600060405180830381600087803b1580156131f957600080fd5b505af115801561320d573d6000803e3d6000fd5b5050505050505050505050565b60008061322f6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6132486132db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561328d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115629190615129565b6000806132c66001546001600160a01b031690565b6001600160a01b031663d39e60436046613240565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561332e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615acc565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90613396906001600160c01b0319881690600401614db2565b602060405180830381865af41580156133b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133d791906150e4565b15905060006133e6868661122f565b90508180156133f3575080155b1561342c57604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b6000613437876139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561347a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349e9190615129565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016134ce9190614db2565b600060405180830381865afa1580156134eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261351391908101906152bf565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613569573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613591919081019061539d565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa1580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136099190615181565b905060008961018001518a61016001516136239190615251565b6101a08b01519091506136368183615251565b8a1461366957896136478284615251565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b81156136e857818360a0018181516136819190615251565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016136b593929190615a9c565b600060405180830381600087803b1580156136cf57600080fd5b505af11580156136e3573d6000803e3d6000fd5b505050505b8815613897576001856080018181516137019190615ae9565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016137689190614db2565b602060405180830381865af4158015613785573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a99190615222565b8760ff6040518463ffffffff1660e01b81526004016137ca93929190615b0d565b600060405180830381600087803b1580156137e457600080fd5b505af11580156137f8573d6000803e3d6000fd5b5050505060008111156138975780846060018181516138179190615251565b9052506080840180516001919061382f908390615251565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916138649190889060ff906004016157fa565b600060405180830381600087803b15801561387e57600080fd5b505af1158015613892573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6138ae6139b5565b61392e82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613914919061510c565b603c60008560405180602001604052806000815250611568565b6125c8637b6a51fd60e01b610974565b6139466139b5565b61394f816124bf565b613957611cfc565b6001600160a01b03821661397e5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615b6c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615b8c83398151915254600160401b900460ff166139ec57604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613a056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613a54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613a7c919081019061583a565b90506000613a926001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ae7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b0f919081019061583a565b9050613b2d8160400151613b21604690565b60ff9081169116141590565b15613b64576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006143e9565b600080600080613b946144d3565b9296509094509092509050613baa816078613b21565b15613bca57604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e56139b5565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613c2b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615786565b600033818080613c676001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd3919061510c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d5291906150e4565b15613d895760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613dd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfb91906150e4565b613e23576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613e63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e8b919081019061583a565b9050613ea281604001518960ff9081169116141590565b15613ee2576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b0386811690821614613f345760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b81602001519350613f448461477b565b94506000613f506132b1565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015613faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fd391906150e4565b90508061401c57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610828565b5050505093509350935093565b600080516020615b8c8339815191528054600160401b810460ff1615906001600160401b031660008115801561405c5750825b90506000826001600160401b031660011480156140785750303b155b905081158015614086575080155b156140a45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156140ce57845460ff60401b1916600160401b1785555b600080878060200190518101906140e59190615b26565b925090506140f3818a6138a6565b61410363a6812b7960e01b610974565b5050831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161230c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156141d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526141fe919081019061583a565b925061421483604001518560ff90811691161490565b6142565760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156142ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142d4919081019061583a565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561431d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143419190615129565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561438e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b291906150e4565b156143e157608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036144235783828161441957614419615b55565b0492505050611228565b80841161446a5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806144ea6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa158015614532573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614556919061510c565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156145b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145d591906150e4565b156145fe5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006146126001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614661573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614689919081019061583a565b90508060400151925060006146a66001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156146fb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614723919081019061583a565b90506147358160400151613b21604690565b1561476c576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b6000806147906001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156147df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614807919081019061583a565b608001519392505050565b60006020828403121561482457600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b8381101561485757818101518382015260200161483f565b50506000910152565b6000815180845261487881602086016020860161483c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516148f560c08401826001600160a01b03169052565b5060c083015160e08084015261490f610100840182614860565b949350505050565b6001600160601b03811681146125ca57600080fd5b6001600160c01b0319811681146125ca57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b038111828210171561497b5761497b614942565b60405290565b604080519081016001600160401b038111828210171561497b5761497b614942565b60405160e081016001600160401b038111828210171561497b5761497b614942565b60405160a081016001600160401b038111828210171561497b5761497b614942565b60405161012081016001600160401b038111828210171561497b5761497b614942565b604051601f8201601f191681016001600160401b0381118282101715614a3257614a32614942565b604052919050565b60006101e08284031215614a4d57600080fd5b614a55614958565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b1157600080fd5b8335614b1c81614917565b92506020840135614b2c8161492c565b9150614b3b8560408601614a3a565b90509250925092565b60008060408385031215614b5757600080fd5b8235614b6281614917565b91506020830135614b728161492c565b809150509250929050565b6001600160a01b03811681146125ca57600080fd5b60ff811681146125ca57600080fd5b80151581146125ca57600080fd5b8035614bba81614ba1565b919050565b60006001600160401b03821115614bd857614bd8614942565b50601f01601f191660200190565b600082601f830112614bf757600080fd5b8135614c0a614c0582614bbf565b614a0a565b818152846020838601011115614c1f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614c5557600080fd5b8635614c6081614b7d565b95506020870135614c7081614917565b94506040870135614c8081614b92565b93506060870135614c9081614ba1565b92506080870135614ca081614b7d565b915060a08701356001600160401b03811115614cbb57600080fd5b614cc789828a01614be6565b9150509295509295509295565b63ffffffff811681146125ca57600080fd5b60008060008060008060008060006101208a8c031215614d0557600080fd5b89356001600160401b0380821115614d1c57600080fd5b614d288d838e01614be6565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614d4f82614cd4565b90955060a08b013590614d6182614cd4565b819550614d7060c08d01614baf565b9450614d7e60e08d01614baf565b93506101008c0135915080821115614d9557600080fd5b50614da28c828d01614be6565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614dd957600080fd5b81356001600160401b03811115614def57600080fd5b61490f84828501614be6565b600080600060608486031215614e1057600080fd5b8335614e1b81614917565b92506020840135614e2b8161492c565b915060408401356001600160401b03811115614e4657600080fd5b614e5286828701614be6565b9150509250925092565b600060208284031215614e6e57600080fd5b813561122881614b7d565b60008060408385031215614e8c57600080fd5b8235614e9781614b7d565b915060208301356001600160401b03811115614eb257600080fd5b614ebe85828601614be6565b9150509250929050565b600080600060608486031215614edd57600080fd5b8335614e1b81614b7d565b64ffffffffff811681146125ca57600080fd5b60008060008060008060c08789031215614f1457600080fd5b8635614f1f81614917565b955060208701356001600160401b0380821115614f3b57600080fd5b614f478a838b01614be6565b96506040890135955060608901359150614f6082614cd4565b909350608088013590614f7282614ee8565b90925060a08801359080821115614f8857600080fd5b50614cc789828a01614be6565b600060408284031215614fa757600080fd5b614faf614981565b9050813581526020820135602082015292915050565b60008060808385031215614fd857600080fd5b614fe28484614f95565b9150614ff18460408501614f95565b90509250929050565b600080600080610240858703121561501157600080fd5b843561501c81614917565b9350602085013561502c8161492c565b925061503b8660408701614a3a565b939692955092936102200135925050565b6000806040838503121561505f57600080fd5b823561506a81614b7d565b91506020830135614b7281614b7d565b60006020828403121561508c57600080fd5b815162ffffff8116811461122857600080fd5b600181811c908216806150b357607f821691505b6020821081036150d357634e487b7160e01b600052602260045260246000fd5b50919050565b8051614bba81614ba1565b6000602082840312156150f657600080fd5b815161122881614ba1565b8051614bba81614917565b60006020828403121561511e57600080fd5b815161122881614917565b60006020828403121561513b57600080fd5b815161122881614b7d565b60006040828403121561515857600080fd5b615160614981565b9050815181526020820151602082015292915050565b8051614bba81614b7d565b6000610100828403121561519457600080fd5b60405160c081018181106001600160401b03821117156151b6576151b6614942565b60405282516151c481614917565b815260208301516151d481614b7d565b60208201526151e68460408501615146565b60408201526151f88460808501615146565b606082015260c083015161520b81614b7d565b608082015260e0929092015160a083015250919050565b60006020828403121561523457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115625761156261523b565b600082601f83011261527557600080fd5b8151615283614c0582614bbf565b81815284602083860101111561529857600080fd5b61490f82602083016020870161483c565b8051614bba81614cd4565b8051614bba81614ee8565b6000602082840312156152d157600080fd5b81516001600160401b03808211156152e857600080fd5b9083019060e082860312156152fc57600080fd5b6153046149a3565b61530d83615101565b815260208301518281111561532157600080fd5b61532d87828601615264565b60208301525060408301516040820152615349606084016152a9565b606082015261535a608084016152a9565b608082015261536b60a084016152b4565b60a082015260c08301518281111561538257600080fd5b61538e87828601615264565b60c08301525095945050505050565b6000602082840312156153af57600080fd5b81516001600160401b03808211156153c657600080fd5b9083019060a082860312156153da57600080fd5b6153e26149c5565b82516153ed8161492c565b815260208301516153fd81614ba1565b602082015260408301518281111561541457600080fd5b61542087828601615264565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561545857600080fd5b81516001600160401b038082111561546f57600080fd5b90830190610120828603121561548457600080fd5b61548c6149e7565b82518281111561549b57600080fd5b6154a787828601615264565b8252506020830151602082015260408301516040820152606083015160608201526154d4608084016152a9565b60808201526154e560a084016152a9565b60a08201526154f660c084016150d9565b60c082015261550760e084016150d9565b60e0820152610100808401518381111561552057600080fd5b61552c88828701615264565b918301919091525095945050505050565b818103818111156115625761156261523b565b60006020828403121561556257600080fd5b815161122881614ee8565b601f8211156155b757600081815260208120601f850160051c810160208610156155945750805b601f850160051c820191505b818110156155b3578281556001016155a0565b5050505b505050565b81516001600160401b038111156155d5576155d5614942565b6155e9816155e3845461509f565b8461556d565b602080601f83116001811461561e57600084156156065750858301515b600019600386901b1c1916600185901b1785556155b3565b600085815260208120601f198616915b8281101561564d5788860151825594840194600190910190840161562e565b508582101561566b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b038316815260406020820152600061490f6040830184614860565b6000602082840312156156af57600080fd5b81516112288161492c565b82815260406020820152600082516101208060408501526156df610160850183614860565b91506020850151606085015260408501516080850152606085015160a0850152608085015161571660c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061573e8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526157678282614860565b9695505050505050565b6001600160401b03811681146125ca57600080fd5b60006020828403121561579857600080fd5b815161122881615771565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526157da60a0850182614860565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b038416815260606020820152600061581c60608301856157a3565b905060ff83166040830152949350505050565b8051614bba81614b92565b60006020828403121561584c57600080fd5b81516001600160401b038082111561586357600080fd5b9083019060e0828603121561587757600080fd5b61587f6149a3565b61588883615101565b815261589660208401615101565b60208201526158a76040840161582f565b60408201526158b8606084016150d9565b60608201526158c960808401615176565b608082015261536b60a08401615176565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161122860208301846158da565b60006020828403121561597457600080fd5b81516001600160401b0381111561598a57600080fd5b61490f84828501615264565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906159c990830184614860565b95945050505050565b6001600160601b038316815260406020820152600061490f60408301846157a3565b6020815260006112286020830184614860565b6001600160601b0381511682526000602082015160e06020850152615a2f60e0850182614860565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526159c98282614860565b82815260406020820152600061490f6040830184615a07565b6001600160601b03841681526101408101615aba60208301856158da565b60ff8316610120830152949350505050565b600060208284031215615ade57600080fd5b815161122881614b92565b63ffffffff818116838216019080821115615b0657615b0661523b565b5092915050565b83815260606020820152600061581c6060830185615a07565b60008060408385031215615b3957600080fd5b8251615b4481614b7d565b6020840151909250614b7281614b7d565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220111302c164a0a2ee3c5d6e7899decb4f6167389f7f8cb001aa61147438edc6fb64736f6c63430008140033",
1323
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614812565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b604051610223919061488c565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614812565b610974565b6102c26102bd366004614afb565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614b44565b61122f565b61026561038c366004614c3c565b611568565b6103a461039f366004614ce6565b6115f4565b6040516102239190614db2565b6102656103bf366004614dc7565b611baf565b610265611cfc565b6102656103da366004614dfb565b611d42565b6103f26103ed366004614e5c565b611eb0565b6040516001600160601b039091168152602001610223565b610265610418366004614e79565b61221f565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004614ec8565b61231e565b600080516020615b6c833981519152546001600160601b03166103f2565b610265610481366004614e5c565b6124bf565b61042a6125cd565b6103a461049c366004614efb565b612704565b61028e600080516020615b6c83398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004614fc5565b612f94565b61042a61321a565b61042a6132b1565b6104b96132db565b610265610504366004614ffa565b613352565b61026561051736600461504c565b6138a6565b61026561052a36600461504c565b61393e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b4919061507a565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106699061509f565b80601f01602080910402602001604051908101604052809291908181526020018280546106959061509f565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516125cd565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615b6c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906150e4565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906150e4565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610950919061510c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c6139b5565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a25856139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c9190615129565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615181565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190615222565b8451613b71565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c139190615222565b61014089018190526020890180519192508291610c31908390615251565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614db2565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce491908101906152bf565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061539d565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614db2565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615446565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e579190615222565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb9190615222565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f509190615222565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190615222565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190615222565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d39190615222565b6101c08d0181905260208701516101608e01526110f0828761553d565b6110fa919061553d565b6101808d01526101c08c015160208d0151611115919061553d565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615251565b6111b49190615251565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d856139ee565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a59190615129565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614db2565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261131591908101906152bf565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906150e4565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906150e4565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906150e4565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115259190615550565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b6115706139b5565b61157a828761393e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea83826155bc565b5050505050505050565b6000806000611601613b86565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a9190615129565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615181565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117669190615222565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee9190615222565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906150e4565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190615222565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119599190615222565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061567b565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061569d565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614db2565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a809190615222565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906150e4565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b90859085906004016156ba565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615786565b600080516020615b8c8339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613bd0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d046139b5565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613b86565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190615129565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061539d565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016157fa565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613bd8565b613c4f565b93509350935093506000611edb61321a565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f55919081019061583a565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615181565b6040518363ffffffff1660e01b8152600401612046929190615944565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b505050506120806132b1565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120f69190810190615962565b6040518463ffffffff1660e01b815260040161211493929190615996565b600060405180830381600087803b15801561212e57600080fd5b505af1158015612142573d6000803e3d6000fd5b5050505061214e6132b1565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561219c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121c49190810190615962565b6040518463ffffffff1660e01b81526004016121e293929190615996565b600060405180830381600087803b1580156121fc57600080fd5b505af1158015612210573d6000803e3d6000fd5b50505050505050505050919050565b600080516020615b8c8339815191528054600160401b810460ff1615906001600160401b03166000811580156122525750825b90506000826001600160401b0316600114801561226e5750303b155b90508115801561227c575080155b1561229a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122c457845460ff60401b1916600160401b1785555b6122ce8787614029565b831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080600061232b613b86565b925092505061233861321a565b6001600160a01b03166357a8fba76040518060e00160405280612359600090565b6001600160601b03168152602001856001600160601b0316815260200161237e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016123dd919061488c565b6020604051808303816000875af11580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612420919061510c565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e9061248390879085906004016159d2565b600060405180830381600087803b15801561249d57600080fd5b505af11580156124b1573d6000803e3d6000fd5b505050505050509392505050565b6124c76139b5565b806001600160a01b03163b6000036124fd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612577575060408051601f3d908101601f19168201909252612574918101906150e4565b60015b61259f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806125c85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615b6c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561263d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266191906150e4565b156126ee576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156126c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e89190615129565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612711613b86565b9250925050875160000361273a5787604051634fad6a5360e11b815260040161082891906159f4565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015612790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b491906150e4565b156127db5760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283f9190615129565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612892573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128ba919081019061539d565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906128ef908590600401614db2565b600060405180830381865afa15801561290c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129349190810190615446565b90508963ffffffff16816080015163ffffffff161015612975576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612a91576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129fb9190615222565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6f9190615222565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612bad576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b179190615222565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8b9190615222565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c259190615550565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca09190615222565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1a9190615222565b612d24919061553d565b1115612dd05760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da99190615222565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612e0992919061567b565b602060405180830381865af4158015612e26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4a919061569d565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401612ef29190614db2565b602060405180830381865af4158015612f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f339190615222565b836040518363ffffffff1660e01b8152600401612f51929190615a83565b600060405180830381600087803b158015612f6b57600080fd5b505af1158015612f7f573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156130ae578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ff1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130159190615222565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190615222565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806130bb6078614147565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131239190615129565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa15801561317a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061319e9190615181565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d1906131df908590859060ff90600401615a9c565b600060405180830381600087803b1580156131f957600080fd5b505af115801561320d573d6000803e3d6000fd5b5050505050505050505050565b60008061322f6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6132486132db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561328d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115629190615129565b6000806132c66001546001600160a01b031690565b6001600160a01b031663d39e60436046613240565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561332e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615acc565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90613396906001600160c01b0319881690600401614db2565b602060405180830381865af41580156133b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133d791906150e4565b15905060006133e6868661122f565b90508180156133f3575080155b1561342c57604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b6000613437876139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561347a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349e9190615129565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016134ce9190614db2565b600060405180830381865afa1580156134eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261351391908101906152bf565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613569573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613591919081019061539d565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa1580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136099190615181565b905060008961018001518a61016001516136239190615251565b6101a08b01519091506136368183615251565b8a1461366957896136478284615251565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b81156136e857818360a0018181516136819190615251565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016136b593929190615a9c565b600060405180830381600087803b1580156136cf57600080fd5b505af11580156136e3573d6000803e3d6000fd5b505050505b8815613897576001856080018181516137019190615ae9565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016137689190614db2565b602060405180830381865af4158015613785573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a99190615222565b8760ff6040518463ffffffff1660e01b81526004016137ca93929190615b0d565b600060405180830381600087803b1580156137e457600080fd5b505af11580156137f8573d6000803e3d6000fd5b5050505060008111156138975780846060018181516138179190615251565b9052506080840180516001919061382f908390615251565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916138649190889060ff906004016157fa565b600060405180830381600087803b15801561387e57600080fd5b505af1158015613892573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6138ae6139b5565b61392e82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613914919061510c565b603c60008560405180602001604052806000815250611568565b6125c8637b6a51fd60e01b610974565b6139466139b5565b61394f816124bf565b613957611cfc565b6001600160a01b03821661397e5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615b6c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615b8c83398151915254600160401b900460ff166139ec57604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613a056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613a54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613a7c919081019061583a565b90506000613a926001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ae7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b0f919081019061583a565b9050613b2d8160400151613b21604690565b60ff9081169116141590565b15613b64576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006143e9565b600080600080613b946144d3565b9296509094509092509050613baa816078613b21565b15613bca57604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e56139b5565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613c2b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615786565b600033818080613c676001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd3919061510c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d5291906150e4565b15613d895760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613dd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfb91906150e4565b613e23576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613e63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e8b919081019061583a565b9050613ea281604001518960ff9081169116141590565b15613ee2576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b0386811690821614613f345760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b81602001519350613f448461477b565b94506000613f506132b1565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015613faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fd391906150e4565b90508061401c57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610828565b5050505093509350935093565b600080516020615b8c8339815191528054600160401b810460ff1615906001600160401b031660008115801561405c5750825b90506000826001600160401b031660011480156140785750303b155b905081158015614086575080155b156140a45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156140ce57845460ff60401b1916600160401b1785555b600080878060200190518101906140e59190615b26565b925090506140f3818a6138a6565b61410363a6812b7960e01b610974565b5050831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161230c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156141d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526141fe919081019061583a565b925061421483604001518560ff90811691161490565b6142565760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156142ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142d4919081019061583a565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561431d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143419190615129565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561438e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b291906150e4565b156143e157608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036144235783828161441957614419615b55565b0492505050611228565b80841161446a5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806144ea6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa158015614532573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614556919061510c565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156145b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145d591906150e4565b156145fe5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006146126001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614661573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614689919081019061583a565b90508060400151925060006146a66001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156146fb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614723919081019061583a565b90506147358160400151613b21604690565b1561476c576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b6000806147906001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156147df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614807919081019061583a565b608001519392505050565b60006020828403121561482457600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b8381101561485757818101518382015260200161483f565b50506000910152565b6000815180845261487881602086016020860161483c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516148f560c08401826001600160a01b03169052565b5060c083015160e08084015261490f610100840182614860565b949350505050565b6001600160601b03811681146125ca57600080fd5b6001600160c01b0319811681146125ca57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b038111828210171561497b5761497b614942565b60405290565b604080519081016001600160401b038111828210171561497b5761497b614942565b60405160e081016001600160401b038111828210171561497b5761497b614942565b60405160a081016001600160401b038111828210171561497b5761497b614942565b60405161012081016001600160401b038111828210171561497b5761497b614942565b604051601f8201601f191681016001600160401b0381118282101715614a3257614a32614942565b604052919050565b60006101e08284031215614a4d57600080fd5b614a55614958565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b1157600080fd5b8335614b1c81614917565b92506020840135614b2c8161492c565b9150614b3b8560408601614a3a565b90509250925092565b60008060408385031215614b5757600080fd5b8235614b6281614917565b91506020830135614b728161492c565b809150509250929050565b6001600160a01b03811681146125ca57600080fd5b60ff811681146125ca57600080fd5b80151581146125ca57600080fd5b8035614bba81614ba1565b919050565b60006001600160401b03821115614bd857614bd8614942565b50601f01601f191660200190565b600082601f830112614bf757600080fd5b8135614c0a614c0582614bbf565b614a0a565b818152846020838601011115614c1f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614c5557600080fd5b8635614c6081614b7d565b95506020870135614c7081614917565b94506040870135614c8081614b92565b93506060870135614c9081614ba1565b92506080870135614ca081614b7d565b915060a08701356001600160401b03811115614cbb57600080fd5b614cc789828a01614be6565b9150509295509295509295565b63ffffffff811681146125ca57600080fd5b60008060008060008060008060006101208a8c031215614d0557600080fd5b89356001600160401b0380821115614d1c57600080fd5b614d288d838e01614be6565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614d4f82614cd4565b90955060a08b013590614d6182614cd4565b819550614d7060c08d01614baf565b9450614d7e60e08d01614baf565b93506101008c0135915080821115614d9557600080fd5b50614da28c828d01614be6565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614dd957600080fd5b81356001600160401b03811115614def57600080fd5b61490f84828501614be6565b600080600060608486031215614e1057600080fd5b8335614e1b81614917565b92506020840135614e2b8161492c565b915060408401356001600160401b03811115614e4657600080fd5b614e5286828701614be6565b9150509250925092565b600060208284031215614e6e57600080fd5b813561122881614b7d565b60008060408385031215614e8c57600080fd5b8235614e9781614b7d565b915060208301356001600160401b03811115614eb257600080fd5b614ebe85828601614be6565b9150509250929050565b600080600060608486031215614edd57600080fd5b8335614e1b81614b7d565b64ffffffffff811681146125ca57600080fd5b60008060008060008060c08789031215614f1457600080fd5b8635614f1f81614917565b955060208701356001600160401b0380821115614f3b57600080fd5b614f478a838b01614be6565b96506040890135955060608901359150614f6082614cd4565b909350608088013590614f7282614ee8565b90925060a08801359080821115614f8857600080fd5b50614cc789828a01614be6565b600060408284031215614fa757600080fd5b614faf614981565b9050813581526020820135602082015292915050565b60008060808385031215614fd857600080fd5b614fe28484614f95565b9150614ff18460408501614f95565b90509250929050565b600080600080610240858703121561501157600080fd5b843561501c81614917565b9350602085013561502c8161492c565b925061503b8660408701614a3a565b939692955092936102200135925050565b6000806040838503121561505f57600080fd5b823561506a81614b7d565b91506020830135614b7281614b7d565b60006020828403121561508c57600080fd5b815162ffffff8116811461122857600080fd5b600181811c908216806150b357607f821691505b6020821081036150d357634e487b7160e01b600052602260045260246000fd5b50919050565b8051614bba81614ba1565b6000602082840312156150f657600080fd5b815161122881614ba1565b8051614bba81614917565b60006020828403121561511e57600080fd5b815161122881614917565b60006020828403121561513b57600080fd5b815161122881614b7d565b60006040828403121561515857600080fd5b615160614981565b9050815181526020820151602082015292915050565b8051614bba81614b7d565b6000610100828403121561519457600080fd5b60405160c081018181106001600160401b03821117156151b6576151b6614942565b60405282516151c481614917565b815260208301516151d481614b7d565b60208201526151e68460408501615146565b60408201526151f88460808501615146565b606082015260c083015161520b81614b7d565b608082015260e0929092015160a083015250919050565b60006020828403121561523457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115625761156261523b565b600082601f83011261527557600080fd5b8151615283614c0582614bbf565b81815284602083860101111561529857600080fd5b61490f82602083016020870161483c565b8051614bba81614cd4565b8051614bba81614ee8565b6000602082840312156152d157600080fd5b81516001600160401b03808211156152e857600080fd5b9083019060e082860312156152fc57600080fd5b6153046149a3565b61530d83615101565b815260208301518281111561532157600080fd5b61532d87828601615264565b60208301525060408301516040820152615349606084016152a9565b606082015261535a608084016152a9565b608082015261536b60a084016152b4565b60a082015260c08301518281111561538257600080fd5b61538e87828601615264565b60c08301525095945050505050565b6000602082840312156153af57600080fd5b81516001600160401b03808211156153c657600080fd5b9083019060a082860312156153da57600080fd5b6153e26149c5565b82516153ed8161492c565b815260208301516153fd81614ba1565b602082015260408301518281111561541457600080fd5b61542087828601615264565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561545857600080fd5b81516001600160401b038082111561546f57600080fd5b90830190610120828603121561548457600080fd5b61548c6149e7565b82518281111561549b57600080fd5b6154a787828601615264565b8252506020830151602082015260408301516040820152606083015160608201526154d4608084016152a9565b60808201526154e560a084016152a9565b60a08201526154f660c084016150d9565b60c082015261550760e084016150d9565b60e0820152610100808401518381111561552057600080fd5b61552c88828701615264565b918301919091525095945050505050565b818103818111156115625761156261523b565b60006020828403121561556257600080fd5b815161122881614ee8565b601f8211156155b757600081815260208120601f850160051c810160208610156155945750805b601f850160051c820191505b818110156155b3578281556001016155a0565b5050505b505050565b81516001600160401b038111156155d5576155d5614942565b6155e9816155e3845461509f565b8461556d565b602080601f83116001811461561e57600084156156065750858301515b600019600386901b1c1916600185901b1785556155b3565b600085815260208120601f198616915b8281101561564d5788860151825594840194600190910190840161562e565b508582101561566b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b038316815260406020820152600061490f6040830184614860565b6000602082840312156156af57600080fd5b81516112288161492c565b82815260406020820152600082516101208060408501526156df610160850183614860565b91506020850151606085015260408501516080850152606085015160a0850152608085015161571660c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061573e8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526157678282614860565b9695505050505050565b6001600160401b03811681146125ca57600080fd5b60006020828403121561579857600080fd5b815161122881615771565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526157da60a0850182614860565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b038416815260606020820152600061581c60608301856157a3565b905060ff83166040830152949350505050565b8051614bba81614b92565b60006020828403121561584c57600080fd5b81516001600160401b038082111561586357600080fd5b9083019060e0828603121561587757600080fd5b61587f6149a3565b61588883615101565b815261589660208401615101565b60208201526158a76040840161582f565b60408201526158b8606084016150d9565b60608201526158c960808401615176565b608082015261536b60a08401615176565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161122860208301846158da565b60006020828403121561597457600080fd5b81516001600160401b0381111561598a57600080fd5b61490f84828501615264565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906159c990830184614860565b95945050505050565b6001600160601b038316815260406020820152600061490f60408301846157a3565b6020815260006112286020830184614860565b6001600160601b0381511682526000602082015160e06020850152615a2f60e0850182614860565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526159c98282614860565b82815260406020820152600061490f6040830184615a07565b6001600160601b03841681526101408101615aba60208301856158da565b60ff8316610120830152949350505050565b600060208284031215615ade57600080fd5b815161122881614b92565b63ffffffff818116838216019080821115615b0657615b0661523b565b5092915050565b83815260606020820152600061581c6060830185615a07565b60008060408385031215615b3957600080fd5b8251615b4481614b7d565b6020840151909250614b7281614b7d565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220111302c164a0a2ee3c5d6e7899decb4f6167389f7f8cb001aa61147438edc6fb64736f6c63430008140033",
1324
+ "linkReferences": {
1325
+ "contracts/types/DistributorType.sol": {
1326
+ "DistributorTypeLib": [
1327
+ {
1328
+ "length": 20,
1329
+ "start": 6758
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 6899
1334
+ }
1335
+ ]
1336
+ },
1337
+ "contracts/types/NftId.sol": {
1338
+ "NftIdLib": [
1339
+ {
1340
+ "length": 20,
1341
+ "start": 2184
1342
+ },
1343
+ {
1344
+ "length": 20,
1345
+ "start": 5151
1346
+ },
1347
+ {
1348
+ "length": 20,
1349
+ "start": 9961
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 15834
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 18013
1358
+ }
1359
+ ]
1360
+ },
1361
+ "contracts/types/Referral.sol": {
1362
+ "ReferralLib": [
1363
+ {
1364
+ "length": 20,
1365
+ "start": 11960
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 12194
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 13386
1374
+ },
1375
+ {
1376
+ "length": 20,
1377
+ "start": 14360
1378
+ }
1379
+ ]
1380
+ },
1381
+ "contracts/types/RoleId.sol": {
1382
+ "RoleIdLib": [
1383
+ {
1384
+ "length": 20,
1385
+ "start": 15575
1386
+ }
1387
+ ]
1388
+ },
1389
+ "contracts/types/Timestamp.sol": {
1390
+ "TimestampLib": [
1391
+ {
1392
+ "length": 20,
1393
+ "start": 5296
1394
+ },
1395
+ {
1396
+ "length": 20,
1397
+ "start": 5430
1398
+ },
1399
+ {
1400
+ "length": 20,
1401
+ "start": 5536
1402
+ },
1403
+ {
1404
+ "length": 20,
1405
+ "start": 10300
1406
+ },
1407
+ {
1408
+ "length": 20,
1409
+ "start": 11424
1410
+ },
1411
+ {
1412
+ "length": 20,
1413
+ "start": 11560
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 11682
1418
+ },
1419
+ {
1420
+ "length": 20,
1421
+ "start": 11825
1422
+ }
1423
+ ]
1424
+ },
1425
+ "contracts/types/UFixed.sol": {
1426
+ "UFixedLib": [
1427
+ {
1428
+ "length": 20,
1429
+ "start": 3089
1430
+ },
1431
+ {
1432
+ "length": 20,
1433
+ "start": 3227
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 3807
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 3921
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 4056
1446
+ },
1447
+ {
1448
+ "length": 20,
1449
+ "start": 4181
1450
+ },
1451
+ {
1452
+ "length": 20,
1453
+ "start": 4308
1454
+ },
1455
+ {
1456
+ "length": 20,
1457
+ "start": 4443
1458
+ },
1459
+ {
1460
+ "length": 20,
1461
+ "start": 6126
1462
+ },
1463
+ {
1464
+ "length": 20,
1465
+ "start": 6262
1466
+ },
1467
+ {
1468
+ "length": 20,
1469
+ "start": 6388
1470
+ },
1471
+ {
1472
+ "length": 20,
1473
+ "start": 6509
1474
+ },
1475
+ {
1476
+ "length": 20,
1477
+ "start": 6625
1478
+ },
1479
+ {
1480
+ "length": 20,
1481
+ "start": 10883
1482
+ },
1483
+ {
1484
+ "length": 20,
1485
+ "start": 10999
1486
+ },
1487
+ {
1488
+ "length": 20,
1489
+ "start": 11167
1490
+ },
1491
+ {
1492
+ "length": 20,
1493
+ "start": 11283
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 12445
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 12564
1502
+ }
1503
+ ]
1504
+ },
1505
+ "contracts/types/Version.sol": {
1506
+ "VersionLib": [
1507
+ {
1508
+ "length": 20,
1509
+ "start": 1596
1510
+ },
1511
+ {
1512
+ "length": 20,
1513
+ "start": 7319
1514
+ }
1515
+ ],
1516
+ "VersionPartLib": [
1517
+ {
1518
+ "length": 20,
1519
+ "start": 13274
1520
+ }
1521
+ ]
1522
+ }
1523
+ },
1524
+ "deployedLinkReferences": {
1525
+ "contracts/types/DistributorType.sol": {
1526
+ "DistributorTypeLib": [
1527
+ {
1528
+ "length": 20,
1529
+ "start": 6528
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 6669
1534
+ }
1535
+ ]
1536
+ },
1537
+ "contracts/types/NftId.sol": {
1538
+ "NftIdLib": [
1539
+ {
1540
+ "length": 20,
1541
+ "start": 1954
1542
+ },
1543
+ {
1544
+ "length": 20,
1545
+ "start": 4921
1546
+ },
1547
+ {
1548
+ "length": 20,
1549
+ "start": 9731
1550
+ },
1551
+ {
1552
+ "length": 20,
1553
+ "start": 15604
1554
+ },
1555
+ {
1556
+ "length": 20,
1557
+ "start": 17783
1558
+ }
1559
+ ]
1560
+ },
1561
+ "contracts/types/Referral.sol": {
1562
+ "ReferralLib": [
1563
+ {
1564
+ "length": 20,
1565
+ "start": 11730
1566
+ },
1567
+ {
1568
+ "length": 20,
1569
+ "start": 11964
1570
+ },
1571
+ {
1572
+ "length": 20,
1573
+ "start": 13156
1574
+ },
1575
+ {
1576
+ "length": 20,
1577
+ "start": 14130
1578
+ }
1579
+ ]
1580
+ },
1581
+ "contracts/types/RoleId.sol": {
1582
+ "RoleIdLib": [
1583
+ {
1584
+ "length": 20,
1585
+ "start": 15345
1586
+ }
1587
+ ]
1588
+ },
1589
+ "contracts/types/Timestamp.sol": {
1590
+ "TimestampLib": [
1591
+ {
1592
+ "length": 20,
1593
+ "start": 5066
1594
+ },
1595
+ {
1596
+ "length": 20,
1597
+ "start": 5200
1598
+ },
1599
+ {
1600
+ "length": 20,
1601
+ "start": 5306
1602
+ },
1603
+ {
1604
+ "length": 20,
1605
+ "start": 10070
1606
+ },
1607
+ {
1608
+ "length": 20,
1609
+ "start": 11194
1610
+ },
1611
+ {
1612
+ "length": 20,
1613
+ "start": 11330
1614
+ },
1615
+ {
1616
+ "length": 20,
1617
+ "start": 11452
1618
+ },
1619
+ {
1620
+ "length": 20,
1621
+ "start": 11595
1622
+ }
1623
+ ]
1624
+ },
1625
+ "contracts/types/UFixed.sol": {
1626
+ "UFixedLib": [
1627
+ {
1628
+ "length": 20,
1629
+ "start": 2859
1630
+ },
1631
+ {
1632
+ "length": 20,
1633
+ "start": 2997
1634
+ },
1635
+ {
1636
+ "length": 20,
1637
+ "start": 3577
1638
+ },
1639
+ {
1640
+ "length": 20,
1641
+ "start": 3691
1642
+ },
1643
+ {
1644
+ "length": 20,
1645
+ "start": 3826
1646
+ },
1647
+ {
1648
+ "length": 20,
1649
+ "start": 3951
1650
+ },
1651
+ {
1652
+ "length": 20,
1653
+ "start": 4078
1654
+ },
1655
+ {
1656
+ "length": 20,
1657
+ "start": 4213
1658
+ },
1659
+ {
1660
+ "length": 20,
1661
+ "start": 5896
1662
+ },
1663
+ {
1664
+ "length": 20,
1665
+ "start": 6032
1666
+ },
1667
+ {
1668
+ "length": 20,
1669
+ "start": 6158
1670
+ },
1671
+ {
1672
+ "length": 20,
1673
+ "start": 6279
1674
+ },
1675
+ {
1676
+ "length": 20,
1677
+ "start": 6395
1678
+ },
1679
+ {
1680
+ "length": 20,
1681
+ "start": 10653
1682
+ },
1683
+ {
1684
+ "length": 20,
1685
+ "start": 10769
1686
+ },
1687
+ {
1688
+ "length": 20,
1689
+ "start": 10937
1690
+ },
1691
+ {
1692
+ "length": 20,
1693
+ "start": 11053
1694
+ },
1695
+ {
1696
+ "length": 20,
1697
+ "start": 12215
1698
+ },
1699
+ {
1700
+ "length": 20,
1701
+ "start": 12334
1702
+ }
1703
+ ]
1704
+ },
1705
+ "contracts/types/Version.sol": {
1706
+ "VersionLib": [
1707
+ {
1708
+ "length": 20,
1709
+ "start": 1366
1710
+ },
1711
+ {
1712
+ "length": 20,
1713
+ "start": 7089
1714
+ }
1715
+ ],
1716
+ "VersionPartLib": [
1717
+ {
1718
+ "length": 20,
1719
+ "start": 13044
1720
+ }
1721
+ ]
1722
+ }
1723
+ }
1724
+ }