@etherisc/gif-next 0.0.2-e6ad61d-739 → 0.0.2-e769e2e-077

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. package/README.md +337 -19
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +760 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -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 +312 -1138
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +660 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +439 -1219
  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 +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1570 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1039 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +664 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3500 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  42. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{treasury/ITreasury.sol/ITreasury.json → module/IComponents.sol/IComponents.json} +2 -2
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  48. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  50. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  52. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +684 -0
  54. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +684 -0
  56. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  58. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  59. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  60. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  61. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  62. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  64. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +680 -0
  66. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  68. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +660 -0
  70. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  72. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  74. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +493 -0
  76. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  78. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +701 -0
  80. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  81. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +530 -0
  82. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  83. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  84. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  85. package/artifacts/contracts/product/IProductService.sol/IProductService.json +381 -0
  86. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  88. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +692 -0
  90. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  92. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +716 -0
  94. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  95. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  96. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  98. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +636 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +648 -27
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +990 -0
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +846 -97
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +308 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1290 -0
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +661 -0
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +688 -0
  118. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +611 -0
  122. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  124. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  126. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  128. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +736 -0
  130. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +520 -0
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  134. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +625 -0
  136. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  138. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  140. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +478 -0
  142. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/lifecycle/ILifecycle.sol/ILifecycleModule.json → shared/ILifecycle.sol/ILifecycle.json} +10 -77
  144. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  146. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  148. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  150. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  152. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  156. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  157. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  158. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  159. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  160. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +347 -0
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  173. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1607 -0
  182. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  183. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +545 -0
  184. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  185. package/artifacts/contracts/staking/Staking.sol/Staking.json +2074 -0
  186. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  187. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +676 -0
  188. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +805 -0
  190. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +636 -0
  192. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  193. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  194. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  195. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  196. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  197. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +16 -3
  198. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  200. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  201. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  202. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  203. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  204. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  205. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  206. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  208. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  209. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  210. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  211. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  212. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  214. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  216. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  218. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  220. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  221. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  222. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  224. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  226. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  227. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  228. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  229. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +479 -0
  230. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  232. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  234. package/contracts/distribution/Distribution.sol +263 -0
  235. package/contracts/distribution/DistributionService.sol +297 -0
  236. package/contracts/distribution/DistributionServiceManager.sol +51 -0
  237. package/contracts/distribution/IDistributionComponent.sol +66 -0
  238. package/contracts/distribution/IDistributionService.sol +81 -0
  239. package/contracts/instance/BundleManager.sol +126 -0
  240. package/contracts/instance/IInstance.sol +74 -22
  241. package/contracts/instance/IInstanceService.sol +83 -0
  242. package/contracts/instance/Instance.sol +209 -53
  243. package/contracts/instance/InstanceAccessManager.sol +543 -0
  244. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  245. package/contracts/instance/InstanceReader.sol +366 -0
  246. package/contracts/instance/InstanceService.sol +348 -0
  247. package/contracts/instance/InstanceServiceManager.sol +54 -0
  248. package/contracts/instance/InstanceStore.sol +259 -0
  249. package/contracts/instance/base/BalanceStore.sol +118 -0
  250. package/contracts/instance/base/Cloneable.sol +51 -0
  251. package/contracts/instance/base/ObjectManager.sol +82 -0
  252. package/contracts/instance/module/IAccess.sol +54 -0
  253. package/contracts/instance/module/IBundle.sol +20 -0
  254. package/contracts/instance/module/IComponents.sol +52 -0
  255. package/contracts/instance/module/IDistribution.sol +42 -0
  256. package/contracts/instance/module/IPolicy.sol +84 -0
  257. package/contracts/instance/module/IRisk.sol +11 -0
  258. package/contracts/pool/BundleService.sol +313 -0
  259. package/contracts/pool/BundleServiceManager.sol +51 -0
  260. package/contracts/pool/IBundleService.sol +106 -0
  261. package/contracts/pool/IPoolComponent.sol +112 -0
  262. package/contracts/pool/IPoolService.sol +147 -0
  263. package/contracts/pool/Pool.sol +299 -0
  264. package/contracts/pool/PoolService.sol +421 -0
  265. package/contracts/pool/PoolServiceManager.sol +51 -0
  266. package/contracts/product/ApplicationService.sol +253 -0
  267. package/contracts/product/ApplicationServiceManager.sol +35 -0
  268. package/contracts/product/ClaimService.sol +436 -0
  269. package/contracts/product/ClaimServiceManager.sol +35 -0
  270. package/contracts/product/IApplicationService.sol +62 -0
  271. package/contracts/product/IClaimService.sol +93 -0
  272. package/contracts/product/IPolicyService.sol +78 -0
  273. package/contracts/product/IPricingService.sol +39 -0
  274. package/contracts/product/IProductComponent.sol +42 -0
  275. package/contracts/product/IProductService.sol +33 -0
  276. package/contracts/product/PolicyService.sol +471 -0
  277. package/contracts/product/PolicyServiceManager.sol +54 -0
  278. package/contracts/product/PricingService.sol +300 -0
  279. package/contracts/product/PricingServiceManager.sol +51 -0
  280. package/contracts/product/Product.sol +377 -0
  281. package/contracts/product/ProductService.sol +122 -0
  282. package/contracts/product/ProductServiceManager.sol +54 -0
  283. package/contracts/registry/ChainNft.sol +143 -62
  284. package/contracts/registry/IRegistry.sol +84 -40
  285. package/contracts/registry/IRegistryService.sol +79 -0
  286. package/contracts/registry/ITransferInterceptor.sol +7 -0
  287. package/contracts/registry/Registry.sol +475 -128
  288. package/contracts/registry/RegistryAccessManager.sol +213 -0
  289. package/contracts/registry/RegistryService.sol +327 -0
  290. package/contracts/registry/RegistryServiceManager.sol +60 -0
  291. package/contracts/registry/ReleaseManager.sol +375 -0
  292. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  293. package/contracts/registry/TokenRegistry.sol +187 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +286 -0
  296. package/contracts/shared/ComponentService.sol +596 -0
  297. package/contracts/shared/ComponentServiceManager.sol +35 -0
  298. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  299. package/contracts/shared/ERC165.sol +27 -0
  300. package/contracts/shared/IComponent.sol +74 -0
  301. package/contracts/shared/IComponentService.sol +91 -0
  302. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  303. package/contracts/shared/IKeyValueStore.sol +53 -0
  304. package/contracts/shared/ILifecycle.sol +30 -0
  305. package/contracts/shared/INftOwnable.sol +23 -0
  306. package/contracts/shared/IPolicyHolder.sol +40 -0
  307. package/contracts/shared/IRegisterable.sol +15 -0
  308. package/contracts/shared/IRegistryLinked.sol +11 -0
  309. package/contracts/shared/IService.sol +18 -0
  310. package/contracts/shared/IVersionable.sol +53 -0
  311. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  312. package/contracts/shared/KeyValueStore.sol +169 -0
  313. package/contracts/shared/Lifecycle.sol +121 -0
  314. package/contracts/shared/NftOwnable.sol +118 -0
  315. package/contracts/shared/PolicyHolder.sol +94 -0
  316. package/contracts/shared/ProxyManager.sol +169 -0
  317. package/contracts/shared/Registerable.sol +75 -0
  318. package/contracts/shared/RegistryLinked.sol +43 -0
  319. package/contracts/shared/Service.sol +77 -0
  320. package/contracts/shared/TokenHandler.sol +58 -0
  321. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  322. package/contracts/shared/Versionable.sol +59 -0
  323. package/contracts/staking/IStaking.sol +77 -0
  324. package/contracts/staking/IStakingService.sol +105 -0
  325. package/contracts/staking/Staking.sol +212 -0
  326. package/contracts/staking/StakingManager.sol +46 -0
  327. package/contracts/staking/StakingService.sol +200 -0
  328. package/contracts/staking/StakingServiceManager.sol +41 -0
  329. package/contracts/type/AddressSet.sol +58 -0
  330. package/contracts/type/Amount.sol +114 -0
  331. package/contracts/{types → type}/Blocknumber.sol +7 -1
  332. package/contracts/type/ClaimId.sol +75 -0
  333. package/contracts/type/DistributorType.sol +55 -0
  334. package/contracts/type/Fee.sol +66 -0
  335. package/contracts/type/Key32.sol +50 -0
  336. package/contracts/{types → type}/NftId.sol +34 -12
  337. package/contracts/type/NftIdSet.sol +62 -0
  338. package/contracts/{types → type}/ObjectType.sol +73 -15
  339. package/contracts/type/PayoutId.sol +82 -0
  340. package/contracts/type/Referral.sol +89 -0
  341. package/contracts/type/RiskId.sol +43 -0
  342. package/contracts/type/RoleId.sol +138 -0
  343. package/contracts/type/Seconds.sol +54 -0
  344. package/contracts/{types → type}/StateId.sol +23 -4
  345. package/contracts/{types → type}/Timestamp.sol +36 -6
  346. package/contracts/type/UFixed.sol +326 -0
  347. package/contracts/type/Version.sol +108 -0
  348. package/package.json +12 -5
  349. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  350. package/artifacts/contracts/components/Component.sol/Component.json +0 -205
  351. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  352. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  353. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  354. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  355. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  356. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  357. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  358. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -328
  359. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  360. package/artifacts/contracts/components/Product.sol/Product.json +0 -346
  361. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  363. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  365. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  369. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  371. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  372. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  373. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  374. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  375. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  376. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  377. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  378. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  379. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  381. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  383. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  385. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  386. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  387. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  388. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  389. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  391. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  392. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  393. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  394. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  395. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  397. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  398. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  399. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  400. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  401. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  403. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  404. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  405. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  406. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  407. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  408. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  409. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  410. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  412. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  414. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  415. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  416. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  417. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  418. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  419. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  420. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  421. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  422. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  423. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  424. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  426. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  427. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  428. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  429. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  430. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  431. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  432. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  433. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  434. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  435. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  436. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  437. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  438. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  439. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  440. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  441. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  442. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  443. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  444. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  445. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  446. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  447. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  448. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  449. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  450. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  451. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  452. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  453. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  454. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  455. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  456. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  457. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  458. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  459. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -92
  461. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  462. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -174
  465. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  467. package/contracts/components/Component.sol +0 -77
  468. package/contracts/components/IPool.sol +0 -15
  469. package/contracts/components/IProduct.sol +0 -16
  470. package/contracts/components/Pool.sol +0 -52
  471. package/contracts/components/Product.sol +0 -89
  472. package/contracts/experiment/errors/Require.sol +0 -38
  473. package/contracts/experiment/errors/Revert.sol +0 -44
  474. package/contracts/experiment/inheritance/A.sol +0 -53
  475. package/contracts/experiment/inheritance/B.sol +0 -28
  476. package/contracts/experiment/inheritance/C.sol +0 -34
  477. package/contracts/experiment/inheritance/IA.sol +0 -13
  478. package/contracts/experiment/inheritance/IB.sol +0 -10
  479. package/contracts/experiment/inheritance/IC.sol +0 -12
  480. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  481. package/contracts/experiment/statemachine/ISM.sol +0 -25
  482. package/contracts/experiment/statemachine/README.md +0 -112
  483. package/contracts/experiment/statemachine/SM.sol +0 -57
  484. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  485. package/contracts/experiment/types/TypeA.sol +0 -47
  486. package/contracts/experiment/types/TypeB.sol +0 -29
  487. package/contracts/instance/access/Access.sol +0 -165
  488. package/contracts/instance/access/IAccess.sol +0 -63
  489. package/contracts/instance/component/ComponentModule.sol +0 -274
  490. package/contracts/instance/component/IComponent.sol +0 -74
  491. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  492. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  493. package/contracts/instance/policy/IPolicy.sol +0 -50
  494. package/contracts/instance/policy/PolicyModule.sol +0 -114
  495. package/contracts/instance/pool/IPoolModule.sol +0 -23
  496. package/contracts/instance/pool/PoolModule.sol +0 -81
  497. package/contracts/instance/product/IProductService.sol +0 -36
  498. package/contracts/instance/product/ProductService.sol +0 -136
  499. package/contracts/instance/treasury/ITreasury.sol +0 -91
  500. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  501. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  502. package/contracts/registry/IChainNft.sol +0 -21
  503. package/contracts/types/ChainId.sol +0 -38
  504. package/contracts/types/Fee.sol +0 -32
  505. package/contracts/types/UFixed.sol +0 -210
@@ -0,0 +1,3500 @@
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": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "ObjectType",
70
+ "name": "objectType",
71
+ "type": "uint8"
72
+ },
73
+ {
74
+ "internalType": "StateId",
75
+ "name": "fromStateId",
76
+ "type": "uint8"
77
+ },
78
+ {
79
+ "internalType": "StateId",
80
+ "name": "toStateId",
81
+ "type": "uint8"
82
+ }
83
+ ],
84
+ "name": "ErrorInvalidStateTransition",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "Key32",
91
+ "name": "key",
92
+ "type": "bytes32"
93
+ },
94
+ {
95
+ "internalType": "ObjectType",
96
+ "name": "objectType",
97
+ "type": "uint8"
98
+ }
99
+ ],
100
+ "name": "ErrorKeyValueStoreAlreadyCreated",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "Key32",
107
+ "name": "key",
108
+ "type": "bytes32"
109
+ }
110
+ ],
111
+ "name": "ErrorKeyValueStoreNotExisting",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "Key32",
118
+ "name": "key",
119
+ "type": "bytes32"
120
+ }
121
+ ],
122
+ "name": "ErrorKeyValueStoreStateZero",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "ObjectType",
129
+ "name": "objectType",
130
+ "type": "uint8"
131
+ }
132
+ ],
133
+ "name": "ErrorKeyValueStoreTypeUndefined",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "nftId",
141
+ "type": "uint96"
142
+ },
143
+ {
144
+ "internalType": "ObjectType",
145
+ "name": "objectType",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "ErrorNoLifecycle",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "InvalidInitialization",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "NotInitializing",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "anonymous": false,
164
+ "inputs": [
165
+ {
166
+ "indexed": false,
167
+ "internalType": "address",
168
+ "name": "authority",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "AuthorityUpdated",
173
+ "type": "event"
174
+ },
175
+ {
176
+ "anonymous": false,
177
+ "inputs": [
178
+ {
179
+ "indexed": false,
180
+ "internalType": "uint64",
181
+ "name": "version",
182
+ "type": "uint64"
183
+ }
184
+ ],
185
+ "name": "Initialized",
186
+ "type": "event"
187
+ },
188
+ {
189
+ "anonymous": false,
190
+ "inputs": [
191
+ {
192
+ "indexed": false,
193
+ "internalType": "NftId",
194
+ "name": "targetNftId",
195
+ "type": "uint96"
196
+ },
197
+ {
198
+ "indexed": false,
199
+ "internalType": "Amount",
200
+ "name": "addedAmount",
201
+ "type": "uint96"
202
+ },
203
+ {
204
+ "indexed": false,
205
+ "internalType": "Amount",
206
+ "name": "newBalance",
207
+ "type": "uint96"
208
+ },
209
+ {
210
+ "indexed": false,
211
+ "internalType": "Blocknumber",
212
+ "name": "lastUpdatedIn",
213
+ "type": "uint32"
214
+ }
215
+ ],
216
+ "name": "LogBalanceStoreBalanceDecreased",
217
+ "type": "event"
218
+ },
219
+ {
220
+ "anonymous": false,
221
+ "inputs": [
222
+ {
223
+ "indexed": false,
224
+ "internalType": "NftId",
225
+ "name": "targetNftId",
226
+ "type": "uint96"
227
+ },
228
+ {
229
+ "indexed": false,
230
+ "internalType": "Amount",
231
+ "name": "addedAmount",
232
+ "type": "uint96"
233
+ },
234
+ {
235
+ "indexed": false,
236
+ "internalType": "Amount",
237
+ "name": "newBalance",
238
+ "type": "uint96"
239
+ },
240
+ {
241
+ "indexed": false,
242
+ "internalType": "Blocknumber",
243
+ "name": "lastUpdatedIn",
244
+ "type": "uint32"
245
+ }
246
+ ],
247
+ "name": "LogBalanceStoreBalanceIncreased",
248
+ "type": "event"
249
+ },
250
+ {
251
+ "anonymous": false,
252
+ "inputs": [
253
+ {
254
+ "indexed": false,
255
+ "internalType": "NftId",
256
+ "name": "targetNftId",
257
+ "type": "uint96"
258
+ },
259
+ {
260
+ "indexed": false,
261
+ "internalType": "Amount",
262
+ "name": "addedAmount",
263
+ "type": "uint96"
264
+ },
265
+ {
266
+ "indexed": false,
267
+ "internalType": "Amount",
268
+ "name": "newBalance",
269
+ "type": "uint96"
270
+ },
271
+ {
272
+ "indexed": false,
273
+ "internalType": "Blocknumber",
274
+ "name": "lastUpdatedIn",
275
+ "type": "uint32"
276
+ }
277
+ ],
278
+ "name": "LogBalanceStoreFeesDecreased",
279
+ "type": "event"
280
+ },
281
+ {
282
+ "anonymous": false,
283
+ "inputs": [
284
+ {
285
+ "indexed": false,
286
+ "internalType": "NftId",
287
+ "name": "targetNftId",
288
+ "type": "uint96"
289
+ },
290
+ {
291
+ "indexed": false,
292
+ "internalType": "Amount",
293
+ "name": "addedAmount",
294
+ "type": "uint96"
295
+ },
296
+ {
297
+ "indexed": false,
298
+ "internalType": "Amount",
299
+ "name": "newBalance",
300
+ "type": "uint96"
301
+ },
302
+ {
303
+ "indexed": false,
304
+ "internalType": "Blocknumber",
305
+ "name": "lastUpdatedIn",
306
+ "type": "uint32"
307
+ }
308
+ ],
309
+ "name": "LogBalanceStoreFeesIncreased",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "NftId",
318
+ "name": "targetNftId",
319
+ "type": "uint96"
320
+ },
321
+ {
322
+ "indexed": false,
323
+ "internalType": "Amount",
324
+ "name": "addedAmount",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "Amount",
330
+ "name": "newBalance",
331
+ "type": "uint96"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "internalType": "Blocknumber",
336
+ "name": "lastUpdatedIn",
337
+ "type": "uint32"
338
+ }
339
+ ],
340
+ "name": "LogBalanceStoreLockedDecreased",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": false,
348
+ "internalType": "NftId",
349
+ "name": "targetNftId",
350
+ "type": "uint96"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "Amount",
355
+ "name": "addedAmount",
356
+ "type": "uint96"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "Amount",
361
+ "name": "newBalance",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "Blocknumber",
367
+ "name": "lastUpdatedIn",
368
+ "type": "uint32"
369
+ }
370
+ ],
371
+ "name": "LogBalanceStoreLockedIncreased",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "targetNftId",
381
+ "type": "uint96"
382
+ }
383
+ ],
384
+ "name": "LogBalanceStoreTargetRegistered",
385
+ "type": "event"
386
+ },
387
+ {
388
+ "anonymous": false,
389
+ "inputs": [
390
+ {
391
+ "indexed": false,
392
+ "internalType": "ObjectType",
393
+ "name": "objectType",
394
+ "type": "uint8"
395
+ },
396
+ {
397
+ "indexed": false,
398
+ "internalType": "KeyId",
399
+ "name": "keyId",
400
+ "type": "bytes31"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "StateId",
405
+ "name": "state",
406
+ "type": "uint8"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "address",
411
+ "name": "createdBy",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "address",
417
+ "name": "txOrigin",
418
+ "type": "address"
419
+ }
420
+ ],
421
+ "name": "LogInfoCreated",
422
+ "type": "event"
423
+ },
424
+ {
425
+ "anonymous": false,
426
+ "inputs": [
427
+ {
428
+ "indexed": false,
429
+ "internalType": "ObjectType",
430
+ "name": "objectType",
431
+ "type": "uint8"
432
+ },
433
+ {
434
+ "indexed": false,
435
+ "internalType": "KeyId",
436
+ "name": "keyId",
437
+ "type": "bytes31"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "StateId",
442
+ "name": "state",
443
+ "type": "uint8"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "address",
448
+ "name": "updatedBy",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "address",
454
+ "name": "txOrigin",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "Blocknumber",
460
+ "name": "lastUpdatedIn",
461
+ "type": "uint32"
462
+ }
463
+ ],
464
+ "name": "LogInfoUpdated",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "anonymous": false,
469
+ "inputs": [
470
+ {
471
+ "indexed": false,
472
+ "internalType": "ObjectType",
473
+ "name": "objectType",
474
+ "type": "uint8"
475
+ },
476
+ {
477
+ "indexed": false,
478
+ "internalType": "KeyId",
479
+ "name": "keyId",
480
+ "type": "bytes31"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "StateId",
485
+ "name": "stateOld",
486
+ "type": "uint8"
487
+ },
488
+ {
489
+ "indexed": false,
490
+ "internalType": "StateId",
491
+ "name": "stateNew",
492
+ "type": "uint8"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "address",
497
+ "name": "updatedBy",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "indexed": false,
502
+ "internalType": "address",
503
+ "name": "txOrigin",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "indexed": false,
508
+ "internalType": "Blocknumber",
509
+ "name": "lastUpdatedIn",
510
+ "type": "uint32"
511
+ }
512
+ ],
513
+ "name": "LogStateUpdated",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "authority",
519
+ "outputs": [
520
+ {
521
+ "internalType": "address",
522
+ "name": "",
523
+ "type": "address"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "ObjectType",
533
+ "name": "objectType",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "internalType": "StateId",
538
+ "name": "fromId",
539
+ "type": "uint8"
540
+ },
541
+ {
542
+ "internalType": "StateId",
543
+ "name": "toId",
544
+ "type": "uint8"
545
+ }
546
+ ],
547
+ "name": "checkTransition",
548
+ "outputs": [],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "internalType": "NftId",
556
+ "name": "applicationNftId",
557
+ "type": "uint96"
558
+ },
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "productNftId",
564
+ "type": "uint96"
565
+ },
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "bundleNftId",
569
+ "type": "uint96"
570
+ },
571
+ {
572
+ "internalType": "ReferralId",
573
+ "name": "referralId",
574
+ "type": "bytes8"
575
+ },
576
+ {
577
+ "internalType": "RiskId",
578
+ "name": "riskId",
579
+ "type": "bytes8"
580
+ },
581
+ {
582
+ "internalType": "Amount",
583
+ "name": "sumInsuredAmount",
584
+ "type": "uint96"
585
+ },
586
+ {
587
+ "internalType": "Amount",
588
+ "name": "premiumAmount",
589
+ "type": "uint96"
590
+ },
591
+ {
592
+ "internalType": "Amount",
593
+ "name": "premiumPaidAmount",
594
+ "type": "uint96"
595
+ },
596
+ {
597
+ "internalType": "Seconds",
598
+ "name": "lifetime",
599
+ "type": "uint40"
600
+ },
601
+ {
602
+ "internalType": "bytes",
603
+ "name": "applicationData",
604
+ "type": "bytes"
605
+ },
606
+ {
607
+ "internalType": "bytes",
608
+ "name": "processData",
609
+ "type": "bytes"
610
+ },
611
+ {
612
+ "internalType": "uint16",
613
+ "name": "claimsCount",
614
+ "type": "uint16"
615
+ },
616
+ {
617
+ "internalType": "uint16",
618
+ "name": "openClaimsCount",
619
+ "type": "uint16"
620
+ },
621
+ {
622
+ "internalType": "Amount",
623
+ "name": "claimAmount",
624
+ "type": "uint96"
625
+ },
626
+ {
627
+ "internalType": "Amount",
628
+ "name": "payoutAmount",
629
+ "type": "uint96"
630
+ },
631
+ {
632
+ "internalType": "Timestamp",
633
+ "name": "activatedAt",
634
+ "type": "uint40"
635
+ },
636
+ {
637
+ "internalType": "Timestamp",
638
+ "name": "expiredAt",
639
+ "type": "uint40"
640
+ },
641
+ {
642
+ "internalType": "Timestamp",
643
+ "name": "closedAt",
644
+ "type": "uint40"
645
+ }
646
+ ],
647
+ "internalType": "struct IPolicy.PolicyInfo",
648
+ "name": "policy",
649
+ "type": "tuple"
650
+ }
651
+ ],
652
+ "name": "createApplication",
653
+ "outputs": [],
654
+ "stateMutability": "nonpayable",
655
+ "type": "function"
656
+ },
657
+ {
658
+ "inputs": [
659
+ {
660
+ "internalType": "NftId",
661
+ "name": "bundleNftId",
662
+ "type": "uint96"
663
+ },
664
+ {
665
+ "components": [
666
+ {
667
+ "internalType": "NftId",
668
+ "name": "poolNftId",
669
+ "type": "uint96"
670
+ },
671
+ {
672
+ "components": [
673
+ {
674
+ "internalType": "UFixed",
675
+ "name": "fractionalFee",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "internalType": "uint256",
680
+ "name": "fixedFee",
681
+ "type": "uint256"
682
+ }
683
+ ],
684
+ "internalType": "struct Fee",
685
+ "name": "fee",
686
+ "type": "tuple"
687
+ },
688
+ {
689
+ "internalType": "bytes",
690
+ "name": "filter",
691
+ "type": "bytes"
692
+ },
693
+ {
694
+ "internalType": "Seconds",
695
+ "name": "lifetime",
696
+ "type": "uint40"
697
+ },
698
+ {
699
+ "internalType": "Timestamp",
700
+ "name": "expiredAt",
701
+ "type": "uint40"
702
+ },
703
+ {
704
+ "internalType": "Timestamp",
705
+ "name": "closedAt",
706
+ "type": "uint40"
707
+ }
708
+ ],
709
+ "internalType": "struct IBundle.BundleInfo",
710
+ "name": "bundle",
711
+ "type": "tuple"
712
+ }
713
+ ],
714
+ "name": "createBundle",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "NftId",
723
+ "name": "policyNftId",
724
+ "type": "uint96"
725
+ },
726
+ {
727
+ "internalType": "ClaimId",
728
+ "name": "claimId",
729
+ "type": "uint16"
730
+ },
731
+ {
732
+ "components": [
733
+ {
734
+ "internalType": "Amount",
735
+ "name": "claimAmount",
736
+ "type": "uint96"
737
+ },
738
+ {
739
+ "internalType": "Amount",
740
+ "name": "paidAmount",
741
+ "type": "uint96"
742
+ },
743
+ {
744
+ "internalType": "uint8",
745
+ "name": "payoutsCount",
746
+ "type": "uint8"
747
+ },
748
+ {
749
+ "internalType": "uint8",
750
+ "name": "openPayoutsCount",
751
+ "type": "uint8"
752
+ },
753
+ {
754
+ "internalType": "bytes",
755
+ "name": "submissionData",
756
+ "type": "bytes"
757
+ },
758
+ {
759
+ "internalType": "bytes",
760
+ "name": "processData",
761
+ "type": "bytes"
762
+ },
763
+ {
764
+ "internalType": "Timestamp",
765
+ "name": "closedAt",
766
+ "type": "uint40"
767
+ }
768
+ ],
769
+ "internalType": "struct IPolicy.ClaimInfo",
770
+ "name": "claim",
771
+ "type": "tuple"
772
+ }
773
+ ],
774
+ "name": "createClaim",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "NftId",
783
+ "name": "componentNftId",
784
+ "type": "uint96"
785
+ },
786
+ {
787
+ "components": [
788
+ {
789
+ "internalType": "string",
790
+ "name": "name",
791
+ "type": "string"
792
+ },
793
+ {
794
+ "internalType": "NftId",
795
+ "name": "productNftId",
796
+ "type": "uint96"
797
+ },
798
+ {
799
+ "internalType": "contract IERC20Metadata",
800
+ "name": "token",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "contract TokenHandler",
805
+ "name": "tokenHandler",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "address",
810
+ "name": "wallet",
811
+ "type": "address"
812
+ },
813
+ {
814
+ "internalType": "bytes",
815
+ "name": "data",
816
+ "type": "bytes"
817
+ }
818
+ ],
819
+ "internalType": "struct IComponents.ComponentInfo",
820
+ "name": "componentInfo",
821
+ "type": "tuple"
822
+ }
823
+ ],
824
+ "name": "createComponent",
825
+ "outputs": [],
826
+ "stateMutability": "nonpayable",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [
831
+ {
832
+ "internalType": "NftId",
833
+ "name": "distributorNftId",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "components": [
838
+ {
839
+ "internalType": "DistributorType",
840
+ "name": "distributorType",
841
+ "type": "bytes8"
842
+ },
843
+ {
844
+ "internalType": "bool",
845
+ "name": "active",
846
+ "type": "bool"
847
+ },
848
+ {
849
+ "internalType": "bytes",
850
+ "name": "data",
851
+ "type": "bytes"
852
+ },
853
+ {
854
+ "internalType": "Amount",
855
+ "name": "commissionAmount",
856
+ "type": "uint96"
857
+ },
858
+ {
859
+ "internalType": "uint32",
860
+ "name": "numPoliciesSold",
861
+ "type": "uint32"
862
+ }
863
+ ],
864
+ "internalType": "struct IDistribution.DistributorInfo",
865
+ "name": "info",
866
+ "type": "tuple"
867
+ }
868
+ ],
869
+ "name": "createDistributor",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "DistributorType",
878
+ "name": "distributorType",
879
+ "type": "bytes8"
880
+ },
881
+ {
882
+ "components": [
883
+ {
884
+ "internalType": "string",
885
+ "name": "name",
886
+ "type": "string"
887
+ },
888
+ {
889
+ "internalType": "UFixed",
890
+ "name": "minDiscountPercentage",
891
+ "type": "uint256"
892
+ },
893
+ {
894
+ "internalType": "UFixed",
895
+ "name": "maxDiscountPercentage",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "internalType": "UFixed",
900
+ "name": "commissionPercentage",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "internalType": "uint32",
905
+ "name": "maxReferralCount",
906
+ "type": "uint32"
907
+ },
908
+ {
909
+ "internalType": "uint32",
910
+ "name": "maxReferralLifetime",
911
+ "type": "uint32"
912
+ },
913
+ {
914
+ "internalType": "bool",
915
+ "name": "allowSelfReferrals",
916
+ "type": "bool"
917
+ },
918
+ {
919
+ "internalType": "bool",
920
+ "name": "allowRenewals",
921
+ "type": "bool"
922
+ },
923
+ {
924
+ "internalType": "bytes",
925
+ "name": "data",
926
+ "type": "bytes"
927
+ }
928
+ ],
929
+ "internalType": "struct IDistribution.DistributorTypeInfo",
930
+ "name": "info",
931
+ "type": "tuple"
932
+ }
933
+ ],
934
+ "name": "createDistributorType",
935
+ "outputs": [],
936
+ "stateMutability": "nonpayable",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [
941
+ {
942
+ "internalType": "NftId",
943
+ "name": "policyNftId",
944
+ "type": "uint96"
945
+ },
946
+ {
947
+ "internalType": "PayoutId",
948
+ "name": "payoutId",
949
+ "type": "uint24"
950
+ },
951
+ {
952
+ "components": [
953
+ {
954
+ "internalType": "ClaimId",
955
+ "name": "claimId",
956
+ "type": "uint16"
957
+ },
958
+ {
959
+ "internalType": "Amount",
960
+ "name": "amount",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "bytes",
965
+ "name": "data",
966
+ "type": "bytes"
967
+ },
968
+ {
969
+ "internalType": "Timestamp",
970
+ "name": "paidAt",
971
+ "type": "uint40"
972
+ }
973
+ ],
974
+ "internalType": "struct IPolicy.PayoutInfo",
975
+ "name": "payout",
976
+ "type": "tuple"
977
+ }
978
+ ],
979
+ "name": "createPayout",
980
+ "outputs": [],
981
+ "stateMutability": "nonpayable",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [
986
+ {
987
+ "internalType": "NftId",
988
+ "name": "poolNftId",
989
+ "type": "uint96"
990
+ },
991
+ {
992
+ "components": [
993
+ {
994
+ "internalType": "NftId",
995
+ "name": "productNftId",
996
+ "type": "uint96"
997
+ },
998
+ {
999
+ "internalType": "RoleId",
1000
+ "name": "bundleOwnerRole",
1001
+ "type": "uint64"
1002
+ },
1003
+ {
1004
+ "internalType": "Amount",
1005
+ "name": "maxCapitalAmount",
1006
+ "type": "uint96"
1007
+ },
1008
+ {
1009
+ "internalType": "bool",
1010
+ "name": "isInterceptingBundleTransfers",
1011
+ "type": "bool"
1012
+ },
1013
+ {
1014
+ "internalType": "bool",
1015
+ "name": "isExternallyManaged",
1016
+ "type": "bool"
1017
+ },
1018
+ {
1019
+ "internalType": "bool",
1020
+ "name": "isVerifyingApplications",
1021
+ "type": "bool"
1022
+ },
1023
+ {
1024
+ "internalType": "UFixed",
1025
+ "name": "collateralizationLevel",
1026
+ "type": "uint256"
1027
+ },
1028
+ {
1029
+ "internalType": "UFixed",
1030
+ "name": "retentionLevel",
1031
+ "type": "uint256"
1032
+ },
1033
+ {
1034
+ "components": [
1035
+ {
1036
+ "internalType": "UFixed",
1037
+ "name": "fractionalFee",
1038
+ "type": "uint256"
1039
+ },
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "fixedFee",
1043
+ "type": "uint256"
1044
+ }
1045
+ ],
1046
+ "internalType": "struct Fee",
1047
+ "name": "poolFee",
1048
+ "type": "tuple"
1049
+ },
1050
+ {
1051
+ "components": [
1052
+ {
1053
+ "internalType": "UFixed",
1054
+ "name": "fractionalFee",
1055
+ "type": "uint256"
1056
+ },
1057
+ {
1058
+ "internalType": "uint256",
1059
+ "name": "fixedFee",
1060
+ "type": "uint256"
1061
+ }
1062
+ ],
1063
+ "internalType": "struct Fee",
1064
+ "name": "stakingFee",
1065
+ "type": "tuple"
1066
+ },
1067
+ {
1068
+ "components": [
1069
+ {
1070
+ "internalType": "UFixed",
1071
+ "name": "fractionalFee",
1072
+ "type": "uint256"
1073
+ },
1074
+ {
1075
+ "internalType": "uint256",
1076
+ "name": "fixedFee",
1077
+ "type": "uint256"
1078
+ }
1079
+ ],
1080
+ "internalType": "struct Fee",
1081
+ "name": "performanceFee",
1082
+ "type": "tuple"
1083
+ }
1084
+ ],
1085
+ "internalType": "struct IComponents.PoolInfo",
1086
+ "name": "info",
1087
+ "type": "tuple"
1088
+ }
1089
+ ],
1090
+ "name": "createPool",
1091
+ "outputs": [],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "NftId",
1099
+ "name": "productNftId",
1100
+ "type": "uint96"
1101
+ },
1102
+ {
1103
+ "components": [
1104
+ {
1105
+ "internalType": "NftId",
1106
+ "name": "distributionNftId",
1107
+ "type": "uint96"
1108
+ },
1109
+ {
1110
+ "internalType": "NftId",
1111
+ "name": "poolNftId",
1112
+ "type": "uint96"
1113
+ },
1114
+ {
1115
+ "components": [
1116
+ {
1117
+ "internalType": "UFixed",
1118
+ "name": "fractionalFee",
1119
+ "type": "uint256"
1120
+ },
1121
+ {
1122
+ "internalType": "uint256",
1123
+ "name": "fixedFee",
1124
+ "type": "uint256"
1125
+ }
1126
+ ],
1127
+ "internalType": "struct Fee",
1128
+ "name": "productFee",
1129
+ "type": "tuple"
1130
+ },
1131
+ {
1132
+ "components": [
1133
+ {
1134
+ "internalType": "UFixed",
1135
+ "name": "fractionalFee",
1136
+ "type": "uint256"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "fixedFee",
1141
+ "type": "uint256"
1142
+ }
1143
+ ],
1144
+ "internalType": "struct Fee",
1145
+ "name": "processingFee",
1146
+ "type": "tuple"
1147
+ },
1148
+ {
1149
+ "components": [
1150
+ {
1151
+ "internalType": "UFixed",
1152
+ "name": "fractionalFee",
1153
+ "type": "uint256"
1154
+ },
1155
+ {
1156
+ "internalType": "uint256",
1157
+ "name": "fixedFee",
1158
+ "type": "uint256"
1159
+ }
1160
+ ],
1161
+ "internalType": "struct Fee",
1162
+ "name": "distributionFee",
1163
+ "type": "tuple"
1164
+ },
1165
+ {
1166
+ "components": [
1167
+ {
1168
+ "internalType": "UFixed",
1169
+ "name": "fractionalFee",
1170
+ "type": "uint256"
1171
+ },
1172
+ {
1173
+ "internalType": "uint256",
1174
+ "name": "fixedFee",
1175
+ "type": "uint256"
1176
+ }
1177
+ ],
1178
+ "internalType": "struct Fee",
1179
+ "name": "minDistributionOwnerFee",
1180
+ "type": "tuple"
1181
+ },
1182
+ {
1183
+ "components": [
1184
+ {
1185
+ "internalType": "UFixed",
1186
+ "name": "fractionalFee",
1187
+ "type": "uint256"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "fixedFee",
1192
+ "type": "uint256"
1193
+ }
1194
+ ],
1195
+ "internalType": "struct Fee",
1196
+ "name": "poolFee",
1197
+ "type": "tuple"
1198
+ },
1199
+ {
1200
+ "components": [
1201
+ {
1202
+ "internalType": "UFixed",
1203
+ "name": "fractionalFee",
1204
+ "type": "uint256"
1205
+ },
1206
+ {
1207
+ "internalType": "uint256",
1208
+ "name": "fixedFee",
1209
+ "type": "uint256"
1210
+ }
1211
+ ],
1212
+ "internalType": "struct Fee",
1213
+ "name": "stakingFee",
1214
+ "type": "tuple"
1215
+ },
1216
+ {
1217
+ "components": [
1218
+ {
1219
+ "internalType": "UFixed",
1220
+ "name": "fractionalFee",
1221
+ "type": "uint256"
1222
+ },
1223
+ {
1224
+ "internalType": "uint256",
1225
+ "name": "fixedFee",
1226
+ "type": "uint256"
1227
+ }
1228
+ ],
1229
+ "internalType": "struct Fee",
1230
+ "name": "performanceFee",
1231
+ "type": "tuple"
1232
+ }
1233
+ ],
1234
+ "internalType": "struct IComponents.ProductInfo",
1235
+ "name": "info",
1236
+ "type": "tuple"
1237
+ }
1238
+ ],
1239
+ "name": "createProduct",
1240
+ "outputs": [],
1241
+ "stateMutability": "nonpayable",
1242
+ "type": "function"
1243
+ },
1244
+ {
1245
+ "inputs": [
1246
+ {
1247
+ "internalType": "ReferralId",
1248
+ "name": "referralId",
1249
+ "type": "bytes8"
1250
+ },
1251
+ {
1252
+ "components": [
1253
+ {
1254
+ "internalType": "NftId",
1255
+ "name": "distributorNftId",
1256
+ "type": "uint96"
1257
+ },
1258
+ {
1259
+ "internalType": "string",
1260
+ "name": "referralCode",
1261
+ "type": "string"
1262
+ },
1263
+ {
1264
+ "internalType": "UFixed",
1265
+ "name": "discountPercentage",
1266
+ "type": "uint256"
1267
+ },
1268
+ {
1269
+ "internalType": "uint32",
1270
+ "name": "maxReferrals",
1271
+ "type": "uint32"
1272
+ },
1273
+ {
1274
+ "internalType": "uint32",
1275
+ "name": "usedReferrals",
1276
+ "type": "uint32"
1277
+ },
1278
+ {
1279
+ "internalType": "Timestamp",
1280
+ "name": "expiryAt",
1281
+ "type": "uint40"
1282
+ },
1283
+ {
1284
+ "internalType": "bytes",
1285
+ "name": "data",
1286
+ "type": "bytes"
1287
+ }
1288
+ ],
1289
+ "internalType": "struct IDistribution.ReferralInfo",
1290
+ "name": "referralInfo",
1291
+ "type": "tuple"
1292
+ }
1293
+ ],
1294
+ "name": "createReferral",
1295
+ "outputs": [],
1296
+ "stateMutability": "nonpayable",
1297
+ "type": "function"
1298
+ },
1299
+ {
1300
+ "inputs": [
1301
+ {
1302
+ "internalType": "RiskId",
1303
+ "name": "riskId",
1304
+ "type": "bytes8"
1305
+ },
1306
+ {
1307
+ "components": [
1308
+ {
1309
+ "internalType": "NftId",
1310
+ "name": "productNftId",
1311
+ "type": "uint96"
1312
+ },
1313
+ {
1314
+ "internalType": "bytes",
1315
+ "name": "data",
1316
+ "type": "bytes"
1317
+ }
1318
+ ],
1319
+ "internalType": "struct IRisk.RiskInfo",
1320
+ "name": "risk",
1321
+ "type": "tuple"
1322
+ }
1323
+ ],
1324
+ "name": "createRisk",
1325
+ "outputs": [],
1326
+ "stateMutability": "nonpayable",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [
1331
+ {
1332
+ "internalType": "NftId",
1333
+ "name": "targetNftId",
1334
+ "type": "uint96"
1335
+ },
1336
+ {
1337
+ "internalType": "Amount",
1338
+ "name": "amount",
1339
+ "type": "uint96"
1340
+ }
1341
+ ],
1342
+ "name": "decreaseBalance",
1343
+ "outputs": [
1344
+ {
1345
+ "internalType": "Amount",
1346
+ "name": "newBalance",
1347
+ "type": "uint96"
1348
+ }
1349
+ ],
1350
+ "stateMutability": "nonpayable",
1351
+ "type": "function"
1352
+ },
1353
+ {
1354
+ "inputs": [
1355
+ {
1356
+ "internalType": "NftId",
1357
+ "name": "targetNftId",
1358
+ "type": "uint96"
1359
+ },
1360
+ {
1361
+ "internalType": "Amount",
1362
+ "name": "amount",
1363
+ "type": "uint96"
1364
+ }
1365
+ ],
1366
+ "name": "decreaseFees",
1367
+ "outputs": [
1368
+ {
1369
+ "internalType": "Amount",
1370
+ "name": "newFeeBalance",
1371
+ "type": "uint96"
1372
+ }
1373
+ ],
1374
+ "stateMutability": "nonpayable",
1375
+ "type": "function"
1376
+ },
1377
+ {
1378
+ "inputs": [
1379
+ {
1380
+ "internalType": "NftId",
1381
+ "name": "targetNftId",
1382
+ "type": "uint96"
1383
+ },
1384
+ {
1385
+ "internalType": "Amount",
1386
+ "name": "amount",
1387
+ "type": "uint96"
1388
+ }
1389
+ ],
1390
+ "name": "decreaseLocked",
1391
+ "outputs": [
1392
+ {
1393
+ "internalType": "Amount",
1394
+ "name": "newBalance",
1395
+ "type": "uint96"
1396
+ }
1397
+ ],
1398
+ "stateMutability": "nonpayable",
1399
+ "type": "function"
1400
+ },
1401
+ {
1402
+ "inputs": [
1403
+ {
1404
+ "internalType": "Key32",
1405
+ "name": "key32",
1406
+ "type": "bytes32"
1407
+ }
1408
+ ],
1409
+ "name": "exists",
1410
+ "outputs": [
1411
+ {
1412
+ "internalType": "bool",
1413
+ "name": "",
1414
+ "type": "bool"
1415
+ }
1416
+ ],
1417
+ "stateMutability": "view",
1418
+ "type": "function"
1419
+ },
1420
+ {
1421
+ "inputs": [
1422
+ {
1423
+ "internalType": "Key32",
1424
+ "name": "key32",
1425
+ "type": "bytes32"
1426
+ }
1427
+ ],
1428
+ "name": "get",
1429
+ "outputs": [
1430
+ {
1431
+ "components": [
1432
+ {
1433
+ "components": [
1434
+ {
1435
+ "internalType": "ObjectType",
1436
+ "name": "objectType",
1437
+ "type": "uint8"
1438
+ },
1439
+ {
1440
+ "internalType": "StateId",
1441
+ "name": "state",
1442
+ "type": "uint8"
1443
+ },
1444
+ {
1445
+ "internalType": "address",
1446
+ "name": "updatedBy",
1447
+ "type": "address"
1448
+ },
1449
+ {
1450
+ "internalType": "Blocknumber",
1451
+ "name": "updatedIn",
1452
+ "type": "uint32"
1453
+ },
1454
+ {
1455
+ "internalType": "Blocknumber",
1456
+ "name": "createdIn",
1457
+ "type": "uint32"
1458
+ }
1459
+ ],
1460
+ "internalType": "struct IKeyValueStore.Metadata",
1461
+ "name": "metadata",
1462
+ "type": "tuple"
1463
+ },
1464
+ {
1465
+ "internalType": "bytes",
1466
+ "name": "data",
1467
+ "type": "bytes"
1468
+ }
1469
+ ],
1470
+ "internalType": "struct IKeyValueStore.Value",
1471
+ "name": "value",
1472
+ "type": "tuple"
1473
+ }
1474
+ ],
1475
+ "stateMutability": "view",
1476
+ "type": "function"
1477
+ },
1478
+ {
1479
+ "inputs": [
1480
+ {
1481
+ "internalType": "NftId",
1482
+ "name": "targetNftId",
1483
+ "type": "uint96"
1484
+ }
1485
+ ],
1486
+ "name": "getAmounts",
1487
+ "outputs": [
1488
+ {
1489
+ "internalType": "Amount",
1490
+ "name": "balanceAmount",
1491
+ "type": "uint96"
1492
+ },
1493
+ {
1494
+ "internalType": "Amount",
1495
+ "name": "lockedAmount",
1496
+ "type": "uint96"
1497
+ },
1498
+ {
1499
+ "internalType": "Amount",
1500
+ "name": "feeAmount",
1501
+ "type": "uint96"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "view",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [
1509
+ {
1510
+ "internalType": "NftId",
1511
+ "name": "targetNftId",
1512
+ "type": "uint96"
1513
+ }
1514
+ ],
1515
+ "name": "getBalanceAmount",
1516
+ "outputs": [
1517
+ {
1518
+ "internalType": "Amount",
1519
+ "name": "balanceAmount",
1520
+ "type": "uint96"
1521
+ }
1522
+ ],
1523
+ "stateMutability": "view",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [
1528
+ {
1529
+ "internalType": "Key32",
1530
+ "name": "key32",
1531
+ "type": "bytes32"
1532
+ }
1533
+ ],
1534
+ "name": "getData",
1535
+ "outputs": [
1536
+ {
1537
+ "internalType": "bytes",
1538
+ "name": "data",
1539
+ "type": "bytes"
1540
+ }
1541
+ ],
1542
+ "stateMutability": "view",
1543
+ "type": "function"
1544
+ },
1545
+ {
1546
+ "inputs": [
1547
+ {
1548
+ "internalType": "NftId",
1549
+ "name": "targetNftId",
1550
+ "type": "uint96"
1551
+ }
1552
+ ],
1553
+ "name": "getFeeAmount",
1554
+ "outputs": [
1555
+ {
1556
+ "internalType": "Amount",
1557
+ "name": "feeAmount",
1558
+ "type": "uint96"
1559
+ }
1560
+ ],
1561
+ "stateMutability": "view",
1562
+ "type": "function"
1563
+ },
1564
+ {
1565
+ "inputs": [
1566
+ {
1567
+ "internalType": "ObjectType",
1568
+ "name": "objectType",
1569
+ "type": "uint8"
1570
+ }
1571
+ ],
1572
+ "name": "getInitialState",
1573
+ "outputs": [
1574
+ {
1575
+ "internalType": "StateId",
1576
+ "name": "",
1577
+ "type": "uint8"
1578
+ }
1579
+ ],
1580
+ "stateMutability": "view",
1581
+ "type": "function"
1582
+ },
1583
+ {
1584
+ "inputs": [
1585
+ {
1586
+ "internalType": "NftId",
1587
+ "name": "targetNftId",
1588
+ "type": "uint96"
1589
+ }
1590
+ ],
1591
+ "name": "getLockedAmount",
1592
+ "outputs": [
1593
+ {
1594
+ "internalType": "Amount",
1595
+ "name": "lockedAmount",
1596
+ "type": "uint96"
1597
+ }
1598
+ ],
1599
+ "stateMutability": "view",
1600
+ "type": "function"
1601
+ },
1602
+ {
1603
+ "inputs": [
1604
+ {
1605
+ "internalType": "Key32",
1606
+ "name": "key32",
1607
+ "type": "bytes32"
1608
+ }
1609
+ ],
1610
+ "name": "getMetadata",
1611
+ "outputs": [
1612
+ {
1613
+ "components": [
1614
+ {
1615
+ "internalType": "ObjectType",
1616
+ "name": "objectType",
1617
+ "type": "uint8"
1618
+ },
1619
+ {
1620
+ "internalType": "StateId",
1621
+ "name": "state",
1622
+ "type": "uint8"
1623
+ },
1624
+ {
1625
+ "internalType": "address",
1626
+ "name": "updatedBy",
1627
+ "type": "address"
1628
+ },
1629
+ {
1630
+ "internalType": "Blocknumber",
1631
+ "name": "updatedIn",
1632
+ "type": "uint32"
1633
+ },
1634
+ {
1635
+ "internalType": "Blocknumber",
1636
+ "name": "createdIn",
1637
+ "type": "uint32"
1638
+ }
1639
+ ],
1640
+ "internalType": "struct IKeyValueStore.Metadata",
1641
+ "name": "metadata",
1642
+ "type": "tuple"
1643
+ }
1644
+ ],
1645
+ "stateMutability": "view",
1646
+ "type": "function"
1647
+ },
1648
+ {
1649
+ "inputs": [
1650
+ {
1651
+ "internalType": "Key32",
1652
+ "name": "key32",
1653
+ "type": "bytes32"
1654
+ }
1655
+ ],
1656
+ "name": "getState",
1657
+ "outputs": [
1658
+ {
1659
+ "internalType": "StateId",
1660
+ "name": "state",
1661
+ "type": "uint8"
1662
+ }
1663
+ ],
1664
+ "stateMutability": "view",
1665
+ "type": "function"
1666
+ },
1667
+ {
1668
+ "inputs": [
1669
+ {
1670
+ "internalType": "ObjectType",
1671
+ "name": "objectType",
1672
+ "type": "uint8"
1673
+ }
1674
+ ],
1675
+ "name": "hasLifecycle",
1676
+ "outputs": [
1677
+ {
1678
+ "internalType": "bool",
1679
+ "name": "",
1680
+ "type": "bool"
1681
+ }
1682
+ ],
1683
+ "stateMutability": "view",
1684
+ "type": "function"
1685
+ },
1686
+ {
1687
+ "inputs": [
1688
+ {
1689
+ "internalType": "NftId",
1690
+ "name": "targetNftId",
1691
+ "type": "uint96"
1692
+ },
1693
+ {
1694
+ "internalType": "Amount",
1695
+ "name": "amount",
1696
+ "type": "uint96"
1697
+ }
1698
+ ],
1699
+ "name": "increaseBalance",
1700
+ "outputs": [
1701
+ {
1702
+ "internalType": "Amount",
1703
+ "name": "newBalance",
1704
+ "type": "uint96"
1705
+ }
1706
+ ],
1707
+ "stateMutability": "nonpayable",
1708
+ "type": "function"
1709
+ },
1710
+ {
1711
+ "inputs": [
1712
+ {
1713
+ "internalType": "NftId",
1714
+ "name": "targetNftId",
1715
+ "type": "uint96"
1716
+ },
1717
+ {
1718
+ "internalType": "Amount",
1719
+ "name": "amount",
1720
+ "type": "uint96"
1721
+ }
1722
+ ],
1723
+ "name": "increaseFees",
1724
+ "outputs": [
1725
+ {
1726
+ "internalType": "Amount",
1727
+ "name": "newFeeBalance",
1728
+ "type": "uint96"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "nonpayable",
1732
+ "type": "function"
1733
+ },
1734
+ {
1735
+ "inputs": [
1736
+ {
1737
+ "internalType": "NftId",
1738
+ "name": "targetNftId",
1739
+ "type": "uint96"
1740
+ },
1741
+ {
1742
+ "internalType": "Amount",
1743
+ "name": "amount",
1744
+ "type": "uint96"
1745
+ }
1746
+ ],
1747
+ "name": "increaseLocked",
1748
+ "outputs": [
1749
+ {
1750
+ "internalType": "Amount",
1751
+ "name": "newBalance",
1752
+ "type": "uint96"
1753
+ }
1754
+ ],
1755
+ "stateMutability": "nonpayable",
1756
+ "type": "function"
1757
+ },
1758
+ {
1759
+ "inputs": [
1760
+ {
1761
+ "internalType": "address",
1762
+ "name": "instance",
1763
+ "type": "address"
1764
+ }
1765
+ ],
1766
+ "name": "initialize",
1767
+ "outputs": [],
1768
+ "stateMutability": "nonpayable",
1769
+ "type": "function"
1770
+ },
1771
+ {
1772
+ "inputs": [],
1773
+ "name": "initializeLifecycle",
1774
+ "outputs": [],
1775
+ "stateMutability": "nonpayable",
1776
+ "type": "function"
1777
+ },
1778
+ {
1779
+ "inputs": [],
1780
+ "name": "isConsumingScheduledOp",
1781
+ "outputs": [
1782
+ {
1783
+ "internalType": "bytes4",
1784
+ "name": "",
1785
+ "type": "bytes4"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view",
1789
+ "type": "function"
1790
+ },
1791
+ {
1792
+ "inputs": [
1793
+ {
1794
+ "internalType": "ObjectType",
1795
+ "name": "objectType",
1796
+ "type": "uint8"
1797
+ },
1798
+ {
1799
+ "internalType": "StateId",
1800
+ "name": "fromId",
1801
+ "type": "uint8"
1802
+ },
1803
+ {
1804
+ "internalType": "StateId",
1805
+ "name": "toId",
1806
+ "type": "uint8"
1807
+ }
1808
+ ],
1809
+ "name": "isValidTransition",
1810
+ "outputs": [
1811
+ {
1812
+ "internalType": "bool",
1813
+ "name": "",
1814
+ "type": "bool"
1815
+ }
1816
+ ],
1817
+ "stateMutability": "view",
1818
+ "type": "function"
1819
+ },
1820
+ {
1821
+ "inputs": [
1822
+ {
1823
+ "internalType": "address",
1824
+ "name": "newAuthority",
1825
+ "type": "address"
1826
+ }
1827
+ ],
1828
+ "name": "setAuthority",
1829
+ "outputs": [],
1830
+ "stateMutability": "nonpayable",
1831
+ "type": "function"
1832
+ },
1833
+ {
1834
+ "inputs": [
1835
+ {
1836
+ "internalType": "ObjectType",
1837
+ "name": "objectType",
1838
+ "type": "uint8"
1839
+ },
1840
+ {
1841
+ "internalType": "KeyId",
1842
+ "name": "id",
1843
+ "type": "bytes31"
1844
+ }
1845
+ ],
1846
+ "name": "toKey32",
1847
+ "outputs": [
1848
+ {
1849
+ "internalType": "Key32",
1850
+ "name": "",
1851
+ "type": "bytes32"
1852
+ }
1853
+ ],
1854
+ "stateMutability": "pure",
1855
+ "type": "function"
1856
+ },
1857
+ {
1858
+ "inputs": [
1859
+ {
1860
+ "internalType": "NftId",
1861
+ "name": "applicationNftId",
1862
+ "type": "uint96"
1863
+ },
1864
+ {
1865
+ "components": [
1866
+ {
1867
+ "internalType": "NftId",
1868
+ "name": "productNftId",
1869
+ "type": "uint96"
1870
+ },
1871
+ {
1872
+ "internalType": "NftId",
1873
+ "name": "bundleNftId",
1874
+ "type": "uint96"
1875
+ },
1876
+ {
1877
+ "internalType": "ReferralId",
1878
+ "name": "referralId",
1879
+ "type": "bytes8"
1880
+ },
1881
+ {
1882
+ "internalType": "RiskId",
1883
+ "name": "riskId",
1884
+ "type": "bytes8"
1885
+ },
1886
+ {
1887
+ "internalType": "Amount",
1888
+ "name": "sumInsuredAmount",
1889
+ "type": "uint96"
1890
+ },
1891
+ {
1892
+ "internalType": "Amount",
1893
+ "name": "premiumAmount",
1894
+ "type": "uint96"
1895
+ },
1896
+ {
1897
+ "internalType": "Amount",
1898
+ "name": "premiumPaidAmount",
1899
+ "type": "uint96"
1900
+ },
1901
+ {
1902
+ "internalType": "Seconds",
1903
+ "name": "lifetime",
1904
+ "type": "uint40"
1905
+ },
1906
+ {
1907
+ "internalType": "bytes",
1908
+ "name": "applicationData",
1909
+ "type": "bytes"
1910
+ },
1911
+ {
1912
+ "internalType": "bytes",
1913
+ "name": "processData",
1914
+ "type": "bytes"
1915
+ },
1916
+ {
1917
+ "internalType": "uint16",
1918
+ "name": "claimsCount",
1919
+ "type": "uint16"
1920
+ },
1921
+ {
1922
+ "internalType": "uint16",
1923
+ "name": "openClaimsCount",
1924
+ "type": "uint16"
1925
+ },
1926
+ {
1927
+ "internalType": "Amount",
1928
+ "name": "claimAmount",
1929
+ "type": "uint96"
1930
+ },
1931
+ {
1932
+ "internalType": "Amount",
1933
+ "name": "payoutAmount",
1934
+ "type": "uint96"
1935
+ },
1936
+ {
1937
+ "internalType": "Timestamp",
1938
+ "name": "activatedAt",
1939
+ "type": "uint40"
1940
+ },
1941
+ {
1942
+ "internalType": "Timestamp",
1943
+ "name": "expiredAt",
1944
+ "type": "uint40"
1945
+ },
1946
+ {
1947
+ "internalType": "Timestamp",
1948
+ "name": "closedAt",
1949
+ "type": "uint40"
1950
+ }
1951
+ ],
1952
+ "internalType": "struct IPolicy.PolicyInfo",
1953
+ "name": "policy",
1954
+ "type": "tuple"
1955
+ },
1956
+ {
1957
+ "internalType": "StateId",
1958
+ "name": "newState",
1959
+ "type": "uint8"
1960
+ }
1961
+ ],
1962
+ "name": "updateApplication",
1963
+ "outputs": [],
1964
+ "stateMutability": "nonpayable",
1965
+ "type": "function"
1966
+ },
1967
+ {
1968
+ "inputs": [
1969
+ {
1970
+ "internalType": "NftId",
1971
+ "name": "applicationNftId",
1972
+ "type": "uint96"
1973
+ },
1974
+ {
1975
+ "internalType": "StateId",
1976
+ "name": "newState",
1977
+ "type": "uint8"
1978
+ }
1979
+ ],
1980
+ "name": "updateApplicationState",
1981
+ "outputs": [],
1982
+ "stateMutability": "nonpayable",
1983
+ "type": "function"
1984
+ },
1985
+ {
1986
+ "inputs": [
1987
+ {
1988
+ "internalType": "NftId",
1989
+ "name": "bundleNftId",
1990
+ "type": "uint96"
1991
+ },
1992
+ {
1993
+ "components": [
1994
+ {
1995
+ "internalType": "NftId",
1996
+ "name": "poolNftId",
1997
+ "type": "uint96"
1998
+ },
1999
+ {
2000
+ "components": [
2001
+ {
2002
+ "internalType": "UFixed",
2003
+ "name": "fractionalFee",
2004
+ "type": "uint256"
2005
+ },
2006
+ {
2007
+ "internalType": "uint256",
2008
+ "name": "fixedFee",
2009
+ "type": "uint256"
2010
+ }
2011
+ ],
2012
+ "internalType": "struct Fee",
2013
+ "name": "fee",
2014
+ "type": "tuple"
2015
+ },
2016
+ {
2017
+ "internalType": "bytes",
2018
+ "name": "filter",
2019
+ "type": "bytes"
2020
+ },
2021
+ {
2022
+ "internalType": "Seconds",
2023
+ "name": "lifetime",
2024
+ "type": "uint40"
2025
+ },
2026
+ {
2027
+ "internalType": "Timestamp",
2028
+ "name": "expiredAt",
2029
+ "type": "uint40"
2030
+ },
2031
+ {
2032
+ "internalType": "Timestamp",
2033
+ "name": "closedAt",
2034
+ "type": "uint40"
2035
+ }
2036
+ ],
2037
+ "internalType": "struct IBundle.BundleInfo",
2038
+ "name": "bundle",
2039
+ "type": "tuple"
2040
+ },
2041
+ {
2042
+ "internalType": "StateId",
2043
+ "name": "newState",
2044
+ "type": "uint8"
2045
+ }
2046
+ ],
2047
+ "name": "updateBundle",
2048
+ "outputs": [],
2049
+ "stateMutability": "nonpayable",
2050
+ "type": "function"
2051
+ },
2052
+ {
2053
+ "inputs": [
2054
+ {
2055
+ "internalType": "NftId",
2056
+ "name": "bundleNftId",
2057
+ "type": "uint96"
2058
+ },
2059
+ {
2060
+ "internalType": "StateId",
2061
+ "name": "newState",
2062
+ "type": "uint8"
2063
+ }
2064
+ ],
2065
+ "name": "updateBundleState",
2066
+ "outputs": [],
2067
+ "stateMutability": "nonpayable",
2068
+ "type": "function"
2069
+ },
2070
+ {
2071
+ "inputs": [
2072
+ {
2073
+ "internalType": "NftId",
2074
+ "name": "policyNftId",
2075
+ "type": "uint96"
2076
+ },
2077
+ {
2078
+ "internalType": "ClaimId",
2079
+ "name": "claimId",
2080
+ "type": "uint16"
2081
+ },
2082
+ {
2083
+ "components": [
2084
+ {
2085
+ "internalType": "Amount",
2086
+ "name": "claimAmount",
2087
+ "type": "uint96"
2088
+ },
2089
+ {
2090
+ "internalType": "Amount",
2091
+ "name": "paidAmount",
2092
+ "type": "uint96"
2093
+ },
2094
+ {
2095
+ "internalType": "uint8",
2096
+ "name": "payoutsCount",
2097
+ "type": "uint8"
2098
+ },
2099
+ {
2100
+ "internalType": "uint8",
2101
+ "name": "openPayoutsCount",
2102
+ "type": "uint8"
2103
+ },
2104
+ {
2105
+ "internalType": "bytes",
2106
+ "name": "submissionData",
2107
+ "type": "bytes"
2108
+ },
2109
+ {
2110
+ "internalType": "bytes",
2111
+ "name": "processData",
2112
+ "type": "bytes"
2113
+ },
2114
+ {
2115
+ "internalType": "Timestamp",
2116
+ "name": "closedAt",
2117
+ "type": "uint40"
2118
+ }
2119
+ ],
2120
+ "internalType": "struct IPolicy.ClaimInfo",
2121
+ "name": "claim",
2122
+ "type": "tuple"
2123
+ },
2124
+ {
2125
+ "internalType": "StateId",
2126
+ "name": "newState",
2127
+ "type": "uint8"
2128
+ }
2129
+ ],
2130
+ "name": "updateClaim",
2131
+ "outputs": [],
2132
+ "stateMutability": "nonpayable",
2133
+ "type": "function"
2134
+ },
2135
+ {
2136
+ "inputs": [
2137
+ {
2138
+ "internalType": "NftId",
2139
+ "name": "policyNftId",
2140
+ "type": "uint96"
2141
+ },
2142
+ {
2143
+ "internalType": "ClaimId",
2144
+ "name": "claimId",
2145
+ "type": "uint16"
2146
+ },
2147
+ {
2148
+ "internalType": "StateId",
2149
+ "name": "newState",
2150
+ "type": "uint8"
2151
+ }
2152
+ ],
2153
+ "name": "updateClaimState",
2154
+ "outputs": [],
2155
+ "stateMutability": "nonpayable",
2156
+ "type": "function"
2157
+ },
2158
+ {
2159
+ "inputs": [
2160
+ {
2161
+ "internalType": "NftId",
2162
+ "name": "componentNftId",
2163
+ "type": "uint96"
2164
+ },
2165
+ {
2166
+ "components": [
2167
+ {
2168
+ "internalType": "string",
2169
+ "name": "name",
2170
+ "type": "string"
2171
+ },
2172
+ {
2173
+ "internalType": "NftId",
2174
+ "name": "productNftId",
2175
+ "type": "uint96"
2176
+ },
2177
+ {
2178
+ "internalType": "contract IERC20Metadata",
2179
+ "name": "token",
2180
+ "type": "address"
2181
+ },
2182
+ {
2183
+ "internalType": "contract TokenHandler",
2184
+ "name": "tokenHandler",
2185
+ "type": "address"
2186
+ },
2187
+ {
2188
+ "internalType": "address",
2189
+ "name": "wallet",
2190
+ "type": "address"
2191
+ },
2192
+ {
2193
+ "internalType": "bytes",
2194
+ "name": "data",
2195
+ "type": "bytes"
2196
+ }
2197
+ ],
2198
+ "internalType": "struct IComponents.ComponentInfo",
2199
+ "name": "componentInfo",
2200
+ "type": "tuple"
2201
+ },
2202
+ {
2203
+ "internalType": "StateId",
2204
+ "name": "newState",
2205
+ "type": "uint8"
2206
+ }
2207
+ ],
2208
+ "name": "updateComponent",
2209
+ "outputs": [],
2210
+ "stateMutability": "nonpayable",
2211
+ "type": "function"
2212
+ },
2213
+ {
2214
+ "inputs": [
2215
+ {
2216
+ "internalType": "NftId",
2217
+ "name": "distributorNftId",
2218
+ "type": "uint96"
2219
+ },
2220
+ {
2221
+ "components": [
2222
+ {
2223
+ "internalType": "DistributorType",
2224
+ "name": "distributorType",
2225
+ "type": "bytes8"
2226
+ },
2227
+ {
2228
+ "internalType": "bool",
2229
+ "name": "active",
2230
+ "type": "bool"
2231
+ },
2232
+ {
2233
+ "internalType": "bytes",
2234
+ "name": "data",
2235
+ "type": "bytes"
2236
+ },
2237
+ {
2238
+ "internalType": "Amount",
2239
+ "name": "commissionAmount",
2240
+ "type": "uint96"
2241
+ },
2242
+ {
2243
+ "internalType": "uint32",
2244
+ "name": "numPoliciesSold",
2245
+ "type": "uint32"
2246
+ }
2247
+ ],
2248
+ "internalType": "struct IDistribution.DistributorInfo",
2249
+ "name": "info",
2250
+ "type": "tuple"
2251
+ },
2252
+ {
2253
+ "internalType": "StateId",
2254
+ "name": "newState",
2255
+ "type": "uint8"
2256
+ }
2257
+ ],
2258
+ "name": "updateDistributor",
2259
+ "outputs": [],
2260
+ "stateMutability": "nonpayable",
2261
+ "type": "function"
2262
+ },
2263
+ {
2264
+ "inputs": [
2265
+ {
2266
+ "internalType": "NftId",
2267
+ "name": "distributorNftId",
2268
+ "type": "uint96"
2269
+ },
2270
+ {
2271
+ "internalType": "StateId",
2272
+ "name": "newState",
2273
+ "type": "uint8"
2274
+ }
2275
+ ],
2276
+ "name": "updateDistributorState",
2277
+ "outputs": [],
2278
+ "stateMutability": "nonpayable",
2279
+ "type": "function"
2280
+ },
2281
+ {
2282
+ "inputs": [
2283
+ {
2284
+ "internalType": "DistributorType",
2285
+ "name": "distributorType",
2286
+ "type": "bytes8"
2287
+ },
2288
+ {
2289
+ "components": [
2290
+ {
2291
+ "internalType": "string",
2292
+ "name": "name",
2293
+ "type": "string"
2294
+ },
2295
+ {
2296
+ "internalType": "UFixed",
2297
+ "name": "minDiscountPercentage",
2298
+ "type": "uint256"
2299
+ },
2300
+ {
2301
+ "internalType": "UFixed",
2302
+ "name": "maxDiscountPercentage",
2303
+ "type": "uint256"
2304
+ },
2305
+ {
2306
+ "internalType": "UFixed",
2307
+ "name": "commissionPercentage",
2308
+ "type": "uint256"
2309
+ },
2310
+ {
2311
+ "internalType": "uint32",
2312
+ "name": "maxReferralCount",
2313
+ "type": "uint32"
2314
+ },
2315
+ {
2316
+ "internalType": "uint32",
2317
+ "name": "maxReferralLifetime",
2318
+ "type": "uint32"
2319
+ },
2320
+ {
2321
+ "internalType": "bool",
2322
+ "name": "allowSelfReferrals",
2323
+ "type": "bool"
2324
+ },
2325
+ {
2326
+ "internalType": "bool",
2327
+ "name": "allowRenewals",
2328
+ "type": "bool"
2329
+ },
2330
+ {
2331
+ "internalType": "bytes",
2332
+ "name": "data",
2333
+ "type": "bytes"
2334
+ }
2335
+ ],
2336
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2337
+ "name": "info",
2338
+ "type": "tuple"
2339
+ },
2340
+ {
2341
+ "internalType": "StateId",
2342
+ "name": "newState",
2343
+ "type": "uint8"
2344
+ }
2345
+ ],
2346
+ "name": "updateDistributorType",
2347
+ "outputs": [],
2348
+ "stateMutability": "nonpayable",
2349
+ "type": "function"
2350
+ },
2351
+ {
2352
+ "inputs": [
2353
+ {
2354
+ "internalType": "DistributorType",
2355
+ "name": "distributorType",
2356
+ "type": "bytes8"
2357
+ },
2358
+ {
2359
+ "internalType": "StateId",
2360
+ "name": "newState",
2361
+ "type": "uint8"
2362
+ }
2363
+ ],
2364
+ "name": "updateDistributorTypeState",
2365
+ "outputs": [],
2366
+ "stateMutability": "nonpayable",
2367
+ "type": "function"
2368
+ },
2369
+ {
2370
+ "inputs": [
2371
+ {
2372
+ "internalType": "NftId",
2373
+ "name": "policyNftId",
2374
+ "type": "uint96"
2375
+ },
2376
+ {
2377
+ "internalType": "PayoutId",
2378
+ "name": "payoutId",
2379
+ "type": "uint24"
2380
+ },
2381
+ {
2382
+ "components": [
2383
+ {
2384
+ "internalType": "ClaimId",
2385
+ "name": "claimId",
2386
+ "type": "uint16"
2387
+ },
2388
+ {
2389
+ "internalType": "Amount",
2390
+ "name": "amount",
2391
+ "type": "uint96"
2392
+ },
2393
+ {
2394
+ "internalType": "bytes",
2395
+ "name": "data",
2396
+ "type": "bytes"
2397
+ },
2398
+ {
2399
+ "internalType": "Timestamp",
2400
+ "name": "paidAt",
2401
+ "type": "uint40"
2402
+ }
2403
+ ],
2404
+ "internalType": "struct IPolicy.PayoutInfo",
2405
+ "name": "payout",
2406
+ "type": "tuple"
2407
+ },
2408
+ {
2409
+ "internalType": "StateId",
2410
+ "name": "newState",
2411
+ "type": "uint8"
2412
+ }
2413
+ ],
2414
+ "name": "updatePayout",
2415
+ "outputs": [],
2416
+ "stateMutability": "nonpayable",
2417
+ "type": "function"
2418
+ },
2419
+ {
2420
+ "inputs": [
2421
+ {
2422
+ "internalType": "NftId",
2423
+ "name": "policyNftId",
2424
+ "type": "uint96"
2425
+ },
2426
+ {
2427
+ "internalType": "PayoutId",
2428
+ "name": "payoutId",
2429
+ "type": "uint24"
2430
+ },
2431
+ {
2432
+ "internalType": "StateId",
2433
+ "name": "newState",
2434
+ "type": "uint8"
2435
+ }
2436
+ ],
2437
+ "name": "updatePayoutState",
2438
+ "outputs": [],
2439
+ "stateMutability": "nonpayable",
2440
+ "type": "function"
2441
+ },
2442
+ {
2443
+ "inputs": [
2444
+ {
2445
+ "internalType": "NftId",
2446
+ "name": "policyNftId",
2447
+ "type": "uint96"
2448
+ },
2449
+ {
2450
+ "components": [
2451
+ {
2452
+ "internalType": "NftId",
2453
+ "name": "productNftId",
2454
+ "type": "uint96"
2455
+ },
2456
+ {
2457
+ "internalType": "NftId",
2458
+ "name": "bundleNftId",
2459
+ "type": "uint96"
2460
+ },
2461
+ {
2462
+ "internalType": "ReferralId",
2463
+ "name": "referralId",
2464
+ "type": "bytes8"
2465
+ },
2466
+ {
2467
+ "internalType": "RiskId",
2468
+ "name": "riskId",
2469
+ "type": "bytes8"
2470
+ },
2471
+ {
2472
+ "internalType": "Amount",
2473
+ "name": "sumInsuredAmount",
2474
+ "type": "uint96"
2475
+ },
2476
+ {
2477
+ "internalType": "Amount",
2478
+ "name": "premiumAmount",
2479
+ "type": "uint96"
2480
+ },
2481
+ {
2482
+ "internalType": "Amount",
2483
+ "name": "premiumPaidAmount",
2484
+ "type": "uint96"
2485
+ },
2486
+ {
2487
+ "internalType": "Seconds",
2488
+ "name": "lifetime",
2489
+ "type": "uint40"
2490
+ },
2491
+ {
2492
+ "internalType": "bytes",
2493
+ "name": "applicationData",
2494
+ "type": "bytes"
2495
+ },
2496
+ {
2497
+ "internalType": "bytes",
2498
+ "name": "processData",
2499
+ "type": "bytes"
2500
+ },
2501
+ {
2502
+ "internalType": "uint16",
2503
+ "name": "claimsCount",
2504
+ "type": "uint16"
2505
+ },
2506
+ {
2507
+ "internalType": "uint16",
2508
+ "name": "openClaimsCount",
2509
+ "type": "uint16"
2510
+ },
2511
+ {
2512
+ "internalType": "Amount",
2513
+ "name": "claimAmount",
2514
+ "type": "uint96"
2515
+ },
2516
+ {
2517
+ "internalType": "Amount",
2518
+ "name": "payoutAmount",
2519
+ "type": "uint96"
2520
+ },
2521
+ {
2522
+ "internalType": "Timestamp",
2523
+ "name": "activatedAt",
2524
+ "type": "uint40"
2525
+ },
2526
+ {
2527
+ "internalType": "Timestamp",
2528
+ "name": "expiredAt",
2529
+ "type": "uint40"
2530
+ },
2531
+ {
2532
+ "internalType": "Timestamp",
2533
+ "name": "closedAt",
2534
+ "type": "uint40"
2535
+ }
2536
+ ],
2537
+ "internalType": "struct IPolicy.PolicyInfo",
2538
+ "name": "policy",
2539
+ "type": "tuple"
2540
+ },
2541
+ {
2542
+ "internalType": "StateId",
2543
+ "name": "newState",
2544
+ "type": "uint8"
2545
+ }
2546
+ ],
2547
+ "name": "updatePolicy",
2548
+ "outputs": [],
2549
+ "stateMutability": "nonpayable",
2550
+ "type": "function"
2551
+ },
2552
+ {
2553
+ "inputs": [
2554
+ {
2555
+ "internalType": "NftId",
2556
+ "name": "policyNftId",
2557
+ "type": "uint96"
2558
+ },
2559
+ {
2560
+ "components": [
2561
+ {
2562
+ "internalType": "NftId",
2563
+ "name": "productNftId",
2564
+ "type": "uint96"
2565
+ },
2566
+ {
2567
+ "internalType": "NftId",
2568
+ "name": "bundleNftId",
2569
+ "type": "uint96"
2570
+ },
2571
+ {
2572
+ "internalType": "ReferralId",
2573
+ "name": "referralId",
2574
+ "type": "bytes8"
2575
+ },
2576
+ {
2577
+ "internalType": "RiskId",
2578
+ "name": "riskId",
2579
+ "type": "bytes8"
2580
+ },
2581
+ {
2582
+ "internalType": "Amount",
2583
+ "name": "sumInsuredAmount",
2584
+ "type": "uint96"
2585
+ },
2586
+ {
2587
+ "internalType": "Amount",
2588
+ "name": "premiumAmount",
2589
+ "type": "uint96"
2590
+ },
2591
+ {
2592
+ "internalType": "Amount",
2593
+ "name": "premiumPaidAmount",
2594
+ "type": "uint96"
2595
+ },
2596
+ {
2597
+ "internalType": "Seconds",
2598
+ "name": "lifetime",
2599
+ "type": "uint40"
2600
+ },
2601
+ {
2602
+ "internalType": "bytes",
2603
+ "name": "applicationData",
2604
+ "type": "bytes"
2605
+ },
2606
+ {
2607
+ "internalType": "bytes",
2608
+ "name": "processData",
2609
+ "type": "bytes"
2610
+ },
2611
+ {
2612
+ "internalType": "uint16",
2613
+ "name": "claimsCount",
2614
+ "type": "uint16"
2615
+ },
2616
+ {
2617
+ "internalType": "uint16",
2618
+ "name": "openClaimsCount",
2619
+ "type": "uint16"
2620
+ },
2621
+ {
2622
+ "internalType": "Amount",
2623
+ "name": "claimAmount",
2624
+ "type": "uint96"
2625
+ },
2626
+ {
2627
+ "internalType": "Amount",
2628
+ "name": "payoutAmount",
2629
+ "type": "uint96"
2630
+ },
2631
+ {
2632
+ "internalType": "Timestamp",
2633
+ "name": "activatedAt",
2634
+ "type": "uint40"
2635
+ },
2636
+ {
2637
+ "internalType": "Timestamp",
2638
+ "name": "expiredAt",
2639
+ "type": "uint40"
2640
+ },
2641
+ {
2642
+ "internalType": "Timestamp",
2643
+ "name": "closedAt",
2644
+ "type": "uint40"
2645
+ }
2646
+ ],
2647
+ "internalType": "struct IPolicy.PolicyInfo",
2648
+ "name": "policy",
2649
+ "type": "tuple"
2650
+ },
2651
+ {
2652
+ "internalType": "StateId",
2653
+ "name": "newState",
2654
+ "type": "uint8"
2655
+ }
2656
+ ],
2657
+ "name": "updatePolicyClaims",
2658
+ "outputs": [],
2659
+ "stateMutability": "nonpayable",
2660
+ "type": "function"
2661
+ },
2662
+ {
2663
+ "inputs": [
2664
+ {
2665
+ "internalType": "NftId",
2666
+ "name": "policyNftId",
2667
+ "type": "uint96"
2668
+ },
2669
+ {
2670
+ "internalType": "StateId",
2671
+ "name": "newState",
2672
+ "type": "uint8"
2673
+ }
2674
+ ],
2675
+ "name": "updatePolicyState",
2676
+ "outputs": [],
2677
+ "stateMutability": "nonpayable",
2678
+ "type": "function"
2679
+ },
2680
+ {
2681
+ "inputs": [
2682
+ {
2683
+ "internalType": "NftId",
2684
+ "name": "poolNftId",
2685
+ "type": "uint96"
2686
+ },
2687
+ {
2688
+ "components": [
2689
+ {
2690
+ "internalType": "NftId",
2691
+ "name": "productNftId",
2692
+ "type": "uint96"
2693
+ },
2694
+ {
2695
+ "internalType": "RoleId",
2696
+ "name": "bundleOwnerRole",
2697
+ "type": "uint64"
2698
+ },
2699
+ {
2700
+ "internalType": "Amount",
2701
+ "name": "maxCapitalAmount",
2702
+ "type": "uint96"
2703
+ },
2704
+ {
2705
+ "internalType": "bool",
2706
+ "name": "isInterceptingBundleTransfers",
2707
+ "type": "bool"
2708
+ },
2709
+ {
2710
+ "internalType": "bool",
2711
+ "name": "isExternallyManaged",
2712
+ "type": "bool"
2713
+ },
2714
+ {
2715
+ "internalType": "bool",
2716
+ "name": "isVerifyingApplications",
2717
+ "type": "bool"
2718
+ },
2719
+ {
2720
+ "internalType": "UFixed",
2721
+ "name": "collateralizationLevel",
2722
+ "type": "uint256"
2723
+ },
2724
+ {
2725
+ "internalType": "UFixed",
2726
+ "name": "retentionLevel",
2727
+ "type": "uint256"
2728
+ },
2729
+ {
2730
+ "components": [
2731
+ {
2732
+ "internalType": "UFixed",
2733
+ "name": "fractionalFee",
2734
+ "type": "uint256"
2735
+ },
2736
+ {
2737
+ "internalType": "uint256",
2738
+ "name": "fixedFee",
2739
+ "type": "uint256"
2740
+ }
2741
+ ],
2742
+ "internalType": "struct Fee",
2743
+ "name": "poolFee",
2744
+ "type": "tuple"
2745
+ },
2746
+ {
2747
+ "components": [
2748
+ {
2749
+ "internalType": "UFixed",
2750
+ "name": "fractionalFee",
2751
+ "type": "uint256"
2752
+ },
2753
+ {
2754
+ "internalType": "uint256",
2755
+ "name": "fixedFee",
2756
+ "type": "uint256"
2757
+ }
2758
+ ],
2759
+ "internalType": "struct Fee",
2760
+ "name": "stakingFee",
2761
+ "type": "tuple"
2762
+ },
2763
+ {
2764
+ "components": [
2765
+ {
2766
+ "internalType": "UFixed",
2767
+ "name": "fractionalFee",
2768
+ "type": "uint256"
2769
+ },
2770
+ {
2771
+ "internalType": "uint256",
2772
+ "name": "fixedFee",
2773
+ "type": "uint256"
2774
+ }
2775
+ ],
2776
+ "internalType": "struct Fee",
2777
+ "name": "performanceFee",
2778
+ "type": "tuple"
2779
+ }
2780
+ ],
2781
+ "internalType": "struct IComponents.PoolInfo",
2782
+ "name": "info",
2783
+ "type": "tuple"
2784
+ },
2785
+ {
2786
+ "internalType": "StateId",
2787
+ "name": "newState",
2788
+ "type": "uint8"
2789
+ }
2790
+ ],
2791
+ "name": "updatePool",
2792
+ "outputs": [],
2793
+ "stateMutability": "nonpayable",
2794
+ "type": "function"
2795
+ },
2796
+ {
2797
+ "inputs": [
2798
+ {
2799
+ "internalType": "NftId",
2800
+ "name": "poolNftId",
2801
+ "type": "uint96"
2802
+ },
2803
+ {
2804
+ "internalType": "StateId",
2805
+ "name": "newState",
2806
+ "type": "uint8"
2807
+ }
2808
+ ],
2809
+ "name": "updatePoolState",
2810
+ "outputs": [],
2811
+ "stateMutability": "nonpayable",
2812
+ "type": "function"
2813
+ },
2814
+ {
2815
+ "inputs": [
2816
+ {
2817
+ "internalType": "NftId",
2818
+ "name": "productNftId",
2819
+ "type": "uint96"
2820
+ },
2821
+ {
2822
+ "components": [
2823
+ {
2824
+ "internalType": "NftId",
2825
+ "name": "distributionNftId",
2826
+ "type": "uint96"
2827
+ },
2828
+ {
2829
+ "internalType": "NftId",
2830
+ "name": "poolNftId",
2831
+ "type": "uint96"
2832
+ },
2833
+ {
2834
+ "components": [
2835
+ {
2836
+ "internalType": "UFixed",
2837
+ "name": "fractionalFee",
2838
+ "type": "uint256"
2839
+ },
2840
+ {
2841
+ "internalType": "uint256",
2842
+ "name": "fixedFee",
2843
+ "type": "uint256"
2844
+ }
2845
+ ],
2846
+ "internalType": "struct Fee",
2847
+ "name": "productFee",
2848
+ "type": "tuple"
2849
+ },
2850
+ {
2851
+ "components": [
2852
+ {
2853
+ "internalType": "UFixed",
2854
+ "name": "fractionalFee",
2855
+ "type": "uint256"
2856
+ },
2857
+ {
2858
+ "internalType": "uint256",
2859
+ "name": "fixedFee",
2860
+ "type": "uint256"
2861
+ }
2862
+ ],
2863
+ "internalType": "struct Fee",
2864
+ "name": "processingFee",
2865
+ "type": "tuple"
2866
+ },
2867
+ {
2868
+ "components": [
2869
+ {
2870
+ "internalType": "UFixed",
2871
+ "name": "fractionalFee",
2872
+ "type": "uint256"
2873
+ },
2874
+ {
2875
+ "internalType": "uint256",
2876
+ "name": "fixedFee",
2877
+ "type": "uint256"
2878
+ }
2879
+ ],
2880
+ "internalType": "struct Fee",
2881
+ "name": "distributionFee",
2882
+ "type": "tuple"
2883
+ },
2884
+ {
2885
+ "components": [
2886
+ {
2887
+ "internalType": "UFixed",
2888
+ "name": "fractionalFee",
2889
+ "type": "uint256"
2890
+ },
2891
+ {
2892
+ "internalType": "uint256",
2893
+ "name": "fixedFee",
2894
+ "type": "uint256"
2895
+ }
2896
+ ],
2897
+ "internalType": "struct Fee",
2898
+ "name": "minDistributionOwnerFee",
2899
+ "type": "tuple"
2900
+ },
2901
+ {
2902
+ "components": [
2903
+ {
2904
+ "internalType": "UFixed",
2905
+ "name": "fractionalFee",
2906
+ "type": "uint256"
2907
+ },
2908
+ {
2909
+ "internalType": "uint256",
2910
+ "name": "fixedFee",
2911
+ "type": "uint256"
2912
+ }
2913
+ ],
2914
+ "internalType": "struct Fee",
2915
+ "name": "poolFee",
2916
+ "type": "tuple"
2917
+ },
2918
+ {
2919
+ "components": [
2920
+ {
2921
+ "internalType": "UFixed",
2922
+ "name": "fractionalFee",
2923
+ "type": "uint256"
2924
+ },
2925
+ {
2926
+ "internalType": "uint256",
2927
+ "name": "fixedFee",
2928
+ "type": "uint256"
2929
+ }
2930
+ ],
2931
+ "internalType": "struct Fee",
2932
+ "name": "stakingFee",
2933
+ "type": "tuple"
2934
+ },
2935
+ {
2936
+ "components": [
2937
+ {
2938
+ "internalType": "UFixed",
2939
+ "name": "fractionalFee",
2940
+ "type": "uint256"
2941
+ },
2942
+ {
2943
+ "internalType": "uint256",
2944
+ "name": "fixedFee",
2945
+ "type": "uint256"
2946
+ }
2947
+ ],
2948
+ "internalType": "struct Fee",
2949
+ "name": "performanceFee",
2950
+ "type": "tuple"
2951
+ }
2952
+ ],
2953
+ "internalType": "struct IComponents.ProductInfo",
2954
+ "name": "info",
2955
+ "type": "tuple"
2956
+ },
2957
+ {
2958
+ "internalType": "StateId",
2959
+ "name": "newState",
2960
+ "type": "uint8"
2961
+ }
2962
+ ],
2963
+ "name": "updateProduct",
2964
+ "outputs": [],
2965
+ "stateMutability": "nonpayable",
2966
+ "type": "function"
2967
+ },
2968
+ {
2969
+ "inputs": [
2970
+ {
2971
+ "internalType": "NftId",
2972
+ "name": "productNftId",
2973
+ "type": "uint96"
2974
+ },
2975
+ {
2976
+ "internalType": "StateId",
2977
+ "name": "newState",
2978
+ "type": "uint8"
2979
+ }
2980
+ ],
2981
+ "name": "updateProductSetupState",
2982
+ "outputs": [],
2983
+ "stateMutability": "nonpayable",
2984
+ "type": "function"
2985
+ },
2986
+ {
2987
+ "inputs": [
2988
+ {
2989
+ "internalType": "ReferralId",
2990
+ "name": "referralId",
2991
+ "type": "bytes8"
2992
+ },
2993
+ {
2994
+ "components": [
2995
+ {
2996
+ "internalType": "NftId",
2997
+ "name": "distributorNftId",
2998
+ "type": "uint96"
2999
+ },
3000
+ {
3001
+ "internalType": "string",
3002
+ "name": "referralCode",
3003
+ "type": "string"
3004
+ },
3005
+ {
3006
+ "internalType": "UFixed",
3007
+ "name": "discountPercentage",
3008
+ "type": "uint256"
3009
+ },
3010
+ {
3011
+ "internalType": "uint32",
3012
+ "name": "maxReferrals",
3013
+ "type": "uint32"
3014
+ },
3015
+ {
3016
+ "internalType": "uint32",
3017
+ "name": "usedReferrals",
3018
+ "type": "uint32"
3019
+ },
3020
+ {
3021
+ "internalType": "Timestamp",
3022
+ "name": "expiryAt",
3023
+ "type": "uint40"
3024
+ },
3025
+ {
3026
+ "internalType": "bytes",
3027
+ "name": "data",
3028
+ "type": "bytes"
3029
+ }
3030
+ ],
3031
+ "internalType": "struct IDistribution.ReferralInfo",
3032
+ "name": "referralInfo",
3033
+ "type": "tuple"
3034
+ },
3035
+ {
3036
+ "internalType": "StateId",
3037
+ "name": "newState",
3038
+ "type": "uint8"
3039
+ }
3040
+ ],
3041
+ "name": "updateReferral",
3042
+ "outputs": [],
3043
+ "stateMutability": "nonpayable",
3044
+ "type": "function"
3045
+ },
3046
+ {
3047
+ "inputs": [
3048
+ {
3049
+ "internalType": "ReferralId",
3050
+ "name": "referralId",
3051
+ "type": "bytes8"
3052
+ },
3053
+ {
3054
+ "internalType": "StateId",
3055
+ "name": "newState",
3056
+ "type": "uint8"
3057
+ }
3058
+ ],
3059
+ "name": "updateReferralState",
3060
+ "outputs": [],
3061
+ "stateMutability": "nonpayable",
3062
+ "type": "function"
3063
+ },
3064
+ {
3065
+ "inputs": [
3066
+ {
3067
+ "internalType": "RiskId",
3068
+ "name": "riskId",
3069
+ "type": "bytes8"
3070
+ },
3071
+ {
3072
+ "components": [
3073
+ {
3074
+ "internalType": "NftId",
3075
+ "name": "productNftId",
3076
+ "type": "uint96"
3077
+ },
3078
+ {
3079
+ "internalType": "bytes",
3080
+ "name": "data",
3081
+ "type": "bytes"
3082
+ }
3083
+ ],
3084
+ "internalType": "struct IRisk.RiskInfo",
3085
+ "name": "risk",
3086
+ "type": "tuple"
3087
+ },
3088
+ {
3089
+ "internalType": "StateId",
3090
+ "name": "newState",
3091
+ "type": "uint8"
3092
+ }
3093
+ ],
3094
+ "name": "updateRisk",
3095
+ "outputs": [],
3096
+ "stateMutability": "nonpayable",
3097
+ "type": "function"
3098
+ },
3099
+ {
3100
+ "inputs": [
3101
+ {
3102
+ "internalType": "RiskId",
3103
+ "name": "riskId",
3104
+ "type": "bytes8"
3105
+ },
3106
+ {
3107
+ "internalType": "StateId",
3108
+ "name": "newState",
3109
+ "type": "uint8"
3110
+ }
3111
+ ],
3112
+ "name": "updateRiskState",
3113
+ "outputs": [],
3114
+ "stateMutability": "nonpayable",
3115
+ "type": "function"
3116
+ }
3117
+ ],
3118
+ "bytecode": "0x608060405234801561001057600080fd5b506155b780620000216000396000f3fe608060405234801561001057600080fd5b50600436106103a45760003560e01c80637cca1124116101e9578063af9025001161010f578063ca0e7f08116100ad578063f48016ce1161007c578063f48016ce146109b3578063f5884fc514610774578063fae5df9b146109d4578063fe1f18d6146109e757600080fd5b8063ca0e7f081461093c578063dee326231461094f578063e80c61ed14610962578063e9e96c701461097557600080fd5b8063b6d7cd62116100e9578063b6d7cd62146108e3578063bf1db3f9146108f6578063bf7e214f14610909578063c4d66de81461092957600080fd5b8063af902500146108aa578063b0628dc3146108bd578063b5b3d9f9146108d057600080fd5b80639f8151e511610187578063a5961b4c11610156578063a5961b4c146107c0578063a6a67b1f14610871578063a76ee01814610884578063a89896751461089757600080fd5b80639f8151e514610787578063a1fc100414610774578063a28422291461079a578063a46eb8dc146107ad57600080fd5b80638eaa6ac0116101c35780638eaa6ac0146107075780638eb9000d146107275780638fb3603714610753578063985aeba71461077457600080fd5b80637cca1124146106ce5780637cef4842146106e157806381c2b282146106f457600080fd5b806340529b0f116102ce5780635a8416b01161026c578063684563911161023b5780636845639114610682578063763bb7541461069557806378929823146106a85780637a9e5e4b146106bb57600080fd5b80635a8416b0146105e85780635d4345cc1461048d5780635eede174146105fb57806361105e0e1461066f57600080fd5b806351dd844b116102a857806351dd844b1461058f578063533086d4146105a257806353ebe129146105b557806354f6127f146105c857600080fd5b806340529b0f14610561578063468bce06146105745780634846003a1461057c57600080fd5b80631e40b363116103465780632f61088a116103155780632f61088a1461050557806330a130ba146105185780633870a7701461052b57806338a699a41461053e57600080fd5b80631e40b363146104a0578063228e42ec146104b3578063248a77dd146104df5780632a8ea7ac146104f257600080fd5b80630cfc3ba3116103825780630cfc3ba3146104415780630d358181146104545780630f6c29ef1461047a5780630fad0eb11461048d57600080fd5b80630232ca49146103a957806303c099ac146103f257806309648a9d14610407575b600080fd5b6103d56103b7366004613661565b6001600160601b039081166000908152600560205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6104056104003660046138e8565b6109fa565b005b61042f61041536600461394b565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020016103e9565b61040561044f366004613a60565b610a40565b61042f610462366004613ac1565b60ff9081166000908152602081905260409020541690565b610405610488366004613b94565b610a7b565b61040561049b366004613c06565b610aa8565b6104056104ae366004613d4c565b610ac9565b6103d56104c1366004613661565b6001600160601b039081166000908152600360205260409020541690565b6103d56104ed366004613d93565b610af1565b610405610500366004613f3b565b610b0f565b610405610513366004613fe4565b610b37565b6104056105263660046140fc565b610bd7565b610405610539366004614141565b610c77565b61055161054c36600461394b565b610c8d565b60405190151581526020016103e9565b61040561056f366004613c06565b610d18565b610405610d2f565b61040561058a36600461417f565b610d61565b61040561059d366004614299565b610d92565b6103d56105b0366004613d93565b610dba565b6103d56105c3366004613d93565b610dcf565b6105db6105d636600461394b565b610de4565b6040516103e99190614330565b6104056105f6366004614343565b610e89565b610645610609366004613661565b6001600160601b039081166000908152600360209081526040808320546004835281842054600590935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103e9565b61040561067d366004614446565b610f29565b610405610690366004613c06565b610fc9565b6104056106a336600461456b565b610fe0565b6104056106b63660046145ac565b611008565b6104056106c93660046145e3565b611030565b6104056106dc366004614600565b6110b8565b6104056106ef366004614645565b6110e0565b610405610702366004614663565b61116f565b61071a61071536600461394b565b611196565b6040516103e99190614702565b6103d5610735366004613661565b6001600160601b039081166000908152600460205260409020541690565b61075b6112d7565b6040516001600160e01b031990911681526020016103e9565b610405610782366004614736565b611310565b6103d5610795366004613d93565b611338565b6104056107a8366004614645565b61134d565b6104056107bb36600461477d565b61139b565b6108646107ce36600461394b565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516103e991906147c2565b61040561087f366004614887565b6113cc565b6104056108923660046148b5565b6113f4565b6104056108a53660046148fc565b611494565b6104056108b8366004614645565b611585565b6103d56108cb366004613d93565b6115d3565b6104056108de36600461492c565b6115e8565b6104056108f136600461496d565b611610565b610551610904366004613ac1565b611626565b610911611673565b6040516001600160a01b0390911681526020016103e9565b6104056109373660046145e3565b61168f565b61040561094a36600461499d565b61180d565b61040561095d366004613c06565b6118ad565b6103d5610970366004613d93565b6118c4565b6105516109833660046148fc565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6109c66109c13660046149f2565b6118d9565b6040519081526020016103e9565b6104056109e2366004614a20565b61195d565b6104056109f5366004613c06565b611984565b610a07335b60003661199b565b610a3b610a15846064611a9e565b83604051602001610a269190614a78565b60405160208183030381529060405283611aea565b505050565b610a49336109ff565b610a3b610a568484611f56565b82604051602001610a679190614afb565b604051602081830303815290604052611fa3565b610a84336109ff565b610aa2610a918585612378565b83604051602001610a269190614b9b565b50505050565b610ab1336109ff565b610ac5610abf8360d3611a9e565b826123c6565b5050565b610ad2336109ff565b610a3b610ae084607a611a9e565b83604051602001610a269190614bf5565b6000610afc336109ff565b610b0683836126a5565b90505b92915050565b610b18336109ff565b610ac5610b268360d3611a9e565b82604051602001610a679190614c62565b610b40336109ff565b6040516355ee627560e01b8152610ac59073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610b85906001600160c01b0319871690600401614e13565b602060405180830381865af4158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc69190614e28565b82604051602001610a679190614e41565b610be0336109ff565b6040516355ee627560e01b8152610ac59073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c25906001600160c01b0319871690600401614e13565b602060405180830381865af4158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c669190614e28565b82604051602001610a679190614e6f565b610c80336109ff565b610a3b610abf8484612378565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b099190614f1f565b610d21336109ff565b610ac5610abf83607a611a9e565b610d37612836565b610d3f61287f565b610d476129a2565b610d4f612a94565b610d57612bcb565b610d5f612cf7565b565b610d6a336109ff565b610d7382612db2565b610ac5610d81836064611a9e565b82604051602001610a679190614a78565b610d9b336109ff565b610a3b610da98460dc611a9e565b83604051602001610a269190614f3c565b6000610dc5336109ff565b610b068383612ef4565b6000610dda336109ff565b610b068383612fd8565b6000818152600260205260409020600101805460609190610e0490614fc2565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3090614fc2565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b50505050509050919050565b610e92336109ff565b6040516355ee627560e01b8152610a3b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610ed7906001600160c01b0319881690600401614e13565b602060405180830381865af4158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f189190614e28565b83604051602001610a269190614e6f565b610f32336109ff565b6040516355ee627560e01b8152610a3b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f77906001600160c01b0319881690600401614e13565b602060405180830381865af4158015610f94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb89190614e28565b83604051602001610a269190614ffc565b610fd2336109ff565b610ac5610abf83608c611a9e565b610fe9336109ff565b610a3b610ff784608c611a9e565b83604051602001610a26919061508e565b611011336109ff565b610ac561101f83608c611a9e565b82604051602001610a67919061508e565b33611039611673565b6001600160a01b0316816001600160a01b0316146110795760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036110af576040516361798f2f60e11b81526001600160a01b0383166004820152602401611070565b610ac5826130bc565b6110c1336109ff565b610ac56110cf83607a611a9e565b82604051602001610a679190614bf5565b6110e9336109ff565b6040516355ee627560e01b8152610ac59073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061112e906001600160c01b0319871690600401614e13565b602060405180830381865af415801561114b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf9190614e28565b611178336109ff565b610a3b6111858484612378565b82604051602001610a679190614b9b565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161124e90614fc2565b80601f016020809104026020016040519081016040528092919081815260200182805461127a90614fc2565b80156112c75780601f1061129c576101008083540402835291602001916112c7565b820191906000526020600020905b8154815290600101906020018083116112aa57829003601f168201915b5050505050815250509050919050565b600080516020615562833981519152805460009190600160a01b900460ff1661130157600061130a565b638fb3603760e01b5b91505090565b611319336109ff565b610a3b6113278460d3611a9e565b83604051602001610a269190614c62565b6000611343336109ff565b610b06838361311d565b611356336109ff565b6040516355ee627560e01b8152610ac59073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061112e906001600160c01b0319871690600401614e13565b6113a4336109ff565b6113ad82612db2565b610ac56113bb8360dc611a9e565b82604051602001610a679190614f3c565b6113d5336109ff565b610ac56113e383606e611a9e565b82604051602001610a679190615184565b6113fd336109ff565b6040516355ee627560e01b8152610a3b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611442906001600160c01b0319881690600401614e13565b602060405180830381865af415801561145f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114839190614e28565b83604051602001610a269190614e41565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d9190614f1f565b1561152757505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610a3b57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401611070565b61158e336109ff565b6040516355ee627560e01b8152610ac59073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061112e906001600160c01b0319871690600401614e13565b60006115de336109ff565b610b068383613201565b6115f1336109ff565b610a3b6115ff84606e611a9e565b83604051602001610a269190615184565b611619336109ff565b610a3b610abf8484611f56565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610cd7565b600080516020615562833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156116d45750825b90506000826001600160401b031660011480156116f05750303b155b9050811580156116fe575080155b1561171c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561174657845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa9190615267565b90506117b5816132e5565b6117bd610d2f565b50831561180557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b611816336109ff565b6040516355ee627560e01b8152610ac59073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061185b906001600160c01b0319871690600401614e13565b602060405180830381865af4158015611878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189c9190614e28565b82604051602001610a679190614ffc565b6118b6336109ff565b610ac5610abf83606e611a9e565b60006118cf336109ff565b610b0683836132f9565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611939573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b069190614e28565b611966336109ff565b610aa26119738585611f56565b83604051602001610a269190614afb565b61198d336109ff565b610ac5610abf8360dc611a9e565b6000805160206155628339815191526000806119d66119b8611673565b87306119c8600460008a8c615284565b6119d1916152ae565b6133dd565b91509150816118055763ffffffff811615611a7657825460ff60a01b1916600160a01b178355611a04611673565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a33939291906152de565b600060405180830381600087803b158015611a4d57600080fd5b505af1158015611a61573d6000803e3d6000fd5b5050845460ff60a01b19168555506118059050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611070565b905090565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161191c565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b609190614f1f565b15611b815760405163093b89e160e11b815260048101849052602401611070565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c119190614f1f565b15611c325760405163566ebf7960e01b815260048101869052602401611070565b6000858152600260205260409020600101611c4d8582615364565b5060ff80841614611c7b578154611c689060ff168285611494565b815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416611cac6134e9565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d629190615423565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd69190615440565b8588863287604051611dee979695949392919061545d565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611e68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8c9190615423565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f009190615440565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161191c565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ff6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201a9190615423565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120939190614f1f565b156120b6576040516307014a8d60e51b815260ff82166004820152602401611070565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190614f1f565b1561216d57604051633f92eac960e21b81526004810185905260ff83166024820152604401611070565b3360006121786134e9565b9050600061218585611626565b6121905760646121a6565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016122308782615364565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c79190615423565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b9190615440565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611f45565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__9063592734119060440161191c565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612418573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243c9190614f1f565b1561245d5760405163093b89e160e11b815260048101839052602401611070565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156124c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ed9190614f1f565b1561250e5760405163566ebf7960e01b815260048101859052602401611070565b815461251e9060ff168285611494565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166125636134e9565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156125f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126199190615423565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612669573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268d9190615440565b85888632876040516117fc979695949392919061545d565b6001600160601b038216600090815260066020526040812054839060ff166126eb57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260046020526040902054612710911684613558565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916127899187918791879163ffffffff909116906154ad565b60405180910390a173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af41580156127da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127fe91906154dc565b6001600160601b03949094166000908152600760205260409020805463ffffffff191663ffffffff9095169490941790935592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610d5f57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061297e60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000612a76606e90565b60ff1660ff168152602001908152602001600020600061297e60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612960565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc61297e565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8612a58565b6001600160601b03811660009081526006602052604090205460ff1615612df7576040516314d5804160e01b81526001600160601b0382166004820152602401611070565b6001600160601b038116600090815260066020908152604091829020805460ff19166001179055815163e8b7afe360e01b8152915173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9263e8b7afe39260048083019391928290030181865af4158015612e69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8d91906154dc565b6001600160601b038216600081815260076020908152604091829020805463ffffffff191663ffffffff9590951694909417909355519081527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a9910160405180910390a150565b6001600160601b038216600090815260066020526040812054839060ff16612f3a57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260056020526040902054612f5f9116846135e0565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916127899187918791879163ffffffff909116906154ad565b6001600160601b038216600090815260066020526040812054839060ff1661301e57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b038085166000908152600460205260409020546130439116846135e0565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916127899187918791879163ffffffff909116906154ad565b60008051602061556283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260066020526040812054839060ff1661316357604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260036020526040902054613188911684613558565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916127899187918791879163ffffffff909116906154ad565b6001600160601b038216600090815260066020526040812054839060ff1661324757604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b0380851660009081526003602052604090205461326c9116846135e0565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916127899187918791879163ffffffff909116906154ad565b6132ed612836565b6132f68161362b565b50565b6001600160601b038216600090815260066020526040812054839060ff1661333f57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260056020526040902054613364911684613558565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916127899187918791879163ffffffff909116906154ad565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161344c91906154f9565b600060405180830381855afa9150503d8060008114613487576040519150601f19603f3d011682016040523d82523d6000602084013e61348c565b606091505b509150915081156134de5760408151106134be57808060200190518101906134b49190615515565b90945092506134de565b60208151106134de57808060200190518101906134db9190614f1f565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613534573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9991906154dc565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156135bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b069190615544565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161359f565b613633612836565b6132f6816130bc565b6001600160601b03811681146132f657600080fd5b803561365c8161363c565b919050565b60006020828403121561367357600080fd5b813561367e8161363c565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156136bd576136bd613685565b60405290565b60405160e081016001600160401b03811182821017156136bd576136bd613685565b60405161022081016001600160401b03811182821017156136bd576136bd613685565b604080519081016001600160401b03811182821017156136bd576136bd613685565b60405161012081016001600160401b03811182821017156136bd576136bd613685565b60405161016081016001600160401b03811182821017156136bd576136bd613685565b600082601f83011261378157600080fd5b81356001600160401b038082111561379b5761379b613685565b604051601f8301601f19908116603f011681019082821181831017156137c3576137c3613685565b816040528381528660208588010111156137dc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b03811681146132f657600080fd5b803561365c816137fc565b600060c0828403121561382e57600080fd5b61383661369b565b905081356001600160401b038082111561384f57600080fd5b61385b85838601613770565b835261386960208501613651565b602084015261387a60408501613811565b604084015261388b60608501613811565b606084015261389c60808501613811565b608084015260a08401359150808211156138b557600080fd5b506138c284828501613770565b60a08301525092915050565b60ff811681146132f657600080fd5b803561365c816138ce565b6000806000606084860312156138fd57600080fd5b83356139088161363c565b925060208401356001600160401b0381111561392357600080fd5b61392f8682870161381c565b9250506040840135613940816138ce565b809150509250925092565b60006020828403121561395d57600080fd5b5035919050565b61ffff811681146132f657600080fd5b803561365c81613964565b64ffffffffff811681146132f657600080fd5b803561365c8161397f565b600060e082840312156139af57600080fd5b6139b76136c3565b90506139c282613651565b81526139d060208301613651565b60208201526139e1604083016138dd565b60408201526139f2606083016138dd565b606082015260808201356001600160401b0380821115613a1157600080fd5b613a1d85838601613770565b608084015260a0840135915080821115613a3657600080fd5b50613a4384828501613770565b60a083015250613a5560c08301613992565b60c082015292915050565b600080600060608486031215613a7557600080fd5b8335613a808161363c565b92506020840135613a9081613964565b915060408401356001600160401b03811115613aab57600080fd5b613ab78682870161399d565b9150509250925092565b600060208284031215613ad357600080fd5b813561367e816138ce565b803562ffffff8116811461365c57600080fd5b600060808284031215613b0357600080fd5b604051608081016001600160401b038282108183111715613b2657613b26613685565b8160405282935084359150613b3a82613964565b908252602084013590613b4c8261363c565b8160208401526040850135915080821115613b6657600080fd5b50613b7385828601613770565b6040830152506060830135613b878161397f565b6060919091015292915050565b60008060008060808587031215613baa57600080fd5b8435613bb58161363c565b9350613bc360208601613ade565b925060408501356001600160401b03811115613bde57600080fd5b613bea87828801613af1565b9250506060850135613bfb816138ce565b939692955090935050565b60008060408385031215613c1957600080fd5b8235613c248161363c565b91506020830135613c34816138ce565b809150509250929050565b6001600160c01b0319811681146132f657600080fd5b803561365c81613c3f565b80151581146132f657600080fd5b803561365c81613c60565b63ffffffff811681146132f657600080fd5b803561365c81613c79565b600060a08284031215613ca857600080fd5b60405160a081016001600160401b038282108183111715613ccb57613ccb613685565b8160405282935084359150613cdf82613c3f565b908252602084013590613cf182613c60565b8160208401526040850135915080821115613d0b57600080fd5b50613d1885828601613770565b6040830152506060830135613d2c8161363c565b60608201526080830135613d3f81613c79565b6080919091015292915050565b600080600060608486031215613d6157600080fd5b8335613d6c8161363c565b925060208401356001600160401b03811115613d8757600080fd5b61392f86828701613c96565b60008060408385031215613da657600080fd5b8235613db18161363c565b91506020830135613c348161363c565b60006102208284031215613dd457600080fd5b613ddc6136e5565b9050613de782613651565b8152613df560208301613651565b6020820152613e0660408301613c55565b6040820152613e1760608301613c55565b6060820152613e2860808301613651565b6080820152613e3960a08301613651565b60a0820152613e4a60c08301613651565b60c0820152613e5b60e08301613992565b60e0820152610100808301356001600160401b0380821115613e7c57600080fd5b613e8886838701613770565b83850152610120925082850135915080821115613ea457600080fd5b50613eb185828601613770565b828401525050610140613ec5818401613974565b90820152610160613ed7838201613974565b90820152610180613ee9838201613651565b908201526101a0613efb838201613651565b908201526101c0613f0d838201613992565b908201526101e0613f1f838201613992565b90820152610200613f31838201613992565b9082015292915050565b60008060408385031215613f4e57600080fd5b8235613f598161363c565b915060208301356001600160401b03811115613f7457600080fd5b613f8085828601613dc1565b9150509250929050565b600060408284031215613f9c57600080fd5b613fa4613708565b90508135613fb18161363c565b815260208201356001600160401b03811115613fcc57600080fd5b613fd884828501613770565b60208301525092915050565b60008060408385031215613ff757600080fd5b823561400281613c3f565b915060208301356001600160401b0381111561401d57600080fd5b613f8085828601613f8a565b6000610120828403121561403c57600080fd5b61404461372a565b905081356001600160401b038082111561405d57600080fd5b61406985838601613770565b835260208401356020840152604084013560408401526060840135606084015261409560808501613c8b565b60808401526140a660a08501613c8b565b60a08401526140b760c08501613c6e565b60c08401526140c860e08501613c6e565b60e0840152610100915081840135818111156140e357600080fd5b6140ef86828701613770565b8385015250505092915050565b6000806040838503121561410f57600080fd5b823561411a81613c3f565b915060208301356001600160401b0381111561413557600080fd5b613f8085828601614029565b60008060006060848603121561415657600080fd5b83356141618161363c565b925061416f60208501613ade565b91506040840135613940816138ce565b6000806040838503121561419257600080fd5b823561419d8161363c565b915060208301356001600160401b038111156141b857600080fd5b613f808582860161381c565b6000604082840312156141d657600080fd5b6141de613708565b9050813581526020820135602082015292915050565b600060e0828403121561420657600080fd5b61420e61369b565b9050813561421b8161363c565b815261422a83602084016141c4565b602082015260608201356001600160401b0381111561424857600080fd5b61425484828501613770565b60408301525060808201356142688161397f565b606082015260a082013561427b8161397f565b608082015260c082013561428e8161397f565b60a082015292915050565b6000806000606084860312156142ae57600080fd5b83356142b98161363c565b925060208401356001600160401b038111156142d457600080fd5b61392f868287016141f4565b60005b838110156142fb5781810151838201526020016142e3565b50506000910152565b6000815180845261431c8160208601602086016142e0565b601f01601f19169290920160200192915050565b602081526000610b066020830184614304565b60008060006060848603121561435857600080fd5b833561436381613c3f565b925060208401356001600160401b0381111561437e57600080fd5b61392f86828701614029565b600060e0828403121561439c57600080fd5b6143a46136c3565b90506143af82613651565b815260208201356001600160401b03808211156143cb57600080fd5b6143d785838601613770565b6020840152604084013560408401526143f260608501613c8b565b606084015261440360808501613c8b565b608084015261441460a08501613992565b60a084015260c084013591508082111561442d57600080fd5b5061443a84828501613770565b60c08301525092915050565b60008060006060848603121561445b57600080fd5b833561446681613c3f565b925060208401356001600160401b0381111561448157600080fd5b61392f8682870161438a565b80356001600160401b038116811461365c57600080fd5b60006101c082840312156144b757600080fd5b6144bf61374d565b90506144ca82613651565b81526144d86020830161448d565b60208201526144e960408301613651565b60408201526144fa60608301613c6e565b606082015261450b60808301613c6e565b608082015261451c60a08301613c6e565b60a082015260c082013560c082015260e082013560e0820152610100614544848285016141c4565b90820152610140614557848483016141c4565b610120830152613f318461018085016141c4565b6000806000610200848603121561458157600080fd5b833561458c8161363c565b925061459b85602086016144a4565b91506101e0840135613940816138ce565b6000806101e083850312156145c057600080fd5b82356145cb8161363c565b91506145da84602085016144a4565b90509250929050565b6000602082840312156145f557600080fd5b813561367e816137fc565b6000806040838503121561461357600080fd5b823561461e8161363c565b915060208301356001600160401b0381111561463957600080fd5b613f8085828601613c96565b6000806040838503121561465857600080fd5b8235613c2481613c3f565b60008060006060848603121561467857600080fd5b83356146838161363c565b925061469160208501613ade565b915060408401356001600160401b038111156146ac57600080fd5b613ab786828701613af1565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526147146020820183516146b8565b6000602083015160c08084015261472e60e0840182614304565b949350505050565b60008060006060848603121561474b57600080fd5b83356147568161363c565b925060208401356001600160401b0381111561477157600080fd5b61392f86828701613dc1565b6000806040838503121561479057600080fd5b823561479b8161363c565b915060208301356001600160401b038111156147b657600080fd5b613f80858286016141f4565b60a08101610b0982846146b8565b600061020082840312156147e357600080fd5b6147eb61372a565b90506147f682613651565b815261480460208301613651565b602082015261481683604084016141c4565b604082015261482883608084016141c4565b606082015261483a8360c084016141c4565b608082015261010061484e848285016141c4565b60a08301526148618461014085016141c4565b60c08301526148748461018085016141c4565b60e0830152613f31846101c085016141c4565b600080610220838503121561489b57600080fd5b82356148a68161363c565b91506145da84602085016147d0565b6000806000606084860312156148ca57600080fd5b83356148d581613c3f565b925060208401356001600160401b038111156148f057600080fd5b61392f86828701613f8a565b60008060006060848603121561491157600080fd5b833561491c816138ce565b9250602084013561416f816138ce565b6000806000610240848603121561494257600080fd5b833561494d8161363c565b925061495c85602086016147d0565b9150610220840135613940816138ce565b60008060006060848603121561498257600080fd5b833561498d8161363c565b9250602084013561416f81613964565b600080604083850312156149b057600080fd5b82356149bb81613c3f565b915060208301356001600160401b038111156149d657600080fd5b613f808582860161438a565b60ff19811681146132f657600080fd5b60008060408385031215614a0557600080fd5b8235614a10816138ce565b91506020830135613c34816149e2565b60008060008060808587031215614a3657600080fd5b8435614a418161363c565b93506020850135614a5181613964565b925060408501356001600160401b03811115614a6c57600080fd5b613bea8782880161399d565b602081526000825160c06020840152614a9460e0840182614304565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c0850152614af28282614304565b95945050505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151614b40608084018260ff169052565b50608083015160e060a0840152614b5b610100840182614304565b905060a0840151601f198483030160c0850152614b788282614304565b91505060c0840151614b9360e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152614bd860a0840182614304565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614c3360c0840182614304565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b60208152614c7c6020820183516001600160601b03169052565b60006020830151614c9860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100614d1e8185018364ffffffffff169052565b808501519150506102206101208181860152614d3e610240860184614304565b9250808601519050610140601f198685030181870152614d5e8483614304565b935080870151915050610160614d798187018361ffff169052565b8601519050610180614d908682018361ffff169052565b86015190506101a0614dac868201836001600160601b03169052565b86015190506101c0614dc8868201836001600160601b03169052565b86015190506101e0614de28682018364ffffffffff169052565b8601519050610200614dfc8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b600060208284031215614e3a57600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261472e6060840182614304565b6020815260008251610120806020850152614e8e610140850183614304565b91506020850151604085015260408501516060850152606085015160808501526080850151614ec560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614efb8187018315159052565b860151858403601f1901838701529050614f158382614304565b9695505050505050565b600060208284031215614f3157600080fd5b815161367e81613c60565b602081526001600160601b03825116602082015260006020830151614f6e604084018280518252602090810151910152565b50604083015160e06080840152614f89610100840182614304565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c90821680614fd657607f821691505b602082108103614ff657634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e0604084015261502c610100840182614304565b90506040840151606084015263ffffffff6060850151166080840152608084015161505f60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614af28282614304565b81516001600160601b031681526101c0810160208301516150ba60208401826001600160401b03169052565b5060408301516150d560408401826001600160601b03169052565b5060608301516150e9606084018215159052565b5060808301516150fd608084018215159052565b5060a083015161511160a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516151438285018280518252602090810151910152565b50506101208301516101406151648185018380518252602090810151910152565b840151805161018085015260208101516101a085015290505b5092915050565b81516001600160601b031681526020808301516102008301916151b1908401826001600160601b03169052565b5060408301516151ce604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061521b8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e0850152905061517d565b60006020828403121561527957600080fd5b815161367e816137fc565b6000808585111561529457600080fd5b838611156152a157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156152d65780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a3b57600081815260208120601f850160051c810160208610156153455750805b601f850160051c820191505b8181101561180557828155600101615351565b81516001600160401b0381111561537d5761537d613685565b6153918161538b8454614fc2565b8461531e565b602080601f8311600181146153c657600084156153ae5750858301515b600019600386901b1c1916600185901b178555611805565b600085815260208120601f198616915b828110156153f5578886015182559484019460019091019084016153d6565b50858210156154135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561543557600080fd5b815161367e816138ce565b60006020828403121561545257600080fd5b815161367e816149e2565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b6000602082840312156154ee57600080fd5b815161367e81613c79565b6000825161550b8184602087016142e0565b9190910192915050565b6000806040838503121561552857600080fd5b825161553381613c60565b6020840151909250613c3481613c79565b60006020828403121561555657600080fd5b815161367e8161363c56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212207559ed05247d6e2b7a54a81f54384a975f6b5ae77775c562c66b1146db45ccf564736f6c63430008140033",
3119
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106103a45760003560e01c80637cca1124116101e9578063af9025001161010f578063ca0e7f08116100ad578063f48016ce1161007c578063f48016ce146109b3578063f5884fc514610774578063fae5df9b146109d4578063fe1f18d6146109e757600080fd5b8063ca0e7f081461093c578063dee326231461094f578063e80c61ed14610962578063e9e96c701461097557600080fd5b8063b6d7cd62116100e9578063b6d7cd62146108e3578063bf1db3f9146108f6578063bf7e214f14610909578063c4d66de81461092957600080fd5b8063af902500146108aa578063b0628dc3146108bd578063b5b3d9f9146108d057600080fd5b80639f8151e511610187578063a5961b4c11610156578063a5961b4c146107c0578063a6a67b1f14610871578063a76ee01814610884578063a89896751461089757600080fd5b80639f8151e514610787578063a1fc100414610774578063a28422291461079a578063a46eb8dc146107ad57600080fd5b80638eaa6ac0116101c35780638eaa6ac0146107075780638eb9000d146107275780638fb3603714610753578063985aeba71461077457600080fd5b80637cca1124146106ce5780637cef4842146106e157806381c2b282146106f457600080fd5b806340529b0f116102ce5780635a8416b01161026c578063684563911161023b5780636845639114610682578063763bb7541461069557806378929823146106a85780637a9e5e4b146106bb57600080fd5b80635a8416b0146105e85780635d4345cc1461048d5780635eede174146105fb57806361105e0e1461066f57600080fd5b806351dd844b116102a857806351dd844b1461058f578063533086d4146105a257806353ebe129146105b557806354f6127f146105c857600080fd5b806340529b0f14610561578063468bce06146105745780634846003a1461057c57600080fd5b80631e40b363116103465780632f61088a116103155780632f61088a1461050557806330a130ba146105185780633870a7701461052b57806338a699a41461053e57600080fd5b80631e40b363146104a0578063228e42ec146104b3578063248a77dd146104df5780632a8ea7ac146104f257600080fd5b80630cfc3ba3116103825780630cfc3ba3146104415780630d358181146104545780630f6c29ef1461047a5780630fad0eb11461048d57600080fd5b80630232ca49146103a957806303c099ac146103f257806309648a9d14610407575b600080fd5b6103d56103b7366004613661565b6001600160601b039081166000908152600560205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6104056104003660046138e8565b6109fa565b005b61042f61041536600461394b565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020016103e9565b61040561044f366004613a60565b610a40565b61042f610462366004613ac1565b60ff9081166000908152602081905260409020541690565b610405610488366004613b94565b610a7b565b61040561049b366004613c06565b610aa8565b6104056104ae366004613d4c565b610ac9565b6103d56104c1366004613661565b6001600160601b039081166000908152600360205260409020541690565b6103d56104ed366004613d93565b610af1565b610405610500366004613f3b565b610b0f565b610405610513366004613fe4565b610b37565b6104056105263660046140fc565b610bd7565b610405610539366004614141565b610c77565b61055161054c36600461394b565b610c8d565b60405190151581526020016103e9565b61040561056f366004613c06565b610d18565b610405610d2f565b61040561058a36600461417f565b610d61565b61040561059d366004614299565b610d92565b6103d56105b0366004613d93565b610dba565b6103d56105c3366004613d93565b610dcf565b6105db6105d636600461394b565b610de4565b6040516103e99190614330565b6104056105f6366004614343565b610e89565b610645610609366004613661565b6001600160601b039081166000908152600360209081526040808320546004835281842054600590935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103e9565b61040561067d366004614446565b610f29565b610405610690366004613c06565b610fc9565b6104056106a336600461456b565b610fe0565b6104056106b63660046145ac565b611008565b6104056106c93660046145e3565b611030565b6104056106dc366004614600565b6110b8565b6104056106ef366004614645565b6110e0565b610405610702366004614663565b61116f565b61071a61071536600461394b565b611196565b6040516103e99190614702565b6103d5610735366004613661565b6001600160601b039081166000908152600460205260409020541690565b61075b6112d7565b6040516001600160e01b031990911681526020016103e9565b610405610782366004614736565b611310565b6103d5610795366004613d93565b611338565b6104056107a8366004614645565b61134d565b6104056107bb36600461477d565b61139b565b6108646107ce36600461394b565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516103e991906147c2565b61040561087f366004614887565b6113cc565b6104056108923660046148b5565b6113f4565b6104056108a53660046148fc565b611494565b6104056108b8366004614645565b611585565b6103d56108cb366004613d93565b6115d3565b6104056108de36600461492c565b6115e8565b6104056108f136600461496d565b611610565b610551610904366004613ac1565b611626565b610911611673565b6040516001600160a01b0390911681526020016103e9565b6104056109373660046145e3565b61168f565b61040561094a36600461499d565b61180d565b61040561095d366004613c06565b6118ad565b6103d5610970366004613d93565b6118c4565b6105516109833660046148fc565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6109c66109c13660046149f2565b6118d9565b6040519081526020016103e9565b6104056109e2366004614a20565b61195d565b6104056109f5366004613c06565b611984565b610a07335b60003661199b565b610a3b610a15846064611a9e565b83604051602001610a269190614a78565b60405160208183030381529060405283611aea565b505050565b610a49336109ff565b610a3b610a568484611f56565b82604051602001610a679190614afb565b604051602081830303815290604052611fa3565b610a84336109ff565b610aa2610a918585612378565b83604051602001610a269190614b9b565b50505050565b610ab1336109ff565b610ac5610abf8360d3611a9e565b826123c6565b5050565b610ad2336109ff565b610a3b610ae084607a611a9e565b83604051602001610a269190614bf5565b6000610afc336109ff565b610b0683836126a5565b90505b92915050565b610b18336109ff565b610ac5610b268360d3611a9e565b82604051602001610a679190614c62565b610b40336109ff565b6040516355ee627560e01b8152610ac59073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610b85906001600160c01b0319871690600401614e13565b602060405180830381865af4158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc69190614e28565b82604051602001610a679190614e41565b610be0336109ff565b6040516355ee627560e01b8152610ac59073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c25906001600160c01b0319871690600401614e13565b602060405180830381865af4158015610c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c669190614e28565b82604051602001610a679190614e6f565b610c80336109ff565b610a3b610abf8484612378565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b099190614f1f565b610d21336109ff565b610ac5610abf83607a611a9e565b610d37612836565b610d3f61287f565b610d476129a2565b610d4f612a94565b610d57612bcb565b610d5f612cf7565b565b610d6a336109ff565b610d7382612db2565b610ac5610d81836064611a9e565b82604051602001610a679190614a78565b610d9b336109ff565b610a3b610da98460dc611a9e565b83604051602001610a269190614f3c565b6000610dc5336109ff565b610b068383612ef4565b6000610dda336109ff565b610b068383612fd8565b6000818152600260205260409020600101805460609190610e0490614fc2565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3090614fc2565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b50505050509050919050565b610e92336109ff565b6040516355ee627560e01b8152610a3b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610ed7906001600160c01b0319881690600401614e13565b602060405180830381865af4158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f189190614e28565b83604051602001610a269190614e6f565b610f32336109ff565b6040516355ee627560e01b8152610a3b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f77906001600160c01b0319881690600401614e13565b602060405180830381865af4158015610f94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb89190614e28565b83604051602001610a269190614ffc565b610fd2336109ff565b610ac5610abf83608c611a9e565b610fe9336109ff565b610a3b610ff784608c611a9e565b83604051602001610a26919061508e565b611011336109ff565b610ac561101f83608c611a9e565b82604051602001610a67919061508e565b33611039611673565b6001600160a01b0316816001600160a01b0316146110795760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036110af576040516361798f2f60e11b81526001600160a01b0383166004820152602401611070565b610ac5826130bc565b6110c1336109ff565b610ac56110cf83607a611a9e565b82604051602001610a679190614bf5565b6110e9336109ff565b6040516355ee627560e01b8152610ac59073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061112e906001600160c01b0319871690600401614e13565b602060405180830381865af415801561114b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf9190614e28565b611178336109ff565b610a3b6111858484612378565b82604051602001610a679190614b9b565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161124e90614fc2565b80601f016020809104026020016040519081016040528092919081815260200182805461127a90614fc2565b80156112c75780601f1061129c576101008083540402835291602001916112c7565b820191906000526020600020905b8154815290600101906020018083116112aa57829003601f168201915b5050505050815250509050919050565b600080516020615562833981519152805460009190600160a01b900460ff1661130157600061130a565b638fb3603760e01b5b91505090565b611319336109ff565b610a3b6113278460d3611a9e565b83604051602001610a269190614c62565b6000611343336109ff565b610b06838361311d565b611356336109ff565b6040516355ee627560e01b8152610ac59073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061112e906001600160c01b0319871690600401614e13565b6113a4336109ff565b6113ad82612db2565b610ac56113bb8360dc611a9e565b82604051602001610a679190614f3c565b6113d5336109ff565b610ac56113e383606e611a9e565b82604051602001610a679190615184565b6113fd336109ff565b6040516355ee627560e01b8152610a3b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611442906001600160c01b0319881690600401614e13565b602060405180830381865af415801561145f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114839190614e28565b83604051602001610a269190614e41565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d9190614f1f565b1561152757505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610a3b57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401611070565b61158e336109ff565b6040516355ee627560e01b8152610ac59073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061112e906001600160c01b0319871690600401614e13565b60006115de336109ff565b610b068383613201565b6115f1336109ff565b610a3b6115ff84606e611a9e565b83604051602001610a269190615184565b611619336109ff565b610a3b610abf8484611f56565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610cd7565b600080516020615562833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156116d45750825b90506000826001600160401b031660011480156116f05750303b155b9050811580156116fe575080155b1561171c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561174657845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa9190615267565b90506117b5816132e5565b6117bd610d2f565b50831561180557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b611816336109ff565b6040516355ee627560e01b8152610ac59073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061185b906001600160c01b0319871690600401614e13565b602060405180830381865af4158015611878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189c9190614e28565b82604051602001610a679190614ffc565b6118b6336109ff565b610ac5610abf83606e611a9e565b60006118cf336109ff565b610b0683836132f9565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611939573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b069190614e28565b611966336109ff565b610aa26119738585611f56565b83604051602001610a269190614afb565b61198d336109ff565b610ac5610abf8360dc611a9e565b6000805160206155628339815191526000806119d66119b8611673565b87306119c8600460008a8c615284565b6119d1916152ae565b6133dd565b91509150816118055763ffffffff811615611a7657825460ff60a01b1916600160a01b178355611a04611673565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a33939291906152de565b600060405180830381600087803b158015611a4d57600080fd5b505af1158015611a61573d6000803e3d6000fd5b5050845460ff60a01b19168555506118059050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611070565b905090565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161191c565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b609190614f1f565b15611b815760405163093b89e160e11b815260048101849052602401611070565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c119190614f1f565b15611c325760405163566ebf7960e01b815260048101869052602401611070565b6000858152600260205260409020600101611c4d8582615364565b5060ff80841614611c7b578154611c689060ff168285611494565b815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416611cac6134e9565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d629190615423565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd69190615440565b8588863287604051611dee979695949392919061545d565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611e68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8c9190615423565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f009190615440565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161191c565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ff6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201a9190615423565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561206f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120939190614f1f565b156120b6576040516307014a8d60e51b815260ff82166004820152602401611070565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af415801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190614f1f565b1561216d57604051633f92eac960e21b81526004810185905260ff83166024820152604401611070565b3360006121786134e9565b9050600061218585611626565b6121905760646121a6565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016122308782615364565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c79190615423565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b9190615440565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001611f45565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__9063592734119060440161191c565b60405163037c8cb160e51b815260ff8216600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612418573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243c9190614f1f565b1561245d5760405163093b89e160e11b815260048101839052602401611070565b600082815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301819052909173__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156124c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ed9190614f1f565b1561250e5760405163566ebf7960e01b815260048101859052602401611070565b815461251e9060ff168285611494565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166125636134e9565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156125f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126199190615423565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612669573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268d9190615440565b85888632876040516117fc979695949392919061545d565b6001600160601b038216600090815260066020526040812054839060ff166126eb57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260046020526040902054612710911684613558565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916127899187918791879163ffffffff909116906154ad565b60405180910390a173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af41580156127da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127fe91906154dc565b6001600160601b03949094166000908152600760205260409020805463ffffffff191663ffffffff9095169490941790935592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610d5f57604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061297e60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000612a76606e90565b60ff1660ff168152602001908152602001600020600061297e60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064612960565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc61297e565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8612a58565b6001600160601b03811660009081526006602052604090205460ff1615612df7576040516314d5804160e01b81526001600160601b0382166004820152602401611070565b6001600160601b038116600090815260066020908152604091829020805460ff19166001179055815163e8b7afe360e01b8152915173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9263e8b7afe39260048083019391928290030181865af4158015612e69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8d91906154dc565b6001600160601b038216600081815260076020908152604091829020805463ffffffff191663ffffffff9590951694909417909355519081527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a9910160405180910390a150565b6001600160601b038216600090815260066020526040812054839060ff16612f3a57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260056020526040902054612f5f9116846135e0565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916127899187918791879163ffffffff909116906154ad565b6001600160601b038216600090815260066020526040812054839060ff1661301e57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b038085166000908152600460205260409020546130439116846135e0565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916127899187918791879163ffffffff909116906154ad565b60008051602061556283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260066020526040812054839060ff1661316357604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260036020526040902054613188911684613558565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916127899187918791879163ffffffff909116906154ad565b6001600160601b038216600090815260066020526040812054839060ff1661324757604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b0380851660009081526003602052604090205461326c9116846135e0565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916127899187918791879163ffffffff909116906154ad565b6132ed612836565b6132f68161362b565b50565b6001600160601b038216600090815260066020526040812054839060ff1661333f57604051631e94ffd760e11b81526001600160601b0382166004820152602401611070565b6001600160601b03808516600090815260056020526040902054613364911684613558565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916127899187918791879163ffffffff909116906154ad565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161344c91906154f9565b600060405180830381855afa9150503d8060008114613487576040519150601f19603f3d011682016040523d82523d6000602084013e61348c565b606091505b509150915081156134de5760408151106134be57808060200190518101906134b49190615515565b90945092506134de565b60208151106134de57808060200190518101906134db9190614f1f565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613534573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9991906154dc565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156135bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b069190615544565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161359f565b613633612836565b6132f6816130bc565b6001600160601b03811681146132f657600080fd5b803561365c8161363c565b919050565b60006020828403121561367357600080fd5b813561367e8161363c565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156136bd576136bd613685565b60405290565b60405160e081016001600160401b03811182821017156136bd576136bd613685565b60405161022081016001600160401b03811182821017156136bd576136bd613685565b604080519081016001600160401b03811182821017156136bd576136bd613685565b60405161012081016001600160401b03811182821017156136bd576136bd613685565b60405161016081016001600160401b03811182821017156136bd576136bd613685565b600082601f83011261378157600080fd5b81356001600160401b038082111561379b5761379b613685565b604051601f8301601f19908116603f011681019082821181831017156137c3576137c3613685565b816040528381528660208588010111156137dc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b03811681146132f657600080fd5b803561365c816137fc565b600060c0828403121561382e57600080fd5b61383661369b565b905081356001600160401b038082111561384f57600080fd5b61385b85838601613770565b835261386960208501613651565b602084015261387a60408501613811565b604084015261388b60608501613811565b606084015261389c60808501613811565b608084015260a08401359150808211156138b557600080fd5b506138c284828501613770565b60a08301525092915050565b60ff811681146132f657600080fd5b803561365c816138ce565b6000806000606084860312156138fd57600080fd5b83356139088161363c565b925060208401356001600160401b0381111561392357600080fd5b61392f8682870161381c565b9250506040840135613940816138ce565b809150509250925092565b60006020828403121561395d57600080fd5b5035919050565b61ffff811681146132f657600080fd5b803561365c81613964565b64ffffffffff811681146132f657600080fd5b803561365c8161397f565b600060e082840312156139af57600080fd5b6139b76136c3565b90506139c282613651565b81526139d060208301613651565b60208201526139e1604083016138dd565b60408201526139f2606083016138dd565b606082015260808201356001600160401b0380821115613a1157600080fd5b613a1d85838601613770565b608084015260a0840135915080821115613a3657600080fd5b50613a4384828501613770565b60a083015250613a5560c08301613992565b60c082015292915050565b600080600060608486031215613a7557600080fd5b8335613a808161363c565b92506020840135613a9081613964565b915060408401356001600160401b03811115613aab57600080fd5b613ab78682870161399d565b9150509250925092565b600060208284031215613ad357600080fd5b813561367e816138ce565b803562ffffff8116811461365c57600080fd5b600060808284031215613b0357600080fd5b604051608081016001600160401b038282108183111715613b2657613b26613685565b8160405282935084359150613b3a82613964565b908252602084013590613b4c8261363c565b8160208401526040850135915080821115613b6657600080fd5b50613b7385828601613770565b6040830152506060830135613b878161397f565b6060919091015292915050565b60008060008060808587031215613baa57600080fd5b8435613bb58161363c565b9350613bc360208601613ade565b925060408501356001600160401b03811115613bde57600080fd5b613bea87828801613af1565b9250506060850135613bfb816138ce565b939692955090935050565b60008060408385031215613c1957600080fd5b8235613c248161363c565b91506020830135613c34816138ce565b809150509250929050565b6001600160c01b0319811681146132f657600080fd5b803561365c81613c3f565b80151581146132f657600080fd5b803561365c81613c60565b63ffffffff811681146132f657600080fd5b803561365c81613c79565b600060a08284031215613ca857600080fd5b60405160a081016001600160401b038282108183111715613ccb57613ccb613685565b8160405282935084359150613cdf82613c3f565b908252602084013590613cf182613c60565b8160208401526040850135915080821115613d0b57600080fd5b50613d1885828601613770565b6040830152506060830135613d2c8161363c565b60608201526080830135613d3f81613c79565b6080919091015292915050565b600080600060608486031215613d6157600080fd5b8335613d6c8161363c565b925060208401356001600160401b03811115613d8757600080fd5b61392f86828701613c96565b60008060408385031215613da657600080fd5b8235613db18161363c565b91506020830135613c348161363c565b60006102208284031215613dd457600080fd5b613ddc6136e5565b9050613de782613651565b8152613df560208301613651565b6020820152613e0660408301613c55565b6040820152613e1760608301613c55565b6060820152613e2860808301613651565b6080820152613e3960a08301613651565b60a0820152613e4a60c08301613651565b60c0820152613e5b60e08301613992565b60e0820152610100808301356001600160401b0380821115613e7c57600080fd5b613e8886838701613770565b83850152610120925082850135915080821115613ea457600080fd5b50613eb185828601613770565b828401525050610140613ec5818401613974565b90820152610160613ed7838201613974565b90820152610180613ee9838201613651565b908201526101a0613efb838201613651565b908201526101c0613f0d838201613992565b908201526101e0613f1f838201613992565b90820152610200613f31838201613992565b9082015292915050565b60008060408385031215613f4e57600080fd5b8235613f598161363c565b915060208301356001600160401b03811115613f7457600080fd5b613f8085828601613dc1565b9150509250929050565b600060408284031215613f9c57600080fd5b613fa4613708565b90508135613fb18161363c565b815260208201356001600160401b03811115613fcc57600080fd5b613fd884828501613770565b60208301525092915050565b60008060408385031215613ff757600080fd5b823561400281613c3f565b915060208301356001600160401b0381111561401d57600080fd5b613f8085828601613f8a565b6000610120828403121561403c57600080fd5b61404461372a565b905081356001600160401b038082111561405d57600080fd5b61406985838601613770565b835260208401356020840152604084013560408401526060840135606084015261409560808501613c8b565b60808401526140a660a08501613c8b565b60a08401526140b760c08501613c6e565b60c08401526140c860e08501613c6e565b60e0840152610100915081840135818111156140e357600080fd5b6140ef86828701613770565b8385015250505092915050565b6000806040838503121561410f57600080fd5b823561411a81613c3f565b915060208301356001600160401b0381111561413557600080fd5b613f8085828601614029565b60008060006060848603121561415657600080fd5b83356141618161363c565b925061416f60208501613ade565b91506040840135613940816138ce565b6000806040838503121561419257600080fd5b823561419d8161363c565b915060208301356001600160401b038111156141b857600080fd5b613f808582860161381c565b6000604082840312156141d657600080fd5b6141de613708565b9050813581526020820135602082015292915050565b600060e0828403121561420657600080fd5b61420e61369b565b9050813561421b8161363c565b815261422a83602084016141c4565b602082015260608201356001600160401b0381111561424857600080fd5b61425484828501613770565b60408301525060808201356142688161397f565b606082015260a082013561427b8161397f565b608082015260c082013561428e8161397f565b60a082015292915050565b6000806000606084860312156142ae57600080fd5b83356142b98161363c565b925060208401356001600160401b038111156142d457600080fd5b61392f868287016141f4565b60005b838110156142fb5781810151838201526020016142e3565b50506000910152565b6000815180845261431c8160208601602086016142e0565b601f01601f19169290920160200192915050565b602081526000610b066020830184614304565b60008060006060848603121561435857600080fd5b833561436381613c3f565b925060208401356001600160401b0381111561437e57600080fd5b61392f86828701614029565b600060e0828403121561439c57600080fd5b6143a46136c3565b90506143af82613651565b815260208201356001600160401b03808211156143cb57600080fd5b6143d785838601613770565b6020840152604084013560408401526143f260608501613c8b565b606084015261440360808501613c8b565b608084015261441460a08501613992565b60a084015260c084013591508082111561442d57600080fd5b5061443a84828501613770565b60c08301525092915050565b60008060006060848603121561445b57600080fd5b833561446681613c3f565b925060208401356001600160401b0381111561448157600080fd5b61392f8682870161438a565b80356001600160401b038116811461365c57600080fd5b60006101c082840312156144b757600080fd5b6144bf61374d565b90506144ca82613651565b81526144d86020830161448d565b60208201526144e960408301613651565b60408201526144fa60608301613c6e565b606082015261450b60808301613c6e565b608082015261451c60a08301613c6e565b60a082015260c082013560c082015260e082013560e0820152610100614544848285016141c4565b90820152610140614557848483016141c4565b610120830152613f318461018085016141c4565b6000806000610200848603121561458157600080fd5b833561458c8161363c565b925061459b85602086016144a4565b91506101e0840135613940816138ce565b6000806101e083850312156145c057600080fd5b82356145cb8161363c565b91506145da84602085016144a4565b90509250929050565b6000602082840312156145f557600080fd5b813561367e816137fc565b6000806040838503121561461357600080fd5b823561461e8161363c565b915060208301356001600160401b0381111561463957600080fd5b613f8085828601613c96565b6000806040838503121561465857600080fd5b8235613c2481613c3f565b60008060006060848603121561467857600080fd5b83356146838161363c565b925061469160208501613ade565b915060408401356001600160401b038111156146ac57600080fd5b613ab786828701613af1565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526147146020820183516146b8565b6000602083015160c08084015261472e60e0840182614304565b949350505050565b60008060006060848603121561474b57600080fd5b83356147568161363c565b925060208401356001600160401b0381111561477157600080fd5b61392f86828701613dc1565b6000806040838503121561479057600080fd5b823561479b8161363c565b915060208301356001600160401b038111156147b657600080fd5b613f80858286016141f4565b60a08101610b0982846146b8565b600061020082840312156147e357600080fd5b6147eb61372a565b90506147f682613651565b815261480460208301613651565b602082015261481683604084016141c4565b604082015261482883608084016141c4565b606082015261483a8360c084016141c4565b608082015261010061484e848285016141c4565b60a08301526148618461014085016141c4565b60c08301526148748461018085016141c4565b60e0830152613f31846101c085016141c4565b600080610220838503121561489b57600080fd5b82356148a68161363c565b91506145da84602085016147d0565b6000806000606084860312156148ca57600080fd5b83356148d581613c3f565b925060208401356001600160401b038111156148f057600080fd5b61392f86828701613f8a565b60008060006060848603121561491157600080fd5b833561491c816138ce565b9250602084013561416f816138ce565b6000806000610240848603121561494257600080fd5b833561494d8161363c565b925061495c85602086016147d0565b9150610220840135613940816138ce565b60008060006060848603121561498257600080fd5b833561498d8161363c565b9250602084013561416f81613964565b600080604083850312156149b057600080fd5b82356149bb81613c3f565b915060208301356001600160401b038111156149d657600080fd5b613f808582860161438a565b60ff19811681146132f657600080fd5b60008060408385031215614a0557600080fd5b8235614a10816138ce565b91506020830135613c34816149e2565b60008060008060808587031215614a3657600080fd5b8435614a418161363c565b93506020850135614a5181613964565b925060408501356001600160401b03811115614a6c57600080fd5b613bea8782880161399d565b602081526000825160c06020840152614a9460e0840182614304565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c0850152614af28282614304565b95945050505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151614b40608084018260ff169052565b50608083015160e060a0840152614b5b610100840182614304565b905060a0840151601f198483030160c0850152614b788282614304565b91505060c0840151614b9360e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152614bd860a0840182614304565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614c3360c0840182614304565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b60208152614c7c6020820183516001600160601b03169052565b60006020830151614c9860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100614d1e8185018364ffffffffff169052565b808501519150506102206101208181860152614d3e610240860184614304565b9250808601519050610140601f198685030181870152614d5e8483614304565b935080870151915050610160614d798187018361ffff169052565b8601519050610180614d908682018361ffff169052565b86015190506101a0614dac868201836001600160601b03169052565b86015190506101c0614dc8868201836001600160601b03169052565b86015190506101e0614de28682018364ffffffffff169052565b8601519050610200614dfc8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b600060208284031215614e3a57600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261472e6060840182614304565b6020815260008251610120806020850152614e8e610140850183614304565b91506020850151604085015260408501516060850152606085015160808501526080850151614ec560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614efb8187018315159052565b860151858403601f1901838701529050614f158382614304565b9695505050505050565b600060208284031215614f3157600080fd5b815161367e81613c60565b602081526001600160601b03825116602082015260006020830151614f6e604084018280518252602090810151910152565b50604083015160e06080840152614f89610100840182614304565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c90821680614fd657607f821691505b602082108103614ff657634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e0604084015261502c610100840182614304565b90506040840151606084015263ffffffff6060850151166080840152608084015161505f60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614af28282614304565b81516001600160601b031681526101c0810160208301516150ba60208401826001600160401b03169052565b5060408301516150d560408401826001600160601b03169052565b5060608301516150e9606084018215159052565b5060808301516150fd608084018215159052565b5060a083015161511160a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516151438285018280518252602090810151910152565b50506101208301516101406151648185018380518252602090810151910152565b840151805161018085015260208101516101a085015290505b5092915050565b81516001600160601b031681526020808301516102008301916151b1908401826001600160601b03169052565b5060408301516151ce604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061521b8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e0850152905061517d565b60006020828403121561527957600080fd5b815161367e816137fc565b6000808585111561529457600080fd5b838611156152a157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156152d65780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a3b57600081815260208120601f850160051c810160208610156153455750805b601f850160051c820191505b8181101561180557828155600101615351565b81516001600160401b0381111561537d5761537d613685565b6153918161538b8454614fc2565b8461531e565b602080601f8311600181146153c657600084156153ae5750858301515b600019600386901b1c1916600185901b178555611805565b600085815260208120601f198616915b828110156153f5578886015182559484019460019091019084016153d6565b50858210156154135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561543557600080fd5b815161367e816138ce565b60006020828403121561545257600080fd5b815161367e816149e2565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b6000602082840312156154ee57600080fd5b815161367e81613c79565b6000825161550b8184602087016142e0565b9190910192915050565b6000806040838503121561552857600080fd5b825161553381613c60565b6020840151909250613c3481613c79565b60006020828403121561555657600080fd5b815161367e8161363c56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212207559ed05247d6e2b7a54a81f54384a975f6b5ae77775c562c66b1146db45ccf564736f6c63430008140033",
3120
+ "linkReferences": {
3121
+ "contracts/type/Amount.sol": {
3122
+ "AmountLib": [
3123
+ {
3124
+ "length": 20,
3125
+ "start": 13730
3126
+ },
3127
+ {
3128
+ "length": 20,
3129
+ "start": 13866
3130
+ }
3131
+ ]
3132
+ },
3133
+ "contracts/type/Blocknumber.sol": {
3134
+ "BlocknumberLib": [
3135
+ {
3136
+ "length": 20,
3137
+ "start": 10164
3138
+ },
3139
+ {
3140
+ "length": 20,
3141
+ "start": 11855
3142
+ },
3143
+ {
3144
+ "length": 20,
3145
+ "start": 13582
3146
+ }
3147
+ ]
3148
+ },
3149
+ "contracts/type/ClaimId.sol": {
3150
+ "ClaimIdLib": [
3151
+ {
3152
+ "length": 20,
3153
+ "start": 8098
3154
+ }
3155
+ ]
3156
+ },
3157
+ "contracts/type/DistributorType.sol": {
3158
+ "DistributorTypeLib": [
3159
+ {
3160
+ "length": 20,
3161
+ "start": 3092
3162
+ },
3163
+ {
3164
+ "length": 20,
3165
+ "start": 3782
3166
+ },
3167
+ {
3168
+ "length": 20,
3169
+ "start": 5002
3170
+ }
3171
+ ]
3172
+ },
3173
+ "contracts/type/Key32.sol": {
3174
+ "Key32Lib": [
3175
+ {
3176
+ "length": 20,
3177
+ "start": 6431
3178
+ },
3179
+ {
3180
+ "length": 20,
3181
+ "start": 7461
3182
+ },
3183
+ {
3184
+ "length": 20,
3185
+ "start": 7577
3186
+ },
3187
+ {
3188
+ "length": 20,
3189
+ "start": 7759
3190
+ },
3191
+ {
3192
+ "length": 20,
3193
+ "start": 7875
3194
+ },
3195
+ {
3196
+ "length": 20,
3197
+ "start": 8157
3198
+ },
3199
+ {
3200
+ "length": 20,
3201
+ "start": 8842
3202
+ },
3203
+ {
3204
+ "length": 20,
3205
+ "start": 8958
3206
+ },
3207
+ {
3208
+ "length": 20,
3209
+ "start": 9692
3210
+ },
3211
+ {
3212
+ "length": 20,
3213
+ "start": 9808
3214
+ }
3215
+ ]
3216
+ },
3217
+ "contracts/type/NftId.sol": {
3218
+ "NftIdLib": [
3219
+ {
3220
+ "length": 20,
3221
+ "start": 6889
3222
+ }
3223
+ ]
3224
+ },
3225
+ "contracts/type/ObjectType.sol": {
3226
+ "ObjectTypeLib": [
3227
+ {
3228
+ "length": 20,
3229
+ "start": 8278
3230
+ }
3231
+ ]
3232
+ },
3233
+ "contracts/type/PayoutId.sol": {
3234
+ "PayoutIdLib": [
3235
+ {
3236
+ "length": 20,
3237
+ "start": 9157
3238
+ }
3239
+ ]
3240
+ },
3241
+ "contracts/type/Referral.sol": {
3242
+ "ReferralLib": [
3243
+ {
3244
+ "length": 20,
3245
+ "start": 3942
3246
+ },
3247
+ {
3248
+ "length": 20,
3249
+ "start": 5570
3250
+ },
3251
+ {
3252
+ "length": 20,
3253
+ "start": 6218
3254
+ }
3255
+ ]
3256
+ },
3257
+ "contracts/type/RiskId.sol": {
3258
+ "RiskIdLib": [
3259
+ {
3260
+ "length": 20,
3261
+ "start": 2932
3262
+ },
3263
+ {
3264
+ "length": 20,
3265
+ "start": 4381
3266
+ },
3267
+ {
3268
+ "length": 20,
3269
+ "start": 5169
3270
+ }
3271
+ ]
3272
+ },
3273
+ "contracts/type/StateId.sol": {
3274
+ "StateIdLib": [
3275
+ {
3276
+ "length": 20,
3277
+ "start": 3290
3278
+ },
3279
+ {
3280
+ "length": 20,
3281
+ "start": 5344
3282
+ },
3283
+ {
3284
+ "length": 20,
3285
+ "start": 5746
3286
+ },
3287
+ {
3288
+ "length": 20,
3289
+ "start": 6947
3290
+ },
3291
+ {
3292
+ "length": 20,
3293
+ "start": 7124
3294
+ },
3295
+ {
3296
+ "length": 20,
3297
+ "start": 8454
3298
+ },
3299
+ {
3300
+ "length": 20,
3301
+ "start": 9215
3302
+ },
3303
+ {
3304
+ "length": 20,
3305
+ "start": 9392
3306
+ }
3307
+ ]
3308
+ }
3309
+ },
3310
+ "deployedLinkReferences": {
3311
+ "contracts/type/Amount.sol": {
3312
+ "AmountLib": [
3313
+ {
3314
+ "length": 20,
3315
+ "start": 13697
3316
+ },
3317
+ {
3318
+ "length": 20,
3319
+ "start": 13833
3320
+ }
3321
+ ]
3322
+ },
3323
+ "contracts/type/Blocknumber.sol": {
3324
+ "BlocknumberLib": [
3325
+ {
3326
+ "length": 20,
3327
+ "start": 10131
3328
+ },
3329
+ {
3330
+ "length": 20,
3331
+ "start": 11822
3332
+ },
3333
+ {
3334
+ "length": 20,
3335
+ "start": 13549
3336
+ }
3337
+ ]
3338
+ },
3339
+ "contracts/type/ClaimId.sol": {
3340
+ "ClaimIdLib": [
3341
+ {
3342
+ "length": 20,
3343
+ "start": 8065
3344
+ }
3345
+ ]
3346
+ },
3347
+ "contracts/type/DistributorType.sol": {
3348
+ "DistributorTypeLib": [
3349
+ {
3350
+ "length": 20,
3351
+ "start": 3059
3352
+ },
3353
+ {
3354
+ "length": 20,
3355
+ "start": 3749
3356
+ },
3357
+ {
3358
+ "length": 20,
3359
+ "start": 4969
3360
+ }
3361
+ ]
3362
+ },
3363
+ "contracts/type/Key32.sol": {
3364
+ "Key32Lib": [
3365
+ {
3366
+ "length": 20,
3367
+ "start": 6398
3368
+ },
3369
+ {
3370
+ "length": 20,
3371
+ "start": 7428
3372
+ },
3373
+ {
3374
+ "length": 20,
3375
+ "start": 7544
3376
+ },
3377
+ {
3378
+ "length": 20,
3379
+ "start": 7726
3380
+ },
3381
+ {
3382
+ "length": 20,
3383
+ "start": 7842
3384
+ },
3385
+ {
3386
+ "length": 20,
3387
+ "start": 8124
3388
+ },
3389
+ {
3390
+ "length": 20,
3391
+ "start": 8809
3392
+ },
3393
+ {
3394
+ "length": 20,
3395
+ "start": 8925
3396
+ },
3397
+ {
3398
+ "length": 20,
3399
+ "start": 9659
3400
+ },
3401
+ {
3402
+ "length": 20,
3403
+ "start": 9775
3404
+ }
3405
+ ]
3406
+ },
3407
+ "contracts/type/NftId.sol": {
3408
+ "NftIdLib": [
3409
+ {
3410
+ "length": 20,
3411
+ "start": 6856
3412
+ }
3413
+ ]
3414
+ },
3415
+ "contracts/type/ObjectType.sol": {
3416
+ "ObjectTypeLib": [
3417
+ {
3418
+ "length": 20,
3419
+ "start": 8245
3420
+ }
3421
+ ]
3422
+ },
3423
+ "contracts/type/PayoutId.sol": {
3424
+ "PayoutIdLib": [
3425
+ {
3426
+ "length": 20,
3427
+ "start": 9124
3428
+ }
3429
+ ]
3430
+ },
3431
+ "contracts/type/Referral.sol": {
3432
+ "ReferralLib": [
3433
+ {
3434
+ "length": 20,
3435
+ "start": 3909
3436
+ },
3437
+ {
3438
+ "length": 20,
3439
+ "start": 5537
3440
+ },
3441
+ {
3442
+ "length": 20,
3443
+ "start": 6185
3444
+ }
3445
+ ]
3446
+ },
3447
+ "contracts/type/RiskId.sol": {
3448
+ "RiskIdLib": [
3449
+ {
3450
+ "length": 20,
3451
+ "start": 2899
3452
+ },
3453
+ {
3454
+ "length": 20,
3455
+ "start": 4348
3456
+ },
3457
+ {
3458
+ "length": 20,
3459
+ "start": 5136
3460
+ }
3461
+ ]
3462
+ },
3463
+ "contracts/type/StateId.sol": {
3464
+ "StateIdLib": [
3465
+ {
3466
+ "length": 20,
3467
+ "start": 3257
3468
+ },
3469
+ {
3470
+ "length": 20,
3471
+ "start": 5311
3472
+ },
3473
+ {
3474
+ "length": 20,
3475
+ "start": 5713
3476
+ },
3477
+ {
3478
+ "length": 20,
3479
+ "start": 6914
3480
+ },
3481
+ {
3482
+ "length": 20,
3483
+ "start": 7091
3484
+ },
3485
+ {
3486
+ "length": 20,
3487
+ "start": 8421
3488
+ },
3489
+ {
3490
+ "length": 20,
3491
+ "start": 9182
3492
+ },
3493
+ {
3494
+ "length": 20,
3495
+ "start": 9359
3496
+ }
3497
+ ]
3498
+ }
3499
+ }
3500
+ }