@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-faaba97-954

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