@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e964d24-516

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. package/README.md +6 -83
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +129 -14
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +203 -14
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +110 -283
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  15. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  16. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +309 -2078
  18. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  19. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +183 -76
  20. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  21. package/artifacts/contracts/instance/Instance.sol/Instance.json +434 -2823
  22. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  23. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +493 -129
  24. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  26. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +406 -192
  28. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +224 -291
  30. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +45 -82
  32. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  34. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  36. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  39. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +44 -14
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  42. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +56 -73
  44. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  47. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  52. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  54. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  56. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  57. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -189
  58. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  59. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +231 -165
  60. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  62. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  63. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +160 -204
  64. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  66. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  68. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  70. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  72. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1376 -0
  74. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  76. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +184 -100
  78. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +743 -0
  80. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +211 -100
  82. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  83. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +120 -166
  84. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  85. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +210 -21
  86. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +86 -28
  88. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  90. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  92. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  94. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  96. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  97. package/artifacts/contracts/{components → product}/Product.sol/Product.json +121 -22
  98. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  100. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +5 -37
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  110. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.json +35 -16
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +4 -4
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +26 -53
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +27 -40
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +30 -18
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -27
  122. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  124. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  125. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +106 -7
  126. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  127. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +114 -35
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  130. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +196 -7
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +0 -13
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
  137. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  139. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IService.sol/IService.json +85 -27
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +8 -21
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -26
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +20 -33
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -21
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Service.sol/Service.json +91 -28
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  159. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  160. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  161. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +628 -0
  163. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  164. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  165. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  166. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  167. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  168. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  169. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  170. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  171. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  173. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  174. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  175. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  176. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  177. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  179. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  181. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  183. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  185. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  187. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/Referral.sol/ReferralLib.json +5 -5
  189. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  191. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  193. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/Seconds.sol/SecondsLib.json +3 -3
  195. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  197. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  198. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +20 -7
  199. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  201. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  203. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  205. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  207. package/contracts/{components → distribution}/Distribution.sol +21 -16
  208. package/contracts/distribution/DistributionService.sol +348 -0
  209. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +5 -5
  210. package/contracts/{components → distribution}/IDistributionComponent.sol +7 -7
  211. package/contracts/{instance/service → distribution}/IDistributionService.sol +19 -30
  212. package/contracts/instance/BundleManager.sol +13 -12
  213. package/contracts/instance/Cloneable.sol +7 -2
  214. package/contracts/instance/IInstance.sol +48 -63
  215. package/contracts/instance/IInstanceService.sol +31 -17
  216. package/contracts/instance/Instance.sol +131 -193
  217. package/contracts/instance/InstanceAccessManager.sol +405 -161
  218. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  219. package/contracts/instance/InstanceReader.sol +101 -26
  220. package/contracts/instance/InstanceService.sol +173 -354
  221. package/contracts/instance/InstanceServiceManager.sol +1 -1
  222. package/contracts/instance/InstanceStore.sol +211 -0
  223. package/contracts/instance/ObjectManager.sol +9 -11
  224. package/contracts/instance/base/IKeyValueStore.sol +5 -5
  225. package/contracts/instance/base/ILifecycle.sol +3 -3
  226. package/contracts/instance/base/KeyValueStore.sol +18 -41
  227. package/contracts/instance/base/Lifecycle.sol +27 -7
  228. package/contracts/instance/module/IAccess.sol +23 -16
  229. package/contracts/instance/module/IBundle.sol +10 -8
  230. package/contracts/instance/module/IComponents.sol +41 -0
  231. package/contracts/instance/module/IDistribution.sol +7 -6
  232. package/contracts/instance/module/IPolicy.sol +19 -14
  233. package/contracts/instance/module/IRisk.sol +1 -1
  234. package/contracts/instance/module/ISetup.sol +5 -18
  235. package/contracts/instance/module/ITreasury.sol +2 -2
  236. package/contracts/pool/BundleService.sol +382 -0
  237. package/contracts/{instance/service → pool}/BundleServiceManager.sol +5 -5
  238. package/contracts/pool/IBundleService.sol +118 -0
  239. package/contracts/{components → pool}/IPoolComponent.sol +19 -56
  240. package/contracts/pool/IPoolService.sol +114 -0
  241. package/contracts/{components → pool}/Pool.sol +62 -138
  242. package/contracts/pool/PoolService.sol +403 -0
  243. package/contracts/{instance/service → pool}/PoolServiceManager.sol +5 -5
  244. package/contracts/product/ApplicationService.sol +186 -0
  245. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +2 -2
  246. package/contracts/product/ClaimService.sol +437 -0
  247. package/contracts/{instance/service → product}/ClaimServiceManager.sol +2 -2
  248. package/contracts/{instance/service → product}/IApplicationService.sol +14 -34
  249. package/contracts/product/IClaimService.sol +90 -0
  250. package/contracts/{instance/service → product}/IPolicyService.sol +34 -26
  251. package/contracts/product/IPricingService.sol +37 -0
  252. package/contracts/{components → product}/IProductComponent.sol +11 -10
  253. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  254. package/contracts/product/PolicyService.sol +376 -0
  255. package/contracts/{instance/service → product}/PolicyServiceManager.sol +5 -5
  256. package/contracts/product/PricingService.sol +275 -0
  257. package/contracts/product/PricingServiceManager.sol +51 -0
  258. package/contracts/{components → product}/Product.sol +160 -74
  259. package/contracts/product/ProductService.sol +210 -0
  260. package/contracts/{instance/service → product}/ProductServiceManager.sol +5 -5
  261. package/contracts/registry/ChainNft.sol +8 -0
  262. package/contracts/registry/IRegistry.sol +6 -4
  263. package/contracts/registry/IRegistryService.sol +6 -7
  264. package/contracts/registry/ITransferInterceptor.sol +1 -0
  265. package/contracts/registry/Registry.sol +26 -23
  266. package/contracts/registry/RegistryAccessManager.sol +1 -1
  267. package/contracts/registry/RegistryService.sol +33 -31
  268. package/contracts/registry/RegistryServiceManager.sol +0 -2
  269. package/contracts/registry/ReleaseManager.sol +24 -22
  270. package/contracts/registry/TokenRegistry.sol +2 -2
  271. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  272. package/contracts/{components → shared}/Component.sol +68 -18
  273. package/contracts/shared/ComponentService.sol +150 -0
  274. package/contracts/{components → shared}/IComponent.sol +28 -6
  275. package/contracts/shared/INftOwnable.sol +1 -1
  276. package/contracts/shared/IPolicyHolder.sol +24 -10
  277. package/contracts/shared/IRegistryLinked.sol +0 -1
  278. package/contracts/shared/IService.sol +6 -6
  279. package/contracts/shared/IVersionable.sol +1 -1
  280. package/contracts/shared/NftOwnable.sol +1 -3
  281. package/contracts/shared/PolicyHolder.sol +31 -18
  282. package/contracts/shared/ProxyManager.sol +3 -3
  283. package/contracts/shared/Registerable.sol +12 -11
  284. package/contracts/shared/RegistryLinked.sol +0 -5
  285. package/contracts/shared/Service.sol +23 -9
  286. package/contracts/shared/TokenHandler.sol +14 -6
  287. package/contracts/shared/Versionable.sol +1 -1
  288. package/contracts/staking/IStakingService.sol +102 -0
  289. package/contracts/staking/StakeingServiceManager.sol +37 -0
  290. package/contracts/staking/StakingService.sol +166 -0
  291. package/contracts/type/Amount.sol +109 -0
  292. package/contracts/{types → type}/Blocknumber.sol +1 -0
  293. package/contracts/{types → type}/ClaimId.sol +25 -2
  294. package/contracts/{types → type}/Fee.sol +17 -8
  295. package/contracts/{types → type}/NftId.sol +8 -0
  296. package/contracts/{types → type}/NftIdSet.sol +1 -1
  297. package/contracts/{types → type}/ObjectType.sol +10 -5
  298. package/contracts/{types → type}/PayoutId.sol +33 -5
  299. package/contracts/{types → type}/RoleId.sol +6 -4
  300. package/contracts/{types → type}/StateId.sol +7 -2
  301. package/contracts/{types → type}/Timestamp.sol +6 -0
  302. package/contracts/{types → type}/UFixed.sol +1 -0
  303. package/contracts/{types → type}/Version.sol +1 -0
  304. package/package.json +1 -1
  305. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  306. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  307. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  308. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  309. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  310. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  311. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  312. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  313. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  314. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  315. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
  316. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  317. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  318. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  319. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
  320. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  321. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  322. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  323. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  324. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  325. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  326. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  327. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1724
  328. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  329. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -801
  330. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  331. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  332. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  333. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  334. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  335. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  336. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
  337. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  338. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  339. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  340. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  341. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  342. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  343. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  344. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  345. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  346. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  347. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  348. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  349. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  350. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  351. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  352. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  353. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  354. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  355. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  356. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  357. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  358. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  359. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  360. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  361. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  362. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  363. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  364. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  365. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  366. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  367. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  368. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  369. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  370. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  371. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  372. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  373. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  374. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  375. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  376. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  377. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  378. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  379. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  380. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  381. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  382. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  383. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  384. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  385. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  386. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  387. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  388. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  389. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  390. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  391. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  392. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  393. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  394. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  395. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  396. package/contracts/instance/base/ComponentService.sol +0 -134
  397. package/contracts/instance/service/ApplicationService.sol +0 -349
  398. package/contracts/instance/service/BundleService.sol +0 -299
  399. package/contracts/instance/service/ClaimService.sol +0 -151
  400. package/contracts/instance/service/DistributionService.sol +0 -450
  401. package/contracts/instance/service/IBundleService.sol +0 -55
  402. package/contracts/instance/service/IClaimService.sol +0 -61
  403. package/contracts/instance/service/IPoolService.sol +0 -20
  404. package/contracts/instance/service/PolicyService.sol +0 -394
  405. package/contracts/instance/service/PoolService.sol +0 -109
  406. package/contracts/instance/service/ProductService.sol +0 -233
  407. package/contracts/shared/ContractDeployerLib.sol +0 -72
  408. package/contracts/test/TestFee.sol +0 -25
  409. package/contracts/test/TestRegisterable.sol +0 -18
  410. package/contracts/test/TestRoleId.sol +0 -14
  411. package/contracts/test/TestService.sol +0 -25
  412. package/contracts/test/TestToken.sol +0 -26
  413. package/contracts/test/TestVersion.sol +0 -44
  414. package/contracts/test/TestVersionable.sol +0 -17
  415. package/contracts/test/Usdc.sol +0 -26
  416. package/contracts/types/ChainId.sol +0 -38
  417. package/contracts/types/NumberId.sol +0 -52
  418. /package/contracts/{types → type}/AddressSet.sol +0 -0
  419. /package/contracts/{types → type}/DistributorType.sol +0 -0
  420. /package/contracts/{types → type}/Key32.sol +0 -0
  421. /package/contracts/{types → type}/Referral.sol +0 -0
  422. /package/contracts/{types → type}/RiskId.sol +0 -0
  423. /package/contracts/{types → type}/Seconds.sol +0 -0
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/903346aa8f67d38a101e2ee9c594c3f8.json"
4
+ }
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "LibAddressSet",
4
- "sourceName": "contracts/types/AddressSet.sol",
4
+ "sourceName": "contracts/type/AddressSet.sol",
5
5
  "abi": [],
6
- "bytecode": "0x61042c61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806360a174941461007157806361f54352146100a65780638f78eb28146100d55780639fc5d958146100f5578063b06b9b8c14610115578063c01a867914610128575b600080fd5b81801561007d57600080fd5b5061009161008c366004610332565b610153565b60405190151581526020015b60405180910390f35b6100916100b4366004610332565b6001600160a01b031660009081526001919091016020526040902054151590565b6100e76100e336600461036e565b5490565b60405190815260200161009d565b81801561010157600080fd5b50610091610110366004610332565b61028b565b61009161012336600461036e565b541590565b61013b610136366004610387565b6102ff565b6040516001600160a01b03909116815260200161009d565b6001600160a01b0381166000908152600183016020526040812054801561027f5760006101816001836103a9565b8554909150600090610195906001906103a9565b90508181146102215760008660000182815481106101b5576101b56103ca565b60009182526020909120015487546001600160a01b03909116915081908890859081106101e4576101e46103ca565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018801909152604090208390555b8554869080610232576102326103e0565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b038716825260018881019091526040822091909155935061028592505050565b60009150505b92915050565b6001600160a01b038116600090815260018301602052604081205481036102f757508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03861690811790915585549082528286019093526040902091909155610285565b506000610285565b6000826000018281548110610316576103166103ca565b6000918252602090912001546001600160a01b03169392505050565b6000806040838503121561034557600080fd5b8235915060208301356001600160a01b038116811461036357600080fd5b809150509250929050565b60006020828403121561038057600080fd5b5035919050565b6000806040838503121561039a57600080fd5b50508035926020909101359150565b8181038181111561028557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e6207e321195629e48010dbefe5a55a6de00c5f58b0ae94e843ee75fdc64361f64736f6c63430008140033",
7
- "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806360a174941461007157806361f54352146100a65780638f78eb28146100d55780639fc5d958146100f5578063b06b9b8c14610115578063c01a867914610128575b600080fd5b81801561007d57600080fd5b5061009161008c366004610332565b610153565b60405190151581526020015b60405180910390f35b6100916100b4366004610332565b6001600160a01b031660009081526001919091016020526040902054151590565b6100e76100e336600461036e565b5490565b60405190815260200161009d565b81801561010157600080fd5b50610091610110366004610332565b61028b565b61009161012336600461036e565b541590565b61013b610136366004610387565b6102ff565b6040516001600160a01b03909116815260200161009d565b6001600160a01b0381166000908152600183016020526040812054801561027f5760006101816001836103a9565b8554909150600090610195906001906103a9565b90508181146102215760008660000182815481106101b5576101b56103ca565b60009182526020909120015487546001600160a01b03909116915081908890859081106101e4576101e46103ca565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018801909152604090208390555b8554869080610232576102326103e0565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b038716825260018881019091526040822091909155935061028592505050565b60009150505b92915050565b6001600160a01b038116600090815260018301602052604081205481036102f757508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03861690811790915585549082528286019093526040902091909155610285565b506000610285565b6000826000018281548110610316576103166103ca565b6000918252602090912001546001600160a01b03169392505050565b6000806040838503121561034557600080fd5b8235915060208301356001600160a01b038116811461036357600080fd5b809150509250929050565b60006020828403121561038057600080fd5b5035919050565b6000806040838503121561039a57600080fd5b50508035926020909101359150565b8181038181111561028557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e6207e321195629e48010dbefe5a55a6de00c5f58b0ae94e843ee75fdc64361f64736f6c63430008140033",
6
+ "bytecode": "0x61042c61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806360a174941461007157806361f54352146100a65780638f78eb28146100d55780639fc5d958146100f5578063b06b9b8c14610115578063c01a867914610128575b600080fd5b81801561007d57600080fd5b5061009161008c366004610332565b610153565b60405190151581526020015b60405180910390f35b6100916100b4366004610332565b6001600160a01b031660009081526001919091016020526040902054151590565b6100e76100e336600461036e565b5490565b60405190815260200161009d565b81801561010157600080fd5b50610091610110366004610332565b61028b565b61009161012336600461036e565b541590565b61013b610136366004610387565b6102ff565b6040516001600160a01b03909116815260200161009d565b6001600160a01b0381166000908152600183016020526040812054801561027f5760006101816001836103a9565b8554909150600090610195906001906103a9565b90508181146102215760008660000182815481106101b5576101b56103ca565b60009182526020909120015487546001600160a01b03909116915081908890859081106101e4576101e46103ca565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018801909152604090208390555b8554869080610232576102326103e0565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b038716825260018881019091526040822091909155935061028592505050565b60009150505b92915050565b6001600160a01b038116600090815260018301602052604081205481036102f757508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03861690811790915585549082528286019093526040902091909155610285565b506000610285565b6000826000018281548110610316576103166103ca565b6000918252602090912001546001600160a01b03169392505050565b6000806040838503121561034557600080fd5b8235915060208301356001600160a01b038116811461036357600080fd5b809150509250929050565b60006020828403121561038057600080fd5b5035919050565b6000806040838503121561039a57600080fd5b50508035926020909101359150565b8181038181111561028557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea26469706673582212203bc8da38d0d370b4b340f201ae7d654fecc8ae75a4001a87929542d68f8039cf64736f6c63430008140033",
7
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806360a174941461007157806361f54352146100a65780638f78eb28146100d55780639fc5d958146100f5578063b06b9b8c14610115578063c01a867914610128575b600080fd5b81801561007d57600080fd5b5061009161008c366004610332565b610153565b60405190151581526020015b60405180910390f35b6100916100b4366004610332565b6001600160a01b031660009081526001919091016020526040902054151590565b6100e76100e336600461036e565b5490565b60405190815260200161009d565b81801561010157600080fd5b50610091610110366004610332565b61028b565b61009161012336600461036e565b541590565b61013b610136366004610387565b6102ff565b6040516001600160a01b03909116815260200161009d565b6001600160a01b0381166000908152600183016020526040812054801561027f5760006101816001836103a9565b8554909150600090610195906001906103a9565b90508181146102215760008660000182815481106101b5576101b56103ca565b60009182526020909120015487546001600160a01b03909116915081908890859081106101e4576101e46103ca565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905592909116815260018801909152604090208390555b8554869080610232576102326103e0565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b038716825260018881019091526040822091909155935061028592505050565b60009150505b92915050565b6001600160a01b038116600090815260018301602052604081205481036102f757508154600180820184556000848152602080822090930180546001600160a01b0319166001600160a01b03861690811790915585549082528286019093526040902091909155610285565b506000610285565b6000826000018281548110610316576103166103ca565b6000918252602090912001546001600160a01b03169392505050565b6000806040838503121561034557600080fd5b8235915060208301356001600160a01b038116811461036357600080fd5b809150509250929050565b60006020828403121561038057600080fd5b5035919050565b6000806040838503121561039a57600080fd5b50508035926020909101359150565b8181038181111561028557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea26469706673582212203bc8da38d0d370b4b340f201ae7d654fecc8ae75a4001a87929542d68f8039cf64736f6c63430008140033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/903346aa8f67d38a101e2ee9c594c3f8.json"
4
+ }
@@ -0,0 +1,281 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AmountLib",
4
+ "sourceName": "contracts/type/Amount.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "amount",
11
+ "type": "uint256"
12
+ }
13
+ ],
14
+ "name": "ErrorAmountLibValueTooBig",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "Amount",
21
+ "name": "a1",
22
+ "type": "uint96"
23
+ },
24
+ {
25
+ "internalType": "Amount",
26
+ "name": "a2",
27
+ "type": "uint96"
28
+ }
29
+ ],
30
+ "name": "add",
31
+ "outputs": [
32
+ {
33
+ "internalType": "Amount",
34
+ "name": "",
35
+ "type": "uint96"
36
+ }
37
+ ],
38
+ "stateMutability": "pure",
39
+ "type": "function"
40
+ },
41
+ {
42
+ "inputs": [
43
+ {
44
+ "internalType": "Amount",
45
+ "name": "amount1",
46
+ "type": "uint96"
47
+ },
48
+ {
49
+ "internalType": "Amount",
50
+ "name": "amount2",
51
+ "type": "uint96"
52
+ }
53
+ ],
54
+ "name": "eq",
55
+ "outputs": [
56
+ {
57
+ "internalType": "bool",
58
+ "name": "",
59
+ "type": "bool"
60
+ }
61
+ ],
62
+ "stateMutability": "pure",
63
+ "type": "function"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "Amount",
69
+ "name": "amount",
70
+ "type": "uint96"
71
+ }
72
+ ],
73
+ "name": "eqz",
74
+ "outputs": [
75
+ {
76
+ "internalType": "bool",
77
+ "name": "",
78
+ "type": "bool"
79
+ }
80
+ ],
81
+ "stateMutability": "pure",
82
+ "type": "function"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "Amount",
88
+ "name": "a1",
89
+ "type": "uint96"
90
+ },
91
+ {
92
+ "internalType": "Amount",
93
+ "name": "a2",
94
+ "type": "uint96"
95
+ }
96
+ ],
97
+ "name": "gt",
98
+ "outputs": [
99
+ {
100
+ "internalType": "bool",
101
+ "name": "",
102
+ "type": "bool"
103
+ }
104
+ ],
105
+ "stateMutability": "pure",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "Amount",
112
+ "name": "amount",
113
+ "type": "uint96"
114
+ }
115
+ ],
116
+ "name": "gtz",
117
+ "outputs": [
118
+ {
119
+ "internalType": "bool",
120
+ "name": "",
121
+ "type": "bool"
122
+ }
123
+ ],
124
+ "stateMutability": "pure",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "Amount",
131
+ "name": "a1",
132
+ "type": "uint96"
133
+ },
134
+ {
135
+ "internalType": "Amount",
136
+ "name": "a2",
137
+ "type": "uint96"
138
+ }
139
+ ],
140
+ "name": "lt",
141
+ "outputs": [
142
+ {
143
+ "internalType": "bool",
144
+ "name": "",
145
+ "type": "bool"
146
+ }
147
+ ],
148
+ "stateMutability": "pure",
149
+ "type": "function"
150
+ },
151
+ {
152
+ "inputs": [],
153
+ "name": "max",
154
+ "outputs": [
155
+ {
156
+ "internalType": "Amount",
157
+ "name": "",
158
+ "type": "uint96"
159
+ }
160
+ ],
161
+ "stateMutability": "pure",
162
+ "type": "function"
163
+ },
164
+ {
165
+ "inputs": [
166
+ {
167
+ "internalType": "Amount",
168
+ "name": "a1",
169
+ "type": "uint96"
170
+ },
171
+ {
172
+ "internalType": "Amount",
173
+ "name": "a2",
174
+ "type": "uint96"
175
+ }
176
+ ],
177
+ "name": "sub",
178
+ "outputs": [
179
+ {
180
+ "internalType": "Amount",
181
+ "name": "",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "stateMutability": "pure",
186
+ "type": "function"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "amount",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "name": "toAmount",
197
+ "outputs": [
198
+ {
199
+ "internalType": "Amount",
200
+ "name": "",
201
+ "type": "uint96"
202
+ }
203
+ ],
204
+ "stateMutability": "pure",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [
209
+ {
210
+ "internalType": "Amount",
211
+ "name": "amount",
212
+ "type": "uint96"
213
+ }
214
+ ],
215
+ "name": "toInt",
216
+ "outputs": [
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "stateMutability": "pure",
224
+ "type": "function"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "Amount",
230
+ "name": "amount",
231
+ "type": "uint96"
232
+ }
233
+ ],
234
+ "name": "toUFixed",
235
+ "outputs": [
236
+ {
237
+ "internalType": "UFixed",
238
+ "name": "",
239
+ "type": "uint256"
240
+ }
241
+ ],
242
+ "stateMutability": "pure",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "inputs": [],
247
+ "name": "zero",
248
+ "outputs": [
249
+ {
250
+ "internalType": "Amount",
251
+ "name": "",
252
+ "type": "uint96"
253
+ }
254
+ ],
255
+ "stateMutability": "pure",
256
+ "type": "function"
257
+ }
258
+ ],
259
+ "bytecode": "0x61041461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100be5760003560e01c806355205f0f1161007b57806355205f0f146101945780636ac5db19146101a757806398058c4c146101b4578063bc1b392d146101d3578063c4cade9d146101da578063c79eaa22146101f957600080fd5b806308dc895e146100c357806309a81d62146100f0578063274acb351461011f57806330b8415f1461014a5780634c41dd961461016657806352694ee814610179575b600080fd5b6100dd6100d1366004610301565b6001600160601b031690565b6040519081526020015b60405180910390f35b61010f6100fe36600461031c565b6001600160601b0390811691161090565b60405190151581526020016100e7565b61013261012d36600461031c565b61020c565b6040516001600160601b0390911681526020016100e7565b61010f610158366004610301565b6001600160601b0316151590565b61013261017436600461034f565b61021f565b61010f610187366004610301565b6001600160601b03161590565b6100dd6101a2366004610301565b610254565b6001600160601b03610132565b61010f6101c236600461031c565b6001600160601b0390811691161190565b6000610132565b61010f6101e836600461031c565b6001600160601b0390811691161490565b61013261020736600461031c565b6102d9565b6000610218828461037e565b9392505050565b60006001600160601b0382111561025057604051635a1bd76760e01b81526004810183905260240160405180910390fd5b5090565b6040516322f5db0f60e11b81526001600160601b038216600482015260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90602401602060405180830381865af41580156102af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d391906103a5565b92915050565b600061021882846103be565b80356001600160601b03811681146102fc57600080fd5b919050565b60006020828403121561031357600080fd5b610218826102e5565b6000806040838503121561032f57600080fd5b610338836102e5565b9150610346602084016102e5565b90509250929050565b60006020828403121561036157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6001600160601b0381811683821601908082111561039e5761039e610368565b5092915050565b6000602082840312156103b757600080fd5b5051919050565b6001600160601b0382811682821603908082111561039e5761039e61036856fea2646970667358221220db924a2b0939ec3c57f3417afc461f648fc0c756af70f112d7510be9c280e00664736f6c63430008140033",
260
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100be5760003560e01c806355205f0f1161007b57806355205f0f146101945780636ac5db19146101a757806398058c4c146101b4578063bc1b392d146101d3578063c4cade9d146101da578063c79eaa22146101f957600080fd5b806308dc895e146100c357806309a81d62146100f0578063274acb351461011f57806330b8415f1461014a5780634c41dd961461016657806352694ee814610179575b600080fd5b6100dd6100d1366004610301565b6001600160601b031690565b6040519081526020015b60405180910390f35b61010f6100fe36600461031c565b6001600160601b0390811691161090565b60405190151581526020016100e7565b61013261012d36600461031c565b61020c565b6040516001600160601b0390911681526020016100e7565b61010f610158366004610301565b6001600160601b0316151590565b61013261017436600461034f565b61021f565b61010f610187366004610301565b6001600160601b03161590565b6100dd6101a2366004610301565b610254565b6001600160601b03610132565b61010f6101c236600461031c565b6001600160601b0390811691161190565b6000610132565b61010f6101e836600461031c565b6001600160601b0390811691161490565b61013261020736600461031c565b6102d9565b6000610218828461037e565b9392505050565b60006001600160601b0382111561025057604051635a1bd76760e01b81526004810183905260240160405180910390fd5b5090565b6040516322f5db0f60e11b81526001600160601b038216600482015260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90602401602060405180830381865af41580156102af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d391906103a5565b92915050565b600061021882846103be565b80356001600160601b03811681146102fc57600080fd5b919050565b60006020828403121561031357600080fd5b610218826102e5565b6000806040838503121561032f57600080fd5b610338836102e5565b9150610346602084016102e5565b90509250929050565b60006020828403121561036157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6001600160601b0381811683821601908082111561039e5761039e610368565b5092915050565b6000602082840312156103b757600080fd5b5051919050565b6001600160601b0382811682821603908082111561039e5761039e61036856fea2646970667358221220db924a2b0939ec3c57f3417afc461f648fc0c756af70f112d7510be9c280e00664736f6c63430008140033",
261
+ "linkReferences": {
262
+ "contracts/type/UFixed.sol": {
263
+ "UFixedLib": [
264
+ {
265
+ "length": 20,
266
+ "start": 687
267
+ }
268
+ ]
269
+ }
270
+ },
271
+ "deployedLinkReferences": {
272
+ "contracts/type/UFixed.sol": {
273
+ "UFixedLib": [
274
+ {
275
+ "length": 20,
276
+ "start": 629
277
+ }
278
+ ]
279
+ }
280
+ }
281
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/903346aa8f67d38a101e2ee9c594c3f8.json"
4
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "BlocknumberLib",
4
- "sourceName": "contracts/types/Blocknumber.sol",
4
+ "sourceName": "contracts/type/Blocknumber.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
@@ -167,8 +167,8 @@
167
167
  "type": "function"
168
168
  }
169
169
  ],
170
- "bytecode": "0x61024d61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db59146100da5780636effeac4146100ed5780637b4f5d3b14610112578063946428041461012557600080fd5b8063012340281461008c578063559cbd25146100b457806356b0a7d4146100c7575b600080fd5b61009f61009a3660046101c9565b610138565b60405190151581526020015b60405180910390f35b61009f6100c23660046101c9565b61014f565b61009f6100d53660046101c9565b610162565b61009f6100e83660046101c9565b610175565b6101046100fb3660046101fc565b63ffffffff1690565b6040519081526020016100ab565b61009f6101203660046101c9565b610188565b61009f6101333660046101c9565b61019c565b600063ffffffff80831690841610155b9392505050565b600063ffffffff80841690831614610148565b600063ffffffff80831690841611610148565b600063ffffffff80831690841610610148565b600063ffffffff8084169083161415610148565b600063ffffffff8083169084161115610148565b803563ffffffff811681146101c457600080fd5b919050565b600080604083850312156101dc57600080fd5b6101e5836101b0565b91506101f3602084016101b0565b90509250929050565b60006020828403121561020e57600080fd5b610148826101b056fea26469706673582212209c3b15caeec0e7d5334a5985f9d00378c7d311267beffff2b7358b7f5af08c7764736f6c63430008140033",
171
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db59146100da5780636effeac4146100ed5780637b4f5d3b14610112578063946428041461012557600080fd5b8063012340281461008c578063559cbd25146100b457806356b0a7d4146100c7575b600080fd5b61009f61009a3660046101c9565b610138565b60405190151581526020015b60405180910390f35b61009f6100c23660046101c9565b61014f565b61009f6100d53660046101c9565b610162565b61009f6100e83660046101c9565b610175565b6101046100fb3660046101fc565b63ffffffff1690565b6040519081526020016100ab565b61009f6101203660046101c9565b610188565b61009f6101333660046101c9565b61019c565b600063ffffffff80831690841610155b9392505050565b600063ffffffff80841690831614610148565b600063ffffffff80831690841611610148565b600063ffffffff80831690841610610148565b600063ffffffff8084169083161415610148565b600063ffffffff8083169084161115610148565b803563ffffffff811681146101c457600080fd5b919050565b600080604083850312156101dc57600080fd5b6101e5836101b0565b91506101f3602084016101b0565b90509250929050565b60006020828403121561020e57600080fd5b610148826101b056fea26469706673582212209c3b15caeec0e7d5334a5985f9d00378c7d311267beffff2b7358b7f5af08c7764736f6c63430008140033",
170
+ "bytecode": "0x61024d61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db59146100da5780636effeac4146100ed5780637b4f5d3b14610112578063946428041461012557600080fd5b8063012340281461008c578063559cbd25146100b457806356b0a7d4146100c7575b600080fd5b61009f61009a3660046101c9565b610138565b60405190151581526020015b60405180910390f35b61009f6100c23660046101c9565b61014f565b61009f6100d53660046101c9565b610162565b61009f6100e83660046101c9565b610175565b6101046100fb3660046101fc565b63ffffffff1690565b6040519081526020016100ab565b61009f6101203660046101c9565b610188565b61009f6101333660046101c9565b61019c565b600063ffffffff80831690841610155b9392505050565b600063ffffffff80841690831614610148565b600063ffffffff80831690841611610148565b600063ffffffff80831690841610610148565b600063ffffffff8084169083161415610148565b600063ffffffff8083169084161115610148565b803563ffffffff811681146101c457600080fd5b919050565b600080604083850312156101dc57600080fd5b6101e5836101b0565b91506101f3602084016101b0565b90509250929050565b60006020828403121561020e57600080fd5b610148826101b056fea2646970667358221220686effff04cdef2268ee41b58b083b65e299b6ad6c90c96a03e6987c38fa355264736f6c63430008140033",
171
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db59146100da5780636effeac4146100ed5780637b4f5d3b14610112578063946428041461012557600080fd5b8063012340281461008c578063559cbd25146100b457806356b0a7d4146100c7575b600080fd5b61009f61009a3660046101c9565b610138565b60405190151581526020015b60405180910390f35b61009f6100c23660046101c9565b61014f565b61009f6100d53660046101c9565b610162565b61009f6100e83660046101c9565b610175565b6101046100fb3660046101fc565b63ffffffff1690565b6040519081526020016100ab565b61009f6101203660046101c9565b610188565b61009f6101333660046101c9565b61019c565b600063ffffffff80831690841610155b9392505050565b600063ffffffff80841690831614610148565b600063ffffffff80831690841611610148565b600063ffffffff80831690841610610148565b600063ffffffff8084169083161415610148565b600063ffffffff8083169084161115610148565b803563ffffffff811681146101c457600080fd5b919050565b600080604083850312156101dc57600080fd5b6101e5836101b0565b91506101f3602084016101b0565b90509250929050565b60006020828403121561020e57600080fd5b610148826101b056fea2646970667358221220686effff04cdef2268ee41b58b083b65e299b6ad6c90c96a03e6987c38fa355264736f6c63430008140033",
172
172
  "linkReferences": {},
173
173
  "deployedLinkReferences": {}
174
174
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/903346aa8f67d38a101e2ee9c594c3f8.json"
4
+ }
@@ -0,0 +1,179 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ClaimIdLib",
4
+ "sourceName": "contracts/type/ClaimId.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "ClaimId",
10
+ "name": "a",
11
+ "type": "uint16"
12
+ }
13
+ ],
14
+ "name": "eqz",
15
+ "outputs": [
16
+ {
17
+ "internalType": "bool",
18
+ "name": "",
19
+ "type": "bool"
20
+ }
21
+ ],
22
+ "stateMutability": "pure",
23
+ "type": "function"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "ClaimId",
29
+ "name": "a",
30
+ "type": "uint16"
31
+ }
32
+ ],
33
+ "name": "gtz",
34
+ "outputs": [
35
+ {
36
+ "internalType": "bool",
37
+ "name": "",
38
+ "type": "bool"
39
+ }
40
+ ],
41
+ "stateMutability": "pure",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "max",
47
+ "outputs": [
48
+ {
49
+ "internalType": "ClaimId",
50
+ "name": "",
51
+ "type": "uint16"
52
+ }
53
+ ],
54
+ "stateMutability": "pure",
55
+ "type": "function"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "a",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "name": "toClaimId",
66
+ "outputs": [
67
+ {
68
+ "internalType": "ClaimId",
69
+ "name": "",
70
+ "type": "uint16"
71
+ }
72
+ ],
73
+ "stateMutability": "pure",
74
+ "type": "function"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "ClaimId",
80
+ "name": "a",
81
+ "type": "uint16"
82
+ }
83
+ ],
84
+ "name": "toInt",
85
+ "outputs": [
86
+ {
87
+ "internalType": "uint16",
88
+ "name": "",
89
+ "type": "uint16"
90
+ }
91
+ ],
92
+ "stateMutability": "pure",
93
+ "type": "function"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "ClaimId",
99
+ "name": "claimId",
100
+ "type": "uint16"
101
+ },
102
+ {
103
+ "internalType": "NftId",
104
+ "name": "policyNftId",
105
+ "type": "uint96"
106
+ }
107
+ ],
108
+ "name": "toKey32",
109
+ "outputs": [
110
+ {
111
+ "internalType": "Key32",
112
+ "name": "",
113
+ "type": "bytes32"
114
+ }
115
+ ],
116
+ "stateMutability": "pure",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "ClaimId",
123
+ "name": "claimId",
124
+ "type": "uint16"
125
+ },
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "policyNftId",
129
+ "type": "uint96"
130
+ }
131
+ ],
132
+ "name": "toKeyId",
133
+ "outputs": [
134
+ {
135
+ "internalType": "KeyId",
136
+ "name": "",
137
+ "type": "bytes31"
138
+ }
139
+ ],
140
+ "stateMutability": "pure",
141
+ "type": "function"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "zero",
146
+ "outputs": [
147
+ {
148
+ "internalType": "ClaimId",
149
+ "name": "",
150
+ "type": "uint16"
151
+ }
152
+ ],
153
+ "stateMutability": "pure",
154
+ "type": "function"
155
+ }
156
+ ],
157
+ "bytecode": "0x61034e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c8063b9c6c93011610065578063b9c6c930146100fc578063bc1b392d14610123578063f3ac7cb51461012a578063faac2b221461014057600080fd5b80635d21681c146100975780636ac5db19146100c0578063904da217146100c85780639cc45a36146100ee575b600080fd5b6100a86100a5366004610258565b90565b60405161ffff90911681526020015b60405180910390f35b61ffff6100a8565b6100db6100d6366004610273565b610161565b60405160ff1990911681526020016100b7565b6100a86100a53660046102b6565b61011361010a366004610258565b61ffff16151590565b60405190151581526020016100b7565b60006100a8565b610113610138366004610258565b61ffff161590565b61015361014e366004610273565b6101a7565b6040519081526020016100b7565b600061016e8360106102cf565b61ffff16826001600160601b0316901b6001600160601b031660901b71ffffffffffffffffffffffffffffffffffff1916905092915050565b600073__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60d46101cf8686610161565b6040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023a91906102ff565b9392505050565b803561ffff8116811461025357600080fd5b919050565b60006020828403121561026a57600080fd5b61023a82610241565b6000806040838503121561028657600080fd5b61028f83610241565b915060208301356001600160601b03811681146102ab57600080fd5b809150509250929050565b6000602082840312156102c857600080fd5b5035919050565b61ffff8181168382160190808211156102f857634e487b7160e01b600052601160045260246000fd5b5092915050565b60006020828403121561031157600080fd5b505191905056fea2646970667358221220d20b27a45f795be147c025b8aecc350770f5d3b0ff742f0e80ad6abbc6eec19764736f6c63430008140033",
158
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c8063b9c6c93011610065578063b9c6c930146100fc578063bc1b392d14610123578063f3ac7cb51461012a578063faac2b221461014057600080fd5b80635d21681c146100975780636ac5db19146100c0578063904da217146100c85780639cc45a36146100ee575b600080fd5b6100a86100a5366004610258565b90565b60405161ffff90911681526020015b60405180910390f35b61ffff6100a8565b6100db6100d6366004610273565b610161565b60405160ff1990911681526020016100b7565b6100a86100a53660046102b6565b61011361010a366004610258565b61ffff16151590565b60405190151581526020016100b7565b60006100a8565b610113610138366004610258565b61ffff161590565b61015361014e366004610273565b6101a7565b6040519081526020016100b7565b600061016e8360106102cf565b61ffff16826001600160601b0316901b6001600160601b031660901b71ffffffffffffffffffffffffffffffffffff1916905092915050565b600073__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60d46101cf8686610161565b6040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023a91906102ff565b9392505050565b803561ffff8116811461025357600080fd5b919050565b60006020828403121561026a57600080fd5b61023a82610241565b6000806040838503121561028657600080fd5b61028f83610241565b915060208301356001600160601b03811681146102ab57600080fd5b809150509250929050565b6000602082840312156102c857600080fd5b5035919050565b61ffff8181168382160190808211156102f857634e487b7160e01b600052601160045260246000fd5b5092915050565b60006020828403121561031157600080fd5b505191905056fea2646970667358221220d20b27a45f795be147c025b8aecc350770f5d3b0ff742f0e80ad6abbc6eec19764736f6c63430008140033",
159
+ "linkReferences": {
160
+ "contracts/type/Key32.sol": {
161
+ "Key32Lib": [
162
+ {
163
+ "length": 20,
164
+ "start": 485
165
+ }
166
+ ]
167
+ }
168
+ },
169
+ "deployedLinkReferences": {
170
+ "contracts/type/Key32.sol": {
171
+ "Key32Lib": [
172
+ {
173
+ "length": 20,
174
+ "start": 427
175
+ }
176
+ ]
177
+ }
178
+ }
179
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/903346aa8f67d38a101e2ee9c594c3f8.json"
4
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "DistributorTypeLib",
4
- "sourceName": "contracts/types/DistributorType.sol",
4
+ "sourceName": "contracts/type/DistributorType.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
@@ -79,10 +79,10 @@
79
79
  "type": "function"
80
80
  }
81
81
  ],
82
- "bytecode": "0x61037e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632cf96bf91461005b57806355ee62751461008e578063578c3039146100af578063bc1b392d146100db575b600080fd5b6100766100693660046101af565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100a161009c3660046101af565b6100e2565b604051908152602001610085565b6100c26100bd3660046101f6565b61017c565b6040516001600160c01b03199091168152602001610085565b60006100c2565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce60796001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017691906102cb565b92915050565b600082826040516020016101919291906102e4565b60405160208183030381529060405280519060200120905092915050565b6000602082840312156101c157600080fd5b81356001600160c01b0319811681146101d957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561020957600080fd5b82356bffffffffffffffffffffffff8116811461022557600080fd5b9150602083013567ffffffffffffffff8082111561024257600080fd5b818501915085601f83011261025657600080fd5b813581811115610268576102686101e0565b604051601f8201601f19908116603f01168101908382118183101715610290576102906101e0565b816040528281528860208487010111156102a957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156102dd57600080fd5b5051919050565b6bffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156103265785810183015185820160600152820161030a565b506000606082860101526060601f19601f83011685010192505050939250505056fea26469706673582212208a85b70358c824add9dfde89bb1f64678e4326d907ce3d251b1fd839e7baca1564736f6c63430008140033",
83
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632cf96bf91461005b57806355ee62751461008e578063578c3039146100af578063bc1b392d146100db575b600080fd5b6100766100693660046101af565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100a161009c3660046101af565b6100e2565b604051908152602001610085565b6100c26100bd3660046101f6565b61017c565b6040516001600160c01b03199091168152602001610085565b60006100c2565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce60796001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017691906102cb565b92915050565b600082826040516020016101919291906102e4565b60405160208183030381529060405280519060200120905092915050565b6000602082840312156101c157600080fd5b81356001600160c01b0319811681146101d957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561020957600080fd5b82356bffffffffffffffffffffffff8116811461022557600080fd5b9150602083013567ffffffffffffffff8082111561024257600080fd5b818501915085601f83011261025657600080fd5b813581811115610268576102686101e0565b604051601f8201601f19908116603f01168101908382118183101715610290576102906101e0565b816040528281528860208487010111156102a957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156102dd57600080fd5b5051919050565b6bffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156103265785810183015185820160600152820161030a565b506000606082860101526060601f19601f83011685010192505050939250505056fea26469706673582212208a85b70358c824add9dfde89bb1f64678e4326d907ce3d251b1fd839e7baca1564736f6c63430008140033",
82
+ "bytecode": "0x61037e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632cf96bf91461005b57806355ee62751461008e578063578c3039146100af578063bc1b392d146100db575b600080fd5b6100766100693660046101af565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100a161009c3660046101af565b6100e2565b604051908152602001610085565b6100c26100bd3660046101f6565b61017c565b6040516001600160c01b03199091168152602001610085565b60006100c2565b600073__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60796001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017691906102cb565b92915050565b600082826040516020016101919291906102e4565b60405160208183030381529060405280519060200120905092915050565b6000602082840312156101c157600080fd5b81356001600160c01b0319811681146101d957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561020957600080fd5b82356bffffffffffffffffffffffff8116811461022557600080fd5b9150602083013567ffffffffffffffff8082111561024257600080fd5b818501915085601f83011261025657600080fd5b813581811115610268576102686101e0565b604051601f8201601f19908116603f01168101908382118183101715610290576102906101e0565b816040528281528860208487010111156102a957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156102dd57600080fd5b5051919050565b6bffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156103265785810183015185820160600152820161030a565b506000606082860101526060601f19601f83011685010192505050939250505056fea2646970667358221220f9cd3a2c2378373d271cb926e0bcd5cc40dcd607e379af74c835fcb383750b9164736f6c63430008140033",
83
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632cf96bf91461005b57806355ee62751461008e578063578c3039146100af578063bc1b392d146100db575b600080fd5b6100766100693660046101af565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b6100a161009c3660046101af565b6100e2565b604051908152602001610085565b6100c26100bd3660046101f6565b61017c565b6040516001600160c01b03199091168152602001610085565b60006100c2565b600073__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60796001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017691906102cb565b92915050565b600082826040516020016101919291906102e4565b60405160208183030381529060405280519060200120905092915050565b6000602082840312156101c157600080fd5b81356001600160c01b0319811681146101d957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561020957600080fd5b82356bffffffffffffffffffffffff8116811461022557600080fd5b9150602083013567ffffffffffffffff8082111561024257600080fd5b818501915085601f83011261025657600080fd5b813581811115610268576102686101e0565b604051601f8201601f19908116603f01168101908382118183101715610290576102906101e0565b816040528281528860208487010111156102a957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156102dd57600080fd5b5051919050565b6bffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156103265785810183015185820160600152820161030a565b506000606082860101526060601f19601f83011685010192505050939250505056fea2646970667358221220f9cd3a2c2378373d271cb926e0bcd5cc40dcd607e379af74c835fcb383750b9164736f6c63430008140033",
84
84
  "linkReferences": {
85
- "contracts/types/Key32.sol": {
85
+ "contracts/type/Key32.sol": {
86
86
  "Key32Lib": [
87
87
  {
88
88
  "length": 20,
@@ -92,7 +92,7 @@
92
92
  }
93
93
  },
94
94
  "deployedLinkReferences": {
95
- "contracts/types/Key32.sol": {
95
+ "contracts/type/Key32.sol": {
96
96
  "Key32Lib": [
97
97
  {
98
98
  "length": 20,
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/903346aa8f67d38a101e2ee9c594c3f8.json"
4
+ }