@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7bec40-735

Sign up to get free protection for your applications and to get access to all the features.
Files changed (486) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +873 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1023 -204
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +862 -39
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +916 -129
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +694 -40
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +958 -267
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +778 -194
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +226 -1822
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +444 -2190
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +282 -195
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  46. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +67 -245
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  53. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  59. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  61. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  62. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  64. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  65. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  66. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1103 -177
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +231 -204
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -146
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +669 -153
  95. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPricingService.sol/IPricingService.json} +245 -203
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +88 -397
  99. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  101. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1080 -211
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  107. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  109. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  111. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +327 -531
  113. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  115. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  117. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  119. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  121. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  123. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  125. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  126. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  127. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +422 -269
  129. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +311 -122
  131. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  135. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  136. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  137. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  140. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  142. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  146. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  147. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  148. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  149. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +93 -67
  150. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  152. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  154. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  155. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  160. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  161. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  162. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +187 -180
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  170. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  171. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  176. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  177. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -200
  178. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  180. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
  184. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  185. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  186. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  189. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  191. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  194. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  196. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
  198. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  200. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  202. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  203. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  204. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  206. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  208. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  210. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  212. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  214. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  216. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  218. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  220. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +51 -7
  222. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  223. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  224. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  226. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  227. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  228. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  229. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  230. package/contracts/components/Component.sol +272 -0
  231. package/contracts/components/Distribution.sol +209 -79
  232. package/contracts/components/IComponent.sol +90 -0
  233. package/contracts/components/IDistributionComponent.sol +43 -18
  234. package/contracts/components/IPoolComponent.sol +90 -40
  235. package/contracts/components/IProductComponent.sol +17 -13
  236. package/contracts/components/Pool.sol +222 -166
  237. package/contracts/components/Product.sol +258 -182
  238. package/contracts/instance/BundleManager.sol +126 -0
  239. package/contracts/instance/Cloneable.sol +51 -0
  240. package/contracts/instance/IInstance.sol +63 -40
  241. package/contracts/instance/IInstanceService.sol +73 -0
  242. package/contracts/instance/Instance.sol +213 -71
  243. package/contracts/instance/InstanceAccessManager.sol +541 -0
  244. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  245. package/contracts/instance/InstanceReader.sol +368 -0
  246. package/contracts/instance/InstanceService.sol +308 -0
  247. package/contracts/instance/InstanceServiceManager.sol +54 -0
  248. package/contracts/instance/InstanceStore.sol +212 -0
  249. package/contracts/instance/ObjectManager.sol +82 -0
  250. package/contracts/instance/base/ComponentService.sol +148 -0
  251. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  252. package/contracts/instance/base/ILifecycle.sol +3 -3
  253. package/contracts/instance/base/KeyValueStore.sol +30 -42
  254. package/contracts/instance/base/Lifecycle.sol +27 -7
  255. package/contracts/instance/module/IAccess.sol +54 -0
  256. package/contracts/instance/module/IBundle.sol +23 -0
  257. package/contracts/instance/module/IComponents.sol +41 -0
  258. package/contracts/instance/module/IDistribution.sol +42 -0
  259. package/contracts/instance/module/IPolicy.sol +77 -0
  260. package/contracts/instance/module/IRisk.sol +11 -0
  261. package/contracts/instance/module/ISetup.sol +33 -0
  262. package/contracts/instance/module/ITreasury.sol +23 -0
  263. package/contracts/instance/service/ApplicationService.sol +186 -0
  264. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  265. package/contracts/instance/service/BundleService.sol +382 -0
  266. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  267. package/contracts/instance/service/ClaimService.sol +437 -0
  268. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  269. package/contracts/instance/service/DistributionService.sol +317 -23
  270. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  271. package/contracts/instance/service/IApplicationService.sol +62 -0
  272. package/contracts/instance/service/IBundleService.sol +118 -0
  273. package/contracts/instance/service/IClaimService.sol +90 -0
  274. package/contracts/instance/service/IDistributionService.sol +77 -2
  275. package/contracts/instance/service/IPolicyService.sol +80 -0
  276. package/contracts/instance/service/IPoolService.sol +95 -18
  277. package/contracts/instance/service/IPricingService.sol +37 -0
  278. package/contracts/instance/service/IProductService.sol +9 -76
  279. package/contracts/instance/service/PolicyService.sol +376 -0
  280. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  281. package/contracts/instance/service/PoolService.sol +339 -85
  282. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  283. package/contracts/instance/service/PricingService.sol +275 -0
  284. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  285. package/contracts/instance/service/ProductService.sol +135 -435
  286. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  287. package/contracts/registry/ChainNft.sol +49 -26
  288. package/contracts/registry/IRegistry.sol +53 -25
  289. package/contracts/registry/IRegistryService.sol +53 -16
  290. package/contracts/registry/ITransferInterceptor.sol +1 -0
  291. package/contracts/registry/Registry.sol +289 -313
  292. package/contracts/registry/RegistryAccessManager.sol +216 -0
  293. package/contracts/registry/RegistryService.sol +165 -247
  294. package/contracts/registry/RegistryServiceManager.sol +30 -11
  295. package/contracts/registry/ReleaseManager.sol +324 -0
  296. package/contracts/registry/TokenRegistry.sol +116 -0
  297. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  298. package/contracts/shared/ERC165.sol +15 -9
  299. package/contracts/shared/INftOwnable.sol +11 -10
  300. package/contracts/shared/IPolicyHolder.sol +40 -0
  301. package/contracts/shared/IRegisterable.sol +4 -6
  302. package/contracts/shared/IRegistryLinked.sol +11 -0
  303. package/contracts/shared/IService.sol +18 -0
  304. package/contracts/shared/IVersionable.sol +4 -47
  305. package/contracts/shared/NftOwnable.sol +65 -83
  306. package/contracts/shared/PolicyHolder.sol +94 -0
  307. package/contracts/shared/ProxyManager.sol +101 -26
  308. package/contracts/shared/Registerable.sol +25 -39
  309. package/contracts/shared/RegistryLinked.sol +43 -0
  310. package/contracts/shared/Service.sol +72 -0
  311. package/contracts/shared/TokenHandler.sol +35 -0
  312. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  313. package/contracts/shared/Versionable.sol +5 -93
  314. package/contracts/test/TestFee.sol +2 -2
  315. package/contracts/test/TestRegisterable.sol +1 -1
  316. package/contracts/test/TestRoleId.sol +1 -1
  317. package/contracts/test/TestService.sol +6 -7
  318. package/contracts/types/Amount.sol +109 -0
  319. package/contracts/types/Blocknumber.sol +1 -0
  320. package/contracts/types/ClaimId.sol +75 -0
  321. package/contracts/types/DistributorType.sol +55 -0
  322. package/contracts/types/Fee.sol +19 -10
  323. package/contracts/types/Key32.sol +8 -3
  324. package/contracts/types/NftId.sol +8 -0
  325. package/contracts/types/NftIdSet.sol +26 -24
  326. package/contracts/types/NumberId.sol +52 -0
  327. package/contracts/types/ObjectType.sol +44 -14
  328. package/contracts/types/PayoutId.sol +82 -0
  329. package/contracts/types/Referral.sol +89 -0
  330. package/contracts/types/RoleId.sol +68 -9
  331. package/contracts/types/Seconds.sol +54 -0
  332. package/contracts/types/StateId.sol +12 -3
  333. package/contracts/types/Timestamp.sol +22 -13
  334. package/contracts/types/UFixed.sol +129 -12
  335. package/contracts/types/Version.sol +5 -1
  336. package/package.json +6 -5
  337. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  339. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  340. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  342. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  344. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  346. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  348. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  350. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  352. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  354. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  357. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  359. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  361. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  365. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  367. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  369. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  371. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  372. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  373. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
  379. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  380. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  381. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  384. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  387. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  389. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  392. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  394. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  396. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  398. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  400. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  401. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  403. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  406. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  408. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  410. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  412. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  414. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  415. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  417. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  418. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  419. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  420. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  422. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  423. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  424. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  426. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
  428. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  429. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  430. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  431. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  432. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  433. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  434. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  435. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  437. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  439. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  440. package/contracts/components/BaseComponent.sol +0 -79
  441. package/contracts/components/IBaseComponent.sol +0 -19
  442. package/contracts/experiment/errors/Require.sol +0 -38
  443. package/contracts/experiment/errors/Revert.sol +0 -44
  444. package/contracts/experiment/inheritance/A.sol +0 -53
  445. package/contracts/experiment/inheritance/B.sol +0 -28
  446. package/contracts/experiment/inheritance/C.sol +0 -34
  447. package/contracts/experiment/inheritance/IA.sol +0 -13
  448. package/contracts/experiment/inheritance/IB.sol +0 -10
  449. package/contracts/experiment/inheritance/IC.sol +0 -12
  450. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  451. package/contracts/experiment/statemachine/ISM.sol +0 -25
  452. package/contracts/experiment/statemachine/SM.sol +0 -57
  453. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  454. package/contracts/experiment/types/TypeA.sol +0 -47
  455. package/contracts/experiment/types/TypeB.sol +0 -29
  456. package/contracts/instance/IInstanceLinked.sol +0 -8
  457. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  458. package/contracts/instance/base/IInstanceBase.sol +0 -23
  459. package/contracts/instance/base/IService.sol +0 -15
  460. package/contracts/instance/base/InstanceBase.sol +0 -89
  461. package/contracts/instance/base/ModuleBase.sol +0 -57
  462. package/contracts/instance/base/ServiceBase.sol +0 -44
  463. package/contracts/instance/module/access/Access.sol +0 -149
  464. package/contracts/instance/module/access/IAccess.sol +0 -53
  465. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  466. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  467. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  468. package/contracts/instance/module/component/IComponent.sol +0 -28
  469. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  470. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  471. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  472. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  473. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  474. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  475. package/contracts/instance/module/risk/IRisk.sol +0 -26
  476. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  477. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  478. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  479. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  480. package/contracts/instance/service/ComponentOwnerService.sol +0 -275
  481. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  482. package/contracts/registry/IChainNft.sol +0 -22
  483. package/contracts/test/TestDistribution.sol +0 -22
  484. package/contracts/test/TestPool.sol +0 -27
  485. package/contracts/test/TestProduct.sol +0 -74
  486. package/contracts/types/ReferralId.sol +0 -48
@@ -0,0 +1,1569 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceReader",
4
+ "sourceName": "contracts/instance/InstanceReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "bundleNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBundleInfo",
25
+ "outputs": [
26
+ {
27
+ "components": [
28
+ {
29
+ "internalType": "NftId",
30
+ "name": "poolNftId",
31
+ "type": "uint96"
32
+ },
33
+ {
34
+ "components": [
35
+ {
36
+ "internalType": "UFixed",
37
+ "name": "fractionalFee",
38
+ "type": "uint256"
39
+ },
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "fixedFee",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "internalType": "struct Fee",
47
+ "name": "fee",
48
+ "type": "tuple"
49
+ },
50
+ {
51
+ "internalType": "bytes",
52
+ "name": "filter",
53
+ "type": "bytes"
54
+ },
55
+ {
56
+ "internalType": "Amount",
57
+ "name": "capitalAmount",
58
+ "type": "uint96"
59
+ },
60
+ {
61
+ "internalType": "Amount",
62
+ "name": "lockedAmount",
63
+ "type": "uint96"
64
+ },
65
+ {
66
+ "internalType": "Amount",
67
+ "name": "feeAmount",
68
+ "type": "uint96"
69
+ },
70
+ {
71
+ "internalType": "Seconds",
72
+ "name": "lifetime",
73
+ "type": "uint40"
74
+ },
75
+ {
76
+ "internalType": "Timestamp",
77
+ "name": "expiredAt",
78
+ "type": "uint40"
79
+ },
80
+ {
81
+ "internalType": "Timestamp",
82
+ "name": "closedAt",
83
+ "type": "uint40"
84
+ }
85
+ ],
86
+ "internalType": "struct IBundle.BundleInfo",
87
+ "name": "info",
88
+ "type": "tuple"
89
+ }
90
+ ],
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "NftId",
98
+ "name": "policyNftId",
99
+ "type": "uint96"
100
+ },
101
+ {
102
+ "internalType": "ClaimId",
103
+ "name": "claimId",
104
+ "type": "uint16"
105
+ }
106
+ ],
107
+ "name": "getClaimInfo",
108
+ "outputs": [
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "Amount",
113
+ "name": "claimAmount",
114
+ "type": "uint96"
115
+ },
116
+ {
117
+ "internalType": "Amount",
118
+ "name": "paidAmount",
119
+ "type": "uint96"
120
+ },
121
+ {
122
+ "internalType": "uint8",
123
+ "name": "payoutsCount",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "internalType": "uint8",
128
+ "name": "openPayoutsCount",
129
+ "type": "uint8"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "data",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "Timestamp",
138
+ "name": "closedAt",
139
+ "type": "uint40"
140
+ }
141
+ ],
142
+ "internalType": "struct IPolicy.ClaimInfo",
143
+ "name": "info",
144
+ "type": "tuple"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "NftId",
154
+ "name": "policyNftId",
155
+ "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ClaimId",
159
+ "name": "claimId",
160
+ "type": "uint16"
161
+ }
162
+ ],
163
+ "name": "getClaimState",
164
+ "outputs": [
165
+ {
166
+ "internalType": "StateId",
167
+ "name": "state",
168
+ "type": "uint8"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "NftId",
178
+ "name": "poolNftId",
179
+ "type": "uint96"
180
+ }
181
+ ],
182
+ "name": "getComponentInfo",
183
+ "outputs": [
184
+ {
185
+ "components": [
186
+ {
187
+ "internalType": "string",
188
+ "name": "name",
189
+ "type": "string"
190
+ },
191
+ {
192
+ "internalType": "contract IERC20Metadata",
193
+ "name": "token",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "contract TokenHandler",
198
+ "name": "tokenHandler",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "address",
203
+ "name": "wallet",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "Amount",
208
+ "name": "balanceAmount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "internalType": "Amount",
213
+ "name": "feeAmount",
214
+ "type": "uint96"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "data",
219
+ "type": "bytes"
220
+ }
221
+ ],
222
+ "internalType": "struct IComponents.ComponentInfo",
223
+ "name": "info",
224
+ "type": "tuple"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
230
+ {
231
+ "inputs": [
232
+ {
233
+ "internalType": "ReferralId",
234
+ "name": "referralId",
235
+ "type": "bytes8"
236
+ }
237
+ ],
238
+ "name": "getDiscountPercentage",
239
+ "outputs": [
240
+ {
241
+ "internalType": "UFixed",
242
+ "name": "discountPercentage",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "internalType": "ReferralStatus",
247
+ "name": "status",
248
+ "type": "uint8"
249
+ }
250
+ ],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "NftId",
258
+ "name": "distributionNftId",
259
+ "type": "uint96"
260
+ }
261
+ ],
262
+ "name": "getDistributionSetupInfo",
263
+ "outputs": [
264
+ {
265
+ "components": [
266
+ {
267
+ "internalType": "NftId",
268
+ "name": "productNftId",
269
+ "type": "uint96"
270
+ },
271
+ {
272
+ "internalType": "contract TokenHandler",
273
+ "name": "tokenHandler",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "components": [
278
+ {
279
+ "internalType": "UFixed",
280
+ "name": "fractionalFee",
281
+ "type": "uint256"
282
+ },
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "fixedFee",
286
+ "type": "uint256"
287
+ }
288
+ ],
289
+ "internalType": "struct Fee",
290
+ "name": "minDistributionOwnerFee",
291
+ "type": "tuple"
292
+ },
293
+ {
294
+ "components": [
295
+ {
296
+ "internalType": "UFixed",
297
+ "name": "fractionalFee",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "fixedFee",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "internalType": "struct Fee",
307
+ "name": "distributionFee",
308
+ "type": "tuple"
309
+ },
310
+ {
311
+ "internalType": "address",
312
+ "name": "wallet",
313
+ "type": "address"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "sumDistributionOwnerFees",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "internalType": "struct ISetup.DistributionSetupInfo",
322
+ "name": "info",
323
+ "type": "tuple"
324
+ }
325
+ ],
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "NftId",
333
+ "name": "distributorNftId",
334
+ "type": "uint96"
335
+ }
336
+ ],
337
+ "name": "getDistributorInfo",
338
+ "outputs": [
339
+ {
340
+ "components": [
341
+ {
342
+ "internalType": "DistributorType",
343
+ "name": "distributorType",
344
+ "type": "bytes8"
345
+ },
346
+ {
347
+ "internalType": "bool",
348
+ "name": "active",
349
+ "type": "bool"
350
+ },
351
+ {
352
+ "internalType": "bytes",
353
+ "name": "data",
354
+ "type": "bytes"
355
+ },
356
+ {
357
+ "internalType": "Amount",
358
+ "name": "commissionAmount",
359
+ "type": "uint96"
360
+ },
361
+ {
362
+ "internalType": "uint32",
363
+ "name": "numPoliciesSold",
364
+ "type": "uint32"
365
+ }
366
+ ],
367
+ "internalType": "struct IDistribution.DistributorInfo",
368
+ "name": "info",
369
+ "type": "tuple"
370
+ }
371
+ ],
372
+ "stateMutability": "view",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "DistributorType",
379
+ "name": "distributorType",
380
+ "type": "bytes8"
381
+ }
382
+ ],
383
+ "name": "getDistributorTypeInfo",
384
+ "outputs": [
385
+ {
386
+ "components": [
387
+ {
388
+ "internalType": "string",
389
+ "name": "name",
390
+ "type": "string"
391
+ },
392
+ {
393
+ "internalType": "UFixed",
394
+ "name": "minDiscountPercentage",
395
+ "type": "uint256"
396
+ },
397
+ {
398
+ "internalType": "UFixed",
399
+ "name": "maxDiscountPercentage",
400
+ "type": "uint256"
401
+ },
402
+ {
403
+ "internalType": "UFixed",
404
+ "name": "commissionPercentage",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "internalType": "uint32",
409
+ "name": "maxReferralCount",
410
+ "type": "uint32"
411
+ },
412
+ {
413
+ "internalType": "uint32",
414
+ "name": "maxReferralLifetime",
415
+ "type": "uint32"
416
+ },
417
+ {
418
+ "internalType": "bool",
419
+ "name": "allowSelfReferrals",
420
+ "type": "bool"
421
+ },
422
+ {
423
+ "internalType": "bool",
424
+ "name": "allowRenewals",
425
+ "type": "bool"
426
+ },
427
+ {
428
+ "internalType": "bytes",
429
+ "name": "data",
430
+ "type": "bytes"
431
+ }
432
+ ],
433
+ "internalType": "struct IDistribution.DistributorTypeInfo",
434
+ "name": "info",
435
+ "type": "tuple"
436
+ }
437
+ ],
438
+ "stateMutability": "view",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "getInstance",
444
+ "outputs": [
445
+ {
446
+ "internalType": "contract IInstance",
447
+ "name": "instance",
448
+ "type": "address"
449
+ }
450
+ ],
451
+ "stateMutability": "view",
452
+ "type": "function"
453
+ },
454
+ {
455
+ "inputs": [],
456
+ "name": "getInstanceStore",
457
+ "outputs": [
458
+ {
459
+ "internalType": "contract IKeyValueStore",
460
+ "name": "store",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [
469
+ {
470
+ "internalType": "Key32",
471
+ "name": "key",
472
+ "type": "bytes32"
473
+ }
474
+ ],
475
+ "name": "getMetadata",
476
+ "outputs": [
477
+ {
478
+ "components": [
479
+ {
480
+ "internalType": "ObjectType",
481
+ "name": "objectType",
482
+ "type": "uint8"
483
+ },
484
+ {
485
+ "internalType": "StateId",
486
+ "name": "state",
487
+ "type": "uint8"
488
+ },
489
+ {
490
+ "internalType": "address",
491
+ "name": "updatedBy",
492
+ "type": "address"
493
+ },
494
+ {
495
+ "internalType": "Blocknumber",
496
+ "name": "updatedIn",
497
+ "type": "uint32"
498
+ },
499
+ {
500
+ "internalType": "Blocknumber",
501
+ "name": "createdIn",
502
+ "type": "uint32"
503
+ }
504
+ ],
505
+ "internalType": "struct IKeyValueStore.Metadata",
506
+ "name": "metadata",
507
+ "type": "tuple"
508
+ }
509
+ ],
510
+ "stateMutability": "view",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "NftId",
517
+ "name": "policyNftId",
518
+ "type": "uint96"
519
+ },
520
+ {
521
+ "internalType": "PayoutId",
522
+ "name": "payoutId",
523
+ "type": "uint24"
524
+ }
525
+ ],
526
+ "name": "getPayoutInfo",
527
+ "outputs": [
528
+ {
529
+ "components": [
530
+ {
531
+ "internalType": "ClaimId",
532
+ "name": "claimId",
533
+ "type": "uint16"
534
+ },
535
+ {
536
+ "internalType": "Amount",
537
+ "name": "amount",
538
+ "type": "uint96"
539
+ },
540
+ {
541
+ "internalType": "bytes",
542
+ "name": "data",
543
+ "type": "bytes"
544
+ },
545
+ {
546
+ "internalType": "Timestamp",
547
+ "name": "paidAt",
548
+ "type": "uint40"
549
+ }
550
+ ],
551
+ "internalType": "struct IPolicy.PayoutInfo",
552
+ "name": "info",
553
+ "type": "tuple"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "policyNftId",
564
+ "type": "uint96"
565
+ },
566
+ {
567
+ "internalType": "PayoutId",
568
+ "name": "payoutId",
569
+ "type": "uint24"
570
+ }
571
+ ],
572
+ "name": "getPayoutState",
573
+ "outputs": [
574
+ {
575
+ "internalType": "StateId",
576
+ "name": "state",
577
+ "type": "uint8"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [
585
+ {
586
+ "internalType": "NftId",
587
+ "name": "policyNftId",
588
+ "type": "uint96"
589
+ }
590
+ ],
591
+ "name": "getPolicyInfo",
592
+ "outputs": [
593
+ {
594
+ "components": [
595
+ {
596
+ "internalType": "NftId",
597
+ "name": "productNftId",
598
+ "type": "uint96"
599
+ },
600
+ {
601
+ "internalType": "NftId",
602
+ "name": "bundleNftId",
603
+ "type": "uint96"
604
+ },
605
+ {
606
+ "internalType": "ReferralId",
607
+ "name": "referralId",
608
+ "type": "bytes8"
609
+ },
610
+ {
611
+ "internalType": "RiskId",
612
+ "name": "riskId",
613
+ "type": "bytes8"
614
+ },
615
+ {
616
+ "internalType": "Amount",
617
+ "name": "sumInsuredAmount",
618
+ "type": "uint96"
619
+ },
620
+ {
621
+ "internalType": "Amount",
622
+ "name": "premiumAmount",
623
+ "type": "uint96"
624
+ },
625
+ {
626
+ "internalType": "Amount",
627
+ "name": "premiumPaidAmount",
628
+ "type": "uint96"
629
+ },
630
+ {
631
+ "internalType": "Seconds",
632
+ "name": "lifetime",
633
+ "type": "uint40"
634
+ },
635
+ {
636
+ "internalType": "bytes",
637
+ "name": "applicationData",
638
+ "type": "bytes"
639
+ },
640
+ {
641
+ "internalType": "bytes",
642
+ "name": "policyData",
643
+ "type": "bytes"
644
+ },
645
+ {
646
+ "internalType": "uint16",
647
+ "name": "claimsCount",
648
+ "type": "uint16"
649
+ },
650
+ {
651
+ "internalType": "uint16",
652
+ "name": "openClaimsCount",
653
+ "type": "uint16"
654
+ },
655
+ {
656
+ "internalType": "Amount",
657
+ "name": "claimAmount",
658
+ "type": "uint96"
659
+ },
660
+ {
661
+ "internalType": "Amount",
662
+ "name": "payoutAmount",
663
+ "type": "uint96"
664
+ },
665
+ {
666
+ "internalType": "Timestamp",
667
+ "name": "activatedAt",
668
+ "type": "uint40"
669
+ },
670
+ {
671
+ "internalType": "Timestamp",
672
+ "name": "expiredAt",
673
+ "type": "uint40"
674
+ },
675
+ {
676
+ "internalType": "Timestamp",
677
+ "name": "closedAt",
678
+ "type": "uint40"
679
+ }
680
+ ],
681
+ "internalType": "struct IPolicy.PolicyInfo",
682
+ "name": "info",
683
+ "type": "tuple"
684
+ }
685
+ ],
686
+ "stateMutability": "view",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [
691
+ {
692
+ "internalType": "NftId",
693
+ "name": "policyNftId",
694
+ "type": "uint96"
695
+ }
696
+ ],
697
+ "name": "getPolicyState",
698
+ "outputs": [
699
+ {
700
+ "internalType": "StateId",
701
+ "name": "state",
702
+ "type": "uint8"
703
+ }
704
+ ],
705
+ "stateMutability": "view",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "internalType": "NftId",
712
+ "name": "productNftId",
713
+ "type": "uint96"
714
+ }
715
+ ],
716
+ "name": "getProductSetupInfo",
717
+ "outputs": [
718
+ {
719
+ "components": [
720
+ {
721
+ "internalType": "contract IERC20Metadata",
722
+ "name": "token",
723
+ "type": "address"
724
+ },
725
+ {
726
+ "internalType": "contract TokenHandler",
727
+ "name": "tokenHandler",
728
+ "type": "address"
729
+ },
730
+ {
731
+ "internalType": "NftId",
732
+ "name": "distributionNftId",
733
+ "type": "uint96"
734
+ },
735
+ {
736
+ "internalType": "NftId",
737
+ "name": "poolNftId",
738
+ "type": "uint96"
739
+ },
740
+ {
741
+ "components": [
742
+ {
743
+ "internalType": "UFixed",
744
+ "name": "fractionalFee",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "fixedFee",
750
+ "type": "uint256"
751
+ }
752
+ ],
753
+ "internalType": "struct Fee",
754
+ "name": "productFee",
755
+ "type": "tuple"
756
+ },
757
+ {
758
+ "components": [
759
+ {
760
+ "internalType": "UFixed",
761
+ "name": "fractionalFee",
762
+ "type": "uint256"
763
+ },
764
+ {
765
+ "internalType": "uint256",
766
+ "name": "fixedFee",
767
+ "type": "uint256"
768
+ }
769
+ ],
770
+ "internalType": "struct Fee",
771
+ "name": "processingFee",
772
+ "type": "tuple"
773
+ },
774
+ {
775
+ "internalType": "bool",
776
+ "name": "isIntercepting",
777
+ "type": "bool"
778
+ },
779
+ {
780
+ "internalType": "address",
781
+ "name": "wallet",
782
+ "type": "address"
783
+ }
784
+ ],
785
+ "internalType": "struct ISetup.ProductSetupInfo",
786
+ "name": "info",
787
+ "type": "tuple"
788
+ }
789
+ ],
790
+ "stateMutability": "view",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [
795
+ {
796
+ "internalType": "ReferralId",
797
+ "name": "referralId",
798
+ "type": "bytes8"
799
+ }
800
+ ],
801
+ "name": "getReferralInfo",
802
+ "outputs": [
803
+ {
804
+ "components": [
805
+ {
806
+ "internalType": "NftId",
807
+ "name": "distributorNftId",
808
+ "type": "uint96"
809
+ },
810
+ {
811
+ "internalType": "string",
812
+ "name": "referralCode",
813
+ "type": "string"
814
+ },
815
+ {
816
+ "internalType": "UFixed",
817
+ "name": "discountPercentage",
818
+ "type": "uint256"
819
+ },
820
+ {
821
+ "internalType": "uint32",
822
+ "name": "maxReferrals",
823
+ "type": "uint32"
824
+ },
825
+ {
826
+ "internalType": "uint32",
827
+ "name": "usedReferrals",
828
+ "type": "uint32"
829
+ },
830
+ {
831
+ "internalType": "Timestamp",
832
+ "name": "expiryAt",
833
+ "type": "uint40"
834
+ },
835
+ {
836
+ "internalType": "bytes",
837
+ "name": "data",
838
+ "type": "bytes"
839
+ }
840
+ ],
841
+ "internalType": "struct IDistribution.ReferralInfo",
842
+ "name": "info",
843
+ "type": "tuple"
844
+ }
845
+ ],
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "inputs": [
851
+ {
852
+ "internalType": "RiskId",
853
+ "name": "riskId",
854
+ "type": "bytes8"
855
+ }
856
+ ],
857
+ "name": "getRiskInfo",
858
+ "outputs": [
859
+ {
860
+ "components": [
861
+ {
862
+ "internalType": "NftId",
863
+ "name": "productNftId",
864
+ "type": "uint96"
865
+ },
866
+ {
867
+ "internalType": "bytes",
868
+ "name": "data",
869
+ "type": "bytes"
870
+ }
871
+ ],
872
+ "internalType": "struct IRisk.RiskInfo",
873
+ "name": "info",
874
+ "type": "tuple"
875
+ }
876
+ ],
877
+ "stateMutability": "view",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "inputs": [
882
+ {
883
+ "internalType": "NftId",
884
+ "name": "productNftId",
885
+ "type": "uint96"
886
+ }
887
+ ],
888
+ "name": "getTokenHandler",
889
+ "outputs": [
890
+ {
891
+ "internalType": "address",
892
+ "name": "tokenHandler",
893
+ "type": "address"
894
+ }
895
+ ],
896
+ "stateMutability": "view",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "productNftId",
904
+ "type": "uint96"
905
+ }
906
+ ],
907
+ "name": "getTreasuryInfo",
908
+ "outputs": [
909
+ {
910
+ "components": [
911
+ {
912
+ "internalType": "contract IERC20Metadata",
913
+ "name": "token",
914
+ "type": "address"
915
+ },
916
+ {
917
+ "internalType": "contract TokenHandler",
918
+ "name": "tokenHandler",
919
+ "type": "address"
920
+ },
921
+ {
922
+ "internalType": "NftId",
923
+ "name": "distributionNftId",
924
+ "type": "uint96"
925
+ },
926
+ {
927
+ "internalType": "NftId",
928
+ "name": "poolNftId",
929
+ "type": "uint96"
930
+ },
931
+ {
932
+ "components": [
933
+ {
934
+ "internalType": "UFixed",
935
+ "name": "fractionalFee",
936
+ "type": "uint256"
937
+ },
938
+ {
939
+ "internalType": "uint256",
940
+ "name": "fixedFee",
941
+ "type": "uint256"
942
+ }
943
+ ],
944
+ "internalType": "struct Fee",
945
+ "name": "distributionFee",
946
+ "type": "tuple"
947
+ },
948
+ {
949
+ "components": [
950
+ {
951
+ "internalType": "UFixed",
952
+ "name": "fractionalFee",
953
+ "type": "uint256"
954
+ },
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "fixedFee",
958
+ "type": "uint256"
959
+ }
960
+ ],
961
+ "internalType": "struct Fee",
962
+ "name": "productFee",
963
+ "type": "tuple"
964
+ },
965
+ {
966
+ "components": [
967
+ {
968
+ "internalType": "UFixed",
969
+ "name": "fractionalFee",
970
+ "type": "uint256"
971
+ },
972
+ {
973
+ "internalType": "uint256",
974
+ "name": "fixedFee",
975
+ "type": "uint256"
976
+ }
977
+ ],
978
+ "internalType": "struct Fee",
979
+ "name": "processingFee",
980
+ "type": "tuple"
981
+ },
982
+ {
983
+ "components": [
984
+ {
985
+ "internalType": "UFixed",
986
+ "name": "fractionalFee",
987
+ "type": "uint256"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "fixedFee",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "internalType": "struct Fee",
996
+ "name": "poolFee",
997
+ "type": "tuple"
998
+ },
999
+ {
1000
+ "components": [
1001
+ {
1002
+ "internalType": "UFixed",
1003
+ "name": "fractionalFee",
1004
+ "type": "uint256"
1005
+ },
1006
+ {
1007
+ "internalType": "uint256",
1008
+ "name": "fixedFee",
1009
+ "type": "uint256"
1010
+ }
1011
+ ],
1012
+ "internalType": "struct Fee",
1013
+ "name": "stakingFee",
1014
+ "type": "tuple"
1015
+ },
1016
+ {
1017
+ "components": [
1018
+ {
1019
+ "internalType": "UFixed",
1020
+ "name": "fractionalFee",
1021
+ "type": "uint256"
1022
+ },
1023
+ {
1024
+ "internalType": "uint256",
1025
+ "name": "fixedFee",
1026
+ "type": "uint256"
1027
+ }
1028
+ ],
1029
+ "internalType": "struct Fee",
1030
+ "name": "performanceFee",
1031
+ "type": "tuple"
1032
+ }
1033
+ ],
1034
+ "internalType": "struct ITreasury.TreasuryInfo",
1035
+ "name": "info",
1036
+ "type": "tuple"
1037
+ }
1038
+ ],
1039
+ "stateMutability": "view",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [
1044
+ {
1045
+ "internalType": "address",
1046
+ "name": "instance",
1047
+ "type": "address"
1048
+ }
1049
+ ],
1050
+ "name": "initialize",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [
1057
+ {
1058
+ "internalType": "NftId",
1059
+ "name": "policyNftId",
1060
+ "type": "uint96"
1061
+ }
1062
+ ],
1063
+ "name": "policyIsCloseable",
1064
+ "outputs": [
1065
+ {
1066
+ "internalType": "bool",
1067
+ "name": "isCloseable",
1068
+ "type": "bool"
1069
+ }
1070
+ ],
1071
+ "stateMutability": "view",
1072
+ "type": "function"
1073
+ },
1074
+ {
1075
+ "inputs": [
1076
+ {
1077
+ "internalType": "NftId",
1078
+ "name": "poolNftId",
1079
+ "type": "uint96"
1080
+ }
1081
+ ],
1082
+ "name": "toBundleKey",
1083
+ "outputs": [
1084
+ {
1085
+ "internalType": "Key32",
1086
+ "name": "",
1087
+ "type": "bytes32"
1088
+ }
1089
+ ],
1090
+ "stateMutability": "pure",
1091
+ "type": "function"
1092
+ },
1093
+ {
1094
+ "inputs": [
1095
+ {
1096
+ "internalType": "NftId",
1097
+ "name": "distributionNftId",
1098
+ "type": "uint96"
1099
+ }
1100
+ ],
1101
+ "name": "toDistributionKey",
1102
+ "outputs": [
1103
+ {
1104
+ "internalType": "Key32",
1105
+ "name": "",
1106
+ "type": "bytes32"
1107
+ }
1108
+ ],
1109
+ "stateMutability": "pure",
1110
+ "type": "function"
1111
+ },
1112
+ {
1113
+ "inputs": [
1114
+ {
1115
+ "internalType": "NftId",
1116
+ "name": "distributorNftId",
1117
+ "type": "uint96"
1118
+ }
1119
+ ],
1120
+ "name": "toDistributorKey",
1121
+ "outputs": [
1122
+ {
1123
+ "internalType": "Key32",
1124
+ "name": "",
1125
+ "type": "bytes32"
1126
+ }
1127
+ ],
1128
+ "stateMutability": "pure",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [
1133
+ {
1134
+ "internalType": "UFixed",
1135
+ "name": "value",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "name": "toInt",
1140
+ "outputs": [
1141
+ {
1142
+ "internalType": "uint256",
1143
+ "name": "",
1144
+ "type": "uint256"
1145
+ }
1146
+ ],
1147
+ "stateMutability": "pure",
1148
+ "type": "function"
1149
+ },
1150
+ {
1151
+ "inputs": [
1152
+ {
1153
+ "internalType": "NftId",
1154
+ "name": "policyNftId",
1155
+ "type": "uint96"
1156
+ }
1157
+ ],
1158
+ "name": "toPolicyKey",
1159
+ "outputs": [
1160
+ {
1161
+ "internalType": "Key32",
1162
+ "name": "",
1163
+ "type": "bytes32"
1164
+ }
1165
+ ],
1166
+ "stateMutability": "pure",
1167
+ "type": "function"
1168
+ },
1169
+ {
1170
+ "inputs": [
1171
+ {
1172
+ "internalType": "NftId",
1173
+ "name": "poolNftId",
1174
+ "type": "uint96"
1175
+ }
1176
+ ],
1177
+ "name": "toPoolKey",
1178
+ "outputs": [
1179
+ {
1180
+ "internalType": "Key32",
1181
+ "name": "",
1182
+ "type": "bytes32"
1183
+ }
1184
+ ],
1185
+ "stateMutability": "pure",
1186
+ "type": "function"
1187
+ },
1188
+ {
1189
+ "inputs": [
1190
+ {
1191
+ "internalType": "NftId",
1192
+ "name": "productNftId",
1193
+ "type": "uint96"
1194
+ }
1195
+ ],
1196
+ "name": "toProductKey",
1197
+ "outputs": [
1198
+ {
1199
+ "internalType": "Key32",
1200
+ "name": "",
1201
+ "type": "bytes32"
1202
+ }
1203
+ ],
1204
+ "stateMutability": "pure",
1205
+ "type": "function"
1206
+ },
1207
+ {
1208
+ "inputs": [
1209
+ {
1210
+ "internalType": "NftId",
1211
+ "name": "distributionNftId",
1212
+ "type": "uint96"
1213
+ },
1214
+ {
1215
+ "internalType": "string",
1216
+ "name": "referralCode",
1217
+ "type": "string"
1218
+ }
1219
+ ],
1220
+ "name": "toReferralId",
1221
+ "outputs": [
1222
+ {
1223
+ "internalType": "ReferralId",
1224
+ "name": "referralId",
1225
+ "type": "bytes8"
1226
+ }
1227
+ ],
1228
+ "stateMutability": "pure",
1229
+ "type": "function"
1230
+ },
1231
+ {
1232
+ "inputs": [
1233
+ {
1234
+ "internalType": "NftId",
1235
+ "name": "productNftId",
1236
+ "type": "uint96"
1237
+ }
1238
+ ],
1239
+ "name": "toTreasuryKey",
1240
+ "outputs": [
1241
+ {
1242
+ "internalType": "Key32",
1243
+ "name": "",
1244
+ "type": "bytes32"
1245
+ }
1246
+ ],
1247
+ "stateMutability": "pure",
1248
+ "type": "function"
1249
+ },
1250
+ {
1251
+ "inputs": [
1252
+ {
1253
+ "internalType": "uint256",
1254
+ "name": "value",
1255
+ "type": "uint256"
1256
+ },
1257
+ {
1258
+ "internalType": "int8",
1259
+ "name": "exp",
1260
+ "type": "int8"
1261
+ }
1262
+ ],
1263
+ "name": "toUFixed",
1264
+ "outputs": [
1265
+ {
1266
+ "internalType": "UFixed",
1267
+ "name": "",
1268
+ "type": "uint256"
1269
+ }
1270
+ ],
1271
+ "stateMutability": "pure",
1272
+ "type": "function"
1273
+ }
1274
+ ],
1275
+ "bytecode": "0x608060405234801561001057600080fd5b50613899806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d1565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612120565b6106c2565b604051610212919061218d565b61020861024936600461223e565b61081b565b61026161025c36600461223e565b6108b5565b604051610212919061225b565b61020861027c36600461223e565b61097f565b61029461028f3660046122c8565b6109ac565b60405161021291906122fe565b6102b46102af3660046124df565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612571565b610b7b565b6102f36102ee36600461223e565b610bb6565b604051610212919061258a565b61031361030e3660046122c8565b610c5c565b60405160ff9091168152602001610212565b61020861033336600461223e565b610d59565b61034b61034636600461223e565b610d86565b6040519015158152602001610212565b61031361036936600461267d565b611015565b61020861037c36600461223e565b611075565b61020861038f36600461223e565b6110a2565b6103a76103a2366004612120565b6110cf565b60405161021291906126ab565b6103136103c236600461223e565b6111f8565b6103da6103d536600461223e565b611274565b60405161021291906126e1565b6103fa6103f536600461223e565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61048961048436600461223e565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612571565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c36600461267d565b611502565b604051610212919061278e565b61054161053c366004612120565b611650565b6040805192835260ff909116602083015201610212565b61056b61056636600461223e565b6118f8565b6040516102129190612802565b61058b6105863660046129b1565b611a1e565b005b6105a061059b366004612120565b611b37565b60405161021291906129ce565b6001546001600160a01b0316610489565b6102086105cc36600461223e565b611caa565b60005461010090046001600160a01b0316610489565b6105fa6105f536600461223e565b611cd7565b6040516102129190612a7e565b61061a61061536600461223e565b611dac565b6040516102129190612aff565b61020861063536600461223e565b611ef4565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c01565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c01565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c5f565b805190915015610815578080602001905181019061080e9190612cde565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c01565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c5f565b805190915015610815578080602001905181019061080e9190612dd7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c01565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c5f565b805190915015610af75780806020019051810190610aef9190612e9f565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610b3a9086908690600401612f5e565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f80565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610874565b610bbe611fa8565b6001546000906001600160a01b03166354f6127f610bdb85611ef4565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c5f565b805190915015610815578080602001905181019061080e9190612fcd565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c01565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130e3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610844565b600080610d92836118f8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613100565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613100565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613100565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f21565b15610f795750600192915050565b610ffe73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061311b565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401610cb9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610844565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c01565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c5f565b805190915015610815578080602001905181019061080e9190613138565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130e3565b61127c612019565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c5f565b805190915015610815578080602001905181019061080e91906131c2565b611322612089565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c5f565b805190915015610815578080602001905181019061080e919061326a565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c5f565b8051909150156108155760008180602001905181019061146291906132ee565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133bf565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af41580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190612c01565b6040518263ffffffff1660e01b81526004016115ed91815260200190565b600060405180830381865afa15801561160a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116329190810190612c5f565b805190915015610af75780806020019051810190610aef9190613439565b600080600061165e846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e19190613100565b156117605773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561172f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117539190612c01565b60645b9250925050915091565b6117e48160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061311b565b64ffffffffff90811691161090565b1561185d5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118569190612c01565b606e611756565b806060015163ffffffff16816080015163ffffffff16106118ec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190612c01565b6078611756565b6040810151600a611756565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61199d85610d59565b6040518263ffffffff1660e01b81526004016119bb91815260200190565b600060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a009190810190612c5f565b805190915015610815578080602001905181019061080e9190613500565b60005460ff1615611a425760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a6957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b07919061369c565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c299190612c01565b6040518263ffffffff1660e01b8152600401611c4791815260200190565b600060405180830381865afa158015611c64573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8c9190810190612c5f565b805190915015610815578080602001905181019061080e91906136b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d2b85611caa565b6040518263ffffffff1660e01b8152600401611d4991815260200190565b600060405180830381865afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8e9190810190612c5f565b805190915015610815578080602001905181019061080e91906137b0565b611e56604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e738561081b565b6040518263ffffffff1660e01b8152600401611e9191815260200190565b600060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed69190810190612c5f565b805190915015610815578080602001905181019061080e91906132ee565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015611f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613100565b60405180610120016040528060006001600160601b03168152602001611fe1604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001612075604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001612053604051806040016040528060008152602001600081525090565b600080604083850312156120e457600080fd5b8235915060208301358060000b81146120fc57600080fd5b809150509250929050565b6001600160c01b03198116811461211d57600080fd5b50565b60006020828403121561213257600080fd5b813561080e81612107565b60005b83811015612158578181015183820152602001612140565b50506000910152565b6000815180845261217981602086016020860161213d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121bd610100840182612161565b90506040840151606084015263ffffffff606085015116608084015260808401516121f060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122208282612161565b95945050505050565b6001600160601b038116811461211d57600080fd5b60006020828403121561225057600080fd5b813561080e81612229565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261229960c0840182612161565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122db57600080fd5b82356122e681612229565b9150602083013562ffffff811681146120fc57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261233b60a0840182612161565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561239057612390612358565b60405290565b60405160a081016001600160401b038111828210171561239057612390612358565b604080519081016001600160401b038111828210171561239057612390612358565b60405161012081016001600160401b038111828210171561239057612390612358565b60405161010081016001600160401b038111828210171561239057612390612358565b60405160c081016001600160401b038111828210171561239057612390612358565b60405161014081016001600160401b038111828210171561239057612390612358565b60405161022081016001600160401b038111828210171561239057612390612358565b604051601f8201601f191681016001600160401b03811182821017156124b0576124b0612358565b604052919050565b60006001600160401b038211156124d1576124d1612358565b50601f01601f191660200190565b600080604083850312156124f257600080fd5b82356124fd81612229565b915060208301356001600160401b0381111561251857600080fd5b8301601f8101851361252957600080fd5b803561253c612537826124b8565b612488565b81815286602083850101111561255157600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561258357600080fd5b5035919050565b602081526125a46020820183516001600160601b03169052565b600060208301516125c2604084018280518252602090810151910152565b5060408301516101408060808501526125df610160850183612161565b915060608501516125fb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126408187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461211d57600080fd5b6000806040838503121561269057600080fd5b823561269b81612229565b915060208301356120fc8161266d565b602081526001600160601b038251166020820152600060208301516040808401526126d96060840182612161565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612730908401826001600160601b03169052565b50608083015161274d608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526127e560e0840182612161565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261281c6020820183516001600160601b03169052565b6000602083015161283860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128be8185018364ffffffffff169052565b8085015191505061022061012081818601526128de610240860184612161565b9250808601519050610140601f1986850301818701526128fe8483612161565b9350808701519150506101606129198187018361ffff169052565b86015190506101806129308682018361ffff169052565b86015190506101a061294c868201836001600160601b03169052565b86015190506101c0612968868201836001600160601b03169052565b86015190506101e06129828682018364ffffffffff169052565b86015190506102006126568682018364ffffffffff169052565b6001600160a01b038116811461211d57600080fd5b6000602082840312156129c357600080fd5b813561080e8161299c565b60208152600082516101208060208501526129ed610140850183612161565b91506020850151604085015260408501516060850152606085015160808501526080850151612a2460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a5a8187018315159052565b860151858403601f1901838701529050612a748382612161565b9695505050505050565b602081526000825160e06020840152612a9b610100840182612161565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612ae560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612204565b81516001600160a01b0316815261020081016020830151612b2b60208401826001600160a01b03169052565b506040830151612b4660408401826001600160601b03169052565b506060830151612b6160608401826001600160601b03169052565b506080830151612b7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bb48185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c1357600080fd5b5051919050565b600082601f830112612c2b57600080fd5b8151612c39612537826124b8565b818152846020838601011115612c4e57600080fd5b6126d982602083016020870161213d565b600060208284031215612c7157600080fd5b81516001600160401b03811115612c8757600080fd5b6126d984828501612c1a565b8051612c9e81612229565b919050565b63ffffffff8116811461211d57600080fd5b8051612c9e81612ca3565b64ffffffffff8116811461211d57600080fd5b8051612c9e81612cc0565b600060208284031215612cf057600080fd5b81516001600160401b0380821115612d0757600080fd5b9083019060e08286031215612d1b57600080fd5b612d2361236e565b612d2c83612c93565b8152602083015182811115612d4057600080fd5b612d4c87828601612c1a565b60208301525060408301516040820152612d6860608401612cb5565b6060820152612d7960808401612cb5565b6080820152612d8a60a08401612cd3565b60a082015260c083015182811115612da157600080fd5b612dad87828601612c1a565b60c08301525095945050505050565b8051612c9e81612107565b80518015158114612c9e57600080fd5b600060208284031215612de957600080fd5b81516001600160401b0380821115612e0057600080fd5b9083019060a08286031215612e1457600080fd5b612e1c612396565b8251612e2781612107565b8152612e3560208401612dc7565b6020820152604083015182811115612e4c57600080fd5b612e5887828601612c1a565b60408301525060608301519150612e6e82612229565b81606082015260808301519250612e8483612ca3565b6080810192909252509392505050565b8051612c9e8161266d565b600060208284031215612eb157600080fd5b81516001600160401b0380821115612ec857600080fd5b9083019060808286031215612edc57600080fd5b604051608081018181108382111715612ef757612ef7612358565b6040528251612f058161266d565b81526020830151612f1581612229565b6020820152604083015182811115612f2c57600080fd5b612f3887828601612c1a565b60408301525060608301519250612f4e83612cc0565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126d96040830184612161565b600060208284031215612f9257600080fd5b815161080e81612107565b600060408284031215612faf57600080fd5b612fb76123b8565b9050815181526020820151602082015292915050565b600060208284031215612fdf57600080fd5b81516001600160401b0380821115612ff657600080fd5b90830190610140828603121561300b57600080fd5b6130136123da565b61301c83612c93565b815261302b8660208501612f9d565b602082015260608301518281111561304257600080fd5b61304e87828601612c1a565b60408301525061306060808401612c93565b606082015261307160a08401612c93565b608082015261308260c08401612c93565b60a082015261309360e08401612cd3565b60c082015261010091506130a8828401612cd3565b60e08201526130ba6101208401612cd3565b91810191909152949350505050565b60ff8116811461211d57600080fd5b8051612c9e816130c9565b6000602082840312156130f557600080fd5b815161080e816130c9565b60006020828403121561311257600080fd5b6106b982612dc7565b60006020828403121561312d57600080fd5b815161080e81612cc0565b60006020828403121561314a57600080fd5b81516001600160401b038082111561316157600080fd5b908301906040828603121561317557600080fd5b61317d6123b8565b825161318881612229565b815260208301518281111561319c57600080fd5b6131a887828601612c1a565b60208301525095945050505050565b8051612c9e8161299c565b600061014082840312156131d557600080fd5b6131dd6123fd565b6131e6836131b7565b81526131f4602084016131b7565b602082015261320560408401612c93565b604082015261321660608401612c93565b60608201526132288460808501612f9d565b608082015261323a8460c08501612f9d565b60a082015261324c6101008401612dc7565b60c082015261325e61012084016131b7565b60e08201529392505050565b6000610100828403121561327d57600080fd5b613285612420565b825161329081612229565b815260208301516132a08161299c565b60208201526132b28460408501612f9d565b60408201526132c48460808501612f9d565b606082015260c08301516132d78161299c565b608082015260e0929092015160a083015250919050565b6000610200828403121561330157600080fd5b613309612442565b613312836131b7565b8152613320602084016131b7565b602082015261333160408401612c93565b604082015261334260608401612c93565b60608201526133548460808501612f9d565b60808201526133668460c08501612f9d565b60a082015261010061337a85828601612f9d565b60c083015261338d856101408601612f9d565b60e08301526133a0856101808601612f9d565b908201526133b2846101c08501612f9d565b6101208201529392505050565b600060a082840312156133d157600080fd5b6133d9612396565b82516133e4816130c9565b815260208301516133f4816130c9565b602082015260408301516134078161299c565b6040820152606083015161341a81612ca3565b6060820152608083015161342d81612ca3565b60808201529392505050565b60006020828403121561344b57600080fd5b81516001600160401b038082111561346257600080fd5b9083019060c0828603121561347657600080fd5b61347e612420565b825161348981612229565b8152602083015161349981612229565b602082015260408301516134ac816130c9565b60408201526134bd606084016130d8565b60608201526080830151828111156134d457600080fd5b6134e087828601612c1a565b6080830152506134f260a08401612cd3565b60a082015295945050505050565b60006020828403121561351257600080fd5b81516001600160401b038082111561352957600080fd5b90830190610220828603121561353e57600080fd5b613546612465565b61354f83612c93565b815261355d60208401612c93565b602082015261356e60408401612dbc565b604082015261357f60608401612dbc565b606082015261359060808401612c93565b60808201526135a160a08401612c93565b60a08201526135b260c08401612c93565b60c08201526135c360e08401612cd3565b60e082015261010080840151838111156135dc57600080fd5b6135e888828701612c1a565b828401525050610120808401518381111561360257600080fd5b61360e88828701612c1a565b8284015250506101409150613624828401612e94565b828201526101609150613638828401612e94565b82820152610180915061364c828401612c93565b828201526101a09150613660828401612c93565b828201526101c09150613674828401612cd3565b828201526101e09150613688828401612cd3565b8282015261020091506130ba828401612cd3565b6000602082840312156136ae57600080fd5b815161080e8161299c565b6000602082840312156136cb57600080fd5b81516001600160401b03808211156136e257600080fd5b9083019061012082860312156136f757600080fd5b6136ff6123da565b82518281111561370e57600080fd5b61371a87828601612c1a565b82525060208301516020820152604083015160408201526060830151606082015261374760808401612cb5565b608082015261375860a08401612cb5565b60a082015261376960c08401612dc7565b60c082015261377a60e08401612dc7565b60e0820152610100808401518381111561379357600080fd5b61379f88828701612c1a565b918301919091525095945050505050565b6000602082840312156137c257600080fd5b81516001600160401b03808211156137d957600080fd5b9083019060e082860312156137ed57600080fd5b6137f561236e565b82518281111561380457600080fd5b61381087828601612c1a565b82525061381f602084016131b7565b6020820152613830604084016131b7565b6040820152613841606084016131b7565b606082015261385260808401612c93565b6080820152612d8a60a08401612c9356fea26469706673582212205b1332bad3ab29f516ac183f3b91662f06221aa4562adcecda4c4a1e4e0de8a164736f6c63430008140033",
1276
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d1565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612120565b6106c2565b604051610212919061218d565b61020861024936600461223e565b61081b565b61026161025c36600461223e565b6108b5565b604051610212919061225b565b61020861027c36600461223e565b61097f565b61029461028f3660046122c8565b6109ac565b60405161021291906122fe565b6102b46102af3660046124df565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612571565b610b7b565b6102f36102ee36600461223e565b610bb6565b604051610212919061258a565b61031361030e3660046122c8565b610c5c565b60405160ff9091168152602001610212565b61020861033336600461223e565b610d59565b61034b61034636600461223e565b610d86565b6040519015158152602001610212565b61031361036936600461267d565b611015565b61020861037c36600461223e565b611075565b61020861038f36600461223e565b6110a2565b6103a76103a2366004612120565b6110cf565b60405161021291906126ab565b6103136103c236600461223e565b6111f8565b6103da6103d536600461223e565b611274565b60405161021291906126e1565b6103fa6103f536600461223e565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61048961048436600461223e565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612571565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c36600461267d565b611502565b604051610212919061278e565b61054161053c366004612120565b611650565b6040805192835260ff909116602083015201610212565b61056b61056636600461223e565b6118f8565b6040516102129190612802565b61058b6105863660046129b1565b611a1e565b005b6105a061059b366004612120565b611b37565b60405161021291906129ce565b6001546001600160a01b0316610489565b6102086105cc36600461223e565b611caa565b60005461010090046001600160a01b0316610489565b6105fa6105f536600461223e565b611cd7565b6040516102129190612a7e565b61061a61061536600461223e565b611dac565b6040516102129190612aff565b61020861063536600461223e565b611ef4565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c01565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c01565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c5f565b805190915015610815578080602001905181019061080e9190612cde565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c01565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c5f565b805190915015610815578080602001905181019061080e9190612dd7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c01565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c5f565b805190915015610af75780806020019051810190610aef9190612e9f565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610b3a9086908690600401612f5e565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f80565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610874565b610bbe611fa8565b6001546000906001600160a01b03166354f6127f610bdb85611ef4565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c5f565b805190915015610815578080602001905181019061080e9190612fcd565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c01565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130e3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610844565b600080610d92836118f8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613100565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613100565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613100565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f21565b15610f795750600192915050565b610ffe73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061311b565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401610cb9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610844565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c01565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c5f565b805190915015610815578080602001905181019061080e9190613138565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130e3565b61127c612019565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c5f565b805190915015610815578080602001905181019061080e91906131c2565b611322612089565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c5f565b805190915015610815578080602001905181019061080e919061326a565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c5f565b8051909150156108155760008180602001905181019061146291906132ee565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133bf565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af41580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190612c01565b6040518263ffffffff1660e01b81526004016115ed91815260200190565b600060405180830381865afa15801561160a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116329190810190612c5f565b805190915015610af75780806020019051810190610aef9190613439565b600080600061165e846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e19190613100565b156117605773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561172f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117539190612c01565b60645b9250925050915091565b6117e48160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061311b565b64ffffffffff90811691161090565b1561185d5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118569190612c01565b606e611756565b806060015163ffffffff16816080015163ffffffff16106118ec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190612c01565b6078611756565b6040810151600a611756565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61199d85610d59565b6040518263ffffffff1660e01b81526004016119bb91815260200190565b600060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a009190810190612c5f565b805190915015610815578080602001905181019061080e9190613500565b60005460ff1615611a425760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a6957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b07919061369c565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c299190612c01565b6040518263ffffffff1660e01b8152600401611c4791815260200190565b600060405180830381865afa158015611c64573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8c9190810190612c5f565b805190915015610815578080602001905181019061080e91906136b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d2b85611caa565b6040518263ffffffff1660e01b8152600401611d4991815260200190565b600060405180830381865afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8e9190810190612c5f565b805190915015610815578080602001905181019061080e91906137b0565b611e56604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e738561081b565b6040518263ffffffff1660e01b8152600401611e9191815260200190565b600060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed69190810190612c5f565b805190915015610815578080602001905181019061080e91906132ee565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015611f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613100565b60405180610120016040528060006001600160601b03168152602001611fe1604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001612075604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001612053604051806040016040528060008152602001600081525090565b600080604083850312156120e457600080fd5b8235915060208301358060000b81146120fc57600080fd5b809150509250929050565b6001600160c01b03198116811461211d57600080fd5b50565b60006020828403121561213257600080fd5b813561080e81612107565b60005b83811015612158578181015183820152602001612140565b50506000910152565b6000815180845261217981602086016020860161213d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121bd610100840182612161565b90506040840151606084015263ffffffff606085015116608084015260808401516121f060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122208282612161565b95945050505050565b6001600160601b038116811461211d57600080fd5b60006020828403121561225057600080fd5b813561080e81612229565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261229960c0840182612161565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122db57600080fd5b82356122e681612229565b9150602083013562ffffff811681146120fc57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261233b60a0840182612161565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561239057612390612358565b60405290565b60405160a081016001600160401b038111828210171561239057612390612358565b604080519081016001600160401b038111828210171561239057612390612358565b60405161012081016001600160401b038111828210171561239057612390612358565b60405161010081016001600160401b038111828210171561239057612390612358565b60405160c081016001600160401b038111828210171561239057612390612358565b60405161014081016001600160401b038111828210171561239057612390612358565b60405161022081016001600160401b038111828210171561239057612390612358565b604051601f8201601f191681016001600160401b03811182821017156124b0576124b0612358565b604052919050565b60006001600160401b038211156124d1576124d1612358565b50601f01601f191660200190565b600080604083850312156124f257600080fd5b82356124fd81612229565b915060208301356001600160401b0381111561251857600080fd5b8301601f8101851361252957600080fd5b803561253c612537826124b8565b612488565b81815286602083850101111561255157600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561258357600080fd5b5035919050565b602081526125a46020820183516001600160601b03169052565b600060208301516125c2604084018280518252602090810151910152565b5060408301516101408060808501526125df610160850183612161565b915060608501516125fb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126408187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461211d57600080fd5b6000806040838503121561269057600080fd5b823561269b81612229565b915060208301356120fc8161266d565b602081526001600160601b038251166020820152600060208301516040808401526126d96060840182612161565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612730908401826001600160601b03169052565b50608083015161274d608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526127e560e0840182612161565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261281c6020820183516001600160601b03169052565b6000602083015161283860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128be8185018364ffffffffff169052565b8085015191505061022061012081818601526128de610240860184612161565b9250808601519050610140601f1986850301818701526128fe8483612161565b9350808701519150506101606129198187018361ffff169052565b86015190506101806129308682018361ffff169052565b86015190506101a061294c868201836001600160601b03169052565b86015190506101c0612968868201836001600160601b03169052565b86015190506101e06129828682018364ffffffffff169052565b86015190506102006126568682018364ffffffffff169052565b6001600160a01b038116811461211d57600080fd5b6000602082840312156129c357600080fd5b813561080e8161299c565b60208152600082516101208060208501526129ed610140850183612161565b91506020850151604085015260408501516060850152606085015160808501526080850151612a2460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a5a8187018315159052565b860151858403601f1901838701529050612a748382612161565b9695505050505050565b602081526000825160e06020840152612a9b610100840182612161565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612ae560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612204565b81516001600160a01b0316815261020081016020830151612b2b60208401826001600160a01b03169052565b506040830151612b4660408401826001600160601b03169052565b506060830151612b6160608401826001600160601b03169052565b506080830151612b7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bb48185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c1357600080fd5b5051919050565b600082601f830112612c2b57600080fd5b8151612c39612537826124b8565b818152846020838601011115612c4e57600080fd5b6126d982602083016020870161213d565b600060208284031215612c7157600080fd5b81516001600160401b03811115612c8757600080fd5b6126d984828501612c1a565b8051612c9e81612229565b919050565b63ffffffff8116811461211d57600080fd5b8051612c9e81612ca3565b64ffffffffff8116811461211d57600080fd5b8051612c9e81612cc0565b600060208284031215612cf057600080fd5b81516001600160401b0380821115612d0757600080fd5b9083019060e08286031215612d1b57600080fd5b612d2361236e565b612d2c83612c93565b8152602083015182811115612d4057600080fd5b612d4c87828601612c1a565b60208301525060408301516040820152612d6860608401612cb5565b6060820152612d7960808401612cb5565b6080820152612d8a60a08401612cd3565b60a082015260c083015182811115612da157600080fd5b612dad87828601612c1a565b60c08301525095945050505050565b8051612c9e81612107565b80518015158114612c9e57600080fd5b600060208284031215612de957600080fd5b81516001600160401b0380821115612e0057600080fd5b9083019060a08286031215612e1457600080fd5b612e1c612396565b8251612e2781612107565b8152612e3560208401612dc7565b6020820152604083015182811115612e4c57600080fd5b612e5887828601612c1a565b60408301525060608301519150612e6e82612229565b81606082015260808301519250612e8483612ca3565b6080810192909252509392505050565b8051612c9e8161266d565b600060208284031215612eb157600080fd5b81516001600160401b0380821115612ec857600080fd5b9083019060808286031215612edc57600080fd5b604051608081018181108382111715612ef757612ef7612358565b6040528251612f058161266d565b81526020830151612f1581612229565b6020820152604083015182811115612f2c57600080fd5b612f3887828601612c1a565b60408301525060608301519250612f4e83612cc0565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126d96040830184612161565b600060208284031215612f9257600080fd5b815161080e81612107565b600060408284031215612faf57600080fd5b612fb76123b8565b9050815181526020820151602082015292915050565b600060208284031215612fdf57600080fd5b81516001600160401b0380821115612ff657600080fd5b90830190610140828603121561300b57600080fd5b6130136123da565b61301c83612c93565b815261302b8660208501612f9d565b602082015260608301518281111561304257600080fd5b61304e87828601612c1a565b60408301525061306060808401612c93565b606082015261307160a08401612c93565b608082015261308260c08401612c93565b60a082015261309360e08401612cd3565b60c082015261010091506130a8828401612cd3565b60e08201526130ba6101208401612cd3565b91810191909152949350505050565b60ff8116811461211d57600080fd5b8051612c9e816130c9565b6000602082840312156130f557600080fd5b815161080e816130c9565b60006020828403121561311257600080fd5b6106b982612dc7565b60006020828403121561312d57600080fd5b815161080e81612cc0565b60006020828403121561314a57600080fd5b81516001600160401b038082111561316157600080fd5b908301906040828603121561317557600080fd5b61317d6123b8565b825161318881612229565b815260208301518281111561319c57600080fd5b6131a887828601612c1a565b60208301525095945050505050565b8051612c9e8161299c565b600061014082840312156131d557600080fd5b6131dd6123fd565b6131e6836131b7565b81526131f4602084016131b7565b602082015261320560408401612c93565b604082015261321660608401612c93565b60608201526132288460808501612f9d565b608082015261323a8460c08501612f9d565b60a082015261324c6101008401612dc7565b60c082015261325e61012084016131b7565b60e08201529392505050565b6000610100828403121561327d57600080fd5b613285612420565b825161329081612229565b815260208301516132a08161299c565b60208201526132b28460408501612f9d565b60408201526132c48460808501612f9d565b606082015260c08301516132d78161299c565b608082015260e0929092015160a083015250919050565b6000610200828403121561330157600080fd5b613309612442565b613312836131b7565b8152613320602084016131b7565b602082015261333160408401612c93565b604082015261334260608401612c93565b60608201526133548460808501612f9d565b60808201526133668460c08501612f9d565b60a082015261010061337a85828601612f9d565b60c083015261338d856101408601612f9d565b60e08301526133a0856101808601612f9d565b908201526133b2846101c08501612f9d565b6101208201529392505050565b600060a082840312156133d157600080fd5b6133d9612396565b82516133e4816130c9565b815260208301516133f4816130c9565b602082015260408301516134078161299c565b6040820152606083015161341a81612ca3565b6060820152608083015161342d81612ca3565b60808201529392505050565b60006020828403121561344b57600080fd5b81516001600160401b038082111561346257600080fd5b9083019060c0828603121561347657600080fd5b61347e612420565b825161348981612229565b8152602083015161349981612229565b602082015260408301516134ac816130c9565b60408201526134bd606084016130d8565b60608201526080830151828111156134d457600080fd5b6134e087828601612c1a565b6080830152506134f260a08401612cd3565b60a082015295945050505050565b60006020828403121561351257600080fd5b81516001600160401b038082111561352957600080fd5b90830190610220828603121561353e57600080fd5b613546612465565b61354f83612c93565b815261355d60208401612c93565b602082015261356e60408401612dbc565b604082015261357f60608401612dbc565b606082015261359060808401612c93565b60808201526135a160a08401612c93565b60a08201526135b260c08401612c93565b60c08201526135c360e08401612cd3565b60e082015261010080840151838111156135dc57600080fd5b6135e888828701612c1a565b828401525050610120808401518381111561360257600080fd5b61360e88828701612c1a565b8284015250506101409150613624828401612e94565b828201526101609150613638828401612e94565b82820152610180915061364c828401612c93565b828201526101a09150613660828401612c93565b828201526101c09150613674828401612cd3565b828201526101e09150613688828401612cd3565b8282015261020091506130ba828401612cd3565b6000602082840312156136ae57600080fd5b815161080e8161299c565b6000602082840312156136cb57600080fd5b81516001600160401b03808211156136e257600080fd5b9083019061012082860312156136f757600080fd5b6136ff6123da565b82518281111561370e57600080fd5b61371a87828601612c1a565b82525060208301516020820152604083015160408201526060830151606082015261374760808401612cb5565b608082015261375860a08401612cb5565b60a082015261376960c08401612dc7565b60c082015261377a60e08401612dc7565b60e0820152610100808401518381111561379357600080fd5b61379f88828701612c1a565b918301919091525095945050505050565b6000602082840312156137c257600080fd5b81516001600160401b03808211156137d957600080fd5b9083019060e082860312156137ed57600080fd5b6137f561236e565b82518281111561380457600080fd5b61381087828601612c1a565b82525061381f602084016131b7565b6020820152613830604084016131b7565b6040820152613841606084016131b7565b606082015261385260808401612c93565b6080820152612d8a60a08401612c9356fea26469706673582212205b1332bad3ab29f516ac183f3b91662f06221aa4562adcecda4c4a1e4e0de8a164736f6c63430008140033",
1277
+ "linkReferences": {
1278
+ "contracts/types/Amount.sol": {
1279
+ "AmountLib": [
1280
+ {
1281
+ "length": 20,
1282
+ "start": 8042
1283
+ }
1284
+ ]
1285
+ },
1286
+ "contracts/types/ClaimId.sol": {
1287
+ "ClaimIdLib": [
1288
+ {
1289
+ "length": 20,
1290
+ "start": 4211
1291
+ },
1292
+ {
1293
+ "length": 20,
1294
+ "start": 5521
1295
+ }
1296
+ ]
1297
+ },
1298
+ "contracts/types/DistributorType.sol": {
1299
+ "DistributorTypeLib": [
1300
+ {
1301
+ "length": 20,
1302
+ "start": 7147
1303
+ }
1304
+ ]
1305
+ },
1306
+ "contracts/types/NftId.sol": {
1307
+ "NftIdLib": [
1308
+ {
1309
+ "length": 20,
1310
+ "start": 2111
1311
+ },
1312
+ {
1313
+ "length": 20,
1314
+ "start": 2467
1315
+ },
1316
+ {
1317
+ "length": 20,
1318
+ "start": 3453
1319
+ },
1320
+ {
1321
+ "length": 20,
1322
+ "start": 3542
1323
+ },
1324
+ {
1325
+ "length": 20,
1326
+ "start": 4249
1327
+ },
1328
+ {
1329
+ "length": 20,
1330
+ "start": 4294
1331
+ },
1332
+ {
1333
+ "length": 20,
1334
+ "start": 7374
1335
+ },
1336
+ {
1337
+ "length": 20,
1338
+ "start": 7960
1339
+ }
1340
+ ]
1341
+ },
1342
+ "contracts/types/PayoutId.sol": {
1343
+ "PayoutIdLib": [
1344
+ {
1345
+ "length": 20,
1346
+ "start": 2608
1347
+ },
1348
+ {
1349
+ "length": 20,
1350
+ "start": 3259
1351
+ }
1352
+ ]
1353
+ },
1354
+ "contracts/types/Referral.sol": {
1355
+ "ReferralLib": [
1356
+ {
1357
+ "length": 20,
1358
+ "start": 1871
1359
+ },
1360
+ {
1361
+ "length": 20,
1362
+ "start": 2864
1363
+ }
1364
+ ]
1365
+ },
1366
+ "contracts/types/RiskId.sol": {
1367
+ "RiskIdLib": [
1368
+ {
1369
+ "length": 20,
1370
+ "start": 4409
1371
+ }
1372
+ ]
1373
+ },
1374
+ "contracts/types/Timestamp.sol": {
1375
+ "TimestampLib": [
1376
+ {
1377
+ "length": 20,
1378
+ "start": 3685
1379
+ },
1380
+ {
1381
+ "length": 20,
1382
+ "start": 3828
1383
+ },
1384
+ {
1385
+ "length": 20,
1386
+ "start": 3998
1387
+ },
1388
+ {
1389
+ "length": 20,
1390
+ "start": 5795
1391
+ },
1392
+ {
1393
+ "length": 20,
1394
+ "start": 6026
1395
+ }
1396
+ ]
1397
+ },
1398
+ "contracts/types/UFixed.sol": {
1399
+ "UFixedLib": [
1400
+ {
1401
+ "length": 20,
1402
+ "start": 1659
1403
+ },
1404
+ {
1405
+ "length": 20,
1406
+ "start": 2996
1407
+ },
1408
+ {
1409
+ "length": 20,
1410
+ "start": 5896
1411
+ },
1412
+ {
1413
+ "length": 20,
1414
+ "start": 6155
1415
+ },
1416
+ {
1417
+ "length": 20,
1418
+ "start": 6298
1419
+ }
1420
+ ]
1421
+ }
1422
+ },
1423
+ "deployedLinkReferences": {
1424
+ "contracts/types/Amount.sol": {
1425
+ "AmountLib": [
1426
+ {
1427
+ "length": 20,
1428
+ "start": 8010
1429
+ }
1430
+ ]
1431
+ },
1432
+ "contracts/types/ClaimId.sol": {
1433
+ "ClaimIdLib": [
1434
+ {
1435
+ "length": 20,
1436
+ "start": 4179
1437
+ },
1438
+ {
1439
+ "length": 20,
1440
+ "start": 5489
1441
+ }
1442
+ ]
1443
+ },
1444
+ "contracts/types/DistributorType.sol": {
1445
+ "DistributorTypeLib": [
1446
+ {
1447
+ "length": 20,
1448
+ "start": 7115
1449
+ }
1450
+ ]
1451
+ },
1452
+ "contracts/types/NftId.sol": {
1453
+ "NftIdLib": [
1454
+ {
1455
+ "length": 20,
1456
+ "start": 2079
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 2435
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 3421
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 3510
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 4217
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 4262
1477
+ },
1478
+ {
1479
+ "length": 20,
1480
+ "start": 7342
1481
+ },
1482
+ {
1483
+ "length": 20,
1484
+ "start": 7928
1485
+ }
1486
+ ]
1487
+ },
1488
+ "contracts/types/PayoutId.sol": {
1489
+ "PayoutIdLib": [
1490
+ {
1491
+ "length": 20,
1492
+ "start": 2576
1493
+ },
1494
+ {
1495
+ "length": 20,
1496
+ "start": 3227
1497
+ }
1498
+ ]
1499
+ },
1500
+ "contracts/types/Referral.sol": {
1501
+ "ReferralLib": [
1502
+ {
1503
+ "length": 20,
1504
+ "start": 1839
1505
+ },
1506
+ {
1507
+ "length": 20,
1508
+ "start": 2832
1509
+ }
1510
+ ]
1511
+ },
1512
+ "contracts/types/RiskId.sol": {
1513
+ "RiskIdLib": [
1514
+ {
1515
+ "length": 20,
1516
+ "start": 4377
1517
+ }
1518
+ ]
1519
+ },
1520
+ "contracts/types/Timestamp.sol": {
1521
+ "TimestampLib": [
1522
+ {
1523
+ "length": 20,
1524
+ "start": 3653
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 3796
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 3966
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 5763
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 5994
1541
+ }
1542
+ ]
1543
+ },
1544
+ "contracts/types/UFixed.sol": {
1545
+ "UFixedLib": [
1546
+ {
1547
+ "length": 20,
1548
+ "start": 1627
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 2964
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 5864
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 6123
1561
+ },
1562
+ {
1563
+ "length": 20,
1564
+ "start": 6266
1565
+ }
1566
+ ]
1567
+ }
1568
+ }
1569
+ }