@etherisc/gif-next 0.0.2-e875d61-189 → 0.0.2-e922e07-736

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. package/README.md +314 -27
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1261 -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} +234 -239
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +811 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +804 -131
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +455 -62
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1192 -196
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +865 -114
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -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 +1556 -1003
  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 +2282 -1171
  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 +1355 -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 +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1724 -0
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +801 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/{base/InstanceBase.sol/InstanceBase.json → service/IClaimService.sol/IClaimService.json} +221 -156
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +136 -165
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +416 -160
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  125. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  128. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  129. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  130. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +66 -73
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  133. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  134. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  135. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  139. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  141. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  147. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  149. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  150. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  157. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  163. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  172. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  173. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  206. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  207. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  208. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  210. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  214. package/contracts/components/Component.sol +221 -0
  215. package/contracts/components/Distribution.sol +280 -0
  216. package/contracts/components/IComponent.sol +68 -0
  217. package/contracts/components/IDistributionComponent.sol +71 -0
  218. package/contracts/components/IPoolComponent.sol +136 -42
  219. package/contracts/components/IProductComponent.sol +30 -9
  220. package/contracts/components/Pool.sol +308 -121
  221. package/contracts/components/Product.sol +211 -56
  222. package/contracts/instance/BundleManager.sol +125 -0
  223. package/contracts/instance/Cloneable.sol +46 -0
  224. package/contracts/instance/IInstance.sol +85 -43
  225. package/contracts/instance/IInstanceService.sol +59 -0
  226. package/contracts/instance/Instance.sol +277 -57
  227. package/contracts/instance/InstanceAccessManager.sol +297 -0
  228. package/contracts/instance/InstanceReader.sol +293 -0
  229. package/contracts/instance/InstanceService.sol +489 -0
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +84 -0
  232. package/contracts/instance/base/ComponentService.sol +134 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  234. package/contracts/instance/base/ILifecycle.sol +3 -3
  235. package/contracts/instance/base/KeyValueStore.sol +49 -38
  236. package/contracts/instance/base/Lifecycle.sol +11 -3
  237. package/contracts/instance/module/IAccess.sol +47 -0
  238. package/contracts/instance/module/IBundle.sol +21 -0
  239. package/contracts/instance/module/IDistribution.sol +41 -0
  240. package/contracts/instance/module/IPolicy.sol +72 -0
  241. package/contracts/instance/module/IRisk.sol +11 -0
  242. package/contracts/instance/module/ISetup.sol +46 -0
  243. package/contracts/instance/module/ITreasury.sol +23 -0
  244. package/contracts/instance/service/ApplicationService.sol +349 -0
  245. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  246. package/contracts/instance/service/BundleService.sol +299 -0
  247. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  248. package/contracts/instance/service/ClaimService.sol +151 -0
  249. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  250. package/contracts/instance/service/DistributionService.sol +450 -0
  251. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  252. package/contracts/instance/service/IApplicationService.sol +82 -0
  253. package/contracts/instance/service/IBundleService.sol +55 -0
  254. package/contracts/instance/service/IClaimService.sol +61 -0
  255. package/contracts/instance/service/IDistributionService.sol +98 -0
  256. package/contracts/instance/service/IPolicyService.sol +72 -0
  257. package/contracts/instance/service/IPoolService.sol +8 -18
  258. package/contracts/instance/service/IProductService.sol +21 -39
  259. package/contracts/instance/service/PolicyService.sol +394 -0
  260. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  261. package/contracts/instance/service/PoolService.sol +77 -97
  262. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  263. package/contracts/instance/service/ProductService.sol +168 -301
  264. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  265. package/contracts/registry/ChainNft.sol +79 -36
  266. package/contracts/registry/IRegistry.sol +66 -24
  267. package/contracts/registry/IRegistryService.sol +67 -0
  268. package/contracts/registry/ITransferInterceptor.sol +6 -0
  269. package/contracts/registry/Registry.sol +366 -283
  270. package/contracts/registry/RegistryAccessManager.sol +216 -0
  271. package/contracts/registry/RegistryService.sol +283 -0
  272. package/contracts/registry/RegistryServiceManager.sol +62 -0
  273. package/contracts/registry/ReleaseManager.sol +322 -0
  274. package/contracts/registry/TokenRegistry.sol +116 -0
  275. package/contracts/shared/ContractDeployerLib.sol +72 -0
  276. package/contracts/shared/ERC165.sol +14 -8
  277. package/contracts/shared/INftOwnable.sol +23 -0
  278. package/contracts/shared/IPolicyHolder.sol +26 -0
  279. package/contracts/shared/IRegisterable.sol +10 -19
  280. package/contracts/shared/IRegistryLinked.sol +12 -0
  281. package/contracts/shared/IService.sol +18 -0
  282. package/contracts/shared/IVersionable.sol +38 -37
  283. package/contracts/shared/NftOwnable.sol +120 -0
  284. package/contracts/shared/PolicyHolder.sol +81 -0
  285. package/contracts/shared/ProxyManager.sol +169 -0
  286. package/contracts/shared/Registerable.sol +54 -66
  287. package/contracts/shared/RegistryLinked.sol +48 -0
  288. package/contracts/shared/Service.sol +58 -0
  289. package/contracts/shared/TokenHandler.sol +27 -0
  290. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  291. package/contracts/shared/Versionable.sol +38 -68
  292. package/contracts/test/TestFee.sol +2 -2
  293. package/contracts/test/TestRegisterable.sol +5 -6
  294. package/contracts/test/TestRoleId.sol +1 -1
  295. package/contracts/test/TestService.sol +7 -14
  296. package/contracts/types/ClaimId.sol +52 -0
  297. package/contracts/types/DistributorType.sol +55 -0
  298. package/contracts/types/Fee.sol +10 -5
  299. package/contracts/types/Key32.sol +8 -3
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/NumberId.sol +52 -0
  302. package/contracts/types/ObjectType.sol +44 -11
  303. package/contracts/types/PayoutId.sol +54 -0
  304. package/contracts/types/Referral.sol +89 -0
  305. package/contracts/types/RiskId.sol +43 -0
  306. package/contracts/types/RoleId.sol +67 -10
  307. package/contracts/types/Seconds.sol +54 -0
  308. package/contracts/types/StateId.sol +5 -1
  309. package/contracts/types/Timestamp.sol +16 -13
  310. package/contracts/types/UFixed.sol +128 -12
  311. package/contracts/types/Version.sol +13 -1
  312. package/package.json +6 -5
  313. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  315. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  318. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  320. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  322. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  324. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  326. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  330. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  332. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  335. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  341. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  343. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  345. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  347. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  349. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  350. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -81
  354. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  356. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  357. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  361. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  364. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -265
  366. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -265
  369. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  371. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  373. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  375. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -136
  377. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  379. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -273
  383. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -273
  385. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  387. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  389. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  391. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  394. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  396. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -531
  399. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  401. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -531
  403. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  404. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  405. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  406. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  407. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  408. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  409. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  410. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  411. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  412. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -455
  413. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  414. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -436
  415. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  416. package/contracts/components/BaseComponent.sol +0 -94
  417. package/contracts/components/IBaseComponent.sol +0 -19
  418. package/contracts/experiment/errors/Require.sol +0 -38
  419. package/contracts/experiment/errors/Revert.sol +0 -44
  420. package/contracts/experiment/inheritance/A.sol +0 -53
  421. package/contracts/experiment/inheritance/B.sol +0 -28
  422. package/contracts/experiment/inheritance/C.sol +0 -34
  423. package/contracts/experiment/inheritance/IA.sol +0 -13
  424. package/contracts/experiment/inheritance/IB.sol +0 -10
  425. package/contracts/experiment/inheritance/IC.sol +0 -12
  426. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  427. package/contracts/experiment/statemachine/ISM.sol +0 -25
  428. package/contracts/experiment/statemachine/README.md +0 -112
  429. package/contracts/experiment/statemachine/SM.sol +0 -57
  430. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  431. package/contracts/experiment/types/TypeA.sol +0 -47
  432. package/contracts/experiment/types/TypeB.sol +0 -29
  433. package/contracts/instance/IInstanceLinked.sol +0 -8
  434. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  435. package/contracts/instance/base/IInstanceBase.sol +0 -19
  436. package/contracts/instance/base/IService.sol +0 -15
  437. package/contracts/instance/base/InstanceBase.sol +0 -84
  438. package/contracts/instance/base/ModuleBase.sol +0 -46
  439. package/contracts/instance/base/ServiceBase.sol +0 -37
  440. package/contracts/instance/module/access/Access.sol +0 -149
  441. package/contracts/instance/module/access/IAccess.sol +0 -53
  442. package/contracts/instance/module/bundle/BundleModule.sol +0 -135
  443. package/contracts/instance/module/bundle/IBundle.sol +0 -51
  444. package/contracts/instance/module/compensation/CompensationModule.sol +0 -17
  445. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  446. package/contracts/instance/module/component/ComponentModule.sol +0 -81
  447. package/contracts/instance/module/component/IComponent.sol +0 -29
  448. package/contracts/instance/module/policy/IPolicy.sol +0 -59
  449. package/contracts/instance/module/policy/PolicyModule.sol +0 -89
  450. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  451. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  452. package/contracts/instance/module/risk/IRisk.sol +0 -10
  453. package/contracts/instance/module/risk/RiskModule.sol +0 -17
  454. package/contracts/instance/module/treasury/ITreasury.sol +0 -96
  455. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  456. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -171
  457. package/contracts/instance/service/ComponentOwnerService.sol +0 -155
  458. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  459. package/contracts/registry/IChainNft.sol +0 -21
  460. package/contracts/registry/IRegistryLinked.sol +0 -8
  461. package/contracts/shared/IOwnable.sol +0 -6
  462. package/contracts/test/TestPool.sol +0 -24
  463. package/contracts/test/TestProduct.sol +0 -51
@@ -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": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615be080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614811565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b604051610223919061488b565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614811565b610974565b6102c26102bd366004614afa565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614b43565b61122f565b61026561038c366004614c3b565b611568565b6103a461039f366004614ce5565b6115f4565b6040516102239190614db1565b6102656103bf366004614dc6565b611baf565b610265611cfc565b6102656103da366004614dfa565b611d42565b6103f26103ed366004614e5b565b611eb0565b6040516001600160601b039091168152602001610223565b610265610418366004614e78565b61221f565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004614ec7565b61231e565b600080516020615b6b833981519152546001600160601b03166103f2565b610265610481366004614e5b565b6124bf565b61042a6125cd565b6103a461049c366004614efa565b612704565b61028e600080516020615b6b83398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004614fc4565b612f94565b61042a61321a565b61042a6132b1565b6104b96132db565b610265610504366004614ff9565b613352565b61026561051736600461504b565b6138a6565b61026561052a36600461504b565b61393e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615079565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106699061509e565b80601f01602080910402602001604051908101604052809291908181526020018280546106959061509e565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516125cd565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615b6b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906150e3565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906150e3565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610950919061510b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c6139b5565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a25856139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c9190615128565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615180565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190615221565b8451613b71565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c139190615221565b61014089018190526020890180519192508291610c31908390615250565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614db1565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce491908101906152be565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061539c565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614db1565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615445565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e579190615221565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb9190615221565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f509190615221565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190615221565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190615221565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d39190615221565b6101c08d0181905260208701516101608e01526110f0828761553c565b6110fa919061553c565b6101808d01526101c08c015160208d0151611115919061553c565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615250565b6111b49190615250565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d856139ee565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a59190615128565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614db1565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261131591908101906152be565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906150e3565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906150e3565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906150e3565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611525919061554f565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b6115706139b5565b61157a828761393e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea83826155bb565b5050505050505050565b6000806000611601613b86565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a9190615128565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615180565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117669190615221565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee9190615221565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906150e3565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190615221565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119599190615221565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061567a565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061569c565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614db1565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a809190615221565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906150e3565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b90859085906004016156b9565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615785565b600080516020615b8b8339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613bd0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d046139b5565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613b86565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190615128565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061539c565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016157f9565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613bd8565b613c4f565b93509350935093506000611edb61321a565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f559190810190615839565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615180565b6040518363ffffffff1660e01b8152600401612046929190615943565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b505050506120806132b1565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120f69190810190615961565b6040518463ffffffff1660e01b815260040161211493929190615995565b600060405180830381600087803b15801561212e57600080fd5b505af1158015612142573d6000803e3d6000fd5b5050505061214e6132b1565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561219c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121c49190810190615961565b6040518463ffffffff1660e01b81526004016121e293929190615995565b600060405180830381600087803b1580156121fc57600080fd5b505af1158015612210573d6000803e3d6000fd5b50505050505050505050919050565b600080516020615b8b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122525750825b90506000826001600160401b0316600114801561226e5750303b155b90508115801561227c575080155b1561229a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122c457845460ff60401b1916600160401b1785555b6122ce8787614028565b831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080600061232b613b86565b925092505061233861321a565b6001600160a01b03166357a8fba76040518060e00160405280612359600090565b6001600160601b03168152602001856001600160601b0316815260200161237e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016123dd919061488b565b6020604051808303816000875af11580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612420919061510b565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e9061248390879085906004016159d1565b600060405180830381600087803b15801561249d57600080fd5b505af11580156124b1573d6000803e3d6000fd5b505050505050509392505050565b6124c76139b5565b806001600160a01b03163b6000036124fd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612577575060408051601f3d908101601f19168201909252612574918101906150e3565b60015b61259f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806125c85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615b6b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561263d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266191906150e3565b156126ee576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156126c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e89190615128565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612711613b86565b9250925050875160000361273a5787604051634fad6a5360e11b815260040161082891906159f3565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015612790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b491906150e3565b156127db5760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283f9190615128565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612892573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128ba919081019061539c565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906128ef908590600401614db1565b600060405180830381865afa15801561290c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129349190810190615445565b90508963ffffffff16816080015163ffffffff161015612975576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612a91576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129fb9190615221565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6f9190615221565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612bad576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b179190615221565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8b9190615221565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c25919061554f565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca09190615221565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1a9190615221565b612d24919061553c565b1115612dd05760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da99190615221565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612e0992919061567a565b602060405180830381865af4158015612e26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4a919061569c565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401612ef29190614db1565b602060405180830381865af4158015612f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f339190615221565b836040518363ffffffff1660e01b8152600401612f51929190615a82565b600060405180830381600087803b158015612f6b57600080fd5b505af1158015612f7f573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156130ae578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ff1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130159190615221565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190615221565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806130bb6078614146565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131239190615128565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa15801561317a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061319e9190615180565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d1906131df908590859060ff90600401615a9b565b600060405180830381600087803b1580156131f957600080fd5b505af115801561320d573d6000803e3d6000fd5b5050505050505050505050565b60008061322f6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6132486132db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561328d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115629190615128565b6000806132c66001546001600160a01b031690565b6001600160a01b031663d39e60436046613240565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561332e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615acb565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90613396906001600160c01b0319881690600401614db1565b602060405180830381865af41580156133b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133d791906150e3565b15905060006133e6868661122f565b90508180156133f3575080155b1561342c57604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b6000613437876139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561347a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349e9190615128565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016134ce9190614db1565b600060405180830381865afa1580156134eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261351391908101906152be565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613569573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613591919081019061539c565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa1580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136099190615180565b905060008961018001518a61016001516136239190615250565b6101a08b01519091506136368183615250565b8a1461366957896136478284615250565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b81156136e857818360a0018181516136819190615250565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016136b593929190615a9b565b600060405180830381600087803b1580156136cf57600080fd5b505af11580156136e3573d6000803e3d6000fd5b505050505b8815613897576001856080018181516137019190615ae8565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016137689190614db1565b602060405180830381865af4158015613785573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a99190615221565b8760ff6040518463ffffffff1660e01b81526004016137ca93929190615b0c565b600060405180830381600087803b1580156137e457600080fd5b505af11580156137f8573d6000803e3d6000fd5b5050505060008111156138975780846060018181516138179190615250565b9052506080840180516001919061382f908390615250565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916138649190889060ff906004016157f9565b600060405180830381600087803b15801561387e57600080fd5b505af1158015613892573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6138ae6139b5565b61392e82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613914919061510b565b603c60008560405180602001604052806000815250611568565b6125c8637b6a51fd60e01b610974565b6139466139b5565b61394f816124bf565b613957611cfc565b6001600160a01b03821661397e5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615b6b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615b8b83398151915254600160401b900460ff166139ec57604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613a056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613a54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613a7c9190810190615839565b90506000613a926001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ae7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b0f9190810190615839565b9050613b2d8160400151613b21604690565b60ff9081169116141590565b15613b64576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006143e8565b600080600080613b946144d2565b9296509094509092509050613baa816078613b21565b15613bca57604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e56139b5565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613c2b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615785565b600033818080613c676001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd3919061510b565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d5291906150e3565b15613d895760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613dd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfa91906150e3565b613e22576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613e62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e8a9190810190615839565b9050613ea181604001518960ff9081169116141590565b15613ee1576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b0386811690821614613f335760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b81602001519350613f438461477a565b94506000613f4f6132b1565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015613fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fd291906150e3565b90508061401b57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610828565b5050505093509350935093565b600080516020615b8b8339815191528054600160401b810460ff1615906001600160401b031660008115801561405b5750825b90506000826001600160401b031660011480156140775750303b155b905081158015614085575080155b156140a35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156140cd57845460ff60401b1916600160401b1785555b600080878060200190518101906140e49190615b25565b925090506140f2818a6138a6565b61410263a6812b7960e01b610974565b5050831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161230c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156141d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526141fd9190810190615839565b925061421383604001518560ff90811691161490565b6142555760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156142ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142d39190810190615839565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561431c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143409190615128565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561438d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b191906150e3565b156143e057608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036144225783828161441857614418615b54565b0492505050611228565b8084116144695760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806144e96001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa158015614531573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614555919061510b565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156145b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145d491906150e3565b156145fd5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006146116001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614660573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146889190810190615839565b90508060400151925060006146a56001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156146fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526147229190810190615839565b90506147348160400151613b21604690565b1561476b576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b60008061478f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156147de573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148069190810190615839565b608001519392505050565b60006020828403121561482357600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b8381101561485657818101518382015260200161483e565b50506000910152565b6000815180845261487781602086016020860161483b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516148f460c08401826001600160a01b03169052565b5060c083015160e08084015261490e61010084018261485f565b949350505050565b6001600160601b03811681146125ca57600080fd5b6001600160c01b0319811681146125ca57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b038111828210171561497a5761497a614941565b60405290565b604080519081016001600160401b038111828210171561497a5761497a614941565b60405160e081016001600160401b038111828210171561497a5761497a614941565b60405160a081016001600160401b038111828210171561497a5761497a614941565b60405161012081016001600160401b038111828210171561497a5761497a614941565b604051601f8201601f191681016001600160401b0381118282101715614a3157614a31614941565b604052919050565b60006101e08284031215614a4c57600080fd5b614a54614957565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b1057600080fd5b8335614b1b81614916565b92506020840135614b2b8161492b565b9150614b3a8560408601614a39565b90509250925092565b60008060408385031215614b5657600080fd5b8235614b6181614916565b91506020830135614b718161492b565b809150509250929050565b6001600160a01b03811681146125ca57600080fd5b60ff811681146125ca57600080fd5b80151581146125ca57600080fd5b8035614bb981614ba0565b919050565b60006001600160401b03821115614bd757614bd7614941565b50601f01601f191660200190565b600082601f830112614bf657600080fd5b8135614c09614c0482614bbe565b614a09565b818152846020838601011115614c1e57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614c5457600080fd5b8635614c5f81614b7c565b95506020870135614c6f81614916565b94506040870135614c7f81614b91565b93506060870135614c8f81614ba0565b92506080870135614c9f81614b7c565b915060a08701356001600160401b03811115614cba57600080fd5b614cc689828a01614be5565b9150509295509295509295565b63ffffffff811681146125ca57600080fd5b60008060008060008060008060006101208a8c031215614d0457600080fd5b89356001600160401b0380821115614d1b57600080fd5b614d278d838e01614be5565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614d4e82614cd3565b90955060a08b013590614d6082614cd3565b819550614d6f60c08d01614bae565b9450614d7d60e08d01614bae565b93506101008c0135915080821115614d9457600080fd5b50614da18c828d01614be5565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614dd857600080fd5b81356001600160401b03811115614dee57600080fd5b61490e84828501614be5565b600080600060608486031215614e0f57600080fd5b8335614e1a81614916565b92506020840135614e2a8161492b565b915060408401356001600160401b03811115614e4557600080fd5b614e5186828701614be5565b9150509250925092565b600060208284031215614e6d57600080fd5b813561122881614b7c565b60008060408385031215614e8b57600080fd5b8235614e9681614b7c565b915060208301356001600160401b03811115614eb157600080fd5b614ebd85828601614be5565b9150509250929050565b600080600060608486031215614edc57600080fd5b8335614e1a81614b7c565b64ffffffffff811681146125ca57600080fd5b60008060008060008060c08789031215614f1357600080fd5b8635614f1e81614916565b955060208701356001600160401b0380821115614f3a57600080fd5b614f468a838b01614be5565b96506040890135955060608901359150614f5f82614cd3565b909350608088013590614f7182614ee7565b90925060a08801359080821115614f8757600080fd5b50614cc689828a01614be5565b600060408284031215614fa657600080fd5b614fae614980565b9050813581526020820135602082015292915050565b60008060808385031215614fd757600080fd5b614fe18484614f94565b9150614ff08460408501614f94565b90509250929050565b600080600080610240858703121561501057600080fd5b843561501b81614916565b9350602085013561502b8161492b565b925061503a8660408701614a39565b939692955092936102200135925050565b6000806040838503121561505e57600080fd5b823561506981614b7c565b91506020830135614b7181614b7c565b60006020828403121561508b57600080fd5b815162ffffff8116811461122857600080fd5b600181811c908216806150b257607f821691505b6020821081036150d257634e487b7160e01b600052602260045260246000fd5b50919050565b8051614bb981614ba0565b6000602082840312156150f557600080fd5b815161122881614ba0565b8051614bb981614916565b60006020828403121561511d57600080fd5b815161122881614916565b60006020828403121561513a57600080fd5b815161122881614b7c565b60006040828403121561515757600080fd5b61515f614980565b9050815181526020820151602082015292915050565b8051614bb981614b7c565b6000610100828403121561519357600080fd5b60405160c081018181106001600160401b03821117156151b5576151b5614941565b60405282516151c381614916565b815260208301516151d381614b7c565b60208201526151e58460408501615145565b60408201526151f78460808501615145565b606082015260c083015161520a81614b7c565b608082015260e0929092015160a083015250919050565b60006020828403121561523357600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115625761156261523a565b600082601f83011261527457600080fd5b8151615282614c0482614bbe565b81815284602083860101111561529757600080fd5b61490e82602083016020870161483b565b8051614bb981614cd3565b8051614bb981614ee7565b6000602082840312156152d057600080fd5b81516001600160401b03808211156152e757600080fd5b9083019060e082860312156152fb57600080fd5b6153036149a2565b61530c83615100565b815260208301518281111561532057600080fd5b61532c87828601615263565b60208301525060408301516040820152615348606084016152a8565b6060820152615359608084016152a8565b608082015261536a60a084016152b3565b60a082015260c08301518281111561538157600080fd5b61538d87828601615263565b60c08301525095945050505050565b6000602082840312156153ae57600080fd5b81516001600160401b03808211156153c557600080fd5b9083019060a082860312156153d957600080fd5b6153e16149c4565b82516153ec8161492b565b815260208301516153fc81614ba0565b602082015260408301518281111561541357600080fd5b61541f87828601615263565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561545757600080fd5b81516001600160401b038082111561546e57600080fd5b90830190610120828603121561548357600080fd5b61548b6149e6565b82518281111561549a57600080fd5b6154a687828601615263565b8252506020830151602082015260408301516040820152606083015160608201526154d3608084016152a8565b60808201526154e460a084016152a8565b60a08201526154f560c084016150d8565b60c082015261550660e084016150d8565b60e0820152610100808401518381111561551f57600080fd5b61552b88828701615263565b918301919091525095945050505050565b818103818111156115625761156261523a565b60006020828403121561556157600080fd5b815161122881614ee7565b601f8211156155b657600081815260208120601f850160051c810160208610156155935750805b601f850160051c820191505b818110156155b25782815560010161559f565b5050505b505050565b81516001600160401b038111156155d4576155d4614941565b6155e8816155e2845461509e565b8461556c565b602080601f83116001811461561d57600084156156055750858301515b600019600386901b1c1916600185901b1785556155b2565b600085815260208120601f198616915b8281101561564c5788860151825594840194600190910190840161562d565b508582101561566a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b038316815260406020820152600061490e604083018461485f565b6000602082840312156156ae57600080fd5b81516112288161492b565b82815260406020820152600082516101208060408501526156de61016085018361485f565b91506020850151606085015260408501516080850152606085015160a0850152608085015161571560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061573d8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152615766828261485f565b9695505050505050565b6001600160401b03811681146125ca57600080fd5b60006020828403121561579757600080fd5b815161122881615770565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526157d960a085018261485f565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b038416815260606020820152600061581b60608301856157a2565b905060ff83166040830152949350505050565b8051614bb981614b91565b60006020828403121561584b57600080fd5b81516001600160401b038082111561586257600080fd5b9083019060e0828603121561587657600080fd5b61587e6149a2565b61588783615100565b815261589560208401615100565b60208201526158a66040840161582e565b60408201526158b7606084016150d8565b60608201526158c860808401615175565b608082015261536a60a08401615175565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161122860208301846158d9565b60006020828403121561597357600080fd5b81516001600160401b0381111561598957600080fd5b61490e84828501615263565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906159c89083018461485f565b95945050505050565b6001600160601b038316815260406020820152600061490e60408301846157a2565b602081526000611228602083018461485f565b6001600160601b0381511682526000602082015160e06020850152615a2e60e085018261485f565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526159c8828261485f565b82815260406020820152600061490e6040830184615a06565b6001600160601b03841681526101408101615ab960208301856158d9565b60ff8316610120830152949350505050565b600060208284031215615add57600080fd5b815161122881614b91565b63ffffffff818116838216019080821115615b0557615b0561523a565b5092915050565b83815260606020820152600061581b6060830185615a06565b60008060408385031215615b3857600080fd5b8251615b4381614b7c565b6020840151909250614b7181614b7c565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220918a28bf57c3e233ca99c1ba0b335d02a9680353403e0a5a8e20a43ce711599164736f6c63430008140033",
1323
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614811565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b604051610223919061488b565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614811565b610974565b6102c26102bd366004614afa565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614b43565b61122f565b61026561038c366004614c3b565b611568565b6103a461039f366004614ce5565b6115f4565b6040516102239190614db1565b6102656103bf366004614dc6565b611baf565b610265611cfc565b6102656103da366004614dfa565b611d42565b6103f26103ed366004614e5b565b611eb0565b6040516001600160601b039091168152602001610223565b610265610418366004614e78565b61221f565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004614ec7565b61231e565b600080516020615b6b833981519152546001600160601b03166103f2565b610265610481366004614e5b565b6124bf565b61042a6125cd565b6103a461049c366004614efa565b612704565b61028e600080516020615b6b83398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004614fc4565b612f94565b61042a61321a565b61042a6132b1565b6104b96132db565b610265610504366004614ff9565b613352565b61026561051736600461504b565b6138a6565b61026561052a36600461504b565b61393e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615079565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906106699061509e565b80601f01602080910402602001604051908101604052809291908181526020018280546106959061509e565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516125cd565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615b6b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906150e3565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906150e3565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610950919061510b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c6139b5565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a25856139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c9190615128565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615180565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190615221565b8451613b71565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c139190615221565b61014089018190526020890180519192508291610c31908390615250565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614db1565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce491908101906152be565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061539c565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614db1565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615445565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e579190615221565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb9190615221565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f509190615221565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190615221565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190615221565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d39190615221565b6101c08d0181905260208701516101608e01526110f0828761553c565b6110fa919061553c565b6101808d01526101c08c015160208d0151611115919061553c565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615250565b6111b49190615250565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d856139ee565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a59190615128565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614db1565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261131591908101906152be565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906150e3565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906150e3565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906150e3565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611525919061554f565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b6115706139b5565b61157a828761393e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea83826155bb565b5050505050505050565b6000806000611601613b86565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a9190615128565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615180565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117669190615221565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee9190615221565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906150e3565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190615221565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119599190615221565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061567a565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061569c565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614db1565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a809190615221565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906150e3565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b90859085906004016156b9565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615785565b600080516020615b8b8339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613bd0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d046139b5565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613b86565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190615128565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061539c565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016157f9565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613bd8565b613c4f565b93509350935093506000611edb61321a565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f559190810190615839565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615180565b6040518363ffffffff1660e01b8152600401612046929190615943565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b505050506120806132b1565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120f69190810190615961565b6040518463ffffffff1660e01b815260040161211493929190615995565b600060405180830381600087803b15801561212e57600080fd5b505af1158015612142573d6000803e3d6000fd5b5050505061214e6132b1565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561219c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121c49190810190615961565b6040518463ffffffff1660e01b81526004016121e293929190615995565b600060405180830381600087803b1580156121fc57600080fd5b505af1158015612210573d6000803e3d6000fd5b50505050505050505050919050565b600080516020615b8b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122525750825b90506000826001600160401b0316600114801561226e5750303b155b90508115801561227c575080155b1561229a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122c457845460ff60401b1916600160401b1785555b6122ce8787614028565b831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080600061232b613b86565b925092505061233861321a565b6001600160a01b03166357a8fba76040518060e00160405280612359600090565b6001600160601b03168152602001856001600160601b0316815260200161237e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016123dd919061488b565b6020604051808303816000875af11580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612420919061510b565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e9061248390879085906004016159d1565b600060405180830381600087803b15801561249d57600080fd5b505af11580156124b1573d6000803e3d6000fd5b505050505050509392505050565b6124c76139b5565b806001600160a01b03163b6000036124fd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612577575060408051601f3d908101601f19168201909252612574918101906150e3565b60015b61259f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806125c85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615b6b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561263d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266191906150e3565b156126ee576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156126c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e89190615128565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612711613b86565b9250925050875160000361273a5787604051634fad6a5360e11b815260040161082891906159f3565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015612790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b491906150e3565b156127db5760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283f9190615128565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612892573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128ba919081019061539c565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906128ef908590600401614db1565b600060405180830381865afa15801561290c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129349190810190615445565b90508963ffffffff16816080015163ffffffff161015612975576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612a91576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129fb9190615221565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6f9190615221565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612bad576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b179190615221565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8b9190615221565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c25919061554f565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca09190615221565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1a9190615221565b612d24919061553c565b1115612dd05760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da99190615221565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612e0992919061567a565b602060405180830381865af4158015612e26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4a919061569c565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b8152600401612ef29190614db1565b602060405180830381865af4158015612f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f339190615221565b836040518363ffffffff1660e01b8152600401612f51929190615a82565b600060405180830381600087803b158015612f6b57600080fd5b505af1158015612f7f573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156130ae578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ff1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130159190615221565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308c9190615221565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806130bb6078614146565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131239190615128565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa15801561317a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061319e9190615180565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d1906131df908590859060ff90600401615a9b565b600060405180830381600087803b1580156131f957600080fd5b505af115801561320d573d6000803e3d6000fd5b5050505050505050505050565b60008061322f6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6132486132db565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561328d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115629190615128565b6000806132c66001546001600160a01b031690565b6001600160a01b031663d39e60436046613240565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561332e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615acb565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf90613396906001600160c01b0319881690600401614db1565b602060405180830381865af41580156133b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133d791906150e3565b15905060006133e6868661122f565b90508180156133f3575080155b1561342c57604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b6000613437876139ee565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561347a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349e9190615128565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016134ce9190614db1565b600060405180830381865afa1580156134eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261351391908101906152be565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613569573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613591919081019061539c565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa1580156135e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136099190615180565b905060008961018001518a61016001516136239190615250565b6101a08b01519091506136368183615250565b8a1461366957896136478284615250565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b81156136e857818360a0018181516136819190615250565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016136b593929190615a9b565b600060405180830381600087803b1580156136cf57600080fd5b505af11580156136e3573d6000803e3d6000fd5b505050505b8815613897576001856080018181516137019190615ae8565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016137689190614db1565b602060405180830381865af4158015613785573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a99190615221565b8760ff6040518463ffffffff1660e01b81526004016137ca93929190615b0c565b600060405180830381600087803b1580156137e457600080fd5b505af11580156137f8573d6000803e3d6000fd5b5050505060008111156138975780846060018181516138179190615250565b9052506080840180516001919061382f908390615250565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916138649190889060ff906004016157f9565b600060405180830381600087803b15801561387e57600080fd5b505af1158015613892573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6138ae6139b5565b61392e82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613914919061510b565b603c60008560405180602001604052806000815250611568565b6125c8637b6a51fd60e01b610974565b6139466139b5565b61394f816124bf565b613957611cfc565b6001600160a01b03821661397e5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615b6b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615b8b83398151915254600160401b900460ff166139ec57604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613a056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613a54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613a7c9190810190615839565b90506000613a926001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613ae7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b0f9190810190615839565b9050613b2d8160400151613b21604690565b60ff9081169116141590565b15613b64576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006143e8565b600080600080613b946144d2565b9296509094509092509050613baa816078613b21565b15613bca57604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e56139b5565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613c2b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615785565b600033818080613c676001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd3919061510b565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d5291906150e3565b15613d895760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613dd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dfa91906150e3565b613e22576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613e62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e8a9190810190615839565b9050613ea181604001518960ff9081169116141590565b15613ee1576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b0386811690821614613f335760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b81602001519350613f438461477a565b94506000613f4f6132b1565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015613fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fd291906150e3565b90508061401b57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b0388166044820152606401610828565b5050505093509350935093565b600080516020615b8b8339815191528054600160401b810460ff1615906001600160401b031660008115801561405b5750825b90506000826001600160401b031660011480156140775750303b155b905081158015614085575080155b156140a35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156140cd57845460ff60401b1916600160401b1785555b600080878060200190518101906140e49190615b25565b925090506140f2818a6138a6565b61410263a6812b7960e01b610974565b5050831561231557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161230c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156141d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526141fd9190810190615839565b925061421383604001518560ff90811691161490565b6142555760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156142ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526142d39190810190615839565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561431c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143409190615128565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561438d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143b191906150e3565b156143e057608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036144225783828161441857614418615b54565b0492505050611228565b8084116144695760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806144e96001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa158015614531573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614555919061510b565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156145b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145d491906150e3565b156145fd5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006146116001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614660573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146889190810190615839565b90508060400151925060006146a56001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156146fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526147229190810190615839565b90506147348160400151613b21604690565b1561476b576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b60008061478f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156147de573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148069190810190615839565b608001519392505050565b60006020828403121561482357600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b8381101561485657818101518382015260200161483e565b50506000910152565b6000815180845261487781602086016020860161483b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516148f460c08401826001600160a01b03169052565b5060c083015160e08084015261490e61010084018261485f565b949350505050565b6001600160601b03811681146125ca57600080fd5b6001600160c01b0319811681146125ca57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b038111828210171561497a5761497a614941565b60405290565b604080519081016001600160401b038111828210171561497a5761497a614941565b60405160e081016001600160401b038111828210171561497a5761497a614941565b60405160a081016001600160401b038111828210171561497a5761497a614941565b60405161012081016001600160401b038111828210171561497a5761497a614941565b604051601f8201601f191681016001600160401b0381118282101715614a3157614a31614941565b604052919050565b60006101e08284031215614a4c57600080fd5b614a54614957565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614b1057600080fd5b8335614b1b81614916565b92506020840135614b2b8161492b565b9150614b3a8560408601614a39565b90509250925092565b60008060408385031215614b5657600080fd5b8235614b6181614916565b91506020830135614b718161492b565b809150509250929050565b6001600160a01b03811681146125ca57600080fd5b60ff811681146125ca57600080fd5b80151581146125ca57600080fd5b8035614bb981614ba0565b919050565b60006001600160401b03821115614bd757614bd7614941565b50601f01601f191660200190565b600082601f830112614bf657600080fd5b8135614c09614c0482614bbe565b614a09565b818152846020838601011115614c1e57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614c5457600080fd5b8635614c5f81614b7c565b95506020870135614c6f81614916565b94506040870135614c7f81614b91565b93506060870135614c8f81614ba0565b92506080870135614c9f81614b7c565b915060a08701356001600160401b03811115614cba57600080fd5b614cc689828a01614be5565b9150509295509295509295565b63ffffffff811681146125ca57600080fd5b60008060008060008060008060006101208a8c031215614d0457600080fd5b89356001600160401b0380821115614d1b57600080fd5b614d278d838e01614be5565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614d4e82614cd3565b90955060a08b013590614d6082614cd3565b819550614d6f60c08d01614bae565b9450614d7d60e08d01614bae565b93506101008c0135915080821115614d9457600080fd5b50614da18c828d01614be5565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614dd857600080fd5b81356001600160401b03811115614dee57600080fd5b61490e84828501614be5565b600080600060608486031215614e0f57600080fd5b8335614e1a81614916565b92506020840135614e2a8161492b565b915060408401356001600160401b03811115614e4557600080fd5b614e5186828701614be5565b9150509250925092565b600060208284031215614e6d57600080fd5b813561122881614b7c565b60008060408385031215614e8b57600080fd5b8235614e9681614b7c565b915060208301356001600160401b03811115614eb157600080fd5b614ebd85828601614be5565b9150509250929050565b600080600060608486031215614edc57600080fd5b8335614e1a81614b7c565b64ffffffffff811681146125ca57600080fd5b60008060008060008060c08789031215614f1357600080fd5b8635614f1e81614916565b955060208701356001600160401b0380821115614f3a57600080fd5b614f468a838b01614be5565b96506040890135955060608901359150614f5f82614cd3565b909350608088013590614f7182614ee7565b90925060a08801359080821115614f8757600080fd5b50614cc689828a01614be5565b600060408284031215614fa657600080fd5b614fae614980565b9050813581526020820135602082015292915050565b60008060808385031215614fd757600080fd5b614fe18484614f94565b9150614ff08460408501614f94565b90509250929050565b600080600080610240858703121561501057600080fd5b843561501b81614916565b9350602085013561502b8161492b565b925061503a8660408701614a39565b939692955092936102200135925050565b6000806040838503121561505e57600080fd5b823561506981614b7c565b91506020830135614b7181614b7c565b60006020828403121561508b57600080fd5b815162ffffff8116811461122857600080fd5b600181811c908216806150b257607f821691505b6020821081036150d257634e487b7160e01b600052602260045260246000fd5b50919050565b8051614bb981614ba0565b6000602082840312156150f557600080fd5b815161122881614ba0565b8051614bb981614916565b60006020828403121561511d57600080fd5b815161122881614916565b60006020828403121561513a57600080fd5b815161122881614b7c565b60006040828403121561515757600080fd5b61515f614980565b9050815181526020820151602082015292915050565b8051614bb981614b7c565b6000610100828403121561519357600080fd5b60405160c081018181106001600160401b03821117156151b5576151b5614941565b60405282516151c381614916565b815260208301516151d381614b7c565b60208201526151e58460408501615145565b60408201526151f78460808501615145565b606082015260c083015161520a81614b7c565b608082015260e0929092015160a083015250919050565b60006020828403121561523357600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156115625761156261523a565b600082601f83011261527457600080fd5b8151615282614c0482614bbe565b81815284602083860101111561529757600080fd5b61490e82602083016020870161483b565b8051614bb981614cd3565b8051614bb981614ee7565b6000602082840312156152d057600080fd5b81516001600160401b03808211156152e757600080fd5b9083019060e082860312156152fb57600080fd5b6153036149a2565b61530c83615100565b815260208301518281111561532057600080fd5b61532c87828601615263565b60208301525060408301516040820152615348606084016152a8565b6060820152615359608084016152a8565b608082015261536a60a084016152b3565b60a082015260c08301518281111561538157600080fd5b61538d87828601615263565b60c08301525095945050505050565b6000602082840312156153ae57600080fd5b81516001600160401b03808211156153c557600080fd5b9083019060a082860312156153d957600080fd5b6153e16149c4565b82516153ec8161492b565b815260208301516153fc81614ba0565b602082015260408301518281111561541357600080fd5b61541f87828601615263565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561545757600080fd5b81516001600160401b038082111561546e57600080fd5b90830190610120828603121561548357600080fd5b61548b6149e6565b82518281111561549a57600080fd5b6154a687828601615263565b8252506020830151602082015260408301516040820152606083015160608201526154d3608084016152a8565b60808201526154e460a084016152a8565b60a08201526154f560c084016150d8565b60c082015261550660e084016150d8565b60e0820152610100808401518381111561551f57600080fd5b61552b88828701615263565b918301919091525095945050505050565b818103818111156115625761156261523a565b60006020828403121561556157600080fd5b815161122881614ee7565b601f8211156155b657600081815260208120601f850160051c810160208610156155935750805b601f850160051c820191505b818110156155b25782815560010161559f565b5050505b505050565b81516001600160401b038111156155d4576155d4614941565b6155e8816155e2845461509e565b8461556c565b602080601f83116001811461561d57600084156156055750858301515b600019600386901b1c1916600185901b1785556155b2565b600085815260208120601f198616915b8281101561564c5788860151825594840194600190910190840161562d565b508582101561566a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b038316815260406020820152600061490e604083018461485f565b6000602082840312156156ae57600080fd5b81516112288161492b565b82815260406020820152600082516101208060408501526156de61016085018361485f565b91506020850151606085015260408501516080850152606085015160a0850152608085015161571560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061573d8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152615766828261485f565b9695505050505050565b6001600160401b03811681146125ca57600080fd5b60006020828403121561579757600080fd5b815161122881615770565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526157d960a085018261485f565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b038416815260606020820152600061581b60608301856157a2565b905060ff83166040830152949350505050565b8051614bb981614b91565b60006020828403121561584b57600080fd5b81516001600160401b038082111561586257600080fd5b9083019060e0828603121561587657600080fd5b61587e6149a2565b61588783615100565b815261589560208401615100565b60208201526158a66040840161582e565b60408201526158b7606084016150d8565b60608201526158c860808401615175565b608082015261536a60a08401615175565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b0383168152610120810161122860208301846158d9565b60006020828403121561597357600080fd5b81516001600160401b0381111561598957600080fd5b61490e84828501615263565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906159c89083018461485f565b95945050505050565b6001600160601b038316815260406020820152600061490e60408301846157a2565b602081526000611228602083018461485f565b6001600160601b0381511682526000602082015160e06020850152615a2e60e085018261485f565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526159c8828261485f565b82815260406020820152600061490e6040830184615a06565b6001600160601b03841681526101408101615ab960208301856158d9565b60ff8316610120830152949350505050565b600060208284031215615add57600080fd5b815161122881614b91565b63ffffffff818116838216019080821115615b0557615b0561523a565b5092915050565b83815260606020820152600061581b6060830185615a06565b60008060408385031215615b3857600080fd5b8251615b4381614b7c565b6020840151909250614b7181614b7c565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220918a28bf57c3e233ca99c1ba0b335d02a9680353403e0a5a8e20a43ce711599164736f6c63430008140033",
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": 18012
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": 17782
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
+ }