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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (550) hide show
  1. package/README.md +249 -39
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +327 -1590
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +478 -1771
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2837 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +94 -127
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +138 -249
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  46. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  49. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  51. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  53. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  55. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  56. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  59. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  60. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  61. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  63. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  64. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +735 -0
  65. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  66. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
  67. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  68. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  69. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  70. package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
  71. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  72. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  73. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  75. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  77. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  78. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  79. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1376 -0
  81. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  82. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  83. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +250 -234
  85. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  86. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +743 -0
  87. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  88. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +651 -0
  89. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  90. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +510 -0
  91. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  92. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +861 -0
  93. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  94. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IProductService.sol/IProductService.json} +222 -156
  95. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  96. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  97. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  99. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  100. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  101. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  103. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  104. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  105. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  107. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  117. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.json +491 -105
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  129. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  131. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  132. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  133. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  134. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +631 -0
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  137. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +636 -0
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  141. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  143. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -37
  145. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  146. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  147. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +157 -156
  149. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  151. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  152. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  153. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  154. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  155. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  157. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +245 -27
  159. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  160. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  161. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  162. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  163. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  165. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  167. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  169. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  170. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  171. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  172. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +628 -0
  173. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  174. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  175. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  176. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  177. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  178. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  179. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  180. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  181. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  182. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  183. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  185. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  187. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  188. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  189. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  191. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  192. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  193. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  195. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  197. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  199. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  201. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  203. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  205. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  207. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  208. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  209. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  211. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
  213. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  214. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  215. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  216. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  217. package/contracts/distribution/Distribution.sol +285 -0
  218. package/contracts/distribution/DistributionService.sol +349 -0
  219. package/contracts/distribution/DistributionServiceManager.sol +51 -0
  220. package/contracts/distribution/IDistributionComponent.sol +71 -0
  221. package/contracts/distribution/IDistributionService.sol +87 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/IInstance.sol +67 -42
  224. package/contracts/instance/IInstanceService.sol +73 -0
  225. package/contracts/instance/Instance.sol +213 -52
  226. package/contracts/instance/InstanceAccessManager.sol +543 -0
  227. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  228. package/contracts/instance/InstanceReader.sol +368 -0
  229. package/contracts/instance/InstanceService.sol +308 -0
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/InstanceStore.sol +211 -0
  232. package/contracts/instance/base/Cloneable.sol +51 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +22 -18
  234. package/contracts/instance/base/ILifecycle.sol +4 -4
  235. package/contracts/instance/base/KeyValueStore.sol +65 -53
  236. package/contracts/instance/base/Lifecycle.sol +42 -17
  237. package/contracts/instance/base/ObjectManager.sol +82 -0
  238. package/contracts/instance/module/IAccess.sol +54 -0
  239. package/contracts/instance/module/IBundle.sol +23 -0
  240. package/contracts/instance/module/IComponents.sol +41 -0
  241. package/contracts/instance/module/IDistribution.sol +42 -0
  242. package/contracts/instance/module/IPolicy.sol +77 -0
  243. package/contracts/instance/module/IRisk.sol +11 -0
  244. package/contracts/instance/module/ISetup.sol +33 -0
  245. package/contracts/instance/module/ITreasury.sol +23 -0
  246. package/contracts/pool/BundleService.sol +382 -0
  247. package/contracts/pool/BundleServiceManager.sol +51 -0
  248. package/contracts/pool/IBundleService.sol +118 -0
  249. package/contracts/pool/IPoolComponent.sol +114 -0
  250. package/contracts/pool/IPoolService.sol +114 -0
  251. package/contracts/pool/Pool.sol +302 -0
  252. package/contracts/pool/PoolService.sol +403 -0
  253. package/contracts/pool/PoolServiceManager.sol +51 -0
  254. package/contracts/product/ApplicationService.sol +186 -0
  255. package/contracts/product/ApplicationServiceManager.sol +35 -0
  256. package/contracts/product/ClaimService.sol +437 -0
  257. package/contracts/product/ClaimServiceManager.sol +35 -0
  258. package/contracts/product/IApplicationService.sol +62 -0
  259. package/contracts/product/IClaimService.sol +90 -0
  260. package/contracts/product/IPolicyService.sol +80 -0
  261. package/contracts/product/IPricingService.sol +37 -0
  262. package/contracts/product/IProductComponent.sol +41 -0
  263. package/contracts/product/IProductService.sol +40 -0
  264. package/contracts/product/PolicyService.sol +376 -0
  265. package/contracts/product/PolicyServiceManager.sol +54 -0
  266. package/contracts/product/PricingService.sol +275 -0
  267. package/contracts/product/PricingServiceManager.sol +51 -0
  268. package/contracts/product/Product.sol +375 -0
  269. package/contracts/product/ProductService.sol +210 -0
  270. package/contracts/product/ProductServiceManager.sol +54 -0
  271. package/contracts/registry/ChainNft.sol +87 -36
  272. package/contracts/registry/IRegistry.sol +71 -27
  273. package/contracts/registry/IRegistryService.sol +66 -0
  274. package/contracts/registry/ITransferInterceptor.sol +7 -0
  275. package/contracts/registry/Registry.sol +372 -286
  276. package/contracts/registry/RegistryAccessManager.sol +216 -0
  277. package/contracts/registry/RegistryService.sol +285 -0
  278. package/contracts/registry/RegistryServiceManager.sol +60 -0
  279. package/contracts/registry/ReleaseManager.sol +328 -0
  280. package/contracts/registry/TokenRegistry.sol +116 -0
  281. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  282. package/contracts/shared/Component.sol +271 -0
  283. package/contracts/shared/ComponentService.sol +150 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/IComponent.sol +90 -0
  286. package/contracts/shared/INftOwnable.sol +23 -0
  287. package/contracts/shared/IPolicyHolder.sol +40 -0
  288. package/contracts/shared/IRegisterable.sol +10 -19
  289. package/contracts/shared/IRegistryLinked.sol +11 -0
  290. package/contracts/shared/IService.sol +18 -0
  291. package/contracts/shared/IVersionable.sol +38 -37
  292. package/contracts/shared/NftOwnable.sol +118 -0
  293. package/contracts/shared/PolicyHolder.sol +94 -0
  294. package/contracts/shared/ProxyManager.sol +169 -0
  295. package/contracts/shared/Registerable.sol +54 -65
  296. package/contracts/shared/RegistryLinked.sol +43 -0
  297. package/contracts/shared/Service.sol +72 -0
  298. package/contracts/shared/TokenHandler.sol +35 -0
  299. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  300. package/contracts/shared/Versionable.sol +38 -68
  301. package/contracts/staking/IStakingService.sol +102 -0
  302. package/contracts/staking/StakeingServiceManager.sol +37 -0
  303. package/contracts/staking/StakingService.sol +166 -0
  304. package/contracts/type/Amount.sol +109 -0
  305. package/contracts/{types → type}/Blocknumber.sol +1 -0
  306. package/contracts/type/ClaimId.sol +75 -0
  307. package/contracts/type/DistributorType.sol +55 -0
  308. package/contracts/type/Fee.sol +65 -0
  309. package/contracts/{types → type}/Key32.sol +8 -3
  310. package/contracts/{types → type}/NftId.sol +8 -0
  311. package/contracts/type/NftIdSet.sol +62 -0
  312. package/contracts/{types → type}/ObjectType.sol +55 -12
  313. package/contracts/type/PayoutId.sol +82 -0
  314. package/contracts/type/Referral.sol +89 -0
  315. package/contracts/type/RiskId.sol +43 -0
  316. package/contracts/type/RoleId.sol +132 -0
  317. package/contracts/type/Seconds.sol +54 -0
  318. package/contracts/{types → type}/StateId.sol +12 -3
  319. package/contracts/{types → type}/Timestamp.sol +22 -13
  320. package/contracts/{types → type}/UFixed.sol +129 -12
  321. package/contracts/{types → type}/Version.sol +14 -1
  322. package/package.json +6 -5
  323. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  324. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  325. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  326. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  327. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  328. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  329. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  330. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  331. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  332. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  333. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  334. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  335. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  337. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  339. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  343. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  345. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  347. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  349. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  351. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  353. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  355. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  359. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  361. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  365. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  367. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  369. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  370. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  371. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  372. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  373. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  374. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  375. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  377. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  378. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  379. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  380. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  381. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  383. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  386. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  388. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  391. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  393. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  394. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  395. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  397. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -241
  399. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  401. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -241
  403. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  406. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  408. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  410. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  412. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  414. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  415. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  417. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  418. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  419. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  420. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  422. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  423. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  424. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  426. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -507
  428. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  429. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  430. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  431. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  432. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  433. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  434. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  435. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  436. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  437. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  438. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  439. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  440. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  441. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  442. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  443. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  444. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  445. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  446. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  447. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  448. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  449. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  450. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  451. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  452. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  453. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  454. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  455. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  456. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  457. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  458. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  459. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  460. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  461. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  462. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  465. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  467. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  469. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  470. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  471. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  474. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  476. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  477. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  478. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  479. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  480. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  482. package/contracts/components/BaseComponent.sol +0 -88
  483. package/contracts/components/IBaseComponent.sol +0 -19
  484. package/contracts/components/IPoolComponent.sol +0 -57
  485. package/contracts/components/IProductComponent.sol +0 -19
  486. package/contracts/components/Pool.sol +0 -174
  487. package/contracts/components/Product.sol +0 -117
  488. package/contracts/experiment/errors/Require.sol +0 -38
  489. package/contracts/experiment/errors/Revert.sol +0 -44
  490. package/contracts/experiment/inheritance/A.sol +0 -53
  491. package/contracts/experiment/inheritance/B.sol +0 -28
  492. package/contracts/experiment/inheritance/C.sol +0 -34
  493. package/contracts/experiment/inheritance/IA.sol +0 -13
  494. package/contracts/experiment/inheritance/IB.sol +0 -10
  495. package/contracts/experiment/inheritance/IC.sol +0 -12
  496. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  497. package/contracts/experiment/statemachine/ISM.sol +0 -25
  498. package/contracts/experiment/statemachine/README.md +0 -112
  499. package/contracts/experiment/statemachine/SM.sol +0 -57
  500. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  501. package/contracts/experiment/types/TypeA.sol +0 -47
  502. package/contracts/experiment/types/TypeB.sol +0 -29
  503. package/contracts/instance/IInstanceLinked.sol +0 -8
  504. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  505. package/contracts/instance/base/IInstanceBase.sol +0 -14
  506. package/contracts/instance/base/IService.sol +0 -15
  507. package/contracts/instance/base/InstanceBase.sol +0 -80
  508. package/contracts/instance/base/ModuleBase.sol +0 -52
  509. package/contracts/instance/base/ServiceBase.sol +0 -37
  510. package/contracts/instance/module/access/Access.sol +0 -149
  511. package/contracts/instance/module/access/IAccess.sol +0 -53
  512. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  513. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  514. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  515. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  516. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  517. package/contracts/instance/module/component/IComponent.sol +0 -63
  518. package/contracts/instance/module/policy/IPolicy.sol +0 -61
  519. package/contracts/instance/module/policy/PolicyModule.sol +0 -77
  520. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  521. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  522. package/contracts/instance/module/risk/IRisk.sol +0 -10
  523. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  524. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  525. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  526. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  527. package/contracts/instance/service/ComponentOwnerService.sol +0 -176
  528. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  529. package/contracts/instance/service/IPoolService.sol +0 -30
  530. package/contracts/instance/service/IProductService.sol +0 -58
  531. package/contracts/instance/service/PoolService.sol +0 -123
  532. package/contracts/instance/service/ProductService.sol +0 -354
  533. package/contracts/registry/IChainNft.sol +0 -21
  534. package/contracts/registry/IRegistryLinked.sol +0 -8
  535. package/contracts/shared/IOwnable.sol +0 -6
  536. package/contracts/test/TestFee.sol +0 -25
  537. package/contracts/test/TestPool.sol +0 -22
  538. package/contracts/test/TestProduct.sol +0 -44
  539. package/contracts/test/TestRegisterable.sol +0 -19
  540. package/contracts/test/TestRoleId.sol +0 -14
  541. package/contracts/test/TestService.sol +0 -32
  542. package/contracts/test/TestToken.sol +0 -26
  543. package/contracts/test/TestVersion.sol +0 -44
  544. package/contracts/test/TestVersionable.sol +0 -17
  545. package/contracts/test/Usdc.sol +0 -26
  546. package/contracts/types/ChainId.sol +0 -38
  547. package/contracts/types/Fee.sol +0 -51
  548. package/contracts/types/NftIdSet.sol +0 -60
  549. package/contracts/types/RoleId.sol +0 -38
  550. /package/contracts/{types → type}/AddressSet.sol +0 -0
@@ -0,0 +1,2837 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceStore",
4
+ "sourceName": "contracts/instance/InstanceStore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "ObjectType",
48
+ "name": "objectType",
49
+ "type": "uint8"
50
+ },
51
+ {
52
+ "internalType": "StateId",
53
+ "name": "fromStateId",
54
+ "type": "uint8"
55
+ },
56
+ {
57
+ "internalType": "StateId",
58
+ "name": "toStateId",
59
+ "type": "uint8"
60
+ }
61
+ ],
62
+ "name": "ErrorInvalidStateTransition",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "Key32",
69
+ "name": "key",
70
+ "type": "bytes32"
71
+ },
72
+ {
73
+ "internalType": "ObjectType",
74
+ "name": "objectType",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ErrorKeyValueStoreAlreadyCreated",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "Key32",
85
+ "name": "key",
86
+ "type": "bytes32"
87
+ }
88
+ ],
89
+ "name": "ErrorKeyValueStoreNotExisting",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "Key32",
96
+ "name": "key",
97
+ "type": "bytes32"
98
+ }
99
+ ],
100
+ "name": "ErrorKeyValueStoreStateZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "ObjectType",
107
+ "name": "objectType",
108
+ "type": "uint8"
109
+ }
110
+ ],
111
+ "name": "ErrorKeyValueStoreTypeUndefined",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "NftId",
118
+ "name": "nftId",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "ObjectType",
123
+ "name": "objectType",
124
+ "type": "uint8"
125
+ }
126
+ ],
127
+ "name": "ErrorNoLifecycle",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "InvalidInitialization",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInitializing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": false,
145
+ "internalType": "address",
146
+ "name": "authority",
147
+ "type": "address"
148
+ }
149
+ ],
150
+ "name": "AuthorityUpdated",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": false,
158
+ "internalType": "uint64",
159
+ "name": "version",
160
+ "type": "uint64"
161
+ }
162
+ ],
163
+ "name": "Initialized",
164
+ "type": "event"
165
+ },
166
+ {
167
+ "anonymous": false,
168
+ "inputs": [
169
+ {
170
+ "indexed": false,
171
+ "internalType": "ObjectType",
172
+ "name": "objectType",
173
+ "type": "uint8"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "KeyId",
178
+ "name": "keyId",
179
+ "type": "bytes31"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "StateId",
184
+ "name": "state",
185
+ "type": "uint8"
186
+ },
187
+ {
188
+ "indexed": false,
189
+ "internalType": "address",
190
+ "name": "createdBy",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "txOrigin",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "name": "LogInfoCreated",
201
+ "type": "event"
202
+ },
203
+ {
204
+ "anonymous": false,
205
+ "inputs": [
206
+ {
207
+ "indexed": false,
208
+ "internalType": "ObjectType",
209
+ "name": "objectType",
210
+ "type": "uint8"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "KeyId",
215
+ "name": "keyId",
216
+ "type": "bytes31"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "StateId",
221
+ "name": "state",
222
+ "type": "uint8"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "address",
227
+ "name": "updatedBy",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "txOrigin",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "Blocknumber",
239
+ "name": "lastUpdatedIn",
240
+ "type": "uint32"
241
+ }
242
+ ],
243
+ "name": "LogInfoUpdated",
244
+ "type": "event"
245
+ },
246
+ {
247
+ "anonymous": false,
248
+ "inputs": [
249
+ {
250
+ "indexed": false,
251
+ "internalType": "ObjectType",
252
+ "name": "objectType",
253
+ "type": "uint8"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "KeyId",
258
+ "name": "keyId",
259
+ "type": "bytes31"
260
+ },
261
+ {
262
+ "indexed": false,
263
+ "internalType": "StateId",
264
+ "name": "stateOld",
265
+ "type": "uint8"
266
+ },
267
+ {
268
+ "indexed": false,
269
+ "internalType": "StateId",
270
+ "name": "stateNew",
271
+ "type": "uint8"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "address",
276
+ "name": "updatedBy",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "address",
282
+ "name": "txOrigin",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "Blocknumber",
288
+ "name": "lastUpdatedIn",
289
+ "type": "uint32"
290
+ }
291
+ ],
292
+ "name": "LogStateUpdated",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "authority",
298
+ "outputs": [
299
+ {
300
+ "internalType": "address",
301
+ "name": "",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [
310
+ {
311
+ "internalType": "ObjectType",
312
+ "name": "objectType",
313
+ "type": "uint8"
314
+ },
315
+ {
316
+ "internalType": "StateId",
317
+ "name": "fromId",
318
+ "type": "uint8"
319
+ },
320
+ {
321
+ "internalType": "StateId",
322
+ "name": "toId",
323
+ "type": "uint8"
324
+ }
325
+ ],
326
+ "name": "checkTransition",
327
+ "outputs": [],
328
+ "stateMutability": "view",
329
+ "type": "function"
330
+ },
331
+ {
332
+ "inputs": [
333
+ {
334
+ "internalType": "NftId",
335
+ "name": "applicationNftId",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "components": [
340
+ {
341
+ "internalType": "NftId",
342
+ "name": "productNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "internalType": "NftId",
347
+ "name": "bundleNftId",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "ReferralId",
352
+ "name": "referralId",
353
+ "type": "bytes8"
354
+ },
355
+ {
356
+ "internalType": "RiskId",
357
+ "name": "riskId",
358
+ "type": "bytes8"
359
+ },
360
+ {
361
+ "internalType": "Amount",
362
+ "name": "sumInsuredAmount",
363
+ "type": "uint96"
364
+ },
365
+ {
366
+ "internalType": "Amount",
367
+ "name": "premiumAmount",
368
+ "type": "uint96"
369
+ },
370
+ {
371
+ "internalType": "Amount",
372
+ "name": "premiumPaidAmount",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "internalType": "Seconds",
377
+ "name": "lifetime",
378
+ "type": "uint40"
379
+ },
380
+ {
381
+ "internalType": "bytes",
382
+ "name": "applicationData",
383
+ "type": "bytes"
384
+ },
385
+ {
386
+ "internalType": "bytes",
387
+ "name": "policyData",
388
+ "type": "bytes"
389
+ },
390
+ {
391
+ "internalType": "uint16",
392
+ "name": "claimsCount",
393
+ "type": "uint16"
394
+ },
395
+ {
396
+ "internalType": "uint16",
397
+ "name": "openClaimsCount",
398
+ "type": "uint16"
399
+ },
400
+ {
401
+ "internalType": "Amount",
402
+ "name": "claimAmount",
403
+ "type": "uint96"
404
+ },
405
+ {
406
+ "internalType": "Amount",
407
+ "name": "payoutAmount",
408
+ "type": "uint96"
409
+ },
410
+ {
411
+ "internalType": "Timestamp",
412
+ "name": "activatedAt",
413
+ "type": "uint40"
414
+ },
415
+ {
416
+ "internalType": "Timestamp",
417
+ "name": "expiredAt",
418
+ "type": "uint40"
419
+ },
420
+ {
421
+ "internalType": "Timestamp",
422
+ "name": "closedAt",
423
+ "type": "uint40"
424
+ }
425
+ ],
426
+ "internalType": "struct IPolicy.PolicyInfo",
427
+ "name": "policy",
428
+ "type": "tuple"
429
+ }
430
+ ],
431
+ "name": "createApplication",
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "NftId",
440
+ "name": "bundleNftId",
441
+ "type": "uint96"
442
+ },
443
+ {
444
+ "components": [
445
+ {
446
+ "internalType": "NftId",
447
+ "name": "poolNftId",
448
+ "type": "uint96"
449
+ },
450
+ {
451
+ "components": [
452
+ {
453
+ "internalType": "UFixed",
454
+ "name": "fractionalFee",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "fixedFee",
460
+ "type": "uint256"
461
+ }
462
+ ],
463
+ "internalType": "struct Fee",
464
+ "name": "fee",
465
+ "type": "tuple"
466
+ },
467
+ {
468
+ "internalType": "bytes",
469
+ "name": "filter",
470
+ "type": "bytes"
471
+ },
472
+ {
473
+ "internalType": "Amount",
474
+ "name": "capitalAmount",
475
+ "type": "uint96"
476
+ },
477
+ {
478
+ "internalType": "Amount",
479
+ "name": "lockedAmount",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "Amount",
484
+ "name": "feeAmount",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "internalType": "Seconds",
489
+ "name": "lifetime",
490
+ "type": "uint40"
491
+ },
492
+ {
493
+ "internalType": "Timestamp",
494
+ "name": "expiredAt",
495
+ "type": "uint40"
496
+ },
497
+ {
498
+ "internalType": "Timestamp",
499
+ "name": "closedAt",
500
+ "type": "uint40"
501
+ }
502
+ ],
503
+ "internalType": "struct IBundle.BundleInfo",
504
+ "name": "bundle",
505
+ "type": "tuple"
506
+ }
507
+ ],
508
+ "name": "createBundle",
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "NftId",
517
+ "name": "policyNftId",
518
+ "type": "uint96"
519
+ },
520
+ {
521
+ "internalType": "ClaimId",
522
+ "name": "claimId",
523
+ "type": "uint16"
524
+ },
525
+ {
526
+ "components": [
527
+ {
528
+ "internalType": "Amount",
529
+ "name": "claimAmount",
530
+ "type": "uint96"
531
+ },
532
+ {
533
+ "internalType": "Amount",
534
+ "name": "paidAmount",
535
+ "type": "uint96"
536
+ },
537
+ {
538
+ "internalType": "uint8",
539
+ "name": "payoutsCount",
540
+ "type": "uint8"
541
+ },
542
+ {
543
+ "internalType": "uint8",
544
+ "name": "openPayoutsCount",
545
+ "type": "uint8"
546
+ },
547
+ {
548
+ "internalType": "bytes",
549
+ "name": "data",
550
+ "type": "bytes"
551
+ },
552
+ {
553
+ "internalType": "Timestamp",
554
+ "name": "closedAt",
555
+ "type": "uint40"
556
+ }
557
+ ],
558
+ "internalType": "struct IPolicy.ClaimInfo",
559
+ "name": "claim",
560
+ "type": "tuple"
561
+ }
562
+ ],
563
+ "name": "createClaim",
564
+ "outputs": [],
565
+ "stateMutability": "nonpayable",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [
570
+ {
571
+ "internalType": "NftId",
572
+ "name": "distributionNftId",
573
+ "type": "uint96"
574
+ },
575
+ {
576
+ "components": [
577
+ {
578
+ "internalType": "NftId",
579
+ "name": "productNftId",
580
+ "type": "uint96"
581
+ },
582
+ {
583
+ "internalType": "contract TokenHandler",
584
+ "name": "tokenHandler",
585
+ "type": "address"
586
+ },
587
+ {
588
+ "components": [
589
+ {
590
+ "internalType": "UFixed",
591
+ "name": "fractionalFee",
592
+ "type": "uint256"
593
+ },
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "fixedFee",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "internalType": "struct Fee",
601
+ "name": "minDistributionOwnerFee",
602
+ "type": "tuple"
603
+ },
604
+ {
605
+ "components": [
606
+ {
607
+ "internalType": "UFixed",
608
+ "name": "fractionalFee",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "fixedFee",
614
+ "type": "uint256"
615
+ }
616
+ ],
617
+ "internalType": "struct Fee",
618
+ "name": "distributionFee",
619
+ "type": "tuple"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "wallet",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "sumDistributionOwnerFees",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "internalType": "struct ISetup.DistributionSetupInfo",
633
+ "name": "setup",
634
+ "type": "tuple"
635
+ }
636
+ ],
637
+ "name": "createDistributionSetup",
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "NftId",
646
+ "name": "distributorNftId",
647
+ "type": "uint96"
648
+ },
649
+ {
650
+ "components": [
651
+ {
652
+ "internalType": "DistributorType",
653
+ "name": "distributorType",
654
+ "type": "bytes8"
655
+ },
656
+ {
657
+ "internalType": "bool",
658
+ "name": "active",
659
+ "type": "bool"
660
+ },
661
+ {
662
+ "internalType": "bytes",
663
+ "name": "data",
664
+ "type": "bytes"
665
+ },
666
+ {
667
+ "internalType": "Amount",
668
+ "name": "commissionAmount",
669
+ "type": "uint96"
670
+ },
671
+ {
672
+ "internalType": "uint32",
673
+ "name": "numPoliciesSold",
674
+ "type": "uint32"
675
+ }
676
+ ],
677
+ "internalType": "struct IDistribution.DistributorInfo",
678
+ "name": "info",
679
+ "type": "tuple"
680
+ }
681
+ ],
682
+ "name": "createDistributor",
683
+ "outputs": [],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ {
690
+ "internalType": "DistributorType",
691
+ "name": "distributorType",
692
+ "type": "bytes8"
693
+ },
694
+ {
695
+ "components": [
696
+ {
697
+ "internalType": "string",
698
+ "name": "name",
699
+ "type": "string"
700
+ },
701
+ {
702
+ "internalType": "UFixed",
703
+ "name": "minDiscountPercentage",
704
+ "type": "uint256"
705
+ },
706
+ {
707
+ "internalType": "UFixed",
708
+ "name": "maxDiscountPercentage",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "UFixed",
713
+ "name": "commissionPercentage",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "uint32",
718
+ "name": "maxReferralCount",
719
+ "type": "uint32"
720
+ },
721
+ {
722
+ "internalType": "uint32",
723
+ "name": "maxReferralLifetime",
724
+ "type": "uint32"
725
+ },
726
+ {
727
+ "internalType": "bool",
728
+ "name": "allowSelfReferrals",
729
+ "type": "bool"
730
+ },
731
+ {
732
+ "internalType": "bool",
733
+ "name": "allowRenewals",
734
+ "type": "bool"
735
+ },
736
+ {
737
+ "internalType": "bytes",
738
+ "name": "data",
739
+ "type": "bytes"
740
+ }
741
+ ],
742
+ "internalType": "struct IDistribution.DistributorTypeInfo",
743
+ "name": "info",
744
+ "type": "tuple"
745
+ }
746
+ ],
747
+ "name": "createDistributorType",
748
+ "outputs": [],
749
+ "stateMutability": "nonpayable",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "policyNftId",
757
+ "type": "uint96"
758
+ },
759
+ {
760
+ "internalType": "PayoutId",
761
+ "name": "payoutId",
762
+ "type": "uint24"
763
+ },
764
+ {
765
+ "components": [
766
+ {
767
+ "internalType": "ClaimId",
768
+ "name": "claimId",
769
+ "type": "uint16"
770
+ },
771
+ {
772
+ "internalType": "Amount",
773
+ "name": "amount",
774
+ "type": "uint96"
775
+ },
776
+ {
777
+ "internalType": "bytes",
778
+ "name": "data",
779
+ "type": "bytes"
780
+ },
781
+ {
782
+ "internalType": "Timestamp",
783
+ "name": "paidAt",
784
+ "type": "uint40"
785
+ }
786
+ ],
787
+ "internalType": "struct IPolicy.PayoutInfo",
788
+ "name": "payout",
789
+ "type": "tuple"
790
+ }
791
+ ],
792
+ "name": "createPayout",
793
+ "outputs": [],
794
+ "stateMutability": "nonpayable",
795
+ "type": "function"
796
+ },
797
+ {
798
+ "inputs": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "poolNftId",
802
+ "type": "uint96"
803
+ },
804
+ {
805
+ "components": [
806
+ {
807
+ "internalType": "string",
808
+ "name": "name",
809
+ "type": "string"
810
+ },
811
+ {
812
+ "internalType": "contract IERC20Metadata",
813
+ "name": "token",
814
+ "type": "address"
815
+ },
816
+ {
817
+ "internalType": "contract TokenHandler",
818
+ "name": "tokenHandler",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "wallet",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "Amount",
828
+ "name": "balanceAmount",
829
+ "type": "uint96"
830
+ },
831
+ {
832
+ "internalType": "Amount",
833
+ "name": "feeAmount",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "internalType": "bytes",
838
+ "name": "data",
839
+ "type": "bytes"
840
+ }
841
+ ],
842
+ "internalType": "struct IComponents.ComponentInfo",
843
+ "name": "info",
844
+ "type": "tuple"
845
+ }
846
+ ],
847
+ "name": "createPoolSetup",
848
+ "outputs": [],
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "NftId",
856
+ "name": "productNftId",
857
+ "type": "uint96"
858
+ },
859
+ {
860
+ "components": [
861
+ {
862
+ "internalType": "contract IERC20Metadata",
863
+ "name": "token",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "contract TokenHandler",
868
+ "name": "tokenHandler",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "NftId",
873
+ "name": "distributionNftId",
874
+ "type": "uint96"
875
+ },
876
+ {
877
+ "internalType": "NftId",
878
+ "name": "poolNftId",
879
+ "type": "uint96"
880
+ },
881
+ {
882
+ "components": [
883
+ {
884
+ "internalType": "UFixed",
885
+ "name": "fractionalFee",
886
+ "type": "uint256"
887
+ },
888
+ {
889
+ "internalType": "uint256",
890
+ "name": "fixedFee",
891
+ "type": "uint256"
892
+ }
893
+ ],
894
+ "internalType": "struct Fee",
895
+ "name": "productFee",
896
+ "type": "tuple"
897
+ },
898
+ {
899
+ "components": [
900
+ {
901
+ "internalType": "UFixed",
902
+ "name": "fractionalFee",
903
+ "type": "uint256"
904
+ },
905
+ {
906
+ "internalType": "uint256",
907
+ "name": "fixedFee",
908
+ "type": "uint256"
909
+ }
910
+ ],
911
+ "internalType": "struct Fee",
912
+ "name": "processingFee",
913
+ "type": "tuple"
914
+ },
915
+ {
916
+ "internalType": "bool",
917
+ "name": "isIntercepting",
918
+ "type": "bool"
919
+ },
920
+ {
921
+ "internalType": "address",
922
+ "name": "wallet",
923
+ "type": "address"
924
+ }
925
+ ],
926
+ "internalType": "struct ISetup.ProductSetupInfo",
927
+ "name": "setup",
928
+ "type": "tuple"
929
+ }
930
+ ],
931
+ "name": "createProductSetup",
932
+ "outputs": [],
933
+ "stateMutability": "nonpayable",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "inputs": [
938
+ {
939
+ "internalType": "ReferralId",
940
+ "name": "referralId",
941
+ "type": "bytes8"
942
+ },
943
+ {
944
+ "components": [
945
+ {
946
+ "internalType": "NftId",
947
+ "name": "distributorNftId",
948
+ "type": "uint96"
949
+ },
950
+ {
951
+ "internalType": "string",
952
+ "name": "referralCode",
953
+ "type": "string"
954
+ },
955
+ {
956
+ "internalType": "UFixed",
957
+ "name": "discountPercentage",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "internalType": "uint32",
962
+ "name": "maxReferrals",
963
+ "type": "uint32"
964
+ },
965
+ {
966
+ "internalType": "uint32",
967
+ "name": "usedReferrals",
968
+ "type": "uint32"
969
+ },
970
+ {
971
+ "internalType": "Timestamp",
972
+ "name": "expiryAt",
973
+ "type": "uint40"
974
+ },
975
+ {
976
+ "internalType": "bytes",
977
+ "name": "data",
978
+ "type": "bytes"
979
+ }
980
+ ],
981
+ "internalType": "struct IDistribution.ReferralInfo",
982
+ "name": "referralInfo",
983
+ "type": "tuple"
984
+ }
985
+ ],
986
+ "name": "createReferral",
987
+ "outputs": [],
988
+ "stateMutability": "nonpayable",
989
+ "type": "function"
990
+ },
991
+ {
992
+ "inputs": [
993
+ {
994
+ "internalType": "RiskId",
995
+ "name": "riskId",
996
+ "type": "bytes8"
997
+ },
998
+ {
999
+ "components": [
1000
+ {
1001
+ "internalType": "NftId",
1002
+ "name": "productNftId",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "bytes",
1007
+ "name": "data",
1008
+ "type": "bytes"
1009
+ }
1010
+ ],
1011
+ "internalType": "struct IRisk.RiskInfo",
1012
+ "name": "risk",
1013
+ "type": "tuple"
1014
+ }
1015
+ ],
1016
+ "name": "createRisk",
1017
+ "outputs": [],
1018
+ "stateMutability": "nonpayable",
1019
+ "type": "function"
1020
+ },
1021
+ {
1022
+ "inputs": [
1023
+ {
1024
+ "internalType": "Key32",
1025
+ "name": "key32",
1026
+ "type": "bytes32"
1027
+ }
1028
+ ],
1029
+ "name": "exists",
1030
+ "outputs": [
1031
+ {
1032
+ "internalType": "bool",
1033
+ "name": "",
1034
+ "type": "bool"
1035
+ }
1036
+ ],
1037
+ "stateMutability": "view",
1038
+ "type": "function"
1039
+ },
1040
+ {
1041
+ "inputs": [
1042
+ {
1043
+ "internalType": "Key32",
1044
+ "name": "key32",
1045
+ "type": "bytes32"
1046
+ }
1047
+ ],
1048
+ "name": "get",
1049
+ "outputs": [
1050
+ {
1051
+ "components": [
1052
+ {
1053
+ "components": [
1054
+ {
1055
+ "internalType": "ObjectType",
1056
+ "name": "objectType",
1057
+ "type": "uint8"
1058
+ },
1059
+ {
1060
+ "internalType": "StateId",
1061
+ "name": "state",
1062
+ "type": "uint8"
1063
+ },
1064
+ {
1065
+ "internalType": "address",
1066
+ "name": "updatedBy",
1067
+ "type": "address"
1068
+ },
1069
+ {
1070
+ "internalType": "Blocknumber",
1071
+ "name": "updatedIn",
1072
+ "type": "uint32"
1073
+ },
1074
+ {
1075
+ "internalType": "Blocknumber",
1076
+ "name": "createdIn",
1077
+ "type": "uint32"
1078
+ }
1079
+ ],
1080
+ "internalType": "struct IKeyValueStore.Metadata",
1081
+ "name": "metadata",
1082
+ "type": "tuple"
1083
+ },
1084
+ {
1085
+ "internalType": "bytes",
1086
+ "name": "data",
1087
+ "type": "bytes"
1088
+ }
1089
+ ],
1090
+ "internalType": "struct IKeyValueStore.Value",
1091
+ "name": "value",
1092
+ "type": "tuple"
1093
+ }
1094
+ ],
1095
+ "stateMutability": "view",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [
1100
+ {
1101
+ "internalType": "Key32",
1102
+ "name": "key32",
1103
+ "type": "bytes32"
1104
+ }
1105
+ ],
1106
+ "name": "getData",
1107
+ "outputs": [
1108
+ {
1109
+ "internalType": "bytes",
1110
+ "name": "data",
1111
+ "type": "bytes"
1112
+ }
1113
+ ],
1114
+ "stateMutability": "view",
1115
+ "type": "function"
1116
+ },
1117
+ {
1118
+ "inputs": [
1119
+ {
1120
+ "internalType": "ObjectType",
1121
+ "name": "objectType",
1122
+ "type": "uint8"
1123
+ }
1124
+ ],
1125
+ "name": "getInitialState",
1126
+ "outputs": [
1127
+ {
1128
+ "internalType": "StateId",
1129
+ "name": "",
1130
+ "type": "uint8"
1131
+ }
1132
+ ],
1133
+ "stateMutability": "view",
1134
+ "type": "function"
1135
+ },
1136
+ {
1137
+ "inputs": [
1138
+ {
1139
+ "internalType": "Key32",
1140
+ "name": "key32",
1141
+ "type": "bytes32"
1142
+ }
1143
+ ],
1144
+ "name": "getMetadata",
1145
+ "outputs": [
1146
+ {
1147
+ "components": [
1148
+ {
1149
+ "internalType": "ObjectType",
1150
+ "name": "objectType",
1151
+ "type": "uint8"
1152
+ },
1153
+ {
1154
+ "internalType": "StateId",
1155
+ "name": "state",
1156
+ "type": "uint8"
1157
+ },
1158
+ {
1159
+ "internalType": "address",
1160
+ "name": "updatedBy",
1161
+ "type": "address"
1162
+ },
1163
+ {
1164
+ "internalType": "Blocknumber",
1165
+ "name": "updatedIn",
1166
+ "type": "uint32"
1167
+ },
1168
+ {
1169
+ "internalType": "Blocknumber",
1170
+ "name": "createdIn",
1171
+ "type": "uint32"
1172
+ }
1173
+ ],
1174
+ "internalType": "struct IKeyValueStore.Metadata",
1175
+ "name": "metadata",
1176
+ "type": "tuple"
1177
+ }
1178
+ ],
1179
+ "stateMutability": "view",
1180
+ "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [
1184
+ {
1185
+ "internalType": "Key32",
1186
+ "name": "key32",
1187
+ "type": "bytes32"
1188
+ }
1189
+ ],
1190
+ "name": "getState",
1191
+ "outputs": [
1192
+ {
1193
+ "internalType": "StateId",
1194
+ "name": "state",
1195
+ "type": "uint8"
1196
+ }
1197
+ ],
1198
+ "stateMutability": "view",
1199
+ "type": "function"
1200
+ },
1201
+ {
1202
+ "inputs": [
1203
+ {
1204
+ "internalType": "ObjectType",
1205
+ "name": "objectType",
1206
+ "type": "uint8"
1207
+ }
1208
+ ],
1209
+ "name": "hasLifecycle",
1210
+ "outputs": [
1211
+ {
1212
+ "internalType": "bool",
1213
+ "name": "",
1214
+ "type": "bool"
1215
+ }
1216
+ ],
1217
+ "stateMutability": "view",
1218
+ "type": "function"
1219
+ },
1220
+ {
1221
+ "inputs": [
1222
+ {
1223
+ "internalType": "address",
1224
+ "name": "instance",
1225
+ "type": "address"
1226
+ }
1227
+ ],
1228
+ "name": "initialize",
1229
+ "outputs": [],
1230
+ "stateMutability": "nonpayable",
1231
+ "type": "function"
1232
+ },
1233
+ {
1234
+ "inputs": [],
1235
+ "name": "initializeLifecycle",
1236
+ "outputs": [],
1237
+ "stateMutability": "nonpayable",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [],
1242
+ "name": "isConsumingScheduledOp",
1243
+ "outputs": [
1244
+ {
1245
+ "internalType": "bytes4",
1246
+ "name": "",
1247
+ "type": "bytes4"
1248
+ }
1249
+ ],
1250
+ "stateMutability": "view",
1251
+ "type": "function"
1252
+ },
1253
+ {
1254
+ "inputs": [
1255
+ {
1256
+ "internalType": "ObjectType",
1257
+ "name": "objectType",
1258
+ "type": "uint8"
1259
+ },
1260
+ {
1261
+ "internalType": "StateId",
1262
+ "name": "fromId",
1263
+ "type": "uint8"
1264
+ },
1265
+ {
1266
+ "internalType": "StateId",
1267
+ "name": "toId",
1268
+ "type": "uint8"
1269
+ }
1270
+ ],
1271
+ "name": "isValidTransition",
1272
+ "outputs": [
1273
+ {
1274
+ "internalType": "bool",
1275
+ "name": "",
1276
+ "type": "bool"
1277
+ }
1278
+ ],
1279
+ "stateMutability": "view",
1280
+ "type": "function"
1281
+ },
1282
+ {
1283
+ "inputs": [
1284
+ {
1285
+ "internalType": "address",
1286
+ "name": "newAuthority",
1287
+ "type": "address"
1288
+ }
1289
+ ],
1290
+ "name": "setAuthority",
1291
+ "outputs": [],
1292
+ "stateMutability": "nonpayable",
1293
+ "type": "function"
1294
+ },
1295
+ {
1296
+ "inputs": [
1297
+ {
1298
+ "internalType": "ObjectType",
1299
+ "name": "objectType",
1300
+ "type": "uint8"
1301
+ },
1302
+ {
1303
+ "internalType": "KeyId",
1304
+ "name": "id",
1305
+ "type": "bytes31"
1306
+ }
1307
+ ],
1308
+ "name": "toKey32",
1309
+ "outputs": [
1310
+ {
1311
+ "internalType": "Key32",
1312
+ "name": "",
1313
+ "type": "bytes32"
1314
+ }
1315
+ ],
1316
+ "stateMutability": "pure",
1317
+ "type": "function"
1318
+ },
1319
+ {
1320
+ "inputs": [
1321
+ {
1322
+ "internalType": "NftId",
1323
+ "name": "applicationNftId",
1324
+ "type": "uint96"
1325
+ },
1326
+ {
1327
+ "components": [
1328
+ {
1329
+ "internalType": "NftId",
1330
+ "name": "productNftId",
1331
+ "type": "uint96"
1332
+ },
1333
+ {
1334
+ "internalType": "NftId",
1335
+ "name": "bundleNftId",
1336
+ "type": "uint96"
1337
+ },
1338
+ {
1339
+ "internalType": "ReferralId",
1340
+ "name": "referralId",
1341
+ "type": "bytes8"
1342
+ },
1343
+ {
1344
+ "internalType": "RiskId",
1345
+ "name": "riskId",
1346
+ "type": "bytes8"
1347
+ },
1348
+ {
1349
+ "internalType": "Amount",
1350
+ "name": "sumInsuredAmount",
1351
+ "type": "uint96"
1352
+ },
1353
+ {
1354
+ "internalType": "Amount",
1355
+ "name": "premiumAmount",
1356
+ "type": "uint96"
1357
+ },
1358
+ {
1359
+ "internalType": "Amount",
1360
+ "name": "premiumPaidAmount",
1361
+ "type": "uint96"
1362
+ },
1363
+ {
1364
+ "internalType": "Seconds",
1365
+ "name": "lifetime",
1366
+ "type": "uint40"
1367
+ },
1368
+ {
1369
+ "internalType": "bytes",
1370
+ "name": "applicationData",
1371
+ "type": "bytes"
1372
+ },
1373
+ {
1374
+ "internalType": "bytes",
1375
+ "name": "policyData",
1376
+ "type": "bytes"
1377
+ },
1378
+ {
1379
+ "internalType": "uint16",
1380
+ "name": "claimsCount",
1381
+ "type": "uint16"
1382
+ },
1383
+ {
1384
+ "internalType": "uint16",
1385
+ "name": "openClaimsCount",
1386
+ "type": "uint16"
1387
+ },
1388
+ {
1389
+ "internalType": "Amount",
1390
+ "name": "claimAmount",
1391
+ "type": "uint96"
1392
+ },
1393
+ {
1394
+ "internalType": "Amount",
1395
+ "name": "payoutAmount",
1396
+ "type": "uint96"
1397
+ },
1398
+ {
1399
+ "internalType": "Timestamp",
1400
+ "name": "activatedAt",
1401
+ "type": "uint40"
1402
+ },
1403
+ {
1404
+ "internalType": "Timestamp",
1405
+ "name": "expiredAt",
1406
+ "type": "uint40"
1407
+ },
1408
+ {
1409
+ "internalType": "Timestamp",
1410
+ "name": "closedAt",
1411
+ "type": "uint40"
1412
+ }
1413
+ ],
1414
+ "internalType": "struct IPolicy.PolicyInfo",
1415
+ "name": "policy",
1416
+ "type": "tuple"
1417
+ },
1418
+ {
1419
+ "internalType": "StateId",
1420
+ "name": "newState",
1421
+ "type": "uint8"
1422
+ }
1423
+ ],
1424
+ "name": "updateApplication",
1425
+ "outputs": [],
1426
+ "stateMutability": "nonpayable",
1427
+ "type": "function"
1428
+ },
1429
+ {
1430
+ "inputs": [
1431
+ {
1432
+ "internalType": "NftId",
1433
+ "name": "applicationNftId",
1434
+ "type": "uint96"
1435
+ },
1436
+ {
1437
+ "internalType": "StateId",
1438
+ "name": "newState",
1439
+ "type": "uint8"
1440
+ }
1441
+ ],
1442
+ "name": "updateApplicationState",
1443
+ "outputs": [],
1444
+ "stateMutability": "nonpayable",
1445
+ "type": "function"
1446
+ },
1447
+ {
1448
+ "inputs": [
1449
+ {
1450
+ "internalType": "NftId",
1451
+ "name": "bundleNftId",
1452
+ "type": "uint96"
1453
+ },
1454
+ {
1455
+ "components": [
1456
+ {
1457
+ "internalType": "NftId",
1458
+ "name": "poolNftId",
1459
+ "type": "uint96"
1460
+ },
1461
+ {
1462
+ "components": [
1463
+ {
1464
+ "internalType": "UFixed",
1465
+ "name": "fractionalFee",
1466
+ "type": "uint256"
1467
+ },
1468
+ {
1469
+ "internalType": "uint256",
1470
+ "name": "fixedFee",
1471
+ "type": "uint256"
1472
+ }
1473
+ ],
1474
+ "internalType": "struct Fee",
1475
+ "name": "fee",
1476
+ "type": "tuple"
1477
+ },
1478
+ {
1479
+ "internalType": "bytes",
1480
+ "name": "filter",
1481
+ "type": "bytes"
1482
+ },
1483
+ {
1484
+ "internalType": "Amount",
1485
+ "name": "capitalAmount",
1486
+ "type": "uint96"
1487
+ },
1488
+ {
1489
+ "internalType": "Amount",
1490
+ "name": "lockedAmount",
1491
+ "type": "uint96"
1492
+ },
1493
+ {
1494
+ "internalType": "Amount",
1495
+ "name": "feeAmount",
1496
+ "type": "uint96"
1497
+ },
1498
+ {
1499
+ "internalType": "Seconds",
1500
+ "name": "lifetime",
1501
+ "type": "uint40"
1502
+ },
1503
+ {
1504
+ "internalType": "Timestamp",
1505
+ "name": "expiredAt",
1506
+ "type": "uint40"
1507
+ },
1508
+ {
1509
+ "internalType": "Timestamp",
1510
+ "name": "closedAt",
1511
+ "type": "uint40"
1512
+ }
1513
+ ],
1514
+ "internalType": "struct IBundle.BundleInfo",
1515
+ "name": "bundle",
1516
+ "type": "tuple"
1517
+ },
1518
+ {
1519
+ "internalType": "StateId",
1520
+ "name": "newState",
1521
+ "type": "uint8"
1522
+ }
1523
+ ],
1524
+ "name": "updateBundle",
1525
+ "outputs": [],
1526
+ "stateMutability": "nonpayable",
1527
+ "type": "function"
1528
+ },
1529
+ {
1530
+ "inputs": [
1531
+ {
1532
+ "internalType": "NftId",
1533
+ "name": "bundleNftId",
1534
+ "type": "uint96"
1535
+ },
1536
+ {
1537
+ "internalType": "StateId",
1538
+ "name": "newState",
1539
+ "type": "uint8"
1540
+ }
1541
+ ],
1542
+ "name": "updateBundleState",
1543
+ "outputs": [],
1544
+ "stateMutability": "nonpayable",
1545
+ "type": "function"
1546
+ },
1547
+ {
1548
+ "inputs": [
1549
+ {
1550
+ "internalType": "NftId",
1551
+ "name": "policyNftId",
1552
+ "type": "uint96"
1553
+ },
1554
+ {
1555
+ "internalType": "ClaimId",
1556
+ "name": "claimId",
1557
+ "type": "uint16"
1558
+ },
1559
+ {
1560
+ "components": [
1561
+ {
1562
+ "internalType": "Amount",
1563
+ "name": "claimAmount",
1564
+ "type": "uint96"
1565
+ },
1566
+ {
1567
+ "internalType": "Amount",
1568
+ "name": "paidAmount",
1569
+ "type": "uint96"
1570
+ },
1571
+ {
1572
+ "internalType": "uint8",
1573
+ "name": "payoutsCount",
1574
+ "type": "uint8"
1575
+ },
1576
+ {
1577
+ "internalType": "uint8",
1578
+ "name": "openPayoutsCount",
1579
+ "type": "uint8"
1580
+ },
1581
+ {
1582
+ "internalType": "bytes",
1583
+ "name": "data",
1584
+ "type": "bytes"
1585
+ },
1586
+ {
1587
+ "internalType": "Timestamp",
1588
+ "name": "closedAt",
1589
+ "type": "uint40"
1590
+ }
1591
+ ],
1592
+ "internalType": "struct IPolicy.ClaimInfo",
1593
+ "name": "claim",
1594
+ "type": "tuple"
1595
+ },
1596
+ {
1597
+ "internalType": "StateId",
1598
+ "name": "newState",
1599
+ "type": "uint8"
1600
+ }
1601
+ ],
1602
+ "name": "updateClaim",
1603
+ "outputs": [],
1604
+ "stateMutability": "nonpayable",
1605
+ "type": "function"
1606
+ },
1607
+ {
1608
+ "inputs": [
1609
+ {
1610
+ "internalType": "NftId",
1611
+ "name": "policyNftId",
1612
+ "type": "uint96"
1613
+ },
1614
+ {
1615
+ "internalType": "ClaimId",
1616
+ "name": "claimId",
1617
+ "type": "uint16"
1618
+ },
1619
+ {
1620
+ "internalType": "StateId",
1621
+ "name": "newState",
1622
+ "type": "uint8"
1623
+ }
1624
+ ],
1625
+ "name": "updateClaimState",
1626
+ "outputs": [],
1627
+ "stateMutability": "nonpayable",
1628
+ "type": "function"
1629
+ },
1630
+ {
1631
+ "inputs": [
1632
+ {
1633
+ "internalType": "NftId",
1634
+ "name": "distributionNftId",
1635
+ "type": "uint96"
1636
+ },
1637
+ {
1638
+ "components": [
1639
+ {
1640
+ "internalType": "NftId",
1641
+ "name": "productNftId",
1642
+ "type": "uint96"
1643
+ },
1644
+ {
1645
+ "internalType": "contract TokenHandler",
1646
+ "name": "tokenHandler",
1647
+ "type": "address"
1648
+ },
1649
+ {
1650
+ "components": [
1651
+ {
1652
+ "internalType": "UFixed",
1653
+ "name": "fractionalFee",
1654
+ "type": "uint256"
1655
+ },
1656
+ {
1657
+ "internalType": "uint256",
1658
+ "name": "fixedFee",
1659
+ "type": "uint256"
1660
+ }
1661
+ ],
1662
+ "internalType": "struct Fee",
1663
+ "name": "minDistributionOwnerFee",
1664
+ "type": "tuple"
1665
+ },
1666
+ {
1667
+ "components": [
1668
+ {
1669
+ "internalType": "UFixed",
1670
+ "name": "fractionalFee",
1671
+ "type": "uint256"
1672
+ },
1673
+ {
1674
+ "internalType": "uint256",
1675
+ "name": "fixedFee",
1676
+ "type": "uint256"
1677
+ }
1678
+ ],
1679
+ "internalType": "struct Fee",
1680
+ "name": "distributionFee",
1681
+ "type": "tuple"
1682
+ },
1683
+ {
1684
+ "internalType": "address",
1685
+ "name": "wallet",
1686
+ "type": "address"
1687
+ },
1688
+ {
1689
+ "internalType": "uint256",
1690
+ "name": "sumDistributionOwnerFees",
1691
+ "type": "uint256"
1692
+ }
1693
+ ],
1694
+ "internalType": "struct ISetup.DistributionSetupInfo",
1695
+ "name": "setup",
1696
+ "type": "tuple"
1697
+ },
1698
+ {
1699
+ "internalType": "StateId",
1700
+ "name": "newState",
1701
+ "type": "uint8"
1702
+ }
1703
+ ],
1704
+ "name": "updateDistributionSetup",
1705
+ "outputs": [],
1706
+ "stateMutability": "nonpayable",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [
1711
+ {
1712
+ "internalType": "NftId",
1713
+ "name": "distributionNftId",
1714
+ "type": "uint96"
1715
+ },
1716
+ {
1717
+ "internalType": "StateId",
1718
+ "name": "newState",
1719
+ "type": "uint8"
1720
+ }
1721
+ ],
1722
+ "name": "updateDistributionSetupState",
1723
+ "outputs": [],
1724
+ "stateMutability": "nonpayable",
1725
+ "type": "function"
1726
+ },
1727
+ {
1728
+ "inputs": [
1729
+ {
1730
+ "internalType": "NftId",
1731
+ "name": "distributorNftId",
1732
+ "type": "uint96"
1733
+ },
1734
+ {
1735
+ "components": [
1736
+ {
1737
+ "internalType": "DistributorType",
1738
+ "name": "distributorType",
1739
+ "type": "bytes8"
1740
+ },
1741
+ {
1742
+ "internalType": "bool",
1743
+ "name": "active",
1744
+ "type": "bool"
1745
+ },
1746
+ {
1747
+ "internalType": "bytes",
1748
+ "name": "data",
1749
+ "type": "bytes"
1750
+ },
1751
+ {
1752
+ "internalType": "Amount",
1753
+ "name": "commissionAmount",
1754
+ "type": "uint96"
1755
+ },
1756
+ {
1757
+ "internalType": "uint32",
1758
+ "name": "numPoliciesSold",
1759
+ "type": "uint32"
1760
+ }
1761
+ ],
1762
+ "internalType": "struct IDistribution.DistributorInfo",
1763
+ "name": "info",
1764
+ "type": "tuple"
1765
+ },
1766
+ {
1767
+ "internalType": "StateId",
1768
+ "name": "newState",
1769
+ "type": "uint8"
1770
+ }
1771
+ ],
1772
+ "name": "updateDistributor",
1773
+ "outputs": [],
1774
+ "stateMutability": "nonpayable",
1775
+ "type": "function"
1776
+ },
1777
+ {
1778
+ "inputs": [
1779
+ {
1780
+ "internalType": "NftId",
1781
+ "name": "distributorNftId",
1782
+ "type": "uint96"
1783
+ },
1784
+ {
1785
+ "internalType": "StateId",
1786
+ "name": "newState",
1787
+ "type": "uint8"
1788
+ }
1789
+ ],
1790
+ "name": "updateDistributorState",
1791
+ "outputs": [],
1792
+ "stateMutability": "nonpayable",
1793
+ "type": "function"
1794
+ },
1795
+ {
1796
+ "inputs": [
1797
+ {
1798
+ "internalType": "DistributorType",
1799
+ "name": "distributorType",
1800
+ "type": "bytes8"
1801
+ },
1802
+ {
1803
+ "components": [
1804
+ {
1805
+ "internalType": "string",
1806
+ "name": "name",
1807
+ "type": "string"
1808
+ },
1809
+ {
1810
+ "internalType": "UFixed",
1811
+ "name": "minDiscountPercentage",
1812
+ "type": "uint256"
1813
+ },
1814
+ {
1815
+ "internalType": "UFixed",
1816
+ "name": "maxDiscountPercentage",
1817
+ "type": "uint256"
1818
+ },
1819
+ {
1820
+ "internalType": "UFixed",
1821
+ "name": "commissionPercentage",
1822
+ "type": "uint256"
1823
+ },
1824
+ {
1825
+ "internalType": "uint32",
1826
+ "name": "maxReferralCount",
1827
+ "type": "uint32"
1828
+ },
1829
+ {
1830
+ "internalType": "uint32",
1831
+ "name": "maxReferralLifetime",
1832
+ "type": "uint32"
1833
+ },
1834
+ {
1835
+ "internalType": "bool",
1836
+ "name": "allowSelfReferrals",
1837
+ "type": "bool"
1838
+ },
1839
+ {
1840
+ "internalType": "bool",
1841
+ "name": "allowRenewals",
1842
+ "type": "bool"
1843
+ },
1844
+ {
1845
+ "internalType": "bytes",
1846
+ "name": "data",
1847
+ "type": "bytes"
1848
+ }
1849
+ ],
1850
+ "internalType": "struct IDistribution.DistributorTypeInfo",
1851
+ "name": "info",
1852
+ "type": "tuple"
1853
+ },
1854
+ {
1855
+ "internalType": "StateId",
1856
+ "name": "newState",
1857
+ "type": "uint8"
1858
+ }
1859
+ ],
1860
+ "name": "updateDistributorType",
1861
+ "outputs": [],
1862
+ "stateMutability": "nonpayable",
1863
+ "type": "function"
1864
+ },
1865
+ {
1866
+ "inputs": [
1867
+ {
1868
+ "internalType": "DistributorType",
1869
+ "name": "distributorType",
1870
+ "type": "bytes8"
1871
+ },
1872
+ {
1873
+ "internalType": "StateId",
1874
+ "name": "newState",
1875
+ "type": "uint8"
1876
+ }
1877
+ ],
1878
+ "name": "updateDistributorTypeState",
1879
+ "outputs": [],
1880
+ "stateMutability": "nonpayable",
1881
+ "type": "function"
1882
+ },
1883
+ {
1884
+ "inputs": [
1885
+ {
1886
+ "internalType": "NftId",
1887
+ "name": "policyNftId",
1888
+ "type": "uint96"
1889
+ },
1890
+ {
1891
+ "internalType": "PayoutId",
1892
+ "name": "payoutId",
1893
+ "type": "uint24"
1894
+ },
1895
+ {
1896
+ "components": [
1897
+ {
1898
+ "internalType": "ClaimId",
1899
+ "name": "claimId",
1900
+ "type": "uint16"
1901
+ },
1902
+ {
1903
+ "internalType": "Amount",
1904
+ "name": "amount",
1905
+ "type": "uint96"
1906
+ },
1907
+ {
1908
+ "internalType": "bytes",
1909
+ "name": "data",
1910
+ "type": "bytes"
1911
+ },
1912
+ {
1913
+ "internalType": "Timestamp",
1914
+ "name": "paidAt",
1915
+ "type": "uint40"
1916
+ }
1917
+ ],
1918
+ "internalType": "struct IPolicy.PayoutInfo",
1919
+ "name": "payout",
1920
+ "type": "tuple"
1921
+ },
1922
+ {
1923
+ "internalType": "StateId",
1924
+ "name": "newState",
1925
+ "type": "uint8"
1926
+ }
1927
+ ],
1928
+ "name": "updatePayout",
1929
+ "outputs": [],
1930
+ "stateMutability": "nonpayable",
1931
+ "type": "function"
1932
+ },
1933
+ {
1934
+ "inputs": [
1935
+ {
1936
+ "internalType": "NftId",
1937
+ "name": "policyNftId",
1938
+ "type": "uint96"
1939
+ },
1940
+ {
1941
+ "internalType": "PayoutId",
1942
+ "name": "payoutId",
1943
+ "type": "uint24"
1944
+ },
1945
+ {
1946
+ "internalType": "StateId",
1947
+ "name": "newState",
1948
+ "type": "uint8"
1949
+ }
1950
+ ],
1951
+ "name": "updatePayoutState",
1952
+ "outputs": [],
1953
+ "stateMutability": "nonpayable",
1954
+ "type": "function"
1955
+ },
1956
+ {
1957
+ "inputs": [
1958
+ {
1959
+ "internalType": "NftId",
1960
+ "name": "policyNftId",
1961
+ "type": "uint96"
1962
+ },
1963
+ {
1964
+ "components": [
1965
+ {
1966
+ "internalType": "NftId",
1967
+ "name": "productNftId",
1968
+ "type": "uint96"
1969
+ },
1970
+ {
1971
+ "internalType": "NftId",
1972
+ "name": "bundleNftId",
1973
+ "type": "uint96"
1974
+ },
1975
+ {
1976
+ "internalType": "ReferralId",
1977
+ "name": "referralId",
1978
+ "type": "bytes8"
1979
+ },
1980
+ {
1981
+ "internalType": "RiskId",
1982
+ "name": "riskId",
1983
+ "type": "bytes8"
1984
+ },
1985
+ {
1986
+ "internalType": "Amount",
1987
+ "name": "sumInsuredAmount",
1988
+ "type": "uint96"
1989
+ },
1990
+ {
1991
+ "internalType": "Amount",
1992
+ "name": "premiumAmount",
1993
+ "type": "uint96"
1994
+ },
1995
+ {
1996
+ "internalType": "Amount",
1997
+ "name": "premiumPaidAmount",
1998
+ "type": "uint96"
1999
+ },
2000
+ {
2001
+ "internalType": "Seconds",
2002
+ "name": "lifetime",
2003
+ "type": "uint40"
2004
+ },
2005
+ {
2006
+ "internalType": "bytes",
2007
+ "name": "applicationData",
2008
+ "type": "bytes"
2009
+ },
2010
+ {
2011
+ "internalType": "bytes",
2012
+ "name": "policyData",
2013
+ "type": "bytes"
2014
+ },
2015
+ {
2016
+ "internalType": "uint16",
2017
+ "name": "claimsCount",
2018
+ "type": "uint16"
2019
+ },
2020
+ {
2021
+ "internalType": "uint16",
2022
+ "name": "openClaimsCount",
2023
+ "type": "uint16"
2024
+ },
2025
+ {
2026
+ "internalType": "Amount",
2027
+ "name": "claimAmount",
2028
+ "type": "uint96"
2029
+ },
2030
+ {
2031
+ "internalType": "Amount",
2032
+ "name": "payoutAmount",
2033
+ "type": "uint96"
2034
+ },
2035
+ {
2036
+ "internalType": "Timestamp",
2037
+ "name": "activatedAt",
2038
+ "type": "uint40"
2039
+ },
2040
+ {
2041
+ "internalType": "Timestamp",
2042
+ "name": "expiredAt",
2043
+ "type": "uint40"
2044
+ },
2045
+ {
2046
+ "internalType": "Timestamp",
2047
+ "name": "closedAt",
2048
+ "type": "uint40"
2049
+ }
2050
+ ],
2051
+ "internalType": "struct IPolicy.PolicyInfo",
2052
+ "name": "policy",
2053
+ "type": "tuple"
2054
+ },
2055
+ {
2056
+ "internalType": "StateId",
2057
+ "name": "newState",
2058
+ "type": "uint8"
2059
+ }
2060
+ ],
2061
+ "name": "updatePolicy",
2062
+ "outputs": [],
2063
+ "stateMutability": "nonpayable",
2064
+ "type": "function"
2065
+ },
2066
+ {
2067
+ "inputs": [
2068
+ {
2069
+ "internalType": "NftId",
2070
+ "name": "policyNftId",
2071
+ "type": "uint96"
2072
+ },
2073
+ {
2074
+ "components": [
2075
+ {
2076
+ "internalType": "NftId",
2077
+ "name": "productNftId",
2078
+ "type": "uint96"
2079
+ },
2080
+ {
2081
+ "internalType": "NftId",
2082
+ "name": "bundleNftId",
2083
+ "type": "uint96"
2084
+ },
2085
+ {
2086
+ "internalType": "ReferralId",
2087
+ "name": "referralId",
2088
+ "type": "bytes8"
2089
+ },
2090
+ {
2091
+ "internalType": "RiskId",
2092
+ "name": "riskId",
2093
+ "type": "bytes8"
2094
+ },
2095
+ {
2096
+ "internalType": "Amount",
2097
+ "name": "sumInsuredAmount",
2098
+ "type": "uint96"
2099
+ },
2100
+ {
2101
+ "internalType": "Amount",
2102
+ "name": "premiumAmount",
2103
+ "type": "uint96"
2104
+ },
2105
+ {
2106
+ "internalType": "Amount",
2107
+ "name": "premiumPaidAmount",
2108
+ "type": "uint96"
2109
+ },
2110
+ {
2111
+ "internalType": "Seconds",
2112
+ "name": "lifetime",
2113
+ "type": "uint40"
2114
+ },
2115
+ {
2116
+ "internalType": "bytes",
2117
+ "name": "applicationData",
2118
+ "type": "bytes"
2119
+ },
2120
+ {
2121
+ "internalType": "bytes",
2122
+ "name": "policyData",
2123
+ "type": "bytes"
2124
+ },
2125
+ {
2126
+ "internalType": "uint16",
2127
+ "name": "claimsCount",
2128
+ "type": "uint16"
2129
+ },
2130
+ {
2131
+ "internalType": "uint16",
2132
+ "name": "openClaimsCount",
2133
+ "type": "uint16"
2134
+ },
2135
+ {
2136
+ "internalType": "Amount",
2137
+ "name": "claimAmount",
2138
+ "type": "uint96"
2139
+ },
2140
+ {
2141
+ "internalType": "Amount",
2142
+ "name": "payoutAmount",
2143
+ "type": "uint96"
2144
+ },
2145
+ {
2146
+ "internalType": "Timestamp",
2147
+ "name": "activatedAt",
2148
+ "type": "uint40"
2149
+ },
2150
+ {
2151
+ "internalType": "Timestamp",
2152
+ "name": "expiredAt",
2153
+ "type": "uint40"
2154
+ },
2155
+ {
2156
+ "internalType": "Timestamp",
2157
+ "name": "closedAt",
2158
+ "type": "uint40"
2159
+ }
2160
+ ],
2161
+ "internalType": "struct IPolicy.PolicyInfo",
2162
+ "name": "policy",
2163
+ "type": "tuple"
2164
+ },
2165
+ {
2166
+ "internalType": "StateId",
2167
+ "name": "newState",
2168
+ "type": "uint8"
2169
+ }
2170
+ ],
2171
+ "name": "updatePolicyClaims",
2172
+ "outputs": [],
2173
+ "stateMutability": "nonpayable",
2174
+ "type": "function"
2175
+ },
2176
+ {
2177
+ "inputs": [
2178
+ {
2179
+ "internalType": "NftId",
2180
+ "name": "policyNftId",
2181
+ "type": "uint96"
2182
+ },
2183
+ {
2184
+ "internalType": "StateId",
2185
+ "name": "newState",
2186
+ "type": "uint8"
2187
+ }
2188
+ ],
2189
+ "name": "updatePolicyState",
2190
+ "outputs": [],
2191
+ "stateMutability": "nonpayable",
2192
+ "type": "function"
2193
+ },
2194
+ {
2195
+ "inputs": [
2196
+ {
2197
+ "internalType": "NftId",
2198
+ "name": "poolNftId",
2199
+ "type": "uint96"
2200
+ },
2201
+ {
2202
+ "components": [
2203
+ {
2204
+ "internalType": "string",
2205
+ "name": "name",
2206
+ "type": "string"
2207
+ },
2208
+ {
2209
+ "internalType": "contract IERC20Metadata",
2210
+ "name": "token",
2211
+ "type": "address"
2212
+ },
2213
+ {
2214
+ "internalType": "contract TokenHandler",
2215
+ "name": "tokenHandler",
2216
+ "type": "address"
2217
+ },
2218
+ {
2219
+ "internalType": "address",
2220
+ "name": "wallet",
2221
+ "type": "address"
2222
+ },
2223
+ {
2224
+ "internalType": "Amount",
2225
+ "name": "balanceAmount",
2226
+ "type": "uint96"
2227
+ },
2228
+ {
2229
+ "internalType": "Amount",
2230
+ "name": "feeAmount",
2231
+ "type": "uint96"
2232
+ },
2233
+ {
2234
+ "internalType": "bytes",
2235
+ "name": "data",
2236
+ "type": "bytes"
2237
+ }
2238
+ ],
2239
+ "internalType": "struct IComponents.ComponentInfo",
2240
+ "name": "info",
2241
+ "type": "tuple"
2242
+ },
2243
+ {
2244
+ "internalType": "StateId",
2245
+ "name": "newState",
2246
+ "type": "uint8"
2247
+ }
2248
+ ],
2249
+ "name": "updatePoolSetup",
2250
+ "outputs": [],
2251
+ "stateMutability": "nonpayable",
2252
+ "type": "function"
2253
+ },
2254
+ {
2255
+ "inputs": [
2256
+ {
2257
+ "internalType": "NftId",
2258
+ "name": "poolNftId",
2259
+ "type": "uint96"
2260
+ },
2261
+ {
2262
+ "internalType": "StateId",
2263
+ "name": "newState",
2264
+ "type": "uint8"
2265
+ }
2266
+ ],
2267
+ "name": "updatePoolSetupState",
2268
+ "outputs": [],
2269
+ "stateMutability": "nonpayable",
2270
+ "type": "function"
2271
+ },
2272
+ {
2273
+ "inputs": [
2274
+ {
2275
+ "internalType": "NftId",
2276
+ "name": "productNftId",
2277
+ "type": "uint96"
2278
+ },
2279
+ {
2280
+ "components": [
2281
+ {
2282
+ "internalType": "contract IERC20Metadata",
2283
+ "name": "token",
2284
+ "type": "address"
2285
+ },
2286
+ {
2287
+ "internalType": "contract TokenHandler",
2288
+ "name": "tokenHandler",
2289
+ "type": "address"
2290
+ },
2291
+ {
2292
+ "internalType": "NftId",
2293
+ "name": "distributionNftId",
2294
+ "type": "uint96"
2295
+ },
2296
+ {
2297
+ "internalType": "NftId",
2298
+ "name": "poolNftId",
2299
+ "type": "uint96"
2300
+ },
2301
+ {
2302
+ "components": [
2303
+ {
2304
+ "internalType": "UFixed",
2305
+ "name": "fractionalFee",
2306
+ "type": "uint256"
2307
+ },
2308
+ {
2309
+ "internalType": "uint256",
2310
+ "name": "fixedFee",
2311
+ "type": "uint256"
2312
+ }
2313
+ ],
2314
+ "internalType": "struct Fee",
2315
+ "name": "productFee",
2316
+ "type": "tuple"
2317
+ },
2318
+ {
2319
+ "components": [
2320
+ {
2321
+ "internalType": "UFixed",
2322
+ "name": "fractionalFee",
2323
+ "type": "uint256"
2324
+ },
2325
+ {
2326
+ "internalType": "uint256",
2327
+ "name": "fixedFee",
2328
+ "type": "uint256"
2329
+ }
2330
+ ],
2331
+ "internalType": "struct Fee",
2332
+ "name": "processingFee",
2333
+ "type": "tuple"
2334
+ },
2335
+ {
2336
+ "internalType": "bool",
2337
+ "name": "isIntercepting",
2338
+ "type": "bool"
2339
+ },
2340
+ {
2341
+ "internalType": "address",
2342
+ "name": "wallet",
2343
+ "type": "address"
2344
+ }
2345
+ ],
2346
+ "internalType": "struct ISetup.ProductSetupInfo",
2347
+ "name": "setup",
2348
+ "type": "tuple"
2349
+ },
2350
+ {
2351
+ "internalType": "StateId",
2352
+ "name": "newState",
2353
+ "type": "uint8"
2354
+ }
2355
+ ],
2356
+ "name": "updateProductSetup",
2357
+ "outputs": [],
2358
+ "stateMutability": "nonpayable",
2359
+ "type": "function"
2360
+ },
2361
+ {
2362
+ "inputs": [
2363
+ {
2364
+ "internalType": "NftId",
2365
+ "name": "productNftId",
2366
+ "type": "uint96"
2367
+ },
2368
+ {
2369
+ "internalType": "StateId",
2370
+ "name": "newState",
2371
+ "type": "uint8"
2372
+ }
2373
+ ],
2374
+ "name": "updateProductSetupState",
2375
+ "outputs": [],
2376
+ "stateMutability": "nonpayable",
2377
+ "type": "function"
2378
+ },
2379
+ {
2380
+ "inputs": [
2381
+ {
2382
+ "internalType": "ReferralId",
2383
+ "name": "referralId",
2384
+ "type": "bytes8"
2385
+ },
2386
+ {
2387
+ "components": [
2388
+ {
2389
+ "internalType": "NftId",
2390
+ "name": "distributorNftId",
2391
+ "type": "uint96"
2392
+ },
2393
+ {
2394
+ "internalType": "string",
2395
+ "name": "referralCode",
2396
+ "type": "string"
2397
+ },
2398
+ {
2399
+ "internalType": "UFixed",
2400
+ "name": "discountPercentage",
2401
+ "type": "uint256"
2402
+ },
2403
+ {
2404
+ "internalType": "uint32",
2405
+ "name": "maxReferrals",
2406
+ "type": "uint32"
2407
+ },
2408
+ {
2409
+ "internalType": "uint32",
2410
+ "name": "usedReferrals",
2411
+ "type": "uint32"
2412
+ },
2413
+ {
2414
+ "internalType": "Timestamp",
2415
+ "name": "expiryAt",
2416
+ "type": "uint40"
2417
+ },
2418
+ {
2419
+ "internalType": "bytes",
2420
+ "name": "data",
2421
+ "type": "bytes"
2422
+ }
2423
+ ],
2424
+ "internalType": "struct IDistribution.ReferralInfo",
2425
+ "name": "referralInfo",
2426
+ "type": "tuple"
2427
+ },
2428
+ {
2429
+ "internalType": "StateId",
2430
+ "name": "newState",
2431
+ "type": "uint8"
2432
+ }
2433
+ ],
2434
+ "name": "updateReferral",
2435
+ "outputs": [],
2436
+ "stateMutability": "nonpayable",
2437
+ "type": "function"
2438
+ },
2439
+ {
2440
+ "inputs": [
2441
+ {
2442
+ "internalType": "ReferralId",
2443
+ "name": "referralId",
2444
+ "type": "bytes8"
2445
+ },
2446
+ {
2447
+ "internalType": "StateId",
2448
+ "name": "newState",
2449
+ "type": "uint8"
2450
+ }
2451
+ ],
2452
+ "name": "updateReferralState",
2453
+ "outputs": [],
2454
+ "stateMutability": "nonpayable",
2455
+ "type": "function"
2456
+ },
2457
+ {
2458
+ "inputs": [
2459
+ {
2460
+ "internalType": "RiskId",
2461
+ "name": "riskId",
2462
+ "type": "bytes8"
2463
+ },
2464
+ {
2465
+ "components": [
2466
+ {
2467
+ "internalType": "NftId",
2468
+ "name": "productNftId",
2469
+ "type": "uint96"
2470
+ },
2471
+ {
2472
+ "internalType": "bytes",
2473
+ "name": "data",
2474
+ "type": "bytes"
2475
+ }
2476
+ ],
2477
+ "internalType": "struct IRisk.RiskInfo",
2478
+ "name": "risk",
2479
+ "type": "tuple"
2480
+ },
2481
+ {
2482
+ "internalType": "StateId",
2483
+ "name": "newState",
2484
+ "type": "uint8"
2485
+ }
2486
+ ],
2487
+ "name": "updateRisk",
2488
+ "outputs": [],
2489
+ "stateMutability": "nonpayable",
2490
+ "type": "function"
2491
+ },
2492
+ {
2493
+ "inputs": [
2494
+ {
2495
+ "internalType": "RiskId",
2496
+ "name": "riskId",
2497
+ "type": "bytes8"
2498
+ },
2499
+ {
2500
+ "internalType": "StateId",
2501
+ "name": "newState",
2502
+ "type": "uint8"
2503
+ }
2504
+ ],
2505
+ "name": "updateRiskState",
2506
+ "outputs": [],
2507
+ "stateMutability": "nonpayable",
2508
+ "type": "function"
2509
+ }
2510
+ ],
2511
+ "bytecode": "0x608060405234801561001057600080fd5b50614875806100206000396000f3fe608060405234801561001057600080fd5b50600436106102f15760003560e01c80638fb360371161019d578063bf1db3f9116100e9578063dee32623116100a2578063f5884fc51161007c578063f5884fc514610552578063f7b442d11461079f578063fbc1a3a0146107b2578063fe1f18d6146107c557600080fd5b8063dee326231461072d578063e9e96c7014610740578063f48016ce1461077e57600080fd5b8063bf1db3f9146106ae578063bf7e214f146106c1578063c4d66de8146106e1578063ca0e7f08146106f4578063d2f21a2914610707578063d5c9d77d1461071a57600080fd5b8063a284222911610156578063a76ee01811610130578063a76ee01814610662578063a898967514610675578063af90250014610688578063b6d7cd621461069b57600080fd5b8063a28422291461058b578063a4eeee591461059e578063a5961b4c146105b157600080fd5b80638fb360371461051e57806397affbf51461053f578063985aeba7146105525780639e90178c14610565578063a1ef60e914610578578063a1fc10041461055257600080fd5b806338a699a41161025c5780635d4345cc116102155780637cca1124116101ef5780637cca1124146104c55780637cef4842146104d857806381c2b282146104eb5780638eaa6ac0146104fe57600080fd5b80635d4345cc1461039657806361105e0e1461049f5780637a9e5e4b146104b257600080fd5b806338a699a41461041b57806340529b0f1461043e578063468bce061461045157806354f6127f1461045957806359852426146104795780635a8416b01461048c57600080fd5b80631e40b363116102ae5780631e40b363146103a957806329e63f62146103bc5780632a8ea7ac146103cf5780632f61088a146103e257806330a130ba146103f55780633870a7701461040857600080fd5b806309648a9d146102f65780630cbc6b89146103355780630d3581811461034a5780630f526f7d146103705780630f6c29ef146103835780630fad0eb114610396575b600080fd5b61031e610304366004612ad1565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610348610343366004612d1b565b6107d8565b005b61031e610358366004612d67565b60ff9081166000908152602081905260409020541690565b61034861037e366004612d84565b61081e565b610348610391366004612f38565b61083f565b6103486103a4366004612d84565b61086c565b6103486103b736600461309e565b610883565b6103486103ca36600461319c565b6108ab565b6103486103dd36600461336e565b6108d2565b6103486103f0366004613417565b61090e565b61034861040336600461352f565b6109ae565b610348610416366004613574565b610a4e565b61042e610429366004612ad1565b610a64565b604051901515815260200161032c565b61034861044c366004612d84565b610af5565b610348610b0c565b61046c610467366004612ad1565b610b3e565b60405161032c9190613602565b6103486104873660046136de565b610be3565b61034861049a366004613725565b610c0b565b6103486104ad366004613828565b610cab565b6103486104c036600461386f565b610d4b565b6103486104d336600461388c565b610dd3565b6103486104e63660046138d1565b610dfb565b6103486104f93660046138ef565b610e8a565b61051161050c366004612ad1565b610eb1565b60405161032c9190613998565b610526610ff2565b6040516001600160e01b0319909116815260200161032c565b61034861054d3660046139cc565b61102b565b610348610560366004613a11565b611053565b610348610573366004613add565b61107b565b610348610586366004613b14565b6110a3565b6103486105993660046138d1565b6110ca565b6103486105ac366004613bfc565b611118565b6106556105bf366004612ad1565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161032c9190613c43565b610348610670366004613c51565b611140565b610348610683366004613c98565b6111e0565b6103486106963660046138d1565b6112d1565b6103486106a9366004613cc8565b61131f565b61042e6106bc366004612d67565b611335565b6106c9611382565b6040516001600160a01b03909116815260200161032c565b6103486106ef36600461386f565b61139e565b610348610702366004613cf8565b61151c565b610348610715366004612d84565b6115bc565b610348610728366004613d3d565b6115d3565b61034861073b366004612d84565b6115fb565b61042e61074e366004613c98565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61079161078c366004613d92565b611612565b60405190815260200161032c565b6103486107ad366004613dc0565b61169d565b6103486107c0366004613e01565b6116c5565b6103486107d3366004612d84565b6116ed565b6107e5335b600036611704565b6108196107f384606e611802565b836040516020016108049190613e2f565b6040516020818303038152906040528361184e565b505050565b610827336107dd565b61083b61083583608c611802565b82611ca9565b5050565b610848336107dd565b6108666108558585611f87565b836040516020016108049190613ede565b50505050565b610875336107dd565b61083b6108358360d3611802565b61088c336107dd565b61081961089a84607a611802565b836040516020016108049190613f38565b6108b4336107dd565b6108666108c18585611fd5565b836040516020016108049190613fa5565b6108db336107dd565b61083b6108e98360d3611802565b826040516020016108fa9190614019565b604051602081830303815290604052612022565b610917336107dd565b6040516355ee627560e01b815261083b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061095c906001600160c01b03198716906004016141ca565b602060405180830381865af4158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d91906141df565b826040516020016108fa91906141f8565b6109b7336107dd565b6040516355ee627560e01b815261083b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906109fc906001600160c01b03198716906004016141ca565b602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d91906141df565b826040516020016108fa9190614226565b610a57336107dd565b6108196108358484611f87565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef91906142d6565b92915050565b610afe336107dd565b61083b61083583607a611802565b610b146123ec565b610b1c612435565b610b24612558565b610b2c61264a565b610b34612758565b610b3c612884565b565b6000818152600260205260409020600101805460609190610b5e906142f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8a906142f3565b8015610bd75780601f10610bac57610100808354040283529160200191610bd7565b820191906000526020600020905b815481529060010190602001808311610bba57829003601f168201915b50505050509050919050565b610bec336107dd565b610819610bfa8460dc611802565b83604051602001610804919061432d565b610c14336107dd565b6040516355ee627560e01b81526108199073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c59906001600160c01b03198816906004016141ca565b602060405180830381865af4158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a91906141df565b836040516020016108049190614226565b610cb4336107dd565b6040516355ee627560e01b81526108199073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610cf9906001600160c01b03198816906004016141ca565b602060405180830381865af4158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a91906141df565b8360405160200161080491906143fd565b33610d54611382565b6001600160a01b0316816001600160a01b031614610d945760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610dca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d8b565b61083b8261293f565b610ddc336107dd565b61083b610dea83607a611802565b826040516020016108fa9190613f38565b610e04336107dd565b6040516355ee627560e01b815261083b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e49906001600160c01b03198716906004016141ca565b602060405180830381865af4158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083591906141df565b610e93336107dd565b610819610ea08484611f87565b826040516020016108fa9190613ede565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610f69906142f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f95906142f3565b8015610fe25780601f10610fb757610100808354040283529160200191610fe2565b820191906000526020600020905b815481529060010190602001808311610fc557829003601f168201915b5050505050815250509050919050565b600080516020614820833981519152805460009190600160a01b900460ff1661101c576000611025565b638fb3603760e01b5b91505090565b611034336107dd565b61083b6110428360dc611802565b826040516020016108fa919061432d565b61105c336107dd565b61081961106a8460d3611802565b836040516020016108049190614019565b611084336107dd565b61083b611092836078611802565b826040516020016108fa9190614499565b6110ac336107dd565b6108196110b98484611fd5565b826040516020016108fa9190613fa5565b6110d3336107dd565b6040516355ee627560e01b815261083b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e49906001600160c01b03198716906004016141ca565b611121336107dd565b61081961112f84608c611802565b83604051602001610804919061450d565b611149336107dd565b6040516355ee627560e01b81526108199073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061118e906001600160c01b03198816906004016141ca565b602060405180830381865af41580156111ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cf91906141df565b8360405160200161080491906141f8565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611245573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126991906142d6565b1561127357505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661081957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d8b565b6112da336107dd565b6040516355ee627560e01b815261083b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e49906001600160c01b03198716906004016141ca565b611328336107dd565b6108196108358484611fd5565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610aae565b600080516020614820833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113e35750825b90506000826001600160401b031660011480156113ff5750303b155b90508115801561140d575080155b1561142b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561145557845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b9919061458e565b90506114c4816129a0565b6114cc610b0c565b50831561151457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b611525336107dd565b6040516355ee627560e01b815261083b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061156a906001600160c01b03198716906004016141ca565b602060405180830381865af4158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ab91906141df565b826040516020016108fa91906143fd565b6115c5336107dd565b61083b610835836078611802565b6115dc336107dd565b61083b6115ea83608c611802565b826040516020016108fa919061450d565b611604336107dd565b61083b61083583606e611802565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169691906141df565b9392505050565b6116a6336107dd565b6108196116b4846078611802565b836040516020016108049190614499565b6116ce336107dd565b61083b6116dc83606e611802565b826040516020016108fa9190613e2f565b6116f6336107dd565b61083b6108358360dc611802565b60008051602061482083398151915260008061173f611721611382565b8730611731600460008a8c6145ab565b61173a916145d5565b6129b4565b91509150816115145763ffffffff8116156117df57825460ff60a01b1916600160a01b17835561176d611382565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161179c93929190614605565b600060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b5050845460ff60a01b19168555506115149050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d8b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611655565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156118a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c491906142d6565b156118e55760405163093b89e160e11b815260048101849052602401610d8b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611951573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197591906142d6565b156119965760405163566ebf7960e01b815260048101869052602401610d8b565b60008581526002602052604090206001016119b1858261468b565b5060ff808416146119cf57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166119ff4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab5919061474a565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b299190614767565b8588863287604051611b419796959493929190614784565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611bbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdf919061474a565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c539190614767565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1f91906142d6565b15611d405760405163093b89e160e11b815260048101839052602401610d8b565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611dac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd091906142d6565b15611df15760405163566ebf7960e01b815260048101859052602401610d8b565b8154611e019060ff1682856111e0565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416611e454390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ed7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efb919061474a565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190614767565b858886328760405161150b9796959493929190614784565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611655565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611655565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612075573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612099919061474a565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156120ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211291906142d6565b15612135576040516307014a8d60e51b815260ff82166004820152602401610d8b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561219e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c291906142d6565b156121ec57604051633f92eac960e21b81526004810185905260ff83166024820152604401610d8b565b334360006121f985611335565b61220457606461221a565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016122a4878261468b565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b919061474a565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561238b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123af9190614767565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611c98565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3c57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061253460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff168152602001908152602001600020600061262c606e90565b60ff1660ff168152602001908152602001600020600061253460d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612516565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612534565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c861260e565b60008051602061482083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129a86123ec565b6129b181612ac0565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a2391906147d4565b600060405180830381855afa9150503d8060008114612a5e576040519150601f19603f3d011682016040523d82523d6000602084013e612a63565b606091505b50915091508115612ab5576040815110612a955780806020019051810190612a8b91906147f0565b9094509250612ab5565b6020815110612ab55780806020019051810190612ab291906142d6565b93505b505094509492505050565b612ac86123ec565b6129b18161293f565b600060208284031215612ae357600080fd5b5035919050565b6001600160601b03811681146129b157600080fd5b8035612b0a81612aea565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612b4757612b47612b0f565b60405290565b60405161010081016001600160401b0381118282101715612b4757612b47612b0f565b60405160c081016001600160401b0381118282101715612b4757612b47612b0f565b60405161022081016001600160401b0381118282101715612b4757612b47612b0f565b60405161012081016001600160401b0381118282101715612b4757612b47612b0f565b60405160e081016001600160401b0381118282101715612b4757612b47612b0f565b6001600160a01b03811681146129b157600080fd5b8035612b0a81612bfa565b600060408284031215612c2c57600080fd5b612c34612b25565b9050813581526020820135602082015292915050565b80151581146129b157600080fd5b8035612b0a81612c4a565b60006101408284031215612c7657600080fd5b612c7e612b4d565b9050612c8982612c0f565b8152612c9760208301612c0f565b6020820152612ca860408301612aff565b6040820152612cb960608301612aff565b6060820152612ccb8360808401612c1a565b6080820152612cdd8360c08401612c1a565b60a0820152612cef6101008301612c58565b60c0820152612d016101208301612c0f565b60e082015292915050565b60ff811681146129b157600080fd5b60008060006101808486031215612d3157600080fd5b8335612d3c81612aea565b9250612d4b8560208601612c63565b9150610160840135612d5c81612d0c565b809150509250925092565b600060208284031215612d7957600080fd5b813561169681612d0c565b60008060408385031215612d9757600080fd5b8235612da281612aea565b91506020830135612db281612d0c565b809150509250929050565b803562ffffff81168114612b0a57600080fd5b61ffff811681146129b157600080fd5b8035612b0a81612dd0565b600082601f830112612dfc57600080fd5b81356001600160401b0380821115612e1657612e16612b0f565b604051601f8301601f19908116603f01168101908282118183101715612e3e57612e3e612b0f565b81604052838152866020858801011115612e5757600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146129b157600080fd5b8035612b0a81612e77565b600060808284031215612ea757600080fd5b604051608081016001600160401b038282108183111715612eca57612eca612b0f565b8160405282935084359150612ede82612dd0565b908252602084013590612ef082612aea565b8160208401526040850135915080821115612f0a57600080fd5b50612f1785828601612deb565b6040830152506060830135612f2b81612e77565b6060919091015292915050565b60008060008060808587031215612f4e57600080fd5b8435612f5981612aea565b9350612f6760208601612dbd565b925060408501356001600160401b03811115612f8257600080fd5b612f8e87828801612e95565b9250506060850135612f9f81612d0c565b939692955090935050565b6001600160c01b0319811681146129b157600080fd5b8035612b0a81612faa565b63ffffffff811681146129b157600080fd5b8035612b0a81612fcb565b600060a08284031215612ffa57600080fd5b60405160a081016001600160401b03828210818311171561301d5761301d612b0f565b816040528293508435915061303182612faa565b90825260208401359061304382612c4a565b816020840152604085013591508082111561305d57600080fd5b5061306a85828601612deb565b604083015250606083013561307e81612aea565b6060820152608083013561309181612fcb565b6080919091015292915050565b6000806000606084860312156130b357600080fd5b83356130be81612aea565b925060208401356001600160401b038111156130d957600080fd5b6130e586828701612fe8565b9250506040840135612d5c81612d0c565b600060c0828403121561310857600080fd5b613110612b70565b9050813561311d81612aea565b8152602082013561312d81612aea565b6020820152604082013561314081612d0c565b6040820152606082013561315381612d0c565b606082015260808201356001600160401b0381111561317157600080fd5b61317d84828501612deb565b60808301525060a082013561319181612e77565b60a082015292915050565b600080600080608085870312156131b257600080fd5b84356131bd81612aea565b935060208501356131cd81612dd0565b925060408501356001600160401b038111156131e857600080fd5b612f8e878288016130f6565b6000610220828403121561320757600080fd5b61320f612b92565b905061321a82612aff565b815261322860208301612aff565b602082015261323960408301612fc0565b604082015261324a60608301612fc0565b606082015261325b60808301612aff565b608082015261326c60a08301612aff565b60a082015261327d60c08301612aff565b60c082015261328e60e08301612e8a565b60e0820152610100808301356001600160401b03808211156132af57600080fd5b6132bb86838701612deb565b838501526101209250828501359150808211156132d757600080fd5b506132e485828601612deb565b8284015250506101406132f8818401612de0565b9082015261016061330a838201612de0565b9082015261018061331c838201612aff565b908201526101a061332e838201612aff565b908201526101c0613340838201612e8a565b908201526101e0613352838201612e8a565b90820152610200613364838201612e8a565b9082015292915050565b6000806040838503121561338157600080fd5b823561338c81612aea565b915060208301356001600160401b038111156133a757600080fd5b6133b3858286016131f4565b9150509250929050565b6000604082840312156133cf57600080fd5b6133d7612b25565b905081356133e481612aea565b815260208201356001600160401b038111156133ff57600080fd5b61340b84828501612deb565b60208301525092915050565b6000806040838503121561342a57600080fd5b823561343581612faa565b915060208301356001600160401b0381111561345057600080fd5b6133b3858286016133bd565b6000610120828403121561346f57600080fd5b613477612bb5565b905081356001600160401b038082111561349057600080fd5b61349c85838601612deb565b83526020840135602084015260408401356040840152606084013560608401526134c860808501612fdd565b60808401526134d960a08501612fdd565b60a08401526134ea60c08501612c58565b60c08401526134fb60e08501612c58565b60e08401526101009150818401358181111561351657600080fd5b61352286828701612deb565b8385015250505092915050565b6000806040838503121561354257600080fd5b823561354d81612faa565b915060208301356001600160401b0381111561356857600080fd5b6133b38582860161345c565b60008060006060848603121561358957600080fd5b833561359481612aea565b92506135a260208501612dbd565b91506040840135612d5c81612d0c565b60005b838110156135cd5781810151838201526020016135b5565b50506000910152565b600081518084526135ee8160208601602086016135b2565b601f01601f19169290920160200192915050565b60208152600061169660208301846135d6565b6000610140828403121561362857600080fd5b613630612bb5565b905061363b82612aff565b815261364a8360208401612c1a565b602082015260608201356001600160401b0381111561366857600080fd5b61367484828501612deb565b60408301525061368660808301612aff565b606082015261369760a08301612aff565b60808201526136a860c08301612aff565b60a08201526136b960e08301612e8a565b60c08201526101006136cc818401612e8a565b60e08301526133646101208401612e8a565b6000806000606084860312156136f357600080fd5b83356136fe81612aea565b925060208401356001600160401b0381111561371957600080fd5b6130e586828701613615565b60008060006060848603121561373a57600080fd5b833561374581612faa565b925060208401356001600160401b0381111561376057600080fd5b6130e58682870161345c565b600060e0828403121561377e57600080fd5b613786612bd8565b905061379182612aff565b815260208201356001600160401b03808211156137ad57600080fd5b6137b985838601612deb565b6020840152604084013560408401526137d460608501612fdd565b60608401526137e560808501612fdd565b60808401526137f660a08501612e8a565b60a084015260c084013591508082111561380f57600080fd5b5061381c84828501612deb565b60c08301525092915050565b60008060006060848603121561383d57600080fd5b833561384881612faa565b925060208401356001600160401b0381111561386357600080fd5b6130e58682870161376c565b60006020828403121561388157600080fd5b813561169681612bfa565b6000806040838503121561389f57600080fd5b82356138aa81612aea565b915060208301356001600160401b038111156138c557600080fd5b6133b385828601612fe8565b600080604083850312156138e457600080fd5b8235612da281612faa565b60008060006060848603121561390457600080fd5b833561390f81612aea565b925061391d60208501612dbd565b915060408401356001600160401b0381111561393857600080fd5b61394486828701612e95565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526139aa60208201835161394e565b6000602083015160c0808401526139c460e08401826135d6565b949350505050565b600080604083850312156139df57600080fd5b82356139ea81612aea565b915060208301356001600160401b03811115613a0557600080fd5b6133b385828601613615565b600080600060608486031215613a2657600080fd5b8335613a3181612aea565b925060208401356001600160401b03811115613a4c57600080fd5b6130e5868287016131f4565b60006101008284031215613a6b57600080fd5b613a73612b70565b90508135613a8081612aea565b81526020820135613a9081612bfa565b6020820152613aa28360408401612c1a565b6040820152613ab48360808401612c1a565b606082015260c0820135613ac781612bfa565b608082015260e0919091013560a0820152919050565b6000806101208385031215613af157600080fd5b8235613afc81612aea565b9150613b0b8460208501613a58565b90509250929050565b600080600060608486031215613b2957600080fd5b8335613b3481612aea565b92506020840135613b4481612dd0565b915060408401356001600160401b03811115613b5f57600080fd5b613944868287016130f6565b600060e08284031215613b7d57600080fd5b613b85612bd8565b905081356001600160401b0380821115613b9e57600080fd5b613baa85838601612deb565b8352613bb860208501612c0f565b6020840152613bc960408501612c0f565b6040840152613bda60608501612c0f565b6060840152613beb60808501612aff565b60808401526137f660a08501612aff565b600080600060608486031215613c1157600080fd5b8335613c1c81612aea565b925060208401356001600160401b03811115613c3757600080fd5b6130e586828701613b6b565b60a08101610aef828461394e565b600080600060608486031215613c6657600080fd5b8335613c7181612faa565b925060208401356001600160401b03811115613c8c57600080fd5b6130e5868287016133bd565b600080600060608486031215613cad57600080fd5b8335613cb881612d0c565b925060208401356135a281612d0c565b600080600060608486031215613cdd57600080fd5b8335613ce881612aea565b925060208401356135a281612dd0565b60008060408385031215613d0b57600080fd5b8235613d1681612faa565b915060208301356001600160401b03811115613d3157600080fd5b6133b38582860161376c565b60008060408385031215613d5057600080fd5b8235613d5b81612aea565b915060208301356001600160401b03811115613d7657600080fd5b6133b385828601613b6b565b60ff19811681146129b157600080fd5b60008060408385031215613da557600080fd5b8235613db081612d0c565b91506020830135612db281613d82565b60008060006101408486031215613dd657600080fd5b8335613de181612aea565b9250613df08560208601613a58565b9150610120840135612d5c81612d0c565b6000806101608385031215613e1557600080fd5b8235613e2081612aea565b9150613b0b8460208501612c63565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613e7e908401826001600160601b03169052565b506080830151613e9b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152613f1b60a08401826135d6565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152613f7660c08401826135d6565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a0840152613ffc60e08401826135d6565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526140336020820183516001600160601b03169052565b6000602083015161404f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006140d58185018364ffffffffff169052565b8085015191505061022061012081818601526140f56102408601846135d6565b9250808601519050610140601f19868503018187015261411584836135d6565b9350808701519150506101606141308187018361ffff169052565b86015190506101806141478682018361ffff169052565b86015190506101a0614163868201836001600160601b03169052565b86015190506101c061417f868201836001600160601b03169052565b86015190506101e06141998682018364ffffffffff169052565b86015190506102006141b38682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b6000602082840312156141f157600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526139c460608401826135d6565b60208152600082516101208060208501526142456101408501836135d6565b9150602085015160408501526040850151606085015260608501516080850152608085015161427c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006142b28187018315159052565b860151858403601f19018387015290506142cc83826135d6565b9695505050505050565b6000602082840312156142e857600080fd5b815161169681612c4a565b600181811c9082168061430757607f821691505b60208210810361432757634e487b7160e01b600052602260045260246000fd5b50919050565b602081526143476020820183516001600160601b03169052565b60006020830151614365604084018280518252602090810151910152565b5060408301516101408060808501526143826101608501836135d6565b9150606085015161439e60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006143e38187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291506141b3565b602081526001600160601b0382511660208201526000602083015160e0604084015261442d6101008401826135d6565b90506040840151606084015263ffffffff6060850151166080840152608084015161446060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e085015261449082826135d6565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e0602084015261452a6101008401826135d6565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161457460a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152614474565b6000602082840312156145a057600080fd5b815161169681612bfa565b600080858511156145bb57600080fd5b838611156145c857600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145fd5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561081957600081815260208120601f850160051c8101602086101561466c5750805b601f850160051c820191505b8181101561151457828155600101614678565b81516001600160401b038111156146a4576146a4612b0f565b6146b8816146b284546142f3565b84614645565b602080601f8311600181146146ed57600084156146d55750858301515b600019600386901b1c1916600185901b178555611514565b600085815260208120601f198616915b8281101561471c578886015182559484019460019091019084016146fd565b508582101561473a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561475c57600080fd5b815161169681612d0c565b60006020828403121561477957600080fd5b815161169681613d82565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600082516147e68184602087016135b2565b9190910192915050565b6000806040838503121561480357600080fd5b825161480e81612c4a565b6020840151909250612db281612fcb56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220717d20f9a11a199505d03a01d6040c6270a5de73cd8c151e99ff4361341fbae664736f6c63430008140033",
2512
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102f15760003560e01c80638fb360371161019d578063bf1db3f9116100e9578063dee32623116100a2578063f5884fc51161007c578063f5884fc514610552578063f7b442d11461079f578063fbc1a3a0146107b2578063fe1f18d6146107c557600080fd5b8063dee326231461072d578063e9e96c7014610740578063f48016ce1461077e57600080fd5b8063bf1db3f9146106ae578063bf7e214f146106c1578063c4d66de8146106e1578063ca0e7f08146106f4578063d2f21a2914610707578063d5c9d77d1461071a57600080fd5b8063a284222911610156578063a76ee01811610130578063a76ee01814610662578063a898967514610675578063af90250014610688578063b6d7cd621461069b57600080fd5b8063a28422291461058b578063a4eeee591461059e578063a5961b4c146105b157600080fd5b80638fb360371461051e57806397affbf51461053f578063985aeba7146105525780639e90178c14610565578063a1ef60e914610578578063a1fc10041461055257600080fd5b806338a699a41161025c5780635d4345cc116102155780637cca1124116101ef5780637cca1124146104c55780637cef4842146104d857806381c2b282146104eb5780638eaa6ac0146104fe57600080fd5b80635d4345cc1461039657806361105e0e1461049f5780637a9e5e4b146104b257600080fd5b806338a699a41461041b57806340529b0f1461043e578063468bce061461045157806354f6127f1461045957806359852426146104795780635a8416b01461048c57600080fd5b80631e40b363116102ae5780631e40b363146103a957806329e63f62146103bc5780632a8ea7ac146103cf5780632f61088a146103e257806330a130ba146103f55780633870a7701461040857600080fd5b806309648a9d146102f65780630cbc6b89146103355780630d3581811461034a5780630f526f7d146103705780630f6c29ef146103835780630fad0eb114610396575b600080fd5b61031e610304366004612ad1565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610348610343366004612d1b565b6107d8565b005b61031e610358366004612d67565b60ff9081166000908152602081905260409020541690565b61034861037e366004612d84565b61081e565b610348610391366004612f38565b61083f565b6103486103a4366004612d84565b61086c565b6103486103b736600461309e565b610883565b6103486103ca36600461319c565b6108ab565b6103486103dd36600461336e565b6108d2565b6103486103f0366004613417565b61090e565b61034861040336600461352f565b6109ae565b610348610416366004613574565b610a4e565b61042e610429366004612ad1565b610a64565b604051901515815260200161032c565b61034861044c366004612d84565b610af5565b610348610b0c565b61046c610467366004612ad1565b610b3e565b60405161032c9190613602565b6103486104873660046136de565b610be3565b61034861049a366004613725565b610c0b565b6103486104ad366004613828565b610cab565b6103486104c036600461386f565b610d4b565b6103486104d336600461388c565b610dd3565b6103486104e63660046138d1565b610dfb565b6103486104f93660046138ef565b610e8a565b61051161050c366004612ad1565b610eb1565b60405161032c9190613998565b610526610ff2565b6040516001600160e01b0319909116815260200161032c565b61034861054d3660046139cc565b61102b565b610348610560366004613a11565b611053565b610348610573366004613add565b61107b565b610348610586366004613b14565b6110a3565b6103486105993660046138d1565b6110ca565b6103486105ac366004613bfc565b611118565b6106556105bf366004612ad1565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161032c9190613c43565b610348610670366004613c51565b611140565b610348610683366004613c98565b6111e0565b6103486106963660046138d1565b6112d1565b6103486106a9366004613cc8565b61131f565b61042e6106bc366004612d67565b611335565b6106c9611382565b6040516001600160a01b03909116815260200161032c565b6103486106ef36600461386f565b61139e565b610348610702366004613cf8565b61151c565b610348610715366004612d84565b6115bc565b610348610728366004613d3d565b6115d3565b61034861073b366004612d84565b6115fb565b61042e61074e366004613c98565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61079161078c366004613d92565b611612565b60405190815260200161032c565b6103486107ad366004613dc0565b61169d565b6103486107c0366004613e01565b6116c5565b6103486107d3366004612d84565b6116ed565b6107e5335b600036611704565b6108196107f384606e611802565b836040516020016108049190613e2f565b6040516020818303038152906040528361184e565b505050565b610827336107dd565b61083b61083583608c611802565b82611ca9565b5050565b610848336107dd565b6108666108558585611f87565b836040516020016108049190613ede565b50505050565b610875336107dd565b61083b6108358360d3611802565b61088c336107dd565b61081961089a84607a611802565b836040516020016108049190613f38565b6108b4336107dd565b6108666108c18585611fd5565b836040516020016108049190613fa5565b6108db336107dd565b61083b6108e98360d3611802565b826040516020016108fa9190614019565b604051602081830303815290604052612022565b610917336107dd565b6040516355ee627560e01b815261083b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061095c906001600160c01b03198716906004016141ca565b602060405180830381865af4158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d91906141df565b826040516020016108fa91906141f8565b6109b7336107dd565b6040516355ee627560e01b815261083b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906109fc906001600160c01b03198716906004016141ca565b602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d91906141df565b826040516020016108fa9190614226565b610a57336107dd565b6108196108358484611f87565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef91906142d6565b92915050565b610afe336107dd565b61083b61083583607a611802565b610b146123ec565b610b1c612435565b610b24612558565b610b2c61264a565b610b34612758565b610b3c612884565b565b6000818152600260205260409020600101805460609190610b5e906142f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8a906142f3565b8015610bd75780601f10610bac57610100808354040283529160200191610bd7565b820191906000526020600020905b815481529060010190602001808311610bba57829003601f168201915b50505050509050919050565b610bec336107dd565b610819610bfa8460dc611802565b83604051602001610804919061432d565b610c14336107dd565b6040516355ee627560e01b81526108199073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c59906001600160c01b03198816906004016141ca565b602060405180830381865af4158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a91906141df565b836040516020016108049190614226565b610cb4336107dd565b6040516355ee627560e01b81526108199073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610cf9906001600160c01b03198816906004016141ca565b602060405180830381865af4158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a91906141df565b8360405160200161080491906143fd565b33610d54611382565b6001600160a01b0316816001600160a01b031614610d945760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610dca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d8b565b61083b8261293f565b610ddc336107dd565b61083b610dea83607a611802565b826040516020016108fa9190613f38565b610e04336107dd565b6040516355ee627560e01b815261083b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e49906001600160c01b03198716906004016141ca565b602060405180830381865af4158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083591906141df565b610e93336107dd565b610819610ea08484611f87565b826040516020016108fa9190613ede565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610f69906142f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f95906142f3565b8015610fe25780601f10610fb757610100808354040283529160200191610fe2565b820191906000526020600020905b815481529060010190602001808311610fc557829003601f168201915b5050505050815250509050919050565b600080516020614820833981519152805460009190600160a01b900460ff1661101c576000611025565b638fb3603760e01b5b91505090565b611034336107dd565b61083b6110428360dc611802565b826040516020016108fa919061432d565b61105c336107dd565b61081961106a8460d3611802565b836040516020016108049190614019565b611084336107dd565b61083b611092836078611802565b826040516020016108fa9190614499565b6110ac336107dd565b6108196110b98484611fd5565b826040516020016108fa9190613fa5565b6110d3336107dd565b6040516355ee627560e01b815261083b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e49906001600160c01b03198716906004016141ca565b611121336107dd565b61081961112f84608c611802565b83604051602001610804919061450d565b611149336107dd565b6040516355ee627560e01b81526108199073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061118e906001600160c01b03198816906004016141ca565b602060405180830381865af41580156111ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cf91906141df565b8360405160200161080491906141f8565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611245573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126991906142d6565b1561127357505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661081957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d8b565b6112da336107dd565b6040516355ee627560e01b815261083b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e49906001600160c01b03198716906004016141ca565b611328336107dd565b6108196108358484611fd5565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610aae565b600080516020614820833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113e35750825b90506000826001600160401b031660011480156113ff5750303b155b90508115801561140d575080155b1561142b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561145557845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b9919061458e565b90506114c4816129a0565b6114cc610b0c565b50831561151457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b611525336107dd565b6040516355ee627560e01b815261083b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061156a906001600160c01b03198716906004016141ca565b602060405180830381865af4158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ab91906141df565b826040516020016108fa91906143fd565b6115c5336107dd565b61083b610835836078611802565b6115dc336107dd565b61083b6115ea83608c611802565b826040516020016108fa919061450d565b611604336107dd565b61083b61083583606e611802565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169691906141df565b9392505050565b6116a6336107dd565b6108196116b4846078611802565b836040516020016108049190614499565b6116ce336107dd565b61083b6116dc83606e611802565b826040516020016108fa9190613e2f565b6116f6336107dd565b61083b6108358360dc611802565b60008051602061482083398151915260008061173f611721611382565b8730611731600460008a8c6145ab565b61173a916145d5565b6129b4565b91509150816115145763ffffffff8116156117df57825460ff60a01b1916600160a01b17835561176d611382565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161179c93929190614605565b600060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b5050845460ff60a01b19168555506115149050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d8b565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611655565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156118a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c491906142d6565b156118e55760405163093b89e160e11b815260048101849052602401610d8b565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611951573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197591906142d6565b156119965760405163566ebf7960e01b815260048101869052602401610d8b565b60008581526002602052604090206001016119b1858261468b565b5060ff808416146119cf57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166119ff4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab5919061474a565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b299190614767565b8588863287604051611b419796959493929190614784565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611bbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdf919061474a565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c539190614767565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1f91906142d6565b15611d405760405163093b89e160e11b815260048101839052602401610d8b565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611dac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd091906142d6565b15611df15760405163566ebf7960e01b815260048101859052602401610d8b565b8154611e019060ff1682856111e0565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416611e454390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ed7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efb919061474a565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6f9190614767565b858886328760405161150b9796959493929190614784565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611655565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611655565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612075573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612099919061474a565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156120ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211291906142d6565b15612135576040516307014a8d60e51b815260ff82166004820152602401610d8b565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561219e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c291906142d6565b156121ec57604051633f92eac960e21b81526004810185905260ff83166024820152604401610d8b565b334360006121f985611335565b61220457606461221a565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016122a4878261468b565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b919061474a565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561238b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123af9190614767565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611c98565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b3c57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061253460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff168152602001908152602001600020600061262c606e90565b60ff1660ff168152602001908152602001600020600061253460d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612516565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612534565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c861260e565b60008051602061482083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129a86123ec565b6129b181612ac0565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a2391906147d4565b600060405180830381855afa9150503d8060008114612a5e576040519150601f19603f3d011682016040523d82523d6000602084013e612a63565b606091505b50915091508115612ab5576040815110612a955780806020019051810190612a8b91906147f0565b9094509250612ab5565b6020815110612ab55780806020019051810190612ab291906142d6565b93505b505094509492505050565b612ac86123ec565b6129b18161293f565b600060208284031215612ae357600080fd5b5035919050565b6001600160601b03811681146129b157600080fd5b8035612b0a81612aea565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612b4757612b47612b0f565b60405290565b60405161010081016001600160401b0381118282101715612b4757612b47612b0f565b60405160c081016001600160401b0381118282101715612b4757612b47612b0f565b60405161022081016001600160401b0381118282101715612b4757612b47612b0f565b60405161012081016001600160401b0381118282101715612b4757612b47612b0f565b60405160e081016001600160401b0381118282101715612b4757612b47612b0f565b6001600160a01b03811681146129b157600080fd5b8035612b0a81612bfa565b600060408284031215612c2c57600080fd5b612c34612b25565b9050813581526020820135602082015292915050565b80151581146129b157600080fd5b8035612b0a81612c4a565b60006101408284031215612c7657600080fd5b612c7e612b4d565b9050612c8982612c0f565b8152612c9760208301612c0f565b6020820152612ca860408301612aff565b6040820152612cb960608301612aff565b6060820152612ccb8360808401612c1a565b6080820152612cdd8360c08401612c1a565b60a0820152612cef6101008301612c58565b60c0820152612d016101208301612c0f565b60e082015292915050565b60ff811681146129b157600080fd5b60008060006101808486031215612d3157600080fd5b8335612d3c81612aea565b9250612d4b8560208601612c63565b9150610160840135612d5c81612d0c565b809150509250925092565b600060208284031215612d7957600080fd5b813561169681612d0c565b60008060408385031215612d9757600080fd5b8235612da281612aea565b91506020830135612db281612d0c565b809150509250929050565b803562ffffff81168114612b0a57600080fd5b61ffff811681146129b157600080fd5b8035612b0a81612dd0565b600082601f830112612dfc57600080fd5b81356001600160401b0380821115612e1657612e16612b0f565b604051601f8301601f19908116603f01168101908282118183101715612e3e57612e3e612b0f565b81604052838152866020858801011115612e5757600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146129b157600080fd5b8035612b0a81612e77565b600060808284031215612ea757600080fd5b604051608081016001600160401b038282108183111715612eca57612eca612b0f565b8160405282935084359150612ede82612dd0565b908252602084013590612ef082612aea565b8160208401526040850135915080821115612f0a57600080fd5b50612f1785828601612deb565b6040830152506060830135612f2b81612e77565b6060919091015292915050565b60008060008060808587031215612f4e57600080fd5b8435612f5981612aea565b9350612f6760208601612dbd565b925060408501356001600160401b03811115612f8257600080fd5b612f8e87828801612e95565b9250506060850135612f9f81612d0c565b939692955090935050565b6001600160c01b0319811681146129b157600080fd5b8035612b0a81612faa565b63ffffffff811681146129b157600080fd5b8035612b0a81612fcb565b600060a08284031215612ffa57600080fd5b60405160a081016001600160401b03828210818311171561301d5761301d612b0f565b816040528293508435915061303182612faa565b90825260208401359061304382612c4a565b816020840152604085013591508082111561305d57600080fd5b5061306a85828601612deb565b604083015250606083013561307e81612aea565b6060820152608083013561309181612fcb565b6080919091015292915050565b6000806000606084860312156130b357600080fd5b83356130be81612aea565b925060208401356001600160401b038111156130d957600080fd5b6130e586828701612fe8565b9250506040840135612d5c81612d0c565b600060c0828403121561310857600080fd5b613110612b70565b9050813561311d81612aea565b8152602082013561312d81612aea565b6020820152604082013561314081612d0c565b6040820152606082013561315381612d0c565b606082015260808201356001600160401b0381111561317157600080fd5b61317d84828501612deb565b60808301525060a082013561319181612e77565b60a082015292915050565b600080600080608085870312156131b257600080fd5b84356131bd81612aea565b935060208501356131cd81612dd0565b925060408501356001600160401b038111156131e857600080fd5b612f8e878288016130f6565b6000610220828403121561320757600080fd5b61320f612b92565b905061321a82612aff565b815261322860208301612aff565b602082015261323960408301612fc0565b604082015261324a60608301612fc0565b606082015261325b60808301612aff565b608082015261326c60a08301612aff565b60a082015261327d60c08301612aff565b60c082015261328e60e08301612e8a565b60e0820152610100808301356001600160401b03808211156132af57600080fd5b6132bb86838701612deb565b838501526101209250828501359150808211156132d757600080fd5b506132e485828601612deb565b8284015250506101406132f8818401612de0565b9082015261016061330a838201612de0565b9082015261018061331c838201612aff565b908201526101a061332e838201612aff565b908201526101c0613340838201612e8a565b908201526101e0613352838201612e8a565b90820152610200613364838201612e8a565b9082015292915050565b6000806040838503121561338157600080fd5b823561338c81612aea565b915060208301356001600160401b038111156133a757600080fd5b6133b3858286016131f4565b9150509250929050565b6000604082840312156133cf57600080fd5b6133d7612b25565b905081356133e481612aea565b815260208201356001600160401b038111156133ff57600080fd5b61340b84828501612deb565b60208301525092915050565b6000806040838503121561342a57600080fd5b823561343581612faa565b915060208301356001600160401b0381111561345057600080fd5b6133b3858286016133bd565b6000610120828403121561346f57600080fd5b613477612bb5565b905081356001600160401b038082111561349057600080fd5b61349c85838601612deb565b83526020840135602084015260408401356040840152606084013560608401526134c860808501612fdd565b60808401526134d960a08501612fdd565b60a08401526134ea60c08501612c58565b60c08401526134fb60e08501612c58565b60e08401526101009150818401358181111561351657600080fd5b61352286828701612deb565b8385015250505092915050565b6000806040838503121561354257600080fd5b823561354d81612faa565b915060208301356001600160401b0381111561356857600080fd5b6133b38582860161345c565b60008060006060848603121561358957600080fd5b833561359481612aea565b92506135a260208501612dbd565b91506040840135612d5c81612d0c565b60005b838110156135cd5781810151838201526020016135b5565b50506000910152565b600081518084526135ee8160208601602086016135b2565b601f01601f19169290920160200192915050565b60208152600061169660208301846135d6565b6000610140828403121561362857600080fd5b613630612bb5565b905061363b82612aff565b815261364a8360208401612c1a565b602082015260608201356001600160401b0381111561366857600080fd5b61367484828501612deb565b60408301525061368660808301612aff565b606082015261369760a08301612aff565b60808201526136a860c08301612aff565b60a08201526136b960e08301612e8a565b60c08201526101006136cc818401612e8a565b60e08301526133646101208401612e8a565b6000806000606084860312156136f357600080fd5b83356136fe81612aea565b925060208401356001600160401b0381111561371957600080fd5b6130e586828701613615565b60008060006060848603121561373a57600080fd5b833561374581612faa565b925060208401356001600160401b0381111561376057600080fd5b6130e58682870161345c565b600060e0828403121561377e57600080fd5b613786612bd8565b905061379182612aff565b815260208201356001600160401b03808211156137ad57600080fd5b6137b985838601612deb565b6020840152604084013560408401526137d460608501612fdd565b60608401526137e560808501612fdd565b60808401526137f660a08501612e8a565b60a084015260c084013591508082111561380f57600080fd5b5061381c84828501612deb565b60c08301525092915050565b60008060006060848603121561383d57600080fd5b833561384881612faa565b925060208401356001600160401b0381111561386357600080fd5b6130e58682870161376c565b60006020828403121561388157600080fd5b813561169681612bfa565b6000806040838503121561389f57600080fd5b82356138aa81612aea565b915060208301356001600160401b038111156138c557600080fd5b6133b385828601612fe8565b600080604083850312156138e457600080fd5b8235612da281612faa565b60008060006060848603121561390457600080fd5b833561390f81612aea565b925061391d60208501612dbd565b915060408401356001600160401b0381111561393857600080fd5b61394486828701612e95565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526139aa60208201835161394e565b6000602083015160c0808401526139c460e08401826135d6565b949350505050565b600080604083850312156139df57600080fd5b82356139ea81612aea565b915060208301356001600160401b03811115613a0557600080fd5b6133b385828601613615565b600080600060608486031215613a2657600080fd5b8335613a3181612aea565b925060208401356001600160401b03811115613a4c57600080fd5b6130e5868287016131f4565b60006101008284031215613a6b57600080fd5b613a73612b70565b90508135613a8081612aea565b81526020820135613a9081612bfa565b6020820152613aa28360408401612c1a565b6040820152613ab48360808401612c1a565b606082015260c0820135613ac781612bfa565b608082015260e0919091013560a0820152919050565b6000806101208385031215613af157600080fd5b8235613afc81612aea565b9150613b0b8460208501613a58565b90509250929050565b600080600060608486031215613b2957600080fd5b8335613b3481612aea565b92506020840135613b4481612dd0565b915060408401356001600160401b03811115613b5f57600080fd5b613944868287016130f6565b600060e08284031215613b7d57600080fd5b613b85612bd8565b905081356001600160401b0380821115613b9e57600080fd5b613baa85838601612deb565b8352613bb860208501612c0f565b6020840152613bc960408501612c0f565b6040840152613bda60608501612c0f565b6060840152613beb60808501612aff565b60808401526137f660a08501612aff565b600080600060608486031215613c1157600080fd5b8335613c1c81612aea565b925060208401356001600160401b03811115613c3757600080fd5b6130e586828701613b6b565b60a08101610aef828461394e565b600080600060608486031215613c6657600080fd5b8335613c7181612faa565b925060208401356001600160401b03811115613c8c57600080fd5b6130e5868287016133bd565b600080600060608486031215613cad57600080fd5b8335613cb881612d0c565b925060208401356135a281612d0c565b600080600060608486031215613cdd57600080fd5b8335613ce881612aea565b925060208401356135a281612dd0565b60008060408385031215613d0b57600080fd5b8235613d1681612faa565b915060208301356001600160401b03811115613d3157600080fd5b6133b38582860161376c565b60008060408385031215613d5057600080fd5b8235613d5b81612aea565b915060208301356001600160401b03811115613d7657600080fd5b6133b385828601613b6b565b60ff19811681146129b157600080fd5b60008060408385031215613da557600080fd5b8235613db081612d0c565b91506020830135612db281613d82565b60008060006101408486031215613dd657600080fd5b8335613de181612aea565b9250613df08560208601613a58565b9150610120840135612d5c81612d0c565b6000806101608385031215613e1557600080fd5b8235613e2081612aea565b9150613b0b8460208501612c63565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613e7e908401826001600160601b03169052565b506080830151613e9b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152613f1b60a08401826135d6565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152613f7660c08401826135d6565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a0840152613ffc60e08401826135d6565b905064ffffffffff60a08501511660c08401528091505092915050565b602081526140336020820183516001600160601b03169052565b6000602083015161404f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006140d58185018364ffffffffff169052565b8085015191505061022061012081818601526140f56102408601846135d6565b9250808601519050610140601f19868503018187015261411584836135d6565b9350808701519150506101606141308187018361ffff169052565b86015190506101806141478682018361ffff169052565b86015190506101a0614163868201836001600160601b03169052565b86015190506101c061417f868201836001600160601b03169052565b86015190506101e06141998682018364ffffffffff169052565b86015190506102006141b38682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b6000602082840312156141f157600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526139c460608401826135d6565b60208152600082516101208060208501526142456101408501836135d6565b9150602085015160408501526040850151606085015260608501516080850152608085015161427c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006142b28187018315159052565b860151858403601f19018387015290506142cc83826135d6565b9695505050505050565b6000602082840312156142e857600080fd5b815161169681612c4a565b600181811c9082168061430757607f821691505b60208210810361432757634e487b7160e01b600052602260045260246000fd5b50919050565b602081526143476020820183516001600160601b03169052565b60006020830151614365604084018280518252602090810151910152565b5060408301516101408060808501526143826101608501836135d6565b9150606085015161439e60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006143e38187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291506141b3565b602081526001600160601b0382511660208201526000602083015160e0604084015261442d6101008401826135d6565b90506040840151606084015263ffffffff6060850151166080840152608084015161446060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e085015261449082826135d6565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e0602084015261452a6101008401826135d6565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161457460a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152614474565b6000602082840312156145a057600080fd5b815161169681612bfa565b600080858511156145bb57600080fd5b838611156145c857600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145fd5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561081957600081815260208120601f850160051c8101602086101561466c5750805b601f850160051c820191505b8181101561151457828155600101614678565b81516001600160401b038111156146a4576146a4612b0f565b6146b8816146b284546142f3565b84614645565b602080601f8311600181146146ed57600084156146d55750858301515b600019600386901b1c1916600185901b178555611514565b600085815260208120601f198616915b8281101561471c578886015182559484019460019091019084016146fd565b508582101561473a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561475c57600080fd5b815161169681612d0c565b60006020828403121561477957600080fd5b815161169681613d82565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600082516147e68184602087016135b2565b9190910192915050565b6000806040838503121561480357600080fd5b825161480e81612c4a565b6020840151909250612db281612fcb56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220717d20f9a11a199505d03a01d6040c6270a5de73cd8c151e99ff4361341fbae664736f6c63430008140033",
2513
+ "linkReferences": {
2514
+ "contracts/type/ClaimId.sol": {
2515
+ "ClaimIdLib": [
2516
+ {
2517
+ "length": 20,
2518
+ "start": 8224
2519
+ }
2520
+ ]
2521
+ },
2522
+ "contracts/type/DistributorType.sol": {
2523
+ "DistributorTypeLib": [
2524
+ {
2525
+ "length": 20,
2526
+ "start": 2538
2527
+ },
2528
+ {
2529
+ "length": 20,
2530
+ "start": 3143
2531
+ },
2532
+ {
2533
+ "length": 20,
2534
+ "start": 4358
2535
+ }
2536
+ ]
2537
+ },
2538
+ "contracts/type/Key32.sol": {
2539
+ "Key32Lib": [
2540
+ {
2541
+ "length": 20,
2542
+ "start": 5719
2543
+ },
2544
+ {
2545
+ "length": 20,
2546
+ "start": 6775
2547
+ },
2548
+ {
2549
+ "length": 20,
2550
+ "start": 6891
2551
+ },
2552
+ {
2553
+ "length": 20,
2554
+ "start": 7073
2555
+ },
2556
+ {
2557
+ "length": 20,
2558
+ "start": 7189
2559
+ },
2560
+ {
2561
+ "length": 20,
2562
+ "start": 7869
2563
+ },
2564
+ {
2565
+ "length": 20,
2566
+ "start": 7985
2567
+ },
2568
+ {
2569
+ "length": 20,
2570
+ "start": 8283
2571
+ },
2572
+ {
2573
+ "length": 20,
2574
+ "start": 8957
2575
+ },
2576
+ {
2577
+ "length": 20,
2578
+ "start": 9073
2579
+ }
2580
+ ]
2581
+ },
2582
+ "contracts/type/NftId.sol": {
2583
+ "NftIdLib": [
2584
+ {
2585
+ "length": 20,
2586
+ "start": 6220
2587
+ }
2588
+ ]
2589
+ },
2590
+ "contracts/type/ObjectType.sol": {
2591
+ "ObjectTypeLib": [
2592
+ {
2593
+ "length": 20,
2594
+ "start": 8404
2595
+ }
2596
+ ]
2597
+ },
2598
+ "contracts/type/PayoutId.sol": {
2599
+ "PayoutIdLib": [
2600
+ {
2601
+ "length": 20,
2602
+ "start": 8147
2603
+ }
2604
+ ]
2605
+ },
2606
+ "contracts/type/Referral.sol": {
2607
+ "ReferralLib": [
2608
+ {
2609
+ "length": 20,
2610
+ "start": 3303
2611
+ },
2612
+ {
2613
+ "length": 20,
2614
+ "start": 4877
2615
+ },
2616
+ {
2617
+ "length": 20,
2618
+ "start": 5464
2619
+ }
2620
+ ]
2621
+ },
2622
+ "contracts/type/RiskId.sol": {
2623
+ "RiskIdLib": [
2624
+ {
2625
+ "length": 20,
2626
+ "start": 2378
2627
+ },
2628
+ {
2629
+ "length": 20,
2630
+ "start": 3639
2631
+ },
2632
+ {
2633
+ "length": 20,
2634
+ "start": 4476
2635
+ }
2636
+ ]
2637
+ },
2638
+ "contracts/type/StateId.sol": {
2639
+ "StateIdLib": [
2640
+ {
2641
+ "length": 20,
2642
+ "start": 2736
2643
+ },
2644
+ {
2645
+ "length": 20,
2646
+ "start": 4651
2647
+ },
2648
+ {
2649
+ "length": 20,
2650
+ "start": 4992
2651
+ },
2652
+ {
2653
+ "length": 20,
2654
+ "start": 6278
2655
+ },
2656
+ {
2657
+ "length": 20,
2658
+ "start": 6455
2659
+ },
2660
+ {
2661
+ "length": 20,
2662
+ "start": 7393
2663
+ },
2664
+ {
2665
+ "length": 20,
2666
+ "start": 7570
2667
+ },
2668
+ {
2669
+ "length": 20,
2670
+ "start": 8580
2671
+ }
2672
+ ]
2673
+ }
2674
+ },
2675
+ "deployedLinkReferences": {
2676
+ "contracts/type/ClaimId.sol": {
2677
+ "ClaimIdLib": [
2678
+ {
2679
+ "length": 20,
2680
+ "start": 8192
2681
+ }
2682
+ ]
2683
+ },
2684
+ "contracts/type/DistributorType.sol": {
2685
+ "DistributorTypeLib": [
2686
+ {
2687
+ "length": 20,
2688
+ "start": 2506
2689
+ },
2690
+ {
2691
+ "length": 20,
2692
+ "start": 3111
2693
+ },
2694
+ {
2695
+ "length": 20,
2696
+ "start": 4326
2697
+ }
2698
+ ]
2699
+ },
2700
+ "contracts/type/Key32.sol": {
2701
+ "Key32Lib": [
2702
+ {
2703
+ "length": 20,
2704
+ "start": 5687
2705
+ },
2706
+ {
2707
+ "length": 20,
2708
+ "start": 6743
2709
+ },
2710
+ {
2711
+ "length": 20,
2712
+ "start": 6859
2713
+ },
2714
+ {
2715
+ "length": 20,
2716
+ "start": 7041
2717
+ },
2718
+ {
2719
+ "length": 20,
2720
+ "start": 7157
2721
+ },
2722
+ {
2723
+ "length": 20,
2724
+ "start": 7837
2725
+ },
2726
+ {
2727
+ "length": 20,
2728
+ "start": 7953
2729
+ },
2730
+ {
2731
+ "length": 20,
2732
+ "start": 8251
2733
+ },
2734
+ {
2735
+ "length": 20,
2736
+ "start": 8925
2737
+ },
2738
+ {
2739
+ "length": 20,
2740
+ "start": 9041
2741
+ }
2742
+ ]
2743
+ },
2744
+ "contracts/type/NftId.sol": {
2745
+ "NftIdLib": [
2746
+ {
2747
+ "length": 20,
2748
+ "start": 6188
2749
+ }
2750
+ ]
2751
+ },
2752
+ "contracts/type/ObjectType.sol": {
2753
+ "ObjectTypeLib": [
2754
+ {
2755
+ "length": 20,
2756
+ "start": 8372
2757
+ }
2758
+ ]
2759
+ },
2760
+ "contracts/type/PayoutId.sol": {
2761
+ "PayoutIdLib": [
2762
+ {
2763
+ "length": 20,
2764
+ "start": 8115
2765
+ }
2766
+ ]
2767
+ },
2768
+ "contracts/type/Referral.sol": {
2769
+ "ReferralLib": [
2770
+ {
2771
+ "length": 20,
2772
+ "start": 3271
2773
+ },
2774
+ {
2775
+ "length": 20,
2776
+ "start": 4845
2777
+ },
2778
+ {
2779
+ "length": 20,
2780
+ "start": 5432
2781
+ }
2782
+ ]
2783
+ },
2784
+ "contracts/type/RiskId.sol": {
2785
+ "RiskIdLib": [
2786
+ {
2787
+ "length": 20,
2788
+ "start": 2346
2789
+ },
2790
+ {
2791
+ "length": 20,
2792
+ "start": 3607
2793
+ },
2794
+ {
2795
+ "length": 20,
2796
+ "start": 4444
2797
+ }
2798
+ ]
2799
+ },
2800
+ "contracts/type/StateId.sol": {
2801
+ "StateIdLib": [
2802
+ {
2803
+ "length": 20,
2804
+ "start": 2704
2805
+ },
2806
+ {
2807
+ "length": 20,
2808
+ "start": 4619
2809
+ },
2810
+ {
2811
+ "length": 20,
2812
+ "start": 4960
2813
+ },
2814
+ {
2815
+ "length": 20,
2816
+ "start": 6246
2817
+ },
2818
+ {
2819
+ "length": 20,
2820
+ "start": 6423
2821
+ },
2822
+ {
2823
+ "length": 20,
2824
+ "start": 7361
2825
+ },
2826
+ {
2827
+ "length": 20,
2828
+ "start": 7538
2829
+ },
2830
+ {
2831
+ "length": 20,
2832
+ "start": 8548
2833
+ }
2834
+ ]
2835
+ }
2836
+ }
2837
+ }