@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-dc95063-418

Sign up to get free protection for your applications and to get access to all the features.
Files changed (474) hide show
  1. package/README.md +314 -11
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1319 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +279 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +869 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +714 -116
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +512 -61
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1112 -143
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +957 -105
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1474 -1149
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +567 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2253 -1272
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1311 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1279 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1033 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +701 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IRisk.sol/IRisk.json} +2 -2
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → ISetup.sol/ISetup.json} +2 -2
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1732 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +205 -153
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +503 -178
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -309
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -101
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/service/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +30 -6
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +279 -165
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +14 -18
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +37 -163
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  213. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +101 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/Component.sol +251 -0
  221. package/contracts/components/Distribution.sol +280 -0
  222. package/contracts/components/IComponent.sol +74 -0
  223. package/contracts/components/IDistributionComponent.sol +71 -0
  224. package/contracts/components/IPoolComponent.sol +98 -42
  225. package/contracts/components/IProductComponent.sol +30 -9
  226. package/contracts/components/Pool.sol +232 -107
  227. package/contracts/components/Product.sol +218 -42
  228. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  229. package/contracts/instance/BundleManager.sol +127 -0
  230. package/contracts/instance/Cloneable.sol +51 -0
  231. package/contracts/instance/IInstance.sol +84 -36
  232. package/contracts/instance/IInstanceService.sol +72 -0
  233. package/contracts/instance/Instance.sol +310 -45
  234. package/contracts/instance/InstanceAccessManager.sol +522 -0
  235. package/contracts/instance/InstanceReader.sol +290 -0
  236. package/contracts/instance/InstanceService.sol +495 -0
  237. package/contracts/instance/InstanceServiceManager.sol +54 -0
  238. package/contracts/instance/ObjectManager.sol +82 -0
  239. package/contracts/instance/base/ComponentService.sol +134 -0
  240. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  241. package/contracts/instance/base/ILifecycle.sol +30 -0
  242. package/contracts/instance/base/KeyValueStore.sol +175 -0
  243. package/contracts/instance/base/Lifecycle.sol +109 -0
  244. package/contracts/instance/module/IAccess.sol +54 -0
  245. package/contracts/instance/module/IBundle.sol +21 -0
  246. package/contracts/instance/module/IComponents.sol +35 -0
  247. package/contracts/instance/module/IDistribution.sol +41 -0
  248. package/contracts/instance/module/IPolicy.sol +72 -0
  249. package/contracts/instance/module/IRisk.sol +11 -0
  250. package/contracts/instance/module/ISetup.sol +33 -0
  251. package/contracts/instance/module/ITreasury.sol +23 -0
  252. package/contracts/instance/service/ApplicationService.sol +350 -0
  253. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  254. package/contracts/instance/service/BundleService.sol +336 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/ClaimService.sol +151 -0
  257. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  258. package/contracts/instance/service/DistributionService.sol +467 -0
  259. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  260. package/contracts/instance/service/IApplicationService.sol +82 -0
  261. package/contracts/instance/service/IBundleService.sol +62 -0
  262. package/contracts/instance/service/IClaimService.sol +61 -0
  263. package/contracts/instance/service/IDistributionService.sol +98 -0
  264. package/contracts/instance/service/IPolicyService.sol +72 -0
  265. package/contracts/instance/service/IPoolService.sol +22 -17
  266. package/contracts/instance/service/IProductService.sol +21 -39
  267. package/contracts/instance/service/PolicyService.sol +403 -0
  268. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  269. package/contracts/instance/service/PoolService.sol +189 -67
  270. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  271. package/contracts/instance/service/ProductService.sol +179 -296
  272. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  273. package/contracts/registry/ChainNft.sol +87 -36
  274. package/contracts/registry/IRegistry.sol +68 -24
  275. package/contracts/registry/IRegistryService.sol +67 -0
  276. package/contracts/registry/ITransferInterceptor.sol +7 -0
  277. package/contracts/registry/Registry.sol +372 -286
  278. package/contracts/registry/RegistryAccessManager.sol +216 -0
  279. package/contracts/registry/RegistryService.sol +283 -0
  280. package/contracts/registry/RegistryServiceManager.sol +62 -0
  281. package/contracts/registry/ReleaseManager.sol +322 -0
  282. package/contracts/registry/TokenRegistry.sol +116 -0
  283. package/contracts/shared/ContractDeployerLib.sol +72 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/INftOwnable.sol +23 -0
  286. package/contracts/shared/IPolicyHolder.sol +26 -0
  287. package/contracts/shared/IRegisterable.sol +10 -19
  288. package/contracts/shared/IRegistryLinked.sol +12 -0
  289. package/contracts/shared/IService.sol +18 -0
  290. package/contracts/shared/IVersionable.sol +38 -37
  291. package/contracts/shared/NftOwnable.sol +120 -0
  292. package/contracts/shared/PolicyHolder.sol +81 -0
  293. package/contracts/shared/ProxyManager.sol +169 -0
  294. package/contracts/shared/Registerable.sol +54 -66
  295. package/contracts/shared/RegistryLinked.sol +48 -0
  296. package/contracts/shared/Service.sol +58 -0
  297. package/contracts/shared/TokenHandler.sol +33 -0
  298. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  299. package/contracts/shared/Versionable.sol +38 -71
  300. package/contracts/test/TestFee.sol +4 -4
  301. package/contracts/test/TestRegisterable.sol +5 -6
  302. package/contracts/test/TestRoleId.sol +2 -2
  303. package/contracts/test/TestService.sol +8 -18
  304. package/contracts/test/TestVersion.sol +4 -7
  305. package/contracts/test/TestVersionable.sol +2 -5
  306. package/contracts/test/Usdc.sol +26 -0
  307. package/contracts/types/Blocknumber.sol +1 -0
  308. package/contracts/types/ClaimId.sol +52 -0
  309. package/contracts/types/DistributorType.sol +55 -0
  310. package/contracts/types/Fee.sol +45 -20
  311. package/contracts/types/Key32.sol +50 -0
  312. package/contracts/types/NftId.sol +24 -1
  313. package/contracts/types/NftIdSet.sol +26 -24
  314. package/contracts/types/NumberId.sol +52 -0
  315. package/contracts/types/ObjectType.sol +56 -14
  316. package/contracts/types/PayoutId.sol +54 -0
  317. package/contracts/types/Referral.sol +89 -0
  318. package/contracts/types/RiskId.sol +43 -0
  319. package/contracts/types/RoleId.sol +72 -11
  320. package/contracts/types/Seconds.sol +54 -0
  321. package/contracts/types/StateId.sol +13 -2
  322. package/contracts/types/Timestamp.sol +17 -13
  323. package/contracts/types/UFixed.sol +145 -25
  324. package/contracts/types/Version.sol +43 -26
  325. package/package.json +6 -5
  326. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  327. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  328. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  331. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  333. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  335. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  337. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  339. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  343. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  345. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  348. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  352. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  354. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  356. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  358. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  360. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  361. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  362. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  363. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  364. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  365. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  366. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -313
  367. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  369. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  372. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  374. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  377. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  379. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  381. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  383. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  385. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  388. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  391. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  393. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  394. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  396. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  398. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.json +0 -10
  400. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
  401. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.json +0 -10
  402. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  403. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -538
  405. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  406. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  407. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -538
  409. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -519
  411. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  413. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  414. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
  416. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  417. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  418. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  419. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  420. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  421. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  422. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  423. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  424. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  425. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  426. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  427. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  428. package/contracts/components/BaseComponent.sol +0 -89
  429. package/contracts/components/IBaseComponent.sol +0 -19
  430. package/contracts/experiment/errors/Require.sol +0 -38
  431. package/contracts/experiment/errors/Revert.sol +0 -44
  432. package/contracts/experiment/inheritance/A.sol +0 -53
  433. package/contracts/experiment/inheritance/B.sol +0 -28
  434. package/contracts/experiment/inheritance/C.sol +0 -34
  435. package/contracts/experiment/inheritance/IA.sol +0 -13
  436. package/contracts/experiment/inheritance/IB.sol +0 -10
  437. package/contracts/experiment/inheritance/IC.sol +0 -12
  438. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  439. package/contracts/experiment/statemachine/ISM.sol +0 -25
  440. package/contracts/experiment/statemachine/README.md +0 -112
  441. package/contracts/experiment/statemachine/SM.sol +0 -57
  442. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  443. package/contracts/experiment/types/TypeA.sol +0 -47
  444. package/contracts/experiment/types/TypeB.sol +0 -29
  445. package/contracts/instance/IInstanceLinked.sol +0 -8
  446. package/contracts/instance/IServiceLinked.sol +0 -12
  447. package/contracts/instance/InstanceBase.sol +0 -74
  448. package/contracts/instance/module/access/Access.sol +0 -149
  449. package/contracts/instance/module/access/IAccess.sol +0 -53
  450. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  451. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  452. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  453. package/contracts/instance/module/component/IComponent.sol +0 -53
  454. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  455. package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
  456. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  457. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  458. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  459. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  460. package/contracts/instance/module/product/IProductModule.sol +0 -6
  461. package/contracts/instance/module/product/ProductModule.sol +0 -8
  462. package/contracts/instance/module/treasury/ITreasury.sol +0 -104
  463. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  464. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -148
  465. package/contracts/instance/service/ComponentOwnerService.sol +0 -174
  466. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  467. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  468. package/contracts/instance/service/IService.sol +0 -15
  469. package/contracts/instance/service/ServiceBase.sol +0 -39
  470. package/contracts/registry/IChainNft.sol +0 -21
  471. package/contracts/registry/IRegistryLinked.sol +0 -8
  472. package/contracts/shared/IOwnable.sol +0 -6
  473. package/contracts/test/TestPool.sol +0 -22
  474. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,1279 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceReader",
4
+ "sourceName": "contracts/instance/InstanceReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "NftId",
10
+ "name": "bundleNftId",
11
+ "type": "uint96"
12
+ }
13
+ ],
14
+ "name": "getBundleInfo",
15
+ "outputs": [
16
+ {
17
+ "components": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "poolNftId",
21
+ "type": "uint96"
22
+ },
23
+ {
24
+ "components": [
25
+ {
26
+ "internalType": "UFixed",
27
+ "name": "fractionalFee",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "internalType": "uint256",
32
+ "name": "fixedFee",
33
+ "type": "uint256"
34
+ }
35
+ ],
36
+ "internalType": "struct Fee",
37
+ "name": "fee",
38
+ "type": "tuple"
39
+ },
40
+ {
41
+ "internalType": "bytes",
42
+ "name": "filter",
43
+ "type": "bytes"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "capitalAmount",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "lockedAmount",
53
+ "type": "uint256"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "balanceAmount",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "internalType": "Seconds",
62
+ "name": "lifetime",
63
+ "type": "uint40"
64
+ },
65
+ {
66
+ "internalType": "Timestamp",
67
+ "name": "expiredAt",
68
+ "type": "uint40"
69
+ },
70
+ {
71
+ "internalType": "Timestamp",
72
+ "name": "closedAt",
73
+ "type": "uint40"
74
+ }
75
+ ],
76
+ "internalType": "struct IBundle.BundleInfo",
77
+ "name": "info",
78
+ "type": "tuple"
79
+ }
80
+ ],
81
+ "stateMutability": "view",
82
+ "type": "function"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "NftId",
88
+ "name": "poolNftId",
89
+ "type": "uint96"
90
+ }
91
+ ],
92
+ "name": "getComponentInfo",
93
+ "outputs": [
94
+ {
95
+ "components": [
96
+ {
97
+ "internalType": "string",
98
+ "name": "name",
99
+ "type": "string"
100
+ },
101
+ {
102
+ "internalType": "contract IERC20Metadata",
103
+ "name": "token",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "internalType": "contract TokenHandler",
108
+ "name": "tokenHandler",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "internalType": "address",
113
+ "name": "wallet",
114
+ "type": "address"
115
+ },
116
+ {
117
+ "internalType": "bytes",
118
+ "name": "data",
119
+ "type": "bytes"
120
+ }
121
+ ],
122
+ "internalType": "struct IComponents.ComponentInfo",
123
+ "name": "info",
124
+ "type": "tuple"
125
+ }
126
+ ],
127
+ "stateMutability": "view",
128
+ "type": "function"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "ReferralId",
134
+ "name": "referralId",
135
+ "type": "bytes8"
136
+ }
137
+ ],
138
+ "name": "getDiscountPercentage",
139
+ "outputs": [
140
+ {
141
+ "internalType": "UFixed",
142
+ "name": "discountPercentage",
143
+ "type": "uint256"
144
+ },
145
+ {
146
+ "internalType": "ReferralStatus",
147
+ "name": "status",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "stateMutability": "view",
152
+ "type": "function"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "distributionNftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "getDistributionSetupInfo",
163
+ "outputs": [
164
+ {
165
+ "components": [
166
+ {
167
+ "internalType": "NftId",
168
+ "name": "productNftId",
169
+ "type": "uint96"
170
+ },
171
+ {
172
+ "internalType": "contract TokenHandler",
173
+ "name": "tokenHandler",
174
+ "type": "address"
175
+ },
176
+ {
177
+ "components": [
178
+ {
179
+ "internalType": "UFixed",
180
+ "name": "fractionalFee",
181
+ "type": "uint256"
182
+ },
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "fixedFee",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "internalType": "struct Fee",
190
+ "name": "minDistributionOwnerFee",
191
+ "type": "tuple"
192
+ },
193
+ {
194
+ "components": [
195
+ {
196
+ "internalType": "UFixed",
197
+ "name": "fractionalFee",
198
+ "type": "uint256"
199
+ },
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "fixedFee",
203
+ "type": "uint256"
204
+ }
205
+ ],
206
+ "internalType": "struct Fee",
207
+ "name": "distributionFee",
208
+ "type": "tuple"
209
+ },
210
+ {
211
+ "internalType": "address",
212
+ "name": "wallet",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "internalType": "uint256",
217
+ "name": "sumDistributionOwnerFees",
218
+ "type": "uint256"
219
+ }
220
+ ],
221
+ "internalType": "struct ISetup.DistributionSetupInfo",
222
+ "name": "info",
223
+ "type": "tuple"
224
+ }
225
+ ],
226
+ "stateMutability": "view",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "NftId",
233
+ "name": "distributorNftId",
234
+ "type": "uint96"
235
+ }
236
+ ],
237
+ "name": "getDistributorInfo",
238
+ "outputs": [
239
+ {
240
+ "components": [
241
+ {
242
+ "internalType": "DistributorType",
243
+ "name": "distributorType",
244
+ "type": "bytes8"
245
+ },
246
+ {
247
+ "internalType": "bool",
248
+ "name": "active",
249
+ "type": "bool"
250
+ },
251
+ {
252
+ "internalType": "bytes",
253
+ "name": "data",
254
+ "type": "bytes"
255
+ },
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "sumCommisions",
259
+ "type": "uint256"
260
+ },
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "numPoliciesSold",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "internalType": "struct IDistribution.DistributorInfo",
268
+ "name": "info",
269
+ "type": "tuple"
270
+ }
271
+ ],
272
+ "stateMutability": "view",
273
+ "type": "function"
274
+ },
275
+ {
276
+ "inputs": [
277
+ {
278
+ "internalType": "DistributorType",
279
+ "name": "distributorType",
280
+ "type": "bytes8"
281
+ }
282
+ ],
283
+ "name": "getDistributorTypeInfo",
284
+ "outputs": [
285
+ {
286
+ "components": [
287
+ {
288
+ "internalType": "string",
289
+ "name": "name",
290
+ "type": "string"
291
+ },
292
+ {
293
+ "internalType": "UFixed",
294
+ "name": "minDiscountPercentage",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "UFixed",
299
+ "name": "maxDiscountPercentage",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "UFixed",
304
+ "name": "commissionPercentage",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "internalType": "uint32",
309
+ "name": "maxReferralCount",
310
+ "type": "uint32"
311
+ },
312
+ {
313
+ "internalType": "uint32",
314
+ "name": "maxReferralLifetime",
315
+ "type": "uint32"
316
+ },
317
+ {
318
+ "internalType": "bool",
319
+ "name": "allowSelfReferrals",
320
+ "type": "bool"
321
+ },
322
+ {
323
+ "internalType": "bool",
324
+ "name": "allowRenewals",
325
+ "type": "bool"
326
+ },
327
+ {
328
+ "internalType": "bytes",
329
+ "name": "data",
330
+ "type": "bytes"
331
+ }
332
+ ],
333
+ "internalType": "struct IDistribution.DistributorTypeInfo",
334
+ "name": "info",
335
+ "type": "tuple"
336
+ }
337
+ ],
338
+ "stateMutability": "view",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [],
343
+ "name": "getInstance",
344
+ "outputs": [
345
+ {
346
+ "internalType": "contract IInstance",
347
+ "name": "instance",
348
+ "type": "address"
349
+ }
350
+ ],
351
+ "stateMutability": "view",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "getInstanceStore",
357
+ "outputs": [
358
+ {
359
+ "internalType": "contract IKeyValueStore",
360
+ "name": "store",
361
+ "type": "address"
362
+ }
363
+ ],
364
+ "stateMutability": "view",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [
369
+ {
370
+ "internalType": "Key32",
371
+ "name": "key",
372
+ "type": "bytes32"
373
+ }
374
+ ],
375
+ "name": "getMetadata",
376
+ "outputs": [
377
+ {
378
+ "components": [
379
+ {
380
+ "internalType": "ObjectType",
381
+ "name": "objectType",
382
+ "type": "uint8"
383
+ },
384
+ {
385
+ "internalType": "StateId",
386
+ "name": "state",
387
+ "type": "uint8"
388
+ },
389
+ {
390
+ "internalType": "address",
391
+ "name": "updatedBy",
392
+ "type": "address"
393
+ },
394
+ {
395
+ "internalType": "Blocknumber",
396
+ "name": "updatedIn",
397
+ "type": "uint32"
398
+ },
399
+ {
400
+ "internalType": "Blocknumber",
401
+ "name": "createdIn",
402
+ "type": "uint32"
403
+ }
404
+ ],
405
+ "internalType": "struct IKeyValueStore.Metadata",
406
+ "name": "metadata",
407
+ "type": "tuple"
408
+ }
409
+ ],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [
415
+ {
416
+ "internalType": "NftId",
417
+ "name": "policyNftId",
418
+ "type": "uint96"
419
+ }
420
+ ],
421
+ "name": "getPolicyInfo",
422
+ "outputs": [
423
+ {
424
+ "components": [
425
+ {
426
+ "internalType": "NftId",
427
+ "name": "productNftId",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "internalType": "NftId",
432
+ "name": "bundleNftId",
433
+ "type": "uint96"
434
+ },
435
+ {
436
+ "internalType": "ReferralId",
437
+ "name": "referralId",
438
+ "type": "bytes8"
439
+ },
440
+ {
441
+ "internalType": "RiskId",
442
+ "name": "riskId",
443
+ "type": "bytes8"
444
+ },
445
+ {
446
+ "internalType": "uint256",
447
+ "name": "sumInsuredAmount",
448
+ "type": "uint256"
449
+ },
450
+ {
451
+ "internalType": "uint256",
452
+ "name": "premiumAmount",
453
+ "type": "uint256"
454
+ },
455
+ {
456
+ "internalType": "uint256",
457
+ "name": "premiumPaidAmount",
458
+ "type": "uint256"
459
+ },
460
+ {
461
+ "internalType": "Seconds",
462
+ "name": "lifetime",
463
+ "type": "uint40"
464
+ },
465
+ {
466
+ "internalType": "bytes",
467
+ "name": "applicationData",
468
+ "type": "bytes"
469
+ },
470
+ {
471
+ "internalType": "bytes",
472
+ "name": "policyData",
473
+ "type": "bytes"
474
+ },
475
+ {
476
+ "internalType": "uint16",
477
+ "name": "claimsCount",
478
+ "type": "uint16"
479
+ },
480
+ {
481
+ "internalType": "uint16",
482
+ "name": "openClaimsCount",
483
+ "type": "uint16"
484
+ },
485
+ {
486
+ "internalType": "uint256",
487
+ "name": "payoutAmount",
488
+ "type": "uint256"
489
+ },
490
+ {
491
+ "internalType": "Timestamp",
492
+ "name": "activatedAt",
493
+ "type": "uint40"
494
+ },
495
+ {
496
+ "internalType": "Timestamp",
497
+ "name": "expiredAt",
498
+ "type": "uint40"
499
+ },
500
+ {
501
+ "internalType": "Timestamp",
502
+ "name": "closedAt",
503
+ "type": "uint40"
504
+ }
505
+ ],
506
+ "internalType": "struct IPolicy.PolicyInfo",
507
+ "name": "info",
508
+ "type": "tuple"
509
+ }
510
+ ],
511
+ "stateMutability": "view",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [
516
+ {
517
+ "internalType": "NftId",
518
+ "name": "policyNftId",
519
+ "type": "uint96"
520
+ }
521
+ ],
522
+ "name": "getPolicyState",
523
+ "outputs": [
524
+ {
525
+ "internalType": "StateId",
526
+ "name": "state",
527
+ "type": "uint8"
528
+ }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "NftId",
537
+ "name": "productNftId",
538
+ "type": "uint96"
539
+ }
540
+ ],
541
+ "name": "getProductSetupInfo",
542
+ "outputs": [
543
+ {
544
+ "components": [
545
+ {
546
+ "internalType": "contract IERC20Metadata",
547
+ "name": "token",
548
+ "type": "address"
549
+ },
550
+ {
551
+ "internalType": "contract TokenHandler",
552
+ "name": "tokenHandler",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "internalType": "NftId",
557
+ "name": "distributionNftId",
558
+ "type": "uint96"
559
+ },
560
+ {
561
+ "internalType": "NftId",
562
+ "name": "poolNftId",
563
+ "type": "uint96"
564
+ },
565
+ {
566
+ "components": [
567
+ {
568
+ "internalType": "UFixed",
569
+ "name": "fractionalFee",
570
+ "type": "uint256"
571
+ },
572
+ {
573
+ "internalType": "uint256",
574
+ "name": "fixedFee",
575
+ "type": "uint256"
576
+ }
577
+ ],
578
+ "internalType": "struct Fee",
579
+ "name": "productFee",
580
+ "type": "tuple"
581
+ },
582
+ {
583
+ "components": [
584
+ {
585
+ "internalType": "UFixed",
586
+ "name": "fractionalFee",
587
+ "type": "uint256"
588
+ },
589
+ {
590
+ "internalType": "uint256",
591
+ "name": "fixedFee",
592
+ "type": "uint256"
593
+ }
594
+ ],
595
+ "internalType": "struct Fee",
596
+ "name": "processingFee",
597
+ "type": "tuple"
598
+ },
599
+ {
600
+ "internalType": "bool",
601
+ "name": "isIntercepting",
602
+ "type": "bool"
603
+ },
604
+ {
605
+ "internalType": "address",
606
+ "name": "wallet",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "internalType": "struct ISetup.ProductSetupInfo",
611
+ "name": "info",
612
+ "type": "tuple"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "ReferralId",
622
+ "name": "referralId",
623
+ "type": "bytes8"
624
+ }
625
+ ],
626
+ "name": "getReferralInfo",
627
+ "outputs": [
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "NftId",
632
+ "name": "distributorNftId",
633
+ "type": "uint96"
634
+ },
635
+ {
636
+ "internalType": "string",
637
+ "name": "referralCode",
638
+ "type": "string"
639
+ },
640
+ {
641
+ "internalType": "UFixed",
642
+ "name": "discountPercentage",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint32",
647
+ "name": "maxReferrals",
648
+ "type": "uint32"
649
+ },
650
+ {
651
+ "internalType": "uint32",
652
+ "name": "usedReferrals",
653
+ "type": "uint32"
654
+ },
655
+ {
656
+ "internalType": "Timestamp",
657
+ "name": "expiryAt",
658
+ "type": "uint40"
659
+ },
660
+ {
661
+ "internalType": "bytes",
662
+ "name": "data",
663
+ "type": "bytes"
664
+ }
665
+ ],
666
+ "internalType": "struct IDistribution.ReferralInfo",
667
+ "name": "info",
668
+ "type": "tuple"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "RiskId",
678
+ "name": "riskId",
679
+ "type": "bytes8"
680
+ }
681
+ ],
682
+ "name": "getRiskInfo",
683
+ "outputs": [
684
+ {
685
+ "components": [
686
+ {
687
+ "internalType": "NftId",
688
+ "name": "productNftId",
689
+ "type": "uint96"
690
+ },
691
+ {
692
+ "internalType": "bytes",
693
+ "name": "data",
694
+ "type": "bytes"
695
+ }
696
+ ],
697
+ "internalType": "struct IRisk.RiskInfo",
698
+ "name": "info",
699
+ "type": "tuple"
700
+ }
701
+ ],
702
+ "stateMutability": "view",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [
707
+ {
708
+ "internalType": "NftId",
709
+ "name": "productNftId",
710
+ "type": "uint96"
711
+ }
712
+ ],
713
+ "name": "getTokenHandler",
714
+ "outputs": [
715
+ {
716
+ "internalType": "address",
717
+ "name": "tokenHandler",
718
+ "type": "address"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "NftId",
728
+ "name": "productNftId",
729
+ "type": "uint96"
730
+ }
731
+ ],
732
+ "name": "getTreasuryInfo",
733
+ "outputs": [
734
+ {
735
+ "components": [
736
+ {
737
+ "internalType": "contract IERC20Metadata",
738
+ "name": "token",
739
+ "type": "address"
740
+ },
741
+ {
742
+ "internalType": "contract TokenHandler",
743
+ "name": "tokenHandler",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "NftId",
748
+ "name": "distributionNftId",
749
+ "type": "uint96"
750
+ },
751
+ {
752
+ "internalType": "NftId",
753
+ "name": "poolNftId",
754
+ "type": "uint96"
755
+ },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "UFixed",
760
+ "name": "fractionalFee",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "fixedFee",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "internalType": "struct Fee",
770
+ "name": "distributionFee",
771
+ "type": "tuple"
772
+ },
773
+ {
774
+ "components": [
775
+ {
776
+ "internalType": "UFixed",
777
+ "name": "fractionalFee",
778
+ "type": "uint256"
779
+ },
780
+ {
781
+ "internalType": "uint256",
782
+ "name": "fixedFee",
783
+ "type": "uint256"
784
+ }
785
+ ],
786
+ "internalType": "struct Fee",
787
+ "name": "productFee",
788
+ "type": "tuple"
789
+ },
790
+ {
791
+ "components": [
792
+ {
793
+ "internalType": "UFixed",
794
+ "name": "fractionalFee",
795
+ "type": "uint256"
796
+ },
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "fixedFee",
800
+ "type": "uint256"
801
+ }
802
+ ],
803
+ "internalType": "struct Fee",
804
+ "name": "processingFee",
805
+ "type": "tuple"
806
+ },
807
+ {
808
+ "components": [
809
+ {
810
+ "internalType": "UFixed",
811
+ "name": "fractionalFee",
812
+ "type": "uint256"
813
+ },
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "fixedFee",
817
+ "type": "uint256"
818
+ }
819
+ ],
820
+ "internalType": "struct Fee",
821
+ "name": "poolFee",
822
+ "type": "tuple"
823
+ },
824
+ {
825
+ "components": [
826
+ {
827
+ "internalType": "UFixed",
828
+ "name": "fractionalFee",
829
+ "type": "uint256"
830
+ },
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "fixedFee",
834
+ "type": "uint256"
835
+ }
836
+ ],
837
+ "internalType": "struct Fee",
838
+ "name": "stakingFee",
839
+ "type": "tuple"
840
+ },
841
+ {
842
+ "components": [
843
+ {
844
+ "internalType": "UFixed",
845
+ "name": "fractionalFee",
846
+ "type": "uint256"
847
+ },
848
+ {
849
+ "internalType": "uint256",
850
+ "name": "fixedFee",
851
+ "type": "uint256"
852
+ }
853
+ ],
854
+ "internalType": "struct Fee",
855
+ "name": "performanceFee",
856
+ "type": "tuple"
857
+ }
858
+ ],
859
+ "internalType": "struct ITreasury.TreasuryInfo",
860
+ "name": "info",
861
+ "type": "tuple"
862
+ }
863
+ ],
864
+ "stateMutability": "view",
865
+ "type": "function"
866
+ },
867
+ {
868
+ "inputs": [
869
+ {
870
+ "internalType": "address",
871
+ "name": "instance",
872
+ "type": "address"
873
+ }
874
+ ],
875
+ "name": "initialize",
876
+ "outputs": [],
877
+ "stateMutability": "nonpayable",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "inputs": [
882
+ {
883
+ "internalType": "NftId",
884
+ "name": "poolNftId",
885
+ "type": "uint96"
886
+ }
887
+ ],
888
+ "name": "toBundleKey",
889
+ "outputs": [
890
+ {
891
+ "internalType": "Key32",
892
+ "name": "",
893
+ "type": "bytes32"
894
+ }
895
+ ],
896
+ "stateMutability": "pure",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "distributionNftId",
904
+ "type": "uint96"
905
+ }
906
+ ],
907
+ "name": "toDistributionKey",
908
+ "outputs": [
909
+ {
910
+ "internalType": "Key32",
911
+ "name": "",
912
+ "type": "bytes32"
913
+ }
914
+ ],
915
+ "stateMutability": "pure",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [
920
+ {
921
+ "internalType": "NftId",
922
+ "name": "distributorNftId",
923
+ "type": "uint96"
924
+ }
925
+ ],
926
+ "name": "toDistributorKey",
927
+ "outputs": [
928
+ {
929
+ "internalType": "Key32",
930
+ "name": "",
931
+ "type": "bytes32"
932
+ }
933
+ ],
934
+ "stateMutability": "pure",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "UFixed",
941
+ "name": "value",
942
+ "type": "uint256"
943
+ }
944
+ ],
945
+ "name": "toInt",
946
+ "outputs": [
947
+ {
948
+ "internalType": "uint256",
949
+ "name": "",
950
+ "type": "uint256"
951
+ }
952
+ ],
953
+ "stateMutability": "pure",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "NftId",
960
+ "name": "policyNftId",
961
+ "type": "uint96"
962
+ }
963
+ ],
964
+ "name": "toPolicyKey",
965
+ "outputs": [
966
+ {
967
+ "internalType": "Key32",
968
+ "name": "",
969
+ "type": "bytes32"
970
+ }
971
+ ],
972
+ "stateMutability": "pure",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "NftId",
979
+ "name": "poolNftId",
980
+ "type": "uint96"
981
+ }
982
+ ],
983
+ "name": "toPoolKey",
984
+ "outputs": [
985
+ {
986
+ "internalType": "Key32",
987
+ "name": "",
988
+ "type": "bytes32"
989
+ }
990
+ ],
991
+ "stateMutability": "pure",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [
996
+ {
997
+ "internalType": "NftId",
998
+ "name": "productNftId",
999
+ "type": "uint96"
1000
+ }
1001
+ ],
1002
+ "name": "toProductKey",
1003
+ "outputs": [
1004
+ {
1005
+ "internalType": "Key32",
1006
+ "name": "",
1007
+ "type": "bytes32"
1008
+ }
1009
+ ],
1010
+ "stateMutability": "pure",
1011
+ "type": "function"
1012
+ },
1013
+ {
1014
+ "inputs": [
1015
+ {
1016
+ "internalType": "NftId",
1017
+ "name": "distributionNftId",
1018
+ "type": "uint96"
1019
+ },
1020
+ {
1021
+ "internalType": "string",
1022
+ "name": "referralCode",
1023
+ "type": "string"
1024
+ }
1025
+ ],
1026
+ "name": "toReferralId",
1027
+ "outputs": [
1028
+ {
1029
+ "internalType": "ReferralId",
1030
+ "name": "referralId",
1031
+ "type": "bytes8"
1032
+ }
1033
+ ],
1034
+ "stateMutability": "pure",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "NftId",
1041
+ "name": "productNftId",
1042
+ "type": "uint96"
1043
+ }
1044
+ ],
1045
+ "name": "toTreasuryKey",
1046
+ "outputs": [
1047
+ {
1048
+ "internalType": "Key32",
1049
+ "name": "",
1050
+ "type": "bytes32"
1051
+ }
1052
+ ],
1053
+ "stateMutability": "pure",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [
1058
+ {
1059
+ "internalType": "uint256",
1060
+ "name": "value",
1061
+ "type": "uint256"
1062
+ },
1063
+ {
1064
+ "internalType": "int8",
1065
+ "name": "exp",
1066
+ "type": "int8"
1067
+ }
1068
+ ],
1069
+ "name": "toUFixed",
1070
+ "outputs": [
1071
+ {
1072
+ "internalType": "UFixed",
1073
+ "name": "",
1074
+ "type": "uint256"
1075
+ }
1076
+ ],
1077
+ "stateMutability": "pure",
1078
+ "type": "function"
1079
+ }
1080
+ ],
1081
+ "bytecode": "0x608060405234801561001057600080fd5b50612cfe806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611905565b61056a565b6040519081526020015b60405180910390f35b6101e76101e2366004611954565b6105f0565b6040516101cb91906119c1565b6101c1610202366004611a71565b610742565b61021a610215366004611a71565b6107e2565b6040516101cb9190611a8e565b6101c1610235366004611a71565b6108be565b61024d610248366004611c51565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611ce3565b610968565b61028c610287366004611a71565b6109a3565b6040516101cb9190611cfc565b6101c16102a7366004611a71565b610a49565b6101c16102ba366004611a71565b610a76565b6101c16102cd366004611a71565b610aa3565b6102e56102e0366004611954565b610ad0565b6040516101cb9190611db8565b610305610300366004611a71565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a71565b610c78565b6040516101cb9190611dee565b61034a610345366004611a71565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a71565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611ce3565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c366004611954565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a71565b6111ae565b6040516101cb9190611e9e565b6104bb6104b6366004612001565b6112cc565b005b6104d06104cb366004611954565b6113c8565b6040516101cb919061201e565b6001546001600160a01b03166103d9565b6101c16104fc366004611a71565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a71565b611568565b6040516101cb91906120ce565b61054a610545366004611a71565b611653565b6040516101cb9190612135565b6101c1610565366004611a71565b61179b565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612237565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb9190612237565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612295565b80519091501561073c57808060200190518101906105e99190612314565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612237565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612295565b80519091501561073c57808060200190518101906105e9919061240d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124b4565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124d6565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117c8565b6001546000906001600160a01b03166354f6127f6109c88561179b565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612295565b80519091501561073c57808060200190518101906105e99190612523565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b789190612237565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612295565b80519091501561073c57808060200190518101906105e9919061260a565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612698565b610c8061184d565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d009190810190612295565b80519091501561073c57808060200190518101906105e991906126c0565b610d266118bd565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da69190810190612295565b80519091501561073c57808060200190518101906105e99190612768565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e469190810190612295565b80519091501561073c57600081806020019051810190610e669190612809565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906128da565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612954565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110099190612237565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061296f565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190612237565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b9190612237565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae9190810190612295565b80519091501561073c57808060200190518101906105e9919061299e565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612237565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d9190810190612295565b80519091501561073c57808060200190518101906105e99190612b0a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6115b56040518060a001604052806060815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001606081525090565b6001546000906001600160a01b03166354f6127f6115d28561153b565b6040518263ffffffff1660e01b81526004016115f091815260200190565b600060405180830381865afa15801561160d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116359190810190612295565b80519091501561073c57808060200190518101906105e99190612c01565b6116fd604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61171a85610742565b6040518263ffffffff1660e01b815260040161173891815260200190565b600060405180830381865afa158015611755573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177d9190810190612295565b80519091501561073c57808060200190518101906105e99190612809565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611801604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b81526020016118a9604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611887604051806040016040528060008152602001600081525090565b6000806040838503121561191857600080fd5b8235915060208301358060000b811461193057600080fd5b809150509250929050565b6001600160c01b03198116811461195157600080fd5b50565b60006020828403121561196657600080fd5b81356105e98161193b565b60005b8381101561198c578181015183820152602001611974565b50506000910152565b600081518084526119ad816020860160208601611971565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119f1610100840182611995565b90506040840151606084015263ffffffff60608501511660808401526080840151611a2460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a538282611995565b95945050505050565b6001600160601b038116811461195157600080fd5b600060208284031215611a8357600080fd5b81356105e981611a5c565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611acc60c0840182611995565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b2457611b24611aec565b60405290565b60405160a081016001600160401b0381118282101715611b2457611b24611aec565b604080519081016001600160401b0381118282101715611b2457611b24611aec565b60405161012081016001600160401b0381118282101715611b2457611b24611aec565b60405161010081016001600160401b0381118282101715611b2457611b24611aec565b60405161014081016001600160401b0381118282101715611b2457611b24611aec565b60405161020081016001600160401b0381118282101715611b2457611b24611aec565b604051601f8201601f191681016001600160401b0381118282101715611c2257611c22611aec565b604052919050565b60006001600160401b03821115611c4357611c43611aec565b50601f01601f191660200190565b60008060408385031215611c6457600080fd5b8235611c6f81611a5c565b915060208301356001600160401b03811115611c8a57600080fd5b8301601f81018513611c9b57600080fd5b8035611cae611ca982611c2a565b611bfa565b818152866020838501011115611cc357600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611cf557600080fd5b5035919050565b60208152611d166020820183516001600160601b03169052565b60006020830151611d34604084018280518252602090810151910152565b506040830151610140806080850152611d51610160850183611995565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100611d8b8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de66060840182611995565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3d908401826001600160601b03169052565b506080830151611e5a608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb86020820183516001600160601b03169052565b60006020830151611ed460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f398185018364ffffffffff169052565b808501519150506102006101208181860152611f59610220860184611995565b9250808601519050610140601f198685030181870152611f798483611995565b935080870151915050610160611f948187018361ffff169052565b8601519050610180611fab8682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd28187018364ffffffffff169052565b86015190506101e0611da18682018364ffffffffff169052565b6001600160a01b038116811461195157600080fd5b60006020828403121561201357600080fd5b81356105e981611fec565b602081526000825161012080602085015261203d610140850183611995565b9150602085015160408501526040850151606085015260608501516080850152608085015161207460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120aa8187018315159052565b860151858403601f19018387015290506120c48382611995565b9695505050505050565b602081526000825160a060208401526120ea60c0840182611995565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a0850152611a538282611995565b81516001600160a01b031681526102008101602083015161216160208401826001600160a01b03169052565b50604083015161217c60408401826001600160601b03169052565b50606083015161219760608401826001600160601b03169052565b5060808301516121b4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006121ea8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e97565b60006020828403121561224957600080fd5b5051919050565b600082601f83011261226157600080fd5b815161226f611ca982611c2a565b81815284602083860101111561228457600080fd5b611de6826020830160208701611971565b6000602082840312156122a757600080fd5b81516001600160401b038111156122bd57600080fd5b611de684828501612250565b80516122d481611a5c565b919050565b63ffffffff8116811461195157600080fd5b80516122d4816122d9565b64ffffffffff8116811461195157600080fd5b80516122d4816122f6565b60006020828403121561232657600080fd5b81516001600160401b038082111561233d57600080fd5b9083019060e0828603121561235157600080fd5b612359611b02565b612362836122c9565b815260208301518281111561237657600080fd5b61238287828601612250565b6020830152506040830151604082015261239e606084016122eb565b60608201526123af608084016122eb565b60808201526123c060a08401612309565b60a082015260c0830151828111156123d757600080fd5b6123e387828601612250565b60c08301525095945050505050565b80516122d48161193b565b805180151581146122d457600080fd5b60006020828403121561241f57600080fd5b81516001600160401b038082111561243657600080fd5b9083019060a0828603121561244a57600080fd5b612452611b2a565b825161245d8161193b565b815261246b602084016123fd565b602082015260408301518281111561248257600080fd5b61248e87828601612250565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de66040830184611995565b6000602082840312156124e857600080fd5b81516105e98161193b565b60006040828403121561250557600080fd5b61250d611b4c565b9050815181526020820151602082015292915050565b60006020828403121561253557600080fd5b81516001600160401b038082111561254c57600080fd5b90830190610140828603121561256157600080fd5b612569611b6e565b612572836122c9565b815261258186602085016124f3565b602082015260608301518281111561259857600080fd5b6125a487828601612250565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526125d460e08401612309565b60c082015261010091506125e9828401612309565b60e08201526125fb6101208401612309565b91810191909152949350505050565b60006020828403121561261c57600080fd5b81516001600160401b038082111561263357600080fd5b908301906040828603121561264757600080fd5b61264f611b4c565b825161265a81611a5c565b815260208301518281111561266e57600080fd5b61267a87828601612250565b60208301525095945050505050565b60ff8116811461195157600080fd5b6000602082840312156126aa57600080fd5b81516105e981612689565b80516122d481611fec565b600061014082840312156126d357600080fd5b6126db611b91565b6126e4836126b5565b81526126f2602084016126b5565b6020820152612703604084016122c9565b6040820152612714606084016122c9565b606082015261272684608085016124f3565b60808201526127388460c085016124f3565b60a082015261274a61010084016123fd565b60c082015261275c61012084016126b5565b60e08201529392505050565b6000610100828403121561277b57600080fd5b60405160c081018181106001600160401b038211171561279d5761279d611aec565b60405282516127ab81611a5c565b815260208301516127bb81611fec565b60208201526127cd84604085016124f3565b60408201526127df84608085016124f3565b606082015260c08301516127f281611fec565b608082015260e0929092015160a083015250919050565b6000610200828403121561281c57600080fd5b612824611bb4565b61282d836126b5565b815261283b602084016126b5565b602082015261284c604084016122c9565b604082015261285d606084016122c9565b606082015261286f84608085016124f3565b60808201526128818460c085016124f3565b60a0820152610100612895858286016124f3565b60c08301526128a88561014086016124f3565b60e08301526128bb8561018086016124f3565b908201526128cd846101c085016124f3565b6101208201529392505050565b600060a082840312156128ec57600080fd5b6128f4611b2a565b82516128ff81612689565b8152602083015161290f81612689565b6020820152604083015161292281611fec565b60408201526060830151612935816122d9565b60608201526080830151612948816122d9565b60808201529392505050565b60006020828403121561296657600080fd5b6105e9826123fd565b60006020828403121561298157600080fd5b81516105e9816122f6565b805161ffff811681146122d457600080fd5b6000602082840312156129b057600080fd5b81516001600160401b03808211156129c757600080fd5b9083019061020082860312156129dc57600080fd5b6129e4611bd7565b6129ed836122c9565b81526129fb602084016122c9565b6020820152612a0c604084016123f2565b6040820152612a1d606084016123f2565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a4c60e08401612309565b60e08201526101008084015183811115612a6557600080fd5b612a7188828701612250565b8284015250506101208084015183811115612a8b57600080fd5b612a9788828701612250565b8284015250506101409150612aad82840161298c565b828201526101609150612ac182840161298c565b82820152610180915081830151828201526101a09150612ae2828401612309565b828201526101c09150612af6828401612309565b828201526101e091506125fb828401612309565b600060208284031215612b1c57600080fd5b81516001600160401b0380821115612b3357600080fd5b908301906101208286031215612b4857600080fd5b612b50611b6e565b825182811115612b5f57600080fd5b612b6b87828601612250565b825250602083015160208201526040830151604082015260608301516060820152612b98608084016122eb565b6080820152612ba960a084016122eb565b60a0820152612bba60c084016123fd565b60c0820152612bcb60e084016123fd565b60e08201526101008084015183811115612be457600080fd5b612bf088828701612250565b918301919091525095945050505050565b600060208284031215612c1357600080fd5b81516001600160401b0380821115612c2a57600080fd5b9083019060a08286031215612c3e57600080fd5b612c46611b2a565b825182811115612c5557600080fd5b612c6187828601612250565b8252506020830151612c7281611fec565b60208201526040830151612c8581611fec565b6040820152612c96606084016126b5565b6060820152608083015182811115612cad57600080fd5b612cb987828601612250565b6080830152509594505050505056fea2646970667358221220ca6acf7c295b0426ff26e975a00332adae831a95d09376a7c32b8e5365e1a21a64736f6c63430008140033",
1082
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611905565b61056a565b6040519081526020015b60405180910390f35b6101e76101e2366004611954565b6105f0565b6040516101cb91906119c1565b6101c1610202366004611a71565b610742565b61021a610215366004611a71565b6107e2565b6040516101cb9190611a8e565b6101c1610235366004611a71565b6108be565b61024d610248366004611c51565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611ce3565b610968565b61028c610287366004611a71565b6109a3565b6040516101cb9190611cfc565b6101c16102a7366004611a71565b610a49565b6101c16102ba366004611a71565b610a76565b6101c16102cd366004611a71565b610aa3565b6102e56102e0366004611954565b610ad0565b6040516101cb9190611db8565b610305610300366004611a71565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a71565b610c78565b6040516101cb9190611dee565b61034a610345366004611a71565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a71565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611ce3565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c366004611954565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a71565b6111ae565b6040516101cb9190611e9e565b6104bb6104b6366004612001565b6112cc565b005b6104d06104cb366004611954565b6113c8565b6040516101cb919061201e565b6001546001600160a01b03166103d9565b6101c16104fc366004611a71565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a71565b611568565b6040516101cb91906120ce565b61054a610545366004611a71565b611653565b6040516101cb9190612135565b6101c1610565366004611a71565b61179b565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612237565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb9190612237565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612295565b80519091501561073c57808060200190518101906105e99190612314565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612237565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612295565b80519091501561073c57808060200190518101906105e9919061240d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124b4565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124d6565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117c8565b6001546000906001600160a01b03166354f6127f6109c88561179b565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612295565b80519091501561073c57808060200190518101906105e99190612523565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b789190612237565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612295565b80519091501561073c57808060200190518101906105e9919061260a565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612698565b610c8061184d565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d009190810190612295565b80519091501561073c57808060200190518101906105e991906126c0565b610d266118bd565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da69190810190612295565b80519091501561073c57808060200190518101906105e99190612768565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e469190810190612295565b80519091501561073c57600081806020019051810190610e669190612809565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906128da565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612954565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110099190612237565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061296f565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190612237565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b9190612237565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae9190810190612295565b80519091501561073c57808060200190518101906105e9919061299e565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612237565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d9190810190612295565b80519091501561073c57808060200190518101906105e99190612b0a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6115b56040518060a001604052806060815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001606081525090565b6001546000906001600160a01b03166354f6127f6115d28561153b565b6040518263ffffffff1660e01b81526004016115f091815260200190565b600060405180830381865afa15801561160d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116359190810190612295565b80519091501561073c57808060200190518101906105e99190612c01565b6116fd604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61171a85610742565b6040518263ffffffff1660e01b815260040161173891815260200190565b600060405180830381865afa158015611755573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177d9190810190612295565b80519091501561073c57808060200190518101906105e99190612809565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611801604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b81526020016118a9604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611887604051806040016040528060008152602001600081525090565b6000806040838503121561191857600080fd5b8235915060208301358060000b811461193057600080fd5b809150509250929050565b6001600160c01b03198116811461195157600080fd5b50565b60006020828403121561196657600080fd5b81356105e98161193b565b60005b8381101561198c578181015183820152602001611974565b50506000910152565b600081518084526119ad816020860160208601611971565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119f1610100840182611995565b90506040840151606084015263ffffffff60608501511660808401526080840151611a2460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a538282611995565b95945050505050565b6001600160601b038116811461195157600080fd5b600060208284031215611a8357600080fd5b81356105e981611a5c565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611acc60c0840182611995565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b2457611b24611aec565b60405290565b60405160a081016001600160401b0381118282101715611b2457611b24611aec565b604080519081016001600160401b0381118282101715611b2457611b24611aec565b60405161012081016001600160401b0381118282101715611b2457611b24611aec565b60405161010081016001600160401b0381118282101715611b2457611b24611aec565b60405161014081016001600160401b0381118282101715611b2457611b24611aec565b60405161020081016001600160401b0381118282101715611b2457611b24611aec565b604051601f8201601f191681016001600160401b0381118282101715611c2257611c22611aec565b604052919050565b60006001600160401b03821115611c4357611c43611aec565b50601f01601f191660200190565b60008060408385031215611c6457600080fd5b8235611c6f81611a5c565b915060208301356001600160401b03811115611c8a57600080fd5b8301601f81018513611c9b57600080fd5b8035611cae611ca982611c2a565b611bfa565b818152866020838501011115611cc357600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611cf557600080fd5b5035919050565b60208152611d166020820183516001600160601b03169052565b60006020830151611d34604084018280518252602090810151910152565b506040830151610140806080850152611d51610160850183611995565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100611d8b8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de66060840182611995565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3d908401826001600160601b03169052565b506080830151611e5a608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb86020820183516001600160601b03169052565b60006020830151611ed460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f398185018364ffffffffff169052565b808501519150506102006101208181860152611f59610220860184611995565b9250808601519050610140601f198685030181870152611f798483611995565b935080870151915050610160611f948187018361ffff169052565b8601519050610180611fab8682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd28187018364ffffffffff169052565b86015190506101e0611da18682018364ffffffffff169052565b6001600160a01b038116811461195157600080fd5b60006020828403121561201357600080fd5b81356105e981611fec565b602081526000825161012080602085015261203d610140850183611995565b9150602085015160408501526040850151606085015260608501516080850152608085015161207460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120aa8187018315159052565b860151858403601f19018387015290506120c48382611995565b9695505050505050565b602081526000825160a060208401526120ea60c0840182611995565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a0850152611a538282611995565b81516001600160a01b031681526102008101602083015161216160208401826001600160a01b03169052565b50604083015161217c60408401826001600160601b03169052565b50606083015161219760608401826001600160601b03169052565b5060808301516121b4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006121ea8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e97565b60006020828403121561224957600080fd5b5051919050565b600082601f83011261226157600080fd5b815161226f611ca982611c2a565b81815284602083860101111561228457600080fd5b611de6826020830160208701611971565b6000602082840312156122a757600080fd5b81516001600160401b038111156122bd57600080fd5b611de684828501612250565b80516122d481611a5c565b919050565b63ffffffff8116811461195157600080fd5b80516122d4816122d9565b64ffffffffff8116811461195157600080fd5b80516122d4816122f6565b60006020828403121561232657600080fd5b81516001600160401b038082111561233d57600080fd5b9083019060e0828603121561235157600080fd5b612359611b02565b612362836122c9565b815260208301518281111561237657600080fd5b61238287828601612250565b6020830152506040830151604082015261239e606084016122eb565b60608201526123af608084016122eb565b60808201526123c060a08401612309565b60a082015260c0830151828111156123d757600080fd5b6123e387828601612250565b60c08301525095945050505050565b80516122d48161193b565b805180151581146122d457600080fd5b60006020828403121561241f57600080fd5b81516001600160401b038082111561243657600080fd5b9083019060a0828603121561244a57600080fd5b612452611b2a565b825161245d8161193b565b815261246b602084016123fd565b602082015260408301518281111561248257600080fd5b61248e87828601612250565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de66040830184611995565b6000602082840312156124e857600080fd5b81516105e98161193b565b60006040828403121561250557600080fd5b61250d611b4c565b9050815181526020820151602082015292915050565b60006020828403121561253557600080fd5b81516001600160401b038082111561254c57600080fd5b90830190610140828603121561256157600080fd5b612569611b6e565b612572836122c9565b815261258186602085016124f3565b602082015260608301518281111561259857600080fd5b6125a487828601612250565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526125d460e08401612309565b60c082015261010091506125e9828401612309565b60e08201526125fb6101208401612309565b91810191909152949350505050565b60006020828403121561261c57600080fd5b81516001600160401b038082111561263357600080fd5b908301906040828603121561264757600080fd5b61264f611b4c565b825161265a81611a5c565b815260208301518281111561266e57600080fd5b61267a87828601612250565b60208301525095945050505050565b60ff8116811461195157600080fd5b6000602082840312156126aa57600080fd5b81516105e981612689565b80516122d481611fec565b600061014082840312156126d357600080fd5b6126db611b91565b6126e4836126b5565b81526126f2602084016126b5565b6020820152612703604084016122c9565b6040820152612714606084016122c9565b606082015261272684608085016124f3565b60808201526127388460c085016124f3565b60a082015261274a61010084016123fd565b60c082015261275c61012084016126b5565b60e08201529392505050565b6000610100828403121561277b57600080fd5b60405160c081018181106001600160401b038211171561279d5761279d611aec565b60405282516127ab81611a5c565b815260208301516127bb81611fec565b60208201526127cd84604085016124f3565b60408201526127df84608085016124f3565b606082015260c08301516127f281611fec565b608082015260e0929092015160a083015250919050565b6000610200828403121561281c57600080fd5b612824611bb4565b61282d836126b5565b815261283b602084016126b5565b602082015261284c604084016122c9565b604082015261285d606084016122c9565b606082015261286f84608085016124f3565b60808201526128818460c085016124f3565b60a0820152610100612895858286016124f3565b60c08301526128a88561014086016124f3565b60e08301526128bb8561018086016124f3565b908201526128cd846101c085016124f3565b6101208201529392505050565b600060a082840312156128ec57600080fd5b6128f4611b2a565b82516128ff81612689565b8152602083015161290f81612689565b6020820152604083015161292281611fec565b60408201526060830151612935816122d9565b60608201526080830151612948816122d9565b60808201529392505050565b60006020828403121561296657600080fd5b6105e9826123fd565b60006020828403121561298157600080fd5b81516105e9816122f6565b805161ffff811681146122d457600080fd5b6000602082840312156129b057600080fd5b81516001600160401b03808211156129c757600080fd5b9083019061020082860312156129dc57600080fd5b6129e4611bd7565b6129ed836122c9565b81526129fb602084016122c9565b6020820152612a0c604084016123f2565b6040820152612a1d606084016123f2565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a4c60e08401612309565b60e08201526101008084015183811115612a6557600080fd5b612a7188828701612250565b8284015250506101208084015183811115612a8b57600080fd5b612a9788828701612250565b8284015250506101409150612aad82840161298c565b828201526101609150612ac182840161298c565b82820152610180915081830151828201526101a09150612ae2828401612309565b828201526101c09150612af6828401612309565b828201526101e091506125fb828401612309565b600060208284031215612b1c57600080fd5b81516001600160401b0380821115612b3357600080fd5b908301906101208286031215612b4857600080fd5b612b50611b6e565b825182811115612b5f57600080fd5b612b6b87828601612250565b825250602083015160208201526040830151604082015260608301516060820152612b98608084016122eb565b6080820152612ba960a084016122eb565b60a0820152612bba60c084016123fd565b60c0820152612bcb60e084016123fd565b60e08201526101008084015183811115612be457600080fd5b612bf088828701612250565b918301919091525095945050505050565b600060208284031215612c1357600080fd5b81516001600160401b0380821115612c2a57600080fd5b9083019060a08286031215612c3e57600080fd5b612c46611b2a565b825182811115612c5557600080fd5b612c6187828601612250565b8252506020830151612c7281611fec565b60208201526040830151612c8581611fec565b6040820152612c96606084016126b5565b6060820152608083015182811115612cad57600080fd5b612cb987828601612250565b6080830152509594505050505056fea2646970667358221220ca6acf7c295b0426ff26e975a00332adae831a95d09376a7c32b8e5365e1a21a64736f6c63430008140033",
1083
+ "linkReferences": {
1084
+ "contracts/types/DistributorType.sol": {
1085
+ "DistributorTypeLib": [
1086
+ {
1087
+ "length": 20,
1088
+ "start": 5244
1089
+ }
1090
+ ]
1091
+ },
1092
+ "contracts/types/NftId.sol": {
1093
+ "NftIdLib": [
1094
+ {
1095
+ "length": 20,
1096
+ "start": 1894
1097
+ },
1098
+ {
1099
+ "length": 20,
1100
+ "start": 2274
1101
+ },
1102
+ {
1103
+ "length": 20,
1104
+ "start": 2669
1105
+ },
1106
+ {
1107
+ "length": 20,
1108
+ "start": 2714
1109
+ },
1110
+ {
1111
+ "length": 20,
1112
+ "start": 2759
1113
+ },
1114
+ {
1115
+ "length": 20,
1116
+ "start": 5471
1117
+ },
1118
+ {
1119
+ "length": 20,
1120
+ "start": 6079
1121
+ }
1122
+ ]
1123
+ },
1124
+ "contracts/types/Referral.sol": {
1125
+ "ReferralLib": [
1126
+ {
1127
+ "length": 20,
1128
+ "start": 1661
1129
+ },
1130
+ {
1131
+ "length": 20,
1132
+ "start": 2333
1133
+ }
1134
+ ]
1135
+ },
1136
+ "contracts/types/RiskId.sol": {
1137
+ "RiskIdLib": [
1138
+ {
1139
+ "length": 20,
1140
+ "start": 2874
1141
+ }
1142
+ ]
1143
+ },
1144
+ "contracts/types/Timestamp.sol": {
1145
+ "TimestampLib": [
1146
+ {
1147
+ "length": 20,
1148
+ "start": 3929
1149
+ },
1150
+ {
1151
+ "length": 20,
1152
+ "start": 4160
1153
+ }
1154
+ ]
1155
+ },
1156
+ "contracts/types/UFixed.sol": {
1157
+ "UFixedLib": [
1158
+ {
1159
+ "length": 20,
1160
+ "start": 1451
1161
+ },
1162
+ {
1163
+ "length": 20,
1164
+ "start": 2465
1165
+ },
1166
+ {
1167
+ "length": 20,
1168
+ "start": 4030
1169
+ },
1170
+ {
1171
+ "length": 20,
1172
+ "start": 4289
1173
+ },
1174
+ {
1175
+ "length": 20,
1176
+ "start": 4432
1177
+ }
1178
+ ]
1179
+ }
1180
+ },
1181
+ "deployedLinkReferences": {
1182
+ "contracts/types/DistributorType.sol": {
1183
+ "DistributorTypeLib": [
1184
+ {
1185
+ "length": 20,
1186
+ "start": 5212
1187
+ }
1188
+ ]
1189
+ },
1190
+ "contracts/types/NftId.sol": {
1191
+ "NftIdLib": [
1192
+ {
1193
+ "length": 20,
1194
+ "start": 1862
1195
+ },
1196
+ {
1197
+ "length": 20,
1198
+ "start": 2242
1199
+ },
1200
+ {
1201
+ "length": 20,
1202
+ "start": 2637
1203
+ },
1204
+ {
1205
+ "length": 20,
1206
+ "start": 2682
1207
+ },
1208
+ {
1209
+ "length": 20,
1210
+ "start": 2727
1211
+ },
1212
+ {
1213
+ "length": 20,
1214
+ "start": 5439
1215
+ },
1216
+ {
1217
+ "length": 20,
1218
+ "start": 6047
1219
+ }
1220
+ ]
1221
+ },
1222
+ "contracts/types/Referral.sol": {
1223
+ "ReferralLib": [
1224
+ {
1225
+ "length": 20,
1226
+ "start": 1629
1227
+ },
1228
+ {
1229
+ "length": 20,
1230
+ "start": 2301
1231
+ }
1232
+ ]
1233
+ },
1234
+ "contracts/types/RiskId.sol": {
1235
+ "RiskIdLib": [
1236
+ {
1237
+ "length": 20,
1238
+ "start": 2842
1239
+ }
1240
+ ]
1241
+ },
1242
+ "contracts/types/Timestamp.sol": {
1243
+ "TimestampLib": [
1244
+ {
1245
+ "length": 20,
1246
+ "start": 3897
1247
+ },
1248
+ {
1249
+ "length": 20,
1250
+ "start": 4128
1251
+ }
1252
+ ]
1253
+ },
1254
+ "contracts/types/UFixed.sol": {
1255
+ "UFixedLib": [
1256
+ {
1257
+ "length": 20,
1258
+ "start": 1419
1259
+ },
1260
+ {
1261
+ "length": 20,
1262
+ "start": 2433
1263
+ },
1264
+ {
1265
+ "length": 20,
1266
+ "start": 3998
1267
+ },
1268
+ {
1269
+ "length": 20,
1270
+ "start": 4257
1271
+ },
1272
+ {
1273
+ "length": 20,
1274
+ "start": 4400
1275
+ }
1276
+ ]
1277
+ }
1278
+ }
1279
+ }