@etherisc/gif-next 0.0.2-dc7e4cb-141 → 0.0.2-dc95063-418

Sign up to get free protection for your applications and to get access to all the features.
Files changed (479) hide show
  1. package/README.md +314 -11
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1319 -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} +279 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +869 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +714 -116
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +512 -61
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1112 -143
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +957 -105
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1420 -1090
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +567 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2263 -1267
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1311 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1279 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1033 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +701 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → ISetup.sol/ISetup.json} +2 -2
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1732 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +205 -153
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +508 -155
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -101
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/service/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  213. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/Component.sol +251 -0
  221. package/contracts/components/Distribution.sol +280 -0
  222. package/contracts/components/IComponent.sol +74 -0
  223. package/contracts/components/IDistributionComponent.sol +71 -0
  224. package/contracts/components/IPoolComponent.sol +98 -42
  225. package/contracts/components/IProductComponent.sol +30 -9
  226. package/contracts/components/Pool.sol +232 -107
  227. package/contracts/components/Product.sol +218 -42
  228. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  229. package/contracts/instance/BundleManager.sol +127 -0
  230. package/contracts/instance/Cloneable.sol +51 -0
  231. package/contracts/instance/IInstance.sol +87 -42
  232. package/contracts/instance/IInstanceService.sol +72 -0
  233. package/contracts/instance/Instance.sol +311 -50
  234. package/contracts/instance/InstanceAccessManager.sol +522 -0
  235. package/contracts/instance/InstanceReader.sol +290 -0
  236. package/contracts/instance/InstanceService.sol +495 -0
  237. package/contracts/instance/InstanceServiceManager.sol +54 -0
  238. package/contracts/instance/ObjectManager.sol +82 -0
  239. package/contracts/instance/base/ComponentService.sol +134 -0
  240. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  241. package/contracts/instance/base/ILifecycle.sol +30 -0
  242. package/contracts/instance/base/KeyValueStore.sol +175 -0
  243. package/contracts/instance/base/Lifecycle.sol +109 -0
  244. package/contracts/instance/module/IAccess.sol +54 -0
  245. package/contracts/instance/module/IBundle.sol +21 -0
  246. package/contracts/instance/module/IComponents.sol +35 -0
  247. package/contracts/instance/module/IDistribution.sol +41 -0
  248. package/contracts/instance/module/IPolicy.sol +72 -0
  249. package/contracts/instance/module/IRisk.sol +11 -0
  250. package/contracts/instance/module/ISetup.sol +33 -0
  251. package/contracts/instance/module/ITreasury.sol +23 -0
  252. package/contracts/instance/service/ApplicationService.sol +350 -0
  253. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  254. package/contracts/instance/service/BundleService.sol +336 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/ClaimService.sol +151 -0
  257. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  258. package/contracts/instance/service/DistributionService.sol +467 -0
  259. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  260. package/contracts/instance/service/IApplicationService.sol +82 -0
  261. package/contracts/instance/service/IBundleService.sol +62 -0
  262. package/contracts/instance/service/IClaimService.sol +61 -0
  263. package/contracts/instance/service/IDistributionService.sol +98 -0
  264. package/contracts/instance/service/IPolicyService.sol +72 -0
  265. package/contracts/instance/service/IPoolService.sol +22 -17
  266. package/contracts/instance/service/IProductService.sol +21 -39
  267. package/contracts/instance/service/PolicyService.sol +403 -0
  268. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  269. package/contracts/instance/service/PoolService.sol +184 -87
  270. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  271. package/contracts/instance/service/ProductService.sol +176 -290
  272. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  273. package/contracts/registry/ChainNft.sol +87 -36
  274. package/contracts/registry/IRegistry.sol +68 -24
  275. package/contracts/registry/IRegistryService.sol +67 -0
  276. package/contracts/registry/ITransferInterceptor.sol +7 -0
  277. package/contracts/registry/Registry.sol +372 -286
  278. package/contracts/registry/RegistryAccessManager.sol +216 -0
  279. package/contracts/registry/RegistryService.sol +283 -0
  280. package/contracts/registry/RegistryServiceManager.sol +62 -0
  281. package/contracts/registry/ReleaseManager.sol +322 -0
  282. package/contracts/registry/TokenRegistry.sol +116 -0
  283. package/contracts/shared/ContractDeployerLib.sol +72 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/INftOwnable.sol +23 -0
  286. package/contracts/shared/IPolicyHolder.sol +26 -0
  287. package/contracts/shared/IRegisterable.sol +10 -19
  288. package/contracts/shared/IRegistryLinked.sol +12 -0
  289. package/contracts/shared/IService.sol +18 -0
  290. package/contracts/shared/IVersionable.sol +38 -37
  291. package/contracts/shared/NftOwnable.sol +120 -0
  292. package/contracts/shared/PolicyHolder.sol +81 -0
  293. package/contracts/shared/ProxyManager.sol +169 -0
  294. package/contracts/shared/Registerable.sol +54 -66
  295. package/contracts/shared/RegistryLinked.sol +48 -0
  296. package/contracts/shared/Service.sol +58 -0
  297. package/contracts/shared/TokenHandler.sol +33 -0
  298. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  299. package/contracts/shared/Versionable.sol +38 -68
  300. package/contracts/test/TestFee.sol +2 -2
  301. package/contracts/test/TestRegisterable.sol +5 -6
  302. package/contracts/test/TestRoleId.sol +2 -2
  303. package/contracts/test/TestService.sol +7 -14
  304. package/contracts/types/Blocknumber.sol +1 -0
  305. package/contracts/types/ClaimId.sol +52 -0
  306. package/contracts/types/DistributorType.sol +55 -0
  307. package/contracts/types/Fee.sol +11 -5
  308. package/contracts/types/Key32.sol +50 -0
  309. package/contracts/types/NftId.sol +24 -1
  310. package/contracts/types/NftIdSet.sol +26 -24
  311. package/contracts/types/NumberId.sol +52 -0
  312. package/contracts/types/ObjectType.sol +56 -14
  313. package/contracts/types/PayoutId.sol +54 -0
  314. package/contracts/types/Referral.sol +89 -0
  315. package/contracts/types/RiskId.sol +43 -0
  316. package/contracts/types/RoleId.sol +72 -11
  317. package/contracts/types/Seconds.sol +54 -0
  318. package/contracts/types/StateId.sol +13 -2
  319. package/contracts/types/Timestamp.sol +17 -13
  320. package/contracts/types/UFixed.sol +129 -12
  321. package/contracts/types/Version.sol +14 -1
  322. package/package.json +6 -5
  323. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  324. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  325. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  328. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  330. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  332. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  334. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  336. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  338. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  342. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  345. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  347. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  351. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  353. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  355. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  357. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  358. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  359. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  360. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  361. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  362. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  363. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -313
  364. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  366. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  369. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  371. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  374. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  376. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  378. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  380. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  382. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  384. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  386. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  388. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  391. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  394. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  396. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  399. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  401. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  403. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  404. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  406. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  409. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  410. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  411. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  412. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  413. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  414. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  415. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  417. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  418. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  419. package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
  420. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  421. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  422. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  423. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  424. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  425. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  426. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  427. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  428. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  429. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  430. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  431. package/contracts/components/BaseComponent.sol +0 -89
  432. package/contracts/components/IBaseComponent.sol +0 -19
  433. package/contracts/experiment/errors/Require.sol +0 -38
  434. package/contracts/experiment/errors/Revert.sol +0 -44
  435. package/contracts/experiment/inheritance/A.sol +0 -53
  436. package/contracts/experiment/inheritance/B.sol +0 -28
  437. package/contracts/experiment/inheritance/C.sol +0 -34
  438. package/contracts/experiment/inheritance/IA.sol +0 -13
  439. package/contracts/experiment/inheritance/IB.sol +0 -10
  440. package/contracts/experiment/inheritance/IC.sol +0 -12
  441. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  442. package/contracts/experiment/statemachine/ISM.sol +0 -25
  443. package/contracts/experiment/statemachine/README.md +0 -112
  444. package/contracts/experiment/statemachine/SM.sol +0 -57
  445. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  446. package/contracts/experiment/types/TypeA.sol +0 -47
  447. package/contracts/experiment/types/TypeB.sol +0 -29
  448. package/contracts/instance/IInstanceLinked.sol +0 -8
  449. package/contracts/instance/IServiceLinked.sol +0 -12
  450. package/contracts/instance/InstanceBase.sol +0 -71
  451. package/contracts/instance/module/access/Access.sol +0 -149
  452. package/contracts/instance/module/access/IAccess.sol +0 -53
  453. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  454. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  455. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  456. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  457. package/contracts/instance/module/component/ComponentModule.sol +0 -103
  458. package/contracts/instance/module/component/IComponent.sol +0 -53
  459. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  460. package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
  461. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  462. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  463. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  464. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  465. package/contracts/instance/module/risk/IRisk.sol +0 -10
  466. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  467. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  468. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  469. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  470. package/contracts/instance/service/ComponentOwnerService.sol +0 -171
  471. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  472. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  473. package/contracts/instance/service/IService.sol +0 -15
  474. package/contracts/instance/service/ServiceBase.sol +0 -39
  475. package/contracts/registry/IChainNft.sol +0 -21
  476. package/contracts/registry/IRegistryLinked.sol +0 -8
  477. package/contracts/shared/IOwnable.sol +0 -6
  478. package/contracts/test/TestPool.sol +0 -22
  479. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,1732 @@
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": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615e9d80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f83660046149d3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b6040516102239190614a4d565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa3660046149d3565b610974565b6102c26102bd366004614cbc565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d05565b61122f565b61026561038c366004614dfd565b611568565b6103a461039f366004614ea7565b6115f4565b6040516102239190614f73565b6102656103bf366004614f88565b611baf565b610265611cfc565b6102656103da366004614fbc565b611d42565b6103f26103ed36600461501d565b611eb0565b6040516001600160601b039091168152602001610223565b61026561041836600461503a565b61234c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004615089565b61244b565b600080516020615e28833981519152546001600160601b03166103f2565b61026561048136600461501d565b6125ec565b61042a6126fa565b6103a461049c3660046150bc565b612831565b61028e600080516020615e2883398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004615186565b6130c1565b61042a613347565b61042a6133de565b6104b9613408565b6102656105043660046151bb565b61347f565b61026561051736600461520d565b6139d3565b61026561052a36600461520d565b613a6b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b4919061523b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061066990615260565b80601f016020809104026020016040519081016040528092919081815260200182805461069590615260565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516126fa565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906152a5565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906152a5565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906152cd565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c613ae2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a2585613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c91906152ea565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615342565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9791906153e3565b8451613c9e565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906153e3565b61014089018190526020890180519192508291610c31908390615412565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614f73565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce49190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061555e565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614f73565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615607565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5791906153e3565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5091906153e3565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda91906153e3565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d391906153e3565b6101c08d0181905260208701516101608e01526110f082876156fe565b6110fa91906156fe565b6101808d01526101c08c015160208d015161111591906156fe565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615412565b6111b49190615412565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d85613b1b565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a591906152ea565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614f73565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113159190810190615480565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906152a5565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906152a5565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906152a5565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115259190615711565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b611570613ae2565b61157a8287613a6b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea838261577d565b5050505050505050565b6000806000611601613cb3565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a91906152ea565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615342565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176691906153e3565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee91906153e3565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906152a5565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e591906153e3565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195991906153e3565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061583c565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061585e565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614f73565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8091906153e3565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906152a5565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b908590859060040161587b565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615947565b600080516020615e488339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613cfd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d04613ae2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613cb3565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db491906152ea565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061555e565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016159bb565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613d05565b613d7d565b93509350935093506000611edb613347565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f5591908101906159fb565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615342565b6040518363ffffffff1660e01b8152600401612046929190615b05565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b5060009250600291506120849050565b6040519080825280602002602001820160405280156120b757816020015b60608152602001906001900390816120a25790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106120eb576120eb615b23565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061212a5761212a615b23565b602002602001018190525063b6b412ba60e01b8160008151811061215057612150615b23565b602002602001015160008151811061216a5761216a615b23565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106121a1576121a1615b23565b60200260200101516000815181106121bb576121bb615b23565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506121ff613d05565b8160008151811061221257612212615b23565b60200260200101906001600160401b031690816001600160401b03168152505061223a6141ae565b8160018151811061224d5761224d615b23565b60200260200101906001600160401b031690816001600160401b0316815250506122756133de565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122eb9190810190615b39565b86866040518663ffffffff1660e01b815260040161230d959493929190615bb1565b600060405180830381600087803b15801561232757600080fd5b505af115801561233b573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561237f5750825b90506000826001600160401b0316600114801561239b5750303b155b9050811580156123a9575080155b156123c75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156123f157845460ff60401b1916600160401b1785555b6123fb87876141ea565b831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612458613cb3565b9250925050612465613347565b6001600160a01b03166357a8fba76040518060e00160405280612486600090565b6001600160601b03168152602001856001600160601b031681526020016124ab607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161250a9190614a4d565b6020604051808303816000875af1158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d91906152cd565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906125b09087908590600401615c85565b600060405180830381600087803b1580156125ca57600080fd5b505af11580156125de573d6000803e3d6000fd5b505050505050509392505050565b6125f4613ae2565b806001600160a01b03163b60000361262a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156126a4575060408051601f3d908101601f191682019092526126a1918101906152a5565b60015b6126cc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806126f55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561276a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278e91906152a5565b1561281b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061281591906152ea565b91505090565b54600160601b90046001600160a01b0316919050565b600080600061283e613cb3565b925092505087516000036128675787604051634fad6a5360e11b81526004016108289190615ca7565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156128bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e191906152a5565b156129085760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296c91906152ea565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156129bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e7919081019061555e565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612a1c908590600401614f73565b600060405180830381865afa158015612a39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a619190810190615607565b90508963ffffffff16816080015163ffffffff161015612aa2576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612bbe576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2891906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9c91906153e3565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612cda576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4491906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb891906153e3565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d529190615711565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dcd91906153e3565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4791906153e3565b612e5191906156fe565b1115612efd5760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed691906153e3565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612f3692919061583c565b602060405180830381865af4158015612f53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f77919061585e565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b815260040161301f9190614f73565b602060405180830381865af415801561303c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306091906153e3565b836040518363ffffffff1660e01b815260040161307e929190615d3f565b600060405180830381600087803b15801561309857600080fd5b505af11580156130ac573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156131db578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561311e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314291906153e3565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b991906153e3565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806131e86078614308565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561322c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325091906152ea565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa1580156132a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132cb9190615342565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d19061330c908590859060ff90600401615d58565b600060405180830381600087803b15801561332657600080fd5b505af115801561333a573d6000803e3d6000fd5b5050505050505050505050565b60008061335c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b613375613408565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156133ba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156291906152ea565b6000806133f36001546001600160a01b031690565b6001600160a01b031663d39e6043604661336d565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561345b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615d88565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906134c3906001600160c01b0319881690600401614f73565b602060405180830381865af41580156134e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350491906152a5565b1590506000613513868661122f565b9050818015613520575080155b1561355957604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b600061356487613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135cb91906152ea565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016135fb9190614f73565b600060405180830381865afa158015613618573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136409190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613696573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136be919081019061555e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa158015613712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137369190615342565b905060008961018001518a61016001516137509190615412565b6101a08b01519091506137638183615412565b8a1461379657896137748284615412565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b811561381557818360a0018181516137ae9190615412565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016137e293929190615d58565b600060405180830381600087803b1580156137fc57600080fd5b505af1158015613810573d6000803e3d6000fd5b505050505b88156139c45760018560800181815161382e9190615da5565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016138959190614f73565b602060405180830381865af41580156138b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d691906153e3565b8760ff6040518463ffffffff1660e01b81526004016138f793929190615dc9565b600060405180830381600087803b15801561391157600080fd5b505af1158015613925573d6000803e3d6000fd5b5050505060008111156139c45780846060018181516139449190615412565b9052506080840180516001919061395c908390615412565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139919190889060ff906004016159bb565b600060405180830381600087803b1580156139ab57600080fd5b505af11580156139bf573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6139db613ae2565b613a5b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a4191906152cd565b603c60008560405180602001604052806000815250611568565b6126f5637b6a51fd60e01b610974565b613a73613ae2565b613a7c816125ec565b613a84611cfc565b6001600160a01b038216613aab5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e2883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615e4883398151915254600160401b900460ff16613b1957604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613b326001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613ba991908101906159fb565b90506000613bbf6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c3c91908101906159fb565b9050613c5a8160400151613c4e604690565b60ff9081169116141590565b15613c91576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006145aa565b600080600080613cc1614694565b9296509094509092509050613cd7816078613c4e565b15613cf757604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e5613ae2565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613d59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615947565b600033818080613d956001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e0191906152cd565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613e5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8091906152a5565b15613eb75760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613f05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2991906152a5565b613f51576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613f91573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fb991908101906159fb565b9050613fd081604001518960ff9081169116141590565b15614010576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b03868116908216146140625760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b816020015193506140728461493c565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d891906152ea565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015614133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415791906152a5565b9050806141a057604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610828565b505050505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613d3c565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561421d5750825b90506000826001600160401b031660011480156142395750303b155b905081158015614247575080155b156142655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561428f57845460ff60401b1916600160401b1785555b600080878060200190518101906142a69190615de2565b925090506142b4818a6139d3565b6142c463a6812b7960e01b610974565b5050831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001612439565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614397573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526143bf91908101906159fb565b92506143d583604001518560ff90811691161490565b6144175760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561446d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261449591908101906159fb565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156144de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061450291906152ea565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561454f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061457391906152a5565b156145a257608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036145e4578382816145da576145da615e11565b0492505050611228565b80841161462b5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806146ab6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156146f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061471791906152cd565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015614772573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061479691906152a5565b156147bf5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006147d36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614822573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261484a91908101906159fb565b90508060400151925060006148676001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156148bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148e491908101906159fb565b90506148f68160400151613c4e604690565b1561492d576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b6000806149516001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156149a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526149c891908101906159fb565b608001519392505050565b6000602082840312156149e557600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b83811015614a18578181015183820152602001614a00565b50506000910152565b60008151808452614a398160208601602086016149fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614ab660c08401826001600160a01b03169052565b5060c083015160e080840152614ad0610100840182614a21565b949350505050565b6001600160601b03811681146126f757600080fd5b6001600160c01b0319811681146126f757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405290565b604080519081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160a081016001600160401b0381118282101715614b3c57614b3c614b03565b60405161012081016001600160401b0381118282101715614b3c57614b3c614b03565b604051601f8201601f191681016001600160401b0381118282101715614bf357614bf3614b03565b604052919050565b60006101e08284031215614c0e57600080fd5b614c16614b19565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614cd257600080fd5b8335614cdd81614ad8565b92506020840135614ced81614aed565b9150614cfc8560408601614bfb565b90509250925092565b60008060408385031215614d1857600080fd5b8235614d2381614ad8565b91506020830135614d3381614aed565b809150509250929050565b6001600160a01b03811681146126f757600080fd5b60ff811681146126f757600080fd5b80151581146126f757600080fd5b8035614d7b81614d62565b919050565b60006001600160401b03821115614d9957614d99614b03565b50601f01601f191660200190565b600082601f830112614db857600080fd5b8135614dcb614dc682614d80565b614bcb565b818152846020838601011115614de057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e1657600080fd5b8635614e2181614d3e565b95506020870135614e3181614ad8565b94506040870135614e4181614d53565b93506060870135614e5181614d62565b92506080870135614e6181614d3e565b915060a08701356001600160401b03811115614e7c57600080fd5b614e8889828a01614da7565b9150509295509295509295565b63ffffffff811681146126f757600080fd5b60008060008060008060008060006101208a8c031215614ec657600080fd5b89356001600160401b0380821115614edd57600080fd5b614ee98d838e01614da7565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f1082614e95565b90955060a08b013590614f2282614e95565b819550614f3160c08d01614d70565b9450614f3f60e08d01614d70565b93506101008c0135915080821115614f5657600080fd5b50614f638c828d01614da7565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614f9a57600080fd5b81356001600160401b03811115614fb057600080fd5b614ad084828501614da7565b600080600060608486031215614fd157600080fd5b8335614fdc81614ad8565b92506020840135614fec81614aed565b915060408401356001600160401b0381111561500757600080fd5b61501386828701614da7565b9150509250925092565b60006020828403121561502f57600080fd5b813561122881614d3e565b6000806040838503121561504d57600080fd5b823561505881614d3e565b915060208301356001600160401b0381111561507357600080fd5b61507f85828601614da7565b9150509250929050565b60008060006060848603121561509e57600080fd5b8335614fdc81614d3e565b64ffffffffff811681146126f757600080fd5b60008060008060008060c087890312156150d557600080fd5b86356150e081614ad8565b955060208701356001600160401b03808211156150fc57600080fd5b6151088a838b01614da7565b9650604089013595506060890135915061512182614e95565b909350608088013590615133826150a9565b90925060a0880135908082111561514957600080fd5b50614e8889828a01614da7565b60006040828403121561516857600080fd5b615170614b42565b9050813581526020820135602082015292915050565b6000806080838503121561519957600080fd5b6151a38484615156565b91506151b28460408501615156565b90509250929050565b60008060008061024085870312156151d257600080fd5b84356151dd81614ad8565b935060208501356151ed81614aed565b92506151fc8660408701614bfb565b939692955092936102200135925050565b6000806040838503121561522057600080fd5b823561522b81614d3e565b91506020830135614d3381614d3e565b60006020828403121561524d57600080fd5b815162ffffff8116811461122857600080fd5b600181811c9082168061527457607f821691505b60208210810361529457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614d7b81614d62565b6000602082840312156152b757600080fd5b815161122881614d62565b8051614d7b81614ad8565b6000602082840312156152df57600080fd5b815161122881614ad8565b6000602082840312156152fc57600080fd5b815161122881614d3e565b60006040828403121561531957600080fd5b615321614b42565b9050815181526020820151602082015292915050565b8051614d7b81614d3e565b6000610100828403121561535557600080fd5b60405160c081018181106001600160401b038211171561537757615377614b03565b604052825161538581614ad8565b8152602083015161539581614d3e565b60208201526153a78460408501615307565b60408201526153b98460808501615307565b606082015260c08301516153cc81614d3e565b608082015260e0929092015160a083015250919050565b6000602082840312156153f557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611562576115626153fc565b600082601f83011261543657600080fd5b8151615444614dc682614d80565b81815284602083860101111561545957600080fd5b614ad08260208301602087016149fd565b8051614d7b81614e95565b8051614d7b816150a9565b60006020828403121561549257600080fd5b81516001600160401b03808211156154a957600080fd5b9083019060e082860312156154bd57600080fd5b6154c5614b64565b6154ce836152c2565b81526020830151828111156154e257600080fd5b6154ee87828601615425565b6020830152506040830151604082015261550a6060840161546a565b606082015261551b6080840161546a565b608082015261552c60a08401615475565b60a082015260c08301518281111561554357600080fd5b61554f87828601615425565b60c08301525095945050505050565b60006020828403121561557057600080fd5b81516001600160401b038082111561558757600080fd5b9083019060a0828603121561559b57600080fd5b6155a3614b86565b82516155ae81614aed565b815260208301516155be81614d62565b60208201526040830151828111156155d557600080fd5b6155e187828601615425565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561561957600080fd5b81516001600160401b038082111561563057600080fd5b90830190610120828603121561564557600080fd5b61564d614ba8565b82518281111561565c57600080fd5b61566887828601615425565b8252506020830151602082015260408301516040820152606083015160608201526156956080840161546a565b60808201526156a660a0840161546a565b60a08201526156b760c0840161529a565b60c08201526156c860e0840161529a565b60e082015261010080840151838111156156e157600080fd5b6156ed88828701615425565b918301919091525095945050505050565b81810381811115611562576115626153fc565b60006020828403121561572357600080fd5b8151611228816150a9565b601f82111561577857600081815260208120601f850160051c810160208610156157555750805b601f850160051c820191505b8181101561577457828155600101615761565b5050505b505050565b81516001600160401b0381111561579657615796614b03565b6157aa816157a48454615260565b8461572e565b602080601f8311600181146157df57600084156157c75750858301515b600019600386901b1c1916600185901b178555615774565b600085815260208120601f198616915b8281101561580e578886015182559484019460019091019084016157ef565b508582101561582c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614ad06040830184614a21565b60006020828403121561587057600080fd5b815161122881614aed565b82815260406020820152600082516101208060408501526158a0610160850183614a21565b91506020850151606085015260408501516080850152606085015160a085015260808501516158d760c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006158ff8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159288282614a21565b9695505050505050565b6001600160401b03811681146126f757600080fd5b60006020828403121561595957600080fd5b815161122881615932565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261599b60a0850182614a21565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b03841681526060602082015260006159dd6060830185615964565b905060ff83166040830152949350505050565b8051614d7b81614d53565b600060208284031215615a0d57600080fd5b81516001600160401b0380821115615a2457600080fd5b9083019060e08286031215615a3857600080fd5b615a40614b64565b615a49836152c2565b8152615a57602084016152c2565b6020820152615a68604084016159f0565b6040820152615a796060840161529a565b6060820152615a8a60808401615337565b608082015261552c60a08401615337565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112286020830184615a9b565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b4b57600080fd5b81516001600160401b03811115615b6157600080fd5b614ad084828501615425565b600081518084526020808501945080840160005b83811015615ba65781516001600160401b031687529582019590820190600101615b81565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615be260a0840187614a21565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615c6057868403601f19018652825180518086529089019089860190845b81811015615c4b5783516001600160e01b0319168352928b0192918b0191600101615c25565b50509689019694505091870191600101615c03565b5050508681036080880152615c758189615b6d565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614ad06040830184615964565b6020815260006112286020830184614a21565b6001600160601b0381511682526000602082015160e06020850152615ce260e0850182614a21565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152615d368282614a21565b95945050505050565b828152604060208201526000614ad06040830184615cba565b6001600160601b03841681526101408101615d766020830185615a9b565b60ff8316610120830152949350505050565b600060208284031215615d9a57600080fd5b815161122881614d53565b63ffffffff818116838216019080821115615dc257615dc26153fc565b5092915050565b8381526060602082015260006159dd6060830185615cba565b60008060408385031215615df557600080fd5b8251615e0081614d3e565b6020840151909250614d3381614d3e565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c88fb75c78fa4a171b3e2a13ace6bf784902ed1f43afe9c06dc2af06af5aeea464736f6c63430008140033",
1323
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635ab1bd531161010f578063b6b412ba116100a2578063d25f509511610071578063d25f5095146104f6578063ea86657214610509578063f21de1e81461041d578063f7c34ee01461051c57600080fd5b8063b6b412ba146104cb578063caf4e3d4146104de578063cc9fc59a146104e6578063cde749f4146104ee57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e578063ada9652e146104a1578063b68d1809146104b657600080fd5b80635ab1bd531461041d5780635dcb3bae14610442578063644c45e014610455578063675393bf1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780633d683fd9146103cc5780634420e486146103df57806349bb9e4b1461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f83660046149d3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461052f565b60405162ffffff9091168152602001610223565b6102506105b9565b6040516102239190614a4d565b61026561076d565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa3660046149d3565b610974565b6102c26102bd366004614cbc565b6109a1565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d05565b61122f565b61026561038c366004614dfd565b611568565b6103a461039f366004614ea7565b6115f4565b6040516102239190614f73565b6102656103bf366004614f88565b611baf565b610265611cfc565b6102656103da366004614fbc565b611d42565b6103f26103ed36600461501d565b611eb0565b6040516001600160601b039091168152602001610223565b61026561041836600461503a565b61234c565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103f2610450366004615089565b61244b565b600080516020615e28833981519152546001600160601b03166103f2565b61026561048136600461501d565b6125ec565b61042a6126fa565b6103a461049c3660046150bc565b612831565b61028e600080516020615e2883398151915281565b60785b60405160ff9091168152602001610223565b6102656104d9366004615186565b6130c1565b61042a613347565b61042a6133de565b6104b9613408565b6102656105043660046151bb565b61347f565b61026561051736600461520d565b6139d3565b61026561052a36600461520d565b613a6b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b4919061523b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061066990615260565b80601f016020809104026020016040519081016040528092919081815260200182805461069590615260565b80156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b50505050508152505090506040518060e00160405280610700600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107516126fa565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906152a5565b156108315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108446001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b091906152a5565b6108d85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610828565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906152cd565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61097c613ae2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000610a2585613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8c91906152ea565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190615342565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b9e9173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b56919060040190815260200190565b602060405180830381865af4158015610b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9791906153e3565b8451613c9e565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906153e3565b61014089018190526020890180519192508291610c31908390615412565b905250610c3e8a8a61122f565b610c705750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611228565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c9f908d90600401614f73565b600060405180830381865afa158015610cbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce49190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038816906327b1d79290602401600060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d62919081019061555e565b80516040516368322c6360e11b81529192506000916001600160a01b038a169163d06458c691610d959190600401614f73565b600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda9190810190615607565b8b516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5791906153e3565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e9a92600401918252602082015260400190565b602060405180830381865af4158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5091906153e3565b6101a08d0181905260208d01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f999160040190815260200190565b602060405180830381865af4158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda91906153e3565b60408086015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c9261101d92600401918252602082015260400190565b602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906153e3565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d391906153e3565b6101c08d0181905260208701516101608e01526110f082876156fe565b6110fa91906156fe565b6101808d01526101c08c015160208d015161111591906156fe565b60408d0152505050506020820151610160890151101561118e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b876101a00151886101800151896101c001516111aa9190615412565b6111b49190615412565b8861014001511461121e5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c401610828565b8796505050505050505b9392505050565b600080600061123d85613b1b565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a591906152ea565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016112d09190614f73565b600060405180830381865afa1580156112ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113159190810190615480565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611373573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139791906152a5565b156113a85760009350505050611562565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142891906152a5565b8061153a575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae91906152a5565b801561153a575061153a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611501573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115259190615711565b8260a0015164ffffffffff9081169116111590565b935083801561155c5750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b611570613ae2565b61157a8287613a6b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115ea838261577d565b5050505050505050565b6000806000611601613cb3565b92509250506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166a91906152ea565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de9190615342565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af4158015611742573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176691906153e3565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af41580156117ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ee91906153e3565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af4158015611848573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186c91906152a5565b1561197b57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e591906153e3565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611935573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195991906153e3565b60405163e2ed03dd60e01b815260048101929092526024820152604401610828565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016119b792919061583c565b602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f8919061585e565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611a3f906001600160c01b0319881690600401614f73565b602060405180830381865af4158015611a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8091906153e3565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec91906152a5565b611b9f5760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890611b6b908590859060040161587b565b600060405180830381600087803b158015611b8557600080fd5b505af1158015611b99573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611bd161052f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190615947565b600080516020615e488339815191528054600160401b900460ff1680611c68575080546001600160401b03808416911610155b15611c865760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611cb083613cfd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611d04613ae2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611d4c613cb3565b925050506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db491906152ea565b6040516313d8ebc960e11b81526001600160601b03871660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e2f919081019061555e565b6001600160c01b031986168152604080820186905251633ed2a38d60e21b81529091506001600160a01b0384169063fb4a8e3490611e76908990859060ff906004016159bb565b600060405180830381600087803b158015611e9057600080fd5b505af1158015611ea4573d6000803e3d6000fd5b50505050505050505050565b600080808080611ec9866078611ec4613d05565b613d7d565b93509350935093506000611edb613347565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611f2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f5591908101906159fb565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f9757600080fd5b505af1158015611fab573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015612005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120299190615342565b6040518363ffffffff1660e01b8152600401612046929190615b05565b600060405180830381600087803b15801561206057600080fd5b505af1158015612074573d6000803e3d6000fd5b5060009250600291506120849050565b6040519080825280602002602001820160405280156120b757816020015b60608152602001906001900390816120a25790505b506040805160018082528183019092529192506020808301908036833701905050816000815181106120eb576120eb615b23565b60209081029190910101526040805160028082526060820190925290816020016020820280368337019050508160018151811061212a5761212a615b23565b602002602001018190525063b6b412ba60e01b8160008151811061215057612150615b23565b602002602001015160008151811061216a5761216a615b23565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106121a1576121a1615b23565b60200260200101516000815181106121bb576121bb615b23565b6001600160e01b03199290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505090506121ff613d05565b8160008151811061221257612212615b23565b60200260200101906001600160401b031690816001600160401b03168152505061223a6141ae565b8160018151811061224d5761224d615b23565b60200260200101906001600160401b031690816001600160401b0316815250506122756133de565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122eb9190810190615b39565b86866040518663ffffffff1660e01b815260040161230d959493929190615bb1565b600060405180830381600087803b15801561232757600080fd5b505af115801561233b573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561237f5750825b90506000826001600160401b0316600114801561239b5750303b155b9050811580156123a9575080155b156123c75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156123f157845460ff60401b1916600160401b1785555b6123fb87876141ea565b831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612458613cb3565b9250925050612465613347565b6001600160a01b03166357a8fba76040518060e00160405280612486600090565b6001600160601b03168152602001856001600160601b031681526020016124ab607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161250a9190614a4d565b6020604051808303816000875af1158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d91906152cd565b6040805160a0810182526001600160c01b0319881681526001602082015280820187905260006060820181905260808201529051635338a4af60e11b8152919450906001600160a01b0383169063a671495e906125b09087908590600401615c85565b600060405180830381600087803b1580156125ca57600080fd5b505af11580156125de573d6000803e3d6000fd5b505050505050509392505050565b6125f4613ae2565b806001600160a01b03163b60000361262a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156126a4575060408051601f3d908101601f191682019092526126a1918101906152a5565b60015b6126cc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610828565b806126f55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610828565b505b50565b600080600080516020615e2883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561276a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278e91906152a5565b1561281b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061281591906152ea565b91505090565b54600160601b90046001600160a01b0316919050565b600080600061283e613cb3565b925092505087516000036128675787604051634fad6a5360e11b81526004016108289190615ca7565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156128bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e191906152a5565b156129085760405163df85467b60e01b815264ffffffffff86166004820152602401610828565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061296c91906152ea565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156129bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e7919081019061555e565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c690612a1c908590600401614f73565b600060405180830381865afa158015612a39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a619190810190615607565b90508963ffffffff16816080015163ffffffff161015612aa2576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610828565b60208101518b1015612bbe576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2891906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9c91906153e3565b6040516338a25a8b60e21b815260048101929092526024820152604401610828565b60408101518b1115612cda576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4491906153e3565b604051632255341b60e11b8152600481018d905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb891906153e3565b604051631e1ea4f360e31b815260048101929092526024820152604401610828565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d529190615711565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dcd91906153e3565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4791906153e3565b612e5191906156fe565b1115612efd5760a0810151604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed691906153e3565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610828565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b8152600401612f3692919061583c565b602060405180830381865af4158015612f53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f77919061585e565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b815260040161301f9190614f73565b602060405180830381865af415801561303c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306091906153e3565b836040518363ffffffff1660e01b815260040161307e929190615d3f565b600060405180830381600087803b15801561309857600080fd5b505af11580156130ac573d6000803e3d6000fd5b50505050505050505050509695505050505050565b8151815110156131db578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561311e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061314291906153e3565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015613195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b991906153e3565b604051631a9c6b0960e01b815260048101929092526024820152604401610828565b6000806131e86078614308565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561322c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325091906152ea565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240161010060405180830381865afa1580156132a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132cb9190615342565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0385169063f7b442d19061330c908590859060ff90600401615d58565b600060405180830381600087803b15801561332657600080fd5b505af115801561333a573d6000803e3d6000fd5b5050505050505050505050565b60008061335c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b613375613408565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156133ba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156291906152ea565b6000806133f36001546001600160a01b031690565b6001600160a01b031663d39e6043604661336d565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561345b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615d88565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf906134c3906001600160c01b0319881690600401614f73565b602060405180830381865af41580156134e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350491906152a5565b1590506000613513868661122f565b9050818015613520575080155b1561355957604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b031986166024820152604401610828565b600061356487613b1b565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135cb91906152ea565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016135fb9190614f73565b600060405180830381865afa158015613618573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136409190810190615480565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa158015613696573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526136be919081019061555e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa158015613712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137369190615342565b905060008961018001518a61016001516137509190615412565b6101a08b01519091506137638183615412565b8a1461379657896137748284615412565b60405163b9d36bcd60e01b815260048101929092526024820152604401610828565b811561381557818360a0018181516137ae9190615412565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b81526004016137e293929190615d58565b600060405180830381600087803b1580156137fc57600080fd5b505af1158015613810573d6000803e3d6000fd5b505050505b88156139c45760018560800181815161382e9190615da5565b91509063ffffffff16908163ffffffff1681525050866001600160a01b031663cf947d208d6001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016138959190614f73565b602060405180830381865af41580156138b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d691906153e3565b8760ff6040518463ffffffff1660e01b81526004016138f793929190615dc9565b600060405180830381600087803b15801561391157600080fd5b505af1158015613925573d6000803e3d6000fd5b5050505060008111156139c45780846060018181516139449190615412565b9052506080840180516001919061395c908390615412565b9052508451604051633ed2a38d60e21b81526001600160a01b0389169163fb4a8e34916139919190889060ff906004016159bb565b600060405180830381600087803b1580156139ab57600080fd5b505af11580156139bf573d6000803e3d6000fd5b505050505b50505050505050505050505050565b6139db613ae2565b613a5b82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a4191906152cd565b603c60008560405180602001604052806000815250611568565b6126f5637b6a51fd60e01b610974565b613a73613ae2565b613a7c816125ec565b613a84611cfc565b6001600160a01b038216613aab5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e2883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615e4883398151915254600160401b900460ff16613b1957604051631afcd79f60e31b815260040160405180910390fd5b565b6000806000613b326001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613b81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613ba991908101906159fb565b90506000613bbf6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c3c91908101906159fb565b9050613c5a8160400151613c4e604690565b60ff9081169116141590565b15613c91576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b6080015192949293505050565b60006112288383670de0b6b3a76400006145aa565b600080600080613cc1614694565b9296509094509092509050613cd7816078613c4e565b15613cf757604051637ab07d8760e01b8152336004820152602401610828565b50909192565b6101e5613ae2565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613d59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b49190615947565b600033818080613d956001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015613ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e0191906152cd565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015613e5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8091906152a5565b15613eb75760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610828565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015613f05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2991906152a5565b613f51576040516359bff0e360e11b81526001600160a01b0389166004820152602401610828565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613f91573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613fb991908101906159fb565b9050613fd081604001518960ff9081169116141590565b15614010576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610828565b60a08101516001600160a01b03868116908216146140625760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610828565b816020015193506140728461493c565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d891906152ea565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015614133573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415791906152a5565b9050806141a057604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610828565b505050505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613d3c565b600080516020615e488339815191528054600160401b810460ff1615906001600160401b031660008115801561421d5750825b90506000826001600160401b031660011480156142395750303b155b905081158015614247575080155b156142655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561428f57845460ff60401b1916600160401b1785555b600080878060200190518101906142a69190615de2565b925090506142b4818a6139d3565b6142c463a6812b7960e01b610974565b5050831561244257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001612439565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614397573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526143bf91908101906159fb565b92506143d583604001518560ff90811691161490565b6144175760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610828565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561446d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261449591908101906159fb565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156144de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061450291906152ea565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561454f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061457391906152a5565b156145a257608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610828565b505050915091565b60008080600019858709858702925082811083820303915050806000036145e4578382816145da576145da615e11565b0492505050611228565b80841161462b5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610828565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b33600080806146ab6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156146f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061471791906152cd565b604051630a4d29dd60e31b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015614772573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061479691906152a5565b156147bf5760405163aec62dbb60e01b81526001600160a01b0385166004820152602401610828565b60006147d36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614822573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261484a91908101906159fb565b90508060400151925060006148676001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156148bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526148e491908101906159fb565b90506148f68160400151613c4e604690565b1561492d576020820151604051637ca4be8f60e11b81526001600160601b0380881660048301529091166024820152604401610828565b80608001519250505090919293565b6000806149516001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156149a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526149c891908101906159fb565b608001519392505050565b6000602082840312156149e557600080fd5b81356001600160e01b03198116811461122857600080fd5b60005b83811015614a18578181015183820152602001614a00565b50506000910152565b60008151808452614a398160208601602086016149fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614ab660c08401826001600160a01b03169052565b5060c083015160e080840152614ad0610100840182614a21565b949350505050565b6001600160601b03811681146126f757600080fd5b6001600160c01b0319811681146126f757600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405290565b604080519081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160e081016001600160401b0381118282101715614b3c57614b3c614b03565b60405160a081016001600160401b0381118282101715614b3c57614b3c614b03565b60405161012081016001600160401b0381118282101715614b3c57614b3c614b03565b604051601f8201601f191681016001600160401b0381118282101715614bf357614bf3614b03565b604052919050565b60006101e08284031215614c0e57600080fd5b614c16614b19565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614cd257600080fd5b8335614cdd81614ad8565b92506020840135614ced81614aed565b9150614cfc8560408601614bfb565b90509250925092565b60008060408385031215614d1857600080fd5b8235614d2381614ad8565b91506020830135614d3381614aed565b809150509250929050565b6001600160a01b03811681146126f757600080fd5b60ff811681146126f757600080fd5b80151581146126f757600080fd5b8035614d7b81614d62565b919050565b60006001600160401b03821115614d9957614d99614b03565b50601f01601f191660200190565b600082601f830112614db857600080fd5b8135614dcb614dc682614d80565b614bcb565b818152846020838601011115614de057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e1657600080fd5b8635614e2181614d3e565b95506020870135614e3181614ad8565b94506040870135614e4181614d53565b93506060870135614e5181614d62565b92506080870135614e6181614d3e565b915060a08701356001600160401b03811115614e7c57600080fd5b614e8889828a01614da7565b9150509295509295509295565b63ffffffff811681146126f757600080fd5b60008060008060008060008060006101208a8c031215614ec657600080fd5b89356001600160401b0380821115614edd57600080fd5b614ee98d838e01614da7565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f1082614e95565b90955060a08b013590614f2282614e95565b819550614f3160c08d01614d70565b9450614f3f60e08d01614d70565b93506101008c0135915080821115614f5657600080fd5b50614f638c828d01614da7565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215614f9a57600080fd5b81356001600160401b03811115614fb057600080fd5b614ad084828501614da7565b600080600060608486031215614fd157600080fd5b8335614fdc81614ad8565b92506020840135614fec81614aed565b915060408401356001600160401b0381111561500757600080fd5b61501386828701614da7565b9150509250925092565b60006020828403121561502f57600080fd5b813561122881614d3e565b6000806040838503121561504d57600080fd5b823561505881614d3e565b915060208301356001600160401b0381111561507357600080fd5b61507f85828601614da7565b9150509250929050565b60008060006060848603121561509e57600080fd5b8335614fdc81614d3e565b64ffffffffff811681146126f757600080fd5b60008060008060008060c087890312156150d557600080fd5b86356150e081614ad8565b955060208701356001600160401b03808211156150fc57600080fd5b6151088a838b01614da7565b9650604089013595506060890135915061512182614e95565b909350608088013590615133826150a9565b90925060a0880135908082111561514957600080fd5b50614e8889828a01614da7565b60006040828403121561516857600080fd5b615170614b42565b9050813581526020820135602082015292915050565b6000806080838503121561519957600080fd5b6151a38484615156565b91506151b28460408501615156565b90509250929050565b60008060008061024085870312156151d257600080fd5b84356151dd81614ad8565b935060208501356151ed81614aed565b92506151fc8660408701614bfb565b939692955092936102200135925050565b6000806040838503121561522057600080fd5b823561522b81614d3e565b91506020830135614d3381614d3e565b60006020828403121561524d57600080fd5b815162ffffff8116811461122857600080fd5b600181811c9082168061527457607f821691505b60208210810361529457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614d7b81614d62565b6000602082840312156152b757600080fd5b815161122881614d62565b8051614d7b81614ad8565b6000602082840312156152df57600080fd5b815161122881614ad8565b6000602082840312156152fc57600080fd5b815161122881614d3e565b60006040828403121561531957600080fd5b615321614b42565b9050815181526020820151602082015292915050565b8051614d7b81614d3e565b6000610100828403121561535557600080fd5b60405160c081018181106001600160401b038211171561537757615377614b03565b604052825161538581614ad8565b8152602083015161539581614d3e565b60208201526153a78460408501615307565b60408201526153b98460808501615307565b606082015260c08301516153cc81614d3e565b608082015260e0929092015160a083015250919050565b6000602082840312156153f557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611562576115626153fc565b600082601f83011261543657600080fd5b8151615444614dc682614d80565b81815284602083860101111561545957600080fd5b614ad08260208301602087016149fd565b8051614d7b81614e95565b8051614d7b816150a9565b60006020828403121561549257600080fd5b81516001600160401b03808211156154a957600080fd5b9083019060e082860312156154bd57600080fd5b6154c5614b64565b6154ce836152c2565b81526020830151828111156154e257600080fd5b6154ee87828601615425565b6020830152506040830151604082015261550a6060840161546a565b606082015261551b6080840161546a565b608082015261552c60a08401615475565b60a082015260c08301518281111561554357600080fd5b61554f87828601615425565b60c08301525095945050505050565b60006020828403121561557057600080fd5b81516001600160401b038082111561558757600080fd5b9083019060a0828603121561559b57600080fd5b6155a3614b86565b82516155ae81614aed565b815260208301516155be81614d62565b60208201526040830151828111156155d557600080fd5b6155e187828601615425565b604083015250606083015160608201526080830151608082015280935050505092915050565b60006020828403121561561957600080fd5b81516001600160401b038082111561563057600080fd5b90830190610120828603121561564557600080fd5b61564d614ba8565b82518281111561565c57600080fd5b61566887828601615425565b8252506020830151602082015260408301516040820152606083015160608201526156956080840161546a565b60808201526156a660a0840161546a565b60a08201526156b760c0840161529a565b60c08201526156c860e0840161529a565b60e082015261010080840151838111156156e157600080fd5b6156ed88828701615425565b918301919091525095945050505050565b81810381811115611562576115626153fc565b60006020828403121561572357600080fd5b8151611228816150a9565b601f82111561577857600081815260208120601f850160051c810160208610156157555750805b601f850160051c820191505b8181101561577457828155600101615761565b5050505b505050565b81516001600160401b0381111561579657615796614b03565b6157aa816157a48454615260565b8461572e565b602080601f8311600181146157df57600084156157c75750858301515b600019600386901b1c1916600185901b178555615774565b600085815260208120601f198616915b8281101561580e578886015182559484019460019091019084016157ef565b508582101561582c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614ad06040830184614a21565b60006020828403121561587057600080fd5b815161122881614aed565b82815260406020820152600082516101208060408501526158a0610160850183614a21565b91506020850151606085015260408501516080850152606085015160a085015260808501516158d760c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006158ff8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159288282614a21565b9695505050505050565b6001600160401b03811681146126f757600080fd5b60006020828403121561595957600080fd5b815161122881615932565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a0604085015261599b60a0850182614a21565b905060608301516060850152608083015160808501528091505092915050565b6001600160601b03841681526060602082015260006159dd6060830185615964565b905060ff83166040830152949350505050565b8051614d7b81614d53565b600060208284031215615a0d57600080fd5b81516001600160401b0380821115615a2457600080fd5b9083019060e08286031215615a3857600080fd5b615a40614b64565b615a49836152c2565b8152615a57602084016152c2565b6020820152615a68604084016159f0565b6040820152615a796060840161529a565b6060820152615a8a60808401615337565b608082015261552c60a08401615337565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016112286020830184615a9b565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b4b57600080fd5b81516001600160401b03811115615b6157600080fd5b614ad084828501615425565b600081518084526020808501945080840160005b83811015615ba65781516001600160401b031687529582019590820190600101615b81565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615be260a0840187614a21565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615c6057868403601f19018652825180518086529089019089860190845b81811015615c4b5783516001600160e01b0319168352928b0192918b0191600101615c25565b50509689019694505091870191600101615c03565b5050508681036080880152615c758189615b6d565b9c9b505050505050505050505050565b6001600160601b0383168152604060208201526000614ad06040830184615964565b6020815260006112286020830184614a21565b6001600160601b0381511682526000602082015160e06020850152615ce260e0850182614a21565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152615d368282614a21565b95945050505050565b828152604060208201526000614ad06040830184615cba565b6001600160601b03841681526101408101615d766020830185615a9b565b60ff8316610120830152949350505050565b600060208284031215615d9a57600080fd5b815161122881614d53565b63ffffffff818116838216019080821115615dc257615dc26153fc565b5092915050565b8381526060602082015260006159dd6060830185615cba565b60008060408385031215615df557600080fd5b8251615e0081614d3e565b6020840151909250614d3381614d3e565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c88fb75c78fa4a171b3e2a13ace6bf784902ed1f43afe9c06dc2af06af5aeea464736f6c63430008140033",
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": 10262
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 16136
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 18462
1358
+ }
1359
+ ]
1360
+ },
1361
+ "contracts/types/Referral.sol": {
1362
+ "ReferralLib": [
1363
+ {
1364
+ "length": 20,
1365
+ "start": 12261
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 12495
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 13687
1374
+ },
1375
+ {
1376
+ "length": 20,
1377
+ "start": 14661
1378
+ }
1379
+ ]
1380
+ },
1381
+ "contracts/types/RoleId.sol": {
1382
+ "RoleIdLib": [
1383
+ {
1384
+ "length": 20,
1385
+ "start": 15876
1386
+ },
1387
+ {
1388
+ "length": 20,
1389
+ "start": 17070
1390
+ }
1391
+ ]
1392
+ },
1393
+ "contracts/types/Timestamp.sol": {
1394
+ "TimestampLib": [
1395
+ {
1396
+ "length": 20,
1397
+ "start": 5296
1398
+ },
1399
+ {
1400
+ "length": 20,
1401
+ "start": 5430
1402
+ },
1403
+ {
1404
+ "length": 20,
1405
+ "start": 5536
1406
+ },
1407
+ {
1408
+ "length": 20,
1409
+ "start": 10601
1410
+ },
1411
+ {
1412
+ "length": 20,
1413
+ "start": 11725
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 11861
1418
+ },
1419
+ {
1420
+ "length": 20,
1421
+ "start": 11983
1422
+ },
1423
+ {
1424
+ "length": 20,
1425
+ "start": 12126
1426
+ }
1427
+ ]
1428
+ },
1429
+ "contracts/types/UFixed.sol": {
1430
+ "UFixedLib": [
1431
+ {
1432
+ "length": 20,
1433
+ "start": 3089
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 3227
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 3807
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 3921
1446
+ },
1447
+ {
1448
+ "length": 20,
1449
+ "start": 4056
1450
+ },
1451
+ {
1452
+ "length": 20,
1453
+ "start": 4181
1454
+ },
1455
+ {
1456
+ "length": 20,
1457
+ "start": 4308
1458
+ },
1459
+ {
1460
+ "length": 20,
1461
+ "start": 4443
1462
+ },
1463
+ {
1464
+ "length": 20,
1465
+ "start": 6126
1466
+ },
1467
+ {
1468
+ "length": 20,
1469
+ "start": 6262
1470
+ },
1471
+ {
1472
+ "length": 20,
1473
+ "start": 6388
1474
+ },
1475
+ {
1476
+ "length": 20,
1477
+ "start": 6509
1478
+ },
1479
+ {
1480
+ "length": 20,
1481
+ "start": 6625
1482
+ },
1483
+ {
1484
+ "length": 20,
1485
+ "start": 11184
1486
+ },
1487
+ {
1488
+ "length": 20,
1489
+ "start": 11300
1490
+ },
1491
+ {
1492
+ "length": 20,
1493
+ "start": 11468
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 11584
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 12746
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 12865
1506
+ }
1507
+ ]
1508
+ },
1509
+ "contracts/types/Version.sol": {
1510
+ "VersionLib": [
1511
+ {
1512
+ "length": 20,
1513
+ "start": 1596
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 7319
1518
+ }
1519
+ ],
1520
+ "VersionPartLib": [
1521
+ {
1522
+ "length": 20,
1523
+ "start": 13575
1524
+ }
1525
+ ]
1526
+ }
1527
+ },
1528
+ "deployedLinkReferences": {
1529
+ "contracts/types/DistributorType.sol": {
1530
+ "DistributorTypeLib": [
1531
+ {
1532
+ "length": 20,
1533
+ "start": 6528
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 6669
1538
+ }
1539
+ ]
1540
+ },
1541
+ "contracts/types/NftId.sol": {
1542
+ "NftIdLib": [
1543
+ {
1544
+ "length": 20,
1545
+ "start": 1954
1546
+ },
1547
+ {
1548
+ "length": 20,
1549
+ "start": 4921
1550
+ },
1551
+ {
1552
+ "length": 20,
1553
+ "start": 10032
1554
+ },
1555
+ {
1556
+ "length": 20,
1557
+ "start": 15906
1558
+ },
1559
+ {
1560
+ "length": 20,
1561
+ "start": 18232
1562
+ }
1563
+ ]
1564
+ },
1565
+ "contracts/types/Referral.sol": {
1566
+ "ReferralLib": [
1567
+ {
1568
+ "length": 20,
1569
+ "start": 12031
1570
+ },
1571
+ {
1572
+ "length": 20,
1573
+ "start": 12265
1574
+ },
1575
+ {
1576
+ "length": 20,
1577
+ "start": 13457
1578
+ },
1579
+ {
1580
+ "length": 20,
1581
+ "start": 14431
1582
+ }
1583
+ ]
1584
+ },
1585
+ "contracts/types/RoleId.sol": {
1586
+ "RoleIdLib": [
1587
+ {
1588
+ "length": 20,
1589
+ "start": 15646
1590
+ },
1591
+ {
1592
+ "length": 20,
1593
+ "start": 16840
1594
+ }
1595
+ ]
1596
+ },
1597
+ "contracts/types/Timestamp.sol": {
1598
+ "TimestampLib": [
1599
+ {
1600
+ "length": 20,
1601
+ "start": 5066
1602
+ },
1603
+ {
1604
+ "length": 20,
1605
+ "start": 5200
1606
+ },
1607
+ {
1608
+ "length": 20,
1609
+ "start": 5306
1610
+ },
1611
+ {
1612
+ "length": 20,
1613
+ "start": 10371
1614
+ },
1615
+ {
1616
+ "length": 20,
1617
+ "start": 11495
1618
+ },
1619
+ {
1620
+ "length": 20,
1621
+ "start": 11631
1622
+ },
1623
+ {
1624
+ "length": 20,
1625
+ "start": 11753
1626
+ },
1627
+ {
1628
+ "length": 20,
1629
+ "start": 11896
1630
+ }
1631
+ ]
1632
+ },
1633
+ "contracts/types/UFixed.sol": {
1634
+ "UFixedLib": [
1635
+ {
1636
+ "length": 20,
1637
+ "start": 2859
1638
+ },
1639
+ {
1640
+ "length": 20,
1641
+ "start": 2997
1642
+ },
1643
+ {
1644
+ "length": 20,
1645
+ "start": 3577
1646
+ },
1647
+ {
1648
+ "length": 20,
1649
+ "start": 3691
1650
+ },
1651
+ {
1652
+ "length": 20,
1653
+ "start": 3826
1654
+ },
1655
+ {
1656
+ "length": 20,
1657
+ "start": 3951
1658
+ },
1659
+ {
1660
+ "length": 20,
1661
+ "start": 4078
1662
+ },
1663
+ {
1664
+ "length": 20,
1665
+ "start": 4213
1666
+ },
1667
+ {
1668
+ "length": 20,
1669
+ "start": 5896
1670
+ },
1671
+ {
1672
+ "length": 20,
1673
+ "start": 6032
1674
+ },
1675
+ {
1676
+ "length": 20,
1677
+ "start": 6158
1678
+ },
1679
+ {
1680
+ "length": 20,
1681
+ "start": 6279
1682
+ },
1683
+ {
1684
+ "length": 20,
1685
+ "start": 6395
1686
+ },
1687
+ {
1688
+ "length": 20,
1689
+ "start": 10954
1690
+ },
1691
+ {
1692
+ "length": 20,
1693
+ "start": 11070
1694
+ },
1695
+ {
1696
+ "length": 20,
1697
+ "start": 11238
1698
+ },
1699
+ {
1700
+ "length": 20,
1701
+ "start": 11354
1702
+ },
1703
+ {
1704
+ "length": 20,
1705
+ "start": 12516
1706
+ },
1707
+ {
1708
+ "length": 20,
1709
+ "start": 12635
1710
+ }
1711
+ ]
1712
+ },
1713
+ "contracts/types/Version.sol": {
1714
+ "VersionLib": [
1715
+ {
1716
+ "length": 20,
1717
+ "start": 1366
1718
+ },
1719
+ {
1720
+ "length": 20,
1721
+ "start": 7089
1722
+ }
1723
+ ],
1724
+ "VersionPartLib": [
1725
+ {
1726
+ "length": 20,
1727
+ "start": 13345
1728
+ }
1729
+ ]
1730
+ }
1731
+ }
1732
+ }