@etherisc/gif-next 0.0.2-8ce6c0b-352 → 0.0.2-8d69bcd-543

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/README.md +46 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +158 -70
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +166 -16
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +97 -37
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +81 -15
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +166 -376
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +144 -27
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +103 -321
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +245 -315
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +125 -123
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +115 -143
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +128 -76
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1487 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +555 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2048 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +527 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1495 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +527 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1211 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1663 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +555 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2416 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +527 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +158 -57
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +194 -154
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +372 -136
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +120 -90
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +919 -315
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +131 -266
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +102 -92
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +619 -492
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +116 -326
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +146 -29
  109. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +102 -130
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +90 -308
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +143 -387
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +172 -27
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +434 -201
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +163 -97
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +270 -27
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +124 -195
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +448 -217
  134. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  135. package/artifacts/contracts/pool/Pool.sol/Pool.json +109 -370
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +569 -396
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +141 -91
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +134 -184
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +91 -93
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +243 -400
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +143 -26
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +435 -212
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +145 -107
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +94 -9
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +318 -8
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +361 -113
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +136 -83
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +235 -202
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  163. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +57 -4
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +486 -333
  166. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +149 -99
  168. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.json +230 -312
  170. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +120 -122
  172. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  173. package/artifacts/contracts/product/Product.sol/Product.json +241 -398
  174. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  176. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  178. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  180. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +334 -34
  182. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  184. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  185. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  186. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  188. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/Registry.sol/Registry.json +540 -95
  190. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +275 -160
  192. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  194. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  196. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  198. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  200. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +412 -246
  202. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  204. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  206. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  207. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  208. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +508 -551
  210. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +137 -125
  212. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  214. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  216. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  222. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  224. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +454 -210
  226. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +102 -130
  228. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  230. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  231. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  232. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  234. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  236. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  238. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  241. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  242. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  243. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  244. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +89 -307
  245. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  246. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  247. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  248. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  249. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  250. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  251. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  252. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  253. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  254. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  255. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  257. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  258. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  259. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  261. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  262. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +589 -15
  263. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  264. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  265. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  266. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +140 -0
  267. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  268. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
  269. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  270. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +55 -23
  271. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  272. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +85 -105
  273. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  274. package/artifacts/contracts/staking/Staking.sol/Staking.json +212 -360
  275. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  277. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  278. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +125 -94
  279. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  280. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  281. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +100 -171
  283. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +99 -85
  285. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +153 -107
  287. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  288. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  289. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  290. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  292. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  294. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  296. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  298. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  300. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  302. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  303. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  304. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  306. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  307. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  308. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  310. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  312. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  314. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  316. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +118 -5
  318. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  320. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  322. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  326. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  329. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  331. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  333. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
  335. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  336. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  337. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
  338. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  339. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  340. package/contracts/accounting/AccountingService.sol +262 -0
  341. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  342. package/contracts/accounting/IAccountingService.sol +45 -0
  343. package/contracts/authorization/AccessAdmin.sol +189 -124
  344. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  345. package/contracts/authorization/Authorization.sol +300 -202
  346. package/contracts/authorization/IAccess.sol +1 -0
  347. package/contracts/authorization/IAccessAdmin.sol +10 -6
  348. package/contracts/authorization/IAuthorization.sol +19 -7
  349. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  350. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  351. package/contracts/distribution/BasicDistribution.sol +12 -22
  352. package/contracts/distribution/BasicDistributionAuthorization.sol +3 -11
  353. package/contracts/distribution/Distribution.sol +36 -50
  354. package/contracts/distribution/DistributionService.sol +122 -117
  355. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  356. package/contracts/distribution/IDistributionComponent.sol +2 -2
  357. package/contracts/distribution/IDistributionService.sol +16 -14
  358. package/contracts/examples/fire/DamageLevel.sol +59 -0
  359. package/contracts/examples/fire/FirePool.sol +90 -0
  360. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  361. package/contracts/examples/fire/FireProduct.sol +438 -0
  362. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  363. package/contracts/examples/fire/FireUSD.sol +26 -0
  364. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  365. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  366. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  367. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  368. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  369. package/contracts/examples/unpermissioned/SimpleProduct.sol +370 -0
  370. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  371. package/contracts/instance/BundleSet.sol +42 -38
  372. package/contracts/instance/IInstance.sol +21 -37
  373. package/contracts/instance/IInstanceService.sol +9 -29
  374. package/contracts/instance/Instance.sol +59 -66
  375. package/contracts/instance/InstanceAdmin.sol +254 -84
  376. package/contracts/instance/InstanceAuthorizationV3.sol +56 -47
  377. package/contracts/instance/InstanceReader.sol +218 -27
  378. package/contracts/instance/InstanceService.sol +125 -164
  379. package/contracts/instance/InstanceServiceManager.sol +6 -7
  380. package/contracts/instance/InstanceStore.sol +24 -2
  381. package/contracts/instance/RiskSet.sol +118 -0
  382. package/contracts/instance/base/ObjectCounter.sol +1 -2
  383. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  384. package/contracts/instance/base/ObjectSet.sol +31 -33
  385. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  386. package/contracts/instance/module/IBundle.sol +1 -1
  387. package/contracts/instance/module/IComponents.sol +14 -14
  388. package/contracts/instance/module/IDistribution.sol +0 -1
  389. package/contracts/instance/module/IPolicy.sol +26 -25
  390. package/contracts/instance/module/IRisk.sol +3 -0
  391. package/contracts/mock/Dip.sol +1 -1
  392. package/contracts/oracle/BasicOracle.sol +0 -1
  393. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  394. package/contracts/oracle/IOracleService.sol +2 -1
  395. package/contracts/oracle/Oracle.sol +9 -23
  396. package/contracts/oracle/OracleService.sol +113 -81
  397. package/contracts/oracle/OracleServiceManager.sol +6 -6
  398. package/contracts/pool/BasicPool.sol +38 -27
  399. package/contracts/pool/BasicPoolAuthorization.sol +15 -8
  400. package/contracts/pool/BundleService.sol +221 -80
  401. package/contracts/pool/BundleServiceManager.sol +6 -6
  402. package/contracts/pool/IBundleService.sol +33 -18
  403. package/contracts/pool/IPoolComponent.sol +21 -10
  404. package/contracts/pool/IPoolService.sol +53 -50
  405. package/contracts/pool/Pool.sol +150 -116
  406. package/contracts/pool/PoolService.sol +337 -160
  407. package/contracts/pool/PoolServiceManager.sol +4 -4
  408. package/contracts/product/ApplicationService.sol +72 -43
  409. package/contracts/product/ApplicationServiceManager.sol +4 -4
  410. package/contracts/product/BasicProduct.sol +13 -44
  411. package/contracts/product/BasicProductAuthorization.sol +3 -14
  412. package/contracts/product/ClaimService.sol +428 -136
  413. package/contracts/product/ClaimServiceManager.sol +4 -4
  414. package/contracts/product/IApplicationService.sol +6 -2
  415. package/contracts/product/IClaimService.sol +44 -7
  416. package/contracts/product/IPolicyService.sol +46 -34
  417. package/contracts/product/IPricingService.sol +10 -10
  418. package/contracts/product/IProductComponent.sol +27 -5
  419. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  420. package/contracts/product/PolicyService.sol +501 -258
  421. package/contracts/product/PolicyServiceManager.sol +4 -4
  422. package/contracts/product/PricingService.sol +66 -62
  423. package/contracts/product/PricingServiceManager.sol +4 -4
  424. package/contracts/product/Product.sol +160 -89
  425. package/contracts/product/RiskService.sol +145 -0
  426. package/contracts/product/RiskServiceManager.sol +39 -0
  427. package/contracts/registry/ChainNft.sol +72 -40
  428. package/contracts/registry/IRegistry.sol +60 -28
  429. package/contracts/registry/IRegistryService.sol +5 -12
  430. package/contracts/registry/IRelease.sol +26 -0
  431. package/contracts/registry/ITransferInterceptor.sol +1 -2
  432. package/contracts/registry/Registry.sol +357 -203
  433. package/contracts/registry/RegistryAdmin.sol +161 -182
  434. package/contracts/registry/RegistryService.sol +37 -48
  435. package/contracts/registry/RegistryServiceManager.sol +3 -3
  436. package/contracts/registry/ReleaseAdmin.sol +245 -0
  437. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  438. package/contracts/registry/ReleaseRegistry.sol +258 -234
  439. package/contracts/registry/ServiceAuthorizationV3.sol +94 -52
  440. package/contracts/registry/TokenRegistry.sol +6 -8
  441. package/contracts/shared/Component.sol +82 -121
  442. package/contracts/shared/ComponentService.sol +419 -349
  443. package/contracts/shared/ComponentServiceManager.sol +8 -5
  444. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  445. package/contracts/shared/ContractLib.sol +253 -0
  446. package/contracts/shared/IComponent.sol +8 -17
  447. package/contracts/shared/IComponentService.sol +43 -39
  448. package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
  449. package/contracts/shared/ILifecycle.sol +3 -1
  450. package/contracts/shared/INftOwnable.sol +2 -0
  451. package/contracts/shared/IPolicyHolder.sol +12 -22
  452. package/contracts/shared/IRegisterable.sol +23 -1
  453. package/contracts/shared/IService.sol +3 -5
  454. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  455. package/contracts/shared/InstanceLinkedComponent.sol +73 -48
  456. package/contracts/shared/KeyValueStore.sol +1 -1
  457. package/contracts/shared/Lifecycle.sol +15 -4
  458. package/contracts/shared/NftOwnable.sol +31 -11
  459. package/contracts/shared/PolicyHolder.sol +17 -57
  460. package/contracts/shared/Registerable.sol +55 -21
  461. package/contracts/shared/RegistryLinked.sol +9 -14
  462. package/contracts/shared/Service.sol +15 -32
  463. package/contracts/shared/TokenHandler.sol +281 -27
  464. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  465. package/contracts/staking/IStaking.sol +7 -9
  466. package/contracts/staking/IStakingService.sol +0 -3
  467. package/contracts/staking/StakeManagerLib.sol +19 -26
  468. package/contracts/staking/Staking.sol +71 -59
  469. package/contracts/staking/StakingManager.sol +8 -6
  470. package/contracts/staking/StakingReader.sol +13 -6
  471. package/contracts/staking/StakingService.sol +37 -40
  472. package/contracts/staking/StakingServiceManager.sol +6 -5
  473. package/contracts/staking/TargetManagerLib.sol +7 -3
  474. package/contracts/type/Amount.sol +27 -5
  475. package/contracts/type/Blocknumber.sol +7 -1
  476. package/contracts/type/ClaimId.sol +6 -1
  477. package/contracts/type/Key32.sol +2 -2
  478. package/contracts/type/Key32Set.sol +62 -0
  479. package/contracts/type/NftId.sol +7 -0
  480. package/contracts/type/ObjectType.sol +52 -20
  481. package/contracts/type/PayoutId.sol +10 -10
  482. package/contracts/type/Referral.sol +1 -0
  483. package/contracts/type/RiskId.sol +35 -4
  484. package/contracts/type/RoleId.sol +23 -15
  485. package/contracts/type/Seconds.sol +21 -1
  486. package/contracts/type/StateId.sol +15 -1
  487. package/contracts/type/Timestamp.sol +10 -5
  488. package/contracts/type/UFixed.sol +35 -122
  489. package/contracts/type/Version.sol +15 -5
  490. package/contracts/upgradeability/ProxyManager.sol +68 -34
  491. package/contracts/upgradeability/Versionable.sol +2 -2
  492. package/package.json +4 -3
  493. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  494. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  495. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  496. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  497. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  498. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  499. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  500. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  501. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  502. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  503. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  504. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  505. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  506. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  507. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  508. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  509. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  510. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  511. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  512. package/contracts/instance/module/IAccess.sol +0 -46
  513. package/contracts/product/ProductService.sol +0 -99
  514. package/contracts/product/ProductServiceManager.sol +0 -39
  515. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/2e6e39756b09414ce5f03485b8d996e2.json"
4
+ }
@@ -0,0 +1,395 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TokenHandlerBase",
4
+ "sourceName": "contracts/shared/TokenHandler.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "component",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "token",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "ErrorTokenHandlerAddressIsSameAsCurrent",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "address",
36
+ "name": "token",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "internalType": "address",
41
+ "name": "from",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "internalType": "address",
46
+ "name": "spender",
47
+ "type": "address"
48
+ },
49
+ {
50
+ "internalType": "uint256",
51
+ "name": "allowance",
52
+ "type": "uint256"
53
+ },
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "expectedAllowance",
57
+ "type": "uint256"
58
+ }
59
+ ],
60
+ "name": "ErrorTokenHandlerAllowanceTooSmall",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [],
65
+ "name": "ErrorTokenHandlerAmountIsZero",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "address",
72
+ "name": "token",
73
+ "type": "address"
74
+ },
75
+ {
76
+ "internalType": "address",
77
+ "name": "from",
78
+ "type": "address"
79
+ },
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "balance",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "internalType": "uint256",
87
+ "name": "expectedBalance",
88
+ "type": "uint256"
89
+ }
90
+ ],
91
+ "name": "ErrorTokenHandlerBalanceTooLow",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "address",
98
+ "name": "component",
99
+ "type": "address"
100
+ }
101
+ ],
102
+ "name": "ErrorTokenHandlerComponentNotRegistered",
103
+ "type": "error"
104
+ },
105
+ {
106
+ "inputs": [],
107
+ "name": "ErrorTokenHandlerNewWalletAddressZero",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [
112
+ {
113
+ "internalType": "address",
114
+ "name": "registry",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "name": "ErrorTokenHandlerNotRegistry",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [
123
+ {
124
+ "internalType": "NftId",
125
+ "name": "nftId",
126
+ "type": "uint96"
127
+ },
128
+ {
129
+ "internalType": "address",
130
+ "name": "tokenHandler",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "address",
135
+ "name": "wallet",
136
+ "type": "address"
137
+ }
138
+ ],
139
+ "name": "ErrorTokenHandlerNotWallet",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [
144
+ {
145
+ "internalType": "Amount",
146
+ "name": "pushAmount",
147
+ "type": "uint96"
148
+ },
149
+ {
150
+ "internalType": "Amount",
151
+ "name": "pullAmount",
152
+ "type": "uint96"
153
+ }
154
+ ],
155
+ "name": "ErrorTokenHandlerPushAmountsTooLarge",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorTokenHandlerTokenAddressZero",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "address",
167
+ "name": "from",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "internalType": "address",
172
+ "name": "to1",
173
+ "type": "address"
174
+ },
175
+ {
176
+ "internalType": "address",
177
+ "name": "to2",
178
+ "type": "address"
179
+ }
180
+ ],
181
+ "name": "ErrorTokenHandlerWalletsNotDistinct",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "anonymous": false,
186
+ "inputs": [
187
+ {
188
+ "indexed": false,
189
+ "internalType": "NftId",
190
+ "name": "nftId",
191
+ "type": "uint96"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "tokenHandler",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "indexed": false,
201
+ "internalType": "address",
202
+ "name": "token",
203
+ "type": "address"
204
+ },
205
+ {
206
+ "indexed": false,
207
+ "internalType": "Amount",
208
+ "name": "amount",
209
+ "type": "uint96"
210
+ },
211
+ {
212
+ "indexed": false,
213
+ "internalType": "bool",
214
+ "name": "isMaxAmount",
215
+ "type": "bool"
216
+ }
217
+ ],
218
+ "name": "LogTokenHandlerTokenApproved",
219
+ "type": "event"
220
+ },
221
+ {
222
+ "anonymous": false,
223
+ "inputs": [
224
+ {
225
+ "indexed": false,
226
+ "internalType": "address",
227
+ "name": "token",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "from",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "address",
239
+ "name": "to",
240
+ "type": "address"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "Amount",
245
+ "name": "amount",
246
+ "type": "uint96"
247
+ }
248
+ ],
249
+ "name": "LogTokenHandlerTokenTransfer",
250
+ "type": "event"
251
+ },
252
+ {
253
+ "anonymous": false,
254
+ "inputs": [
255
+ {
256
+ "indexed": false,
257
+ "internalType": "NftId",
258
+ "name": "componentNftId",
259
+ "type": "uint96"
260
+ },
261
+ {
262
+ "indexed": false,
263
+ "internalType": "address",
264
+ "name": "oldWallet",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "indexed": false,
269
+ "internalType": "address",
270
+ "name": "newWallet",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "name": "LogTokenHandlerWalletAddressChanged",
275
+ "type": "event"
276
+ },
277
+ {
278
+ "anonymous": false,
279
+ "inputs": [
280
+ {
281
+ "indexed": false,
282
+ "internalType": "NftId",
283
+ "name": "componentNftId",
284
+ "type": "uint96"
285
+ },
286
+ {
287
+ "indexed": false,
288
+ "internalType": "address",
289
+ "name": "oldWallet",
290
+ "type": "address"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "address",
295
+ "name": "newWallet",
296
+ "type": "address"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "Amount",
301
+ "name": "amount",
302
+ "type": "uint96"
303
+ }
304
+ ],
305
+ "name": "LogTokenHandlerWalletTokensTransferred",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "COMPONENT",
311
+ "outputs": [
312
+ {
313
+ "internalType": "address",
314
+ "name": "",
315
+ "type": "address"
316
+ }
317
+ ],
318
+ "stateMutability": "view",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "NFT_ID",
324
+ "outputs": [
325
+ {
326
+ "internalType": "NftId",
327
+ "name": "",
328
+ "type": "uint96"
329
+ }
330
+ ],
331
+ "stateMutability": "view",
332
+ "type": "function"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "REGISTRY",
337
+ "outputs": [
338
+ {
339
+ "internalType": "contract IRegistry",
340
+ "name": "",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [],
349
+ "name": "TOKEN",
350
+ "outputs": [
351
+ {
352
+ "internalType": "contract IERC20Metadata",
353
+ "name": "",
354
+ "type": "address"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [],
362
+ "name": "getWallet",
363
+ "outputs": [
364
+ {
365
+ "internalType": "address",
366
+ "name": "wallet",
367
+ "type": "address"
368
+ }
369
+ ],
370
+ "stateMutability": "view",
371
+ "type": "function"
372
+ }
373
+ ],
374
+ "bytecode": "0x610100604052348015610010575f80fd5b5060405161049838038061049883398101604081905261002f9161024b565b604051633334d16b60e01b81526001600160a01b038416600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610085573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a9919061028b565b6100d657604051633c165c4d60e01b81526001600160a01b03841660048201526024015b60405180910390fd5b6001600160a01b0381166100fd57604051630d0482ff60e31b815260040160405180910390fd5b6001600160a01b03838116608081905290831660c0819052604051632f2a35f760e11b81526004810191909152635e546bee90602401602060405180830381865afa15801561014e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061017291906102b1565b6001600160601b031660e0819052604051630a4d29dd60e31b8152600481019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156101cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f3919061028b565b1561021c57604051634fd16de160e11b81526001600160a01b03831660048201526024016100cd565b6001600160a01b031660a052506102d79050565b80516001600160a01b0381168114610246575f80fd5b919050565b5f805f6060848603121561025d575f80fd5b61026684610230565b925061027460208501610230565b915061028260408501610230565b90509250925092565b5f6020828403121561029b575f80fd5b815180151581146102aa575f80fd5b9392505050565b5f602082840312156102c1575f80fd5b81516001600160601b03811681146102aa575f80fd5b60805160a05160c05160e0516101916103075f395f60aa01525f61011501525f60ee01525f605e01526101915ff3fe608060405234801561000f575f80fd5b5060043610610055575f3560e01c806306433b1b14610059578063132996041461009d578063707ddfae146100a557806382bfefc8146100e9578063ce0f75de14610110575b5f80fd5b6100807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b610080610137565b6100cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516bffffffffffffffffffffffff9091168152602001610094565b6100807f000000000000000000000000000000000000000000000000000000000000000081565b6100807f000000000000000000000000000000000000000000000000000000000000000081565b5f80546001600160a01b031661014c57503090565b505f546001600160a01b03169056fea2646970667358221220d5023707f85349bbf98950fe0ca53500b98b2af8eae3ae7e454d1a2f4d166d5064736f6c634300081a0033",
375
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610055575f3560e01c806306433b1b14610059578063132996041461009d578063707ddfae146100a557806382bfefc8146100e9578063ce0f75de14610110575b5f80fd5b6100807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b610080610137565b6100cc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516bffffffffffffffffffffffff9091168152602001610094565b6100807f000000000000000000000000000000000000000000000000000000000000000081565b6100807f000000000000000000000000000000000000000000000000000000000000000081565b5f80546001600160a01b031661014c57503090565b505f546001600160a01b03169056fea2646970667358221220d5023707f85349bbf98950fe0ca53500b98b2af8eae3ae7e454d1a2f4d166d5064736f6c634300081a0033",
376
+ "linkReferences": {
377
+ "contracts/shared/ContractLib.sol": {
378
+ "ContractLib": [
379
+ {
380
+ "length": 20,
381
+ "start": 77
382
+ }
383
+ ]
384
+ },
385
+ "contracts/type/NftId.sol": {
386
+ "NftIdLib": [
387
+ {
388
+ "length": 20,
389
+ "start": 407
390
+ }
391
+ ]
392
+ }
393
+ },
394
+ "deployedLinkReferences": {}
395
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/2e6e39756b09414ce5f03485b8d996e2.json"
4
+ }
@@ -0,0 +1,140 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TokenHandlerDeployerLib",
4
+ "sourceName": "contracts/shared/TokenHandlerDeployerLib.sol",
5
+ "abi": [],
6
+ "bytecode": "0x611b1b610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c806350c6470d14610038575b5f80fd5b818015610043575f80fd5b506100576100523660046100f7565b610073565b6040516001600160a01b03909116815260200160405180910390f35b5f84848484604051610084906100cf565b6001600160a01b039485168152928416602084015290831660408301529091166060820152608001604051809103905ff0801580156100c5573d5f803e3d5ffd5b5095945050505050565b61199d8061014983390190565b80356001600160a01b03811681146100f2575f80fd5b919050565b5f805f806080858703121561010a575f80fd5b610113856100dc565b9350610121602086016100dc565b925061012f604086016100dc565b915061013d606086016100dc565b90509295919450925056fe610100604052348015610010575f80fd5b5060405161199d38038061199d83398101604081905261002f916102b0565b8383838361003c81610242565b50604051633334d16b60e01b81526001600160a01b038416600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610093573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100b79190610301565b6100e457604051633c165c4d60e01b81526001600160a01b03841660048201526024015b60405180910390fd5b6001600160a01b03811661010b57604051630d0482ff60e31b815260040160405180910390fd5b6001600160a01b03838116608081905290831660c0819052604051632f2a35f760e11b81526004810191909152635e546bee90602401602060405180830381865afa15801561015c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101809190610327565b6001600160601b031660e0819052604051630a4d29dd60e31b8152600481019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156101dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102019190610301565b1561022a57604051634fd16de160e11b81526001600160a01b03831660048201526024016100db565b6001600160a01b031660a0525061034d945050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b80516001600160a01b03811681146102ab575f80fd5b919050565b5f805f80608085870312156102c3575f80fd5b6102cc85610295565b93506102da60208601610295565b92506102e860408601610295565b91506102f660608601610295565b905092959194509250565b5f60208284031215610311575f80fd5b81518015158114610320575f80fd5b9392505050565b5f60208284031215610337575f80fd5b81516001600160601b0381168114610320575f80fd5b60805160a05160c05160e0516115b56103e85f395f818161011b015281816106be015281816108a8015281816109960152610adf01525f6101d801525f81816101800152818161075801528181610b7b01528181610c1201528181610ea001528181610fad0152818161109501526111a201525f818160ba015281816102660152818161032c0152818161047f015261053e01526115b55ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806382bfefc81161006e57806382bfefc81461017b5780638fb36037146101a2578063bf7e214f146101c3578063ce0f75de146101d3578063deaa59df146101fa578063ea0b3c731461020d575f80fd5b806306433b1b146100b557806313299604146100f957806367ed5f3614610101578063707ddfae1461011657806379fc35e8146101555780637a9e5e4b14610168575b5f80fd5b6100dc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100dc610220565b61011461010f3660046114c6565b610247565b005b61013d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b0390911681526020016100f0565b6101146101633660046114c6565b61030d565b6101146101763660046114fd565b6103ca565b6100dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101aa61043e565b6040516001600160e01b031990911681526020016100f0565b5f546001600160a01b03166100dc565b6100dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101146102083660046114fd565b610460565b61011461021b3660046114c6565b61051f565b6001545f906001600160a01b031661023757503090565b506001546001600160a01b031690565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa1580156102b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102db9190611518565b6102ff57604051630542d5c160e01b81523360048201526024015b60405180910390fd5b61030982826105dc565b5050565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa15801561037d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a19190611518565b6103c057604051630542d5c160e01b81523360048201526024016102f6565b61030982826105f0565b5f5433906001600160a01b031681146104005760405162d1953b60e31b81526001600160a01b03821660048201526024016102f6565b816001600160a01b03163b5f03610435576040516361798f2f60e11b81526001600160a01b03831660048201526024016102f6565b61030982610604565b5f8054600160a01b900460ff1661045457505f90565b50638fb3603760e01b90565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa1580156104d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104f49190611518565b61051357604051630542d5c160e01b81523360048201526024016102f6565b61051c81610657565b50565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa15801561058f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b39190611518565b6105d257604051630542d5c160e01b81523360048201526024016102f6565b610309828261096b565b6103096105e7610220565b83836001610b65565b610309826105fc610220565b836001610b65565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6001546001600160a01b039081169082168190036106885760405163b779402d60e01b815260040160405180910390fd5b5f610691610220565b600180546001600160a01b0319166001600160a01b03868116918217909255604080516001600160601b037f000000000000000000000000000000000000000000000000000000000000000016815292861660208401528201529091507fe17b63a940799420dfdbb7bc7d4f264ef924329d7a5135cb82b1162c86ea02f59060600160405180910390a16040516370a0823160e01b81526001600160a01b0382811660048301525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa15801561079f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c39190611537565b6040518263ffffffff1660e01b81526004016107e191815260200190565b602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610820919061154e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610879573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089d9190611518565b1561096557604080517f00000000000000000000000000000000000000000000000000000000000000006001600160601b0390811682526001600160a01b0386811660208401528716828401528316606082015290517f85bc564e97c299d12e3a61734d4f9ca9aff69b15059d1b177825a456c8a317d99181900360800190a16001600160a01b03831661093d576109383085836001610b65565b610965565b6001600160a01b038416610958576109388330836001610b65565b6109658385836001610b65565b50505050565b6001546001600160a01b0316156109d95760015460405163266a456b60e11b81526001600160601b037f00000000000000000000000000000000000000000000000000000000000000001660048201523060248201526001600160a01b0390911660448201526064016102f6565b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610a31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a559190611537565b90505f610acc8373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610aa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac7919061154e565b610c99565b15610ad957505f19905060015b604080517f00000000000000000000000000000000000000000000000000000000000000006001600160601b0390811682523060208301526001600160a01b0387168284015285166060820152821515608082015290517f87afdceff4fac7ed560df07efe2dbb4585adc663dd5fab969376f20d70cb7a449181900360a00190a1610965843084610d24565b8015610b7557610b758483610de1565b604080517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116825286811660208301528516818301526001600160601b038416606082015290517fd8dad5de52bc07319fbcdbf42f954f497c3a267ce0cc264584726fa7a3b322079181900360800190a160405163046e44af60e11b81526001600160601b0383166004820152610965907f0000000000000000000000000000000000000000000000000000000000000000908690869073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c949190611537565b61125c565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015610cf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1d9190611518565b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610d758482611295565b610965576040516001600160a01b0384811660248301525f6044830152610dd791869182169063095ea7b3906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611336565b6109658482611336565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af4158015610e37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5b9190611518565b15610e795760405163ba9cf25b60e01b815260040160405180910390fd5b604051636eb1769f60e11b81526001600160a01b0383811660048301523060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169063dd62ed3e90604401602060405180830381865afa158015610ee7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0b9190611537565b60405163046e44af60e11b81526001600160601b038416600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610f64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f889190611537565b8110156110745760405163046e44af60e11b81526001600160601b03831660048201527f00000000000000000000000000000000000000000000000000000000000000009084903090849073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561100d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110319190611537565b6040516319d2916b60e21b81526001600160a01b03958616600482015293851660248501529390911660448301526064820152608481019190915260a4016102f6565b6040516370a0823160e01b81526001600160a01b0384811660048301525f917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa1580156110dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111009190611537565b60405163046e44af60e11b81526001600160601b038516600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611159573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117d9190611537565b8110156109655760405163046e44af60e11b81526001600160601b03841660048201527f0000000000000000000000000000000000000000000000000000000000000000908590839073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611200573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112249190611537565b604051631288e44360e21b81526001600160a01b039485166004820152939092166024840152604483015260648201526084016102f6565b6040516001600160a01b0384811660248301528381166044830152606482018390526109659186918216906323b872dd90608401610da5565b5f805f846001600160a01b0316846040516112b09190611569565b5f604051808303815f865af19150503d805f81146112e9576040519150601f19603f3d011682016040523d82523d5f602084013e6112ee565b606091505b50915091508180156113185750805115806113185750808060200190518101906113189190611518565b801561132d57505f856001600160a01b03163b115b95945050505050565b5f61134a6001600160a01b0384168361139c565b905080515f1415801561136e57508080602001905181019061136c9190611518565b155b1561139757604051635274afe760e01b81526001600160a01b03841660048201526024016102f6565b505050565b6060610d1d83835f845f80856001600160a01b031684866040516113c09190611569565b5f6040518083038185875af1925050503d805f81146113fa576040519150601f19603f3d011682016040523d82523d5f602084013e6113ff565b606091505b509150915061140f868383611419565b9695505050505050565b60608261142e5761142982611475565b610d1d565b815115801561144557506001600160a01b0384163b155b1561146e57604051639996b31560e01b81526001600160a01b03851660048201526024016102f6565b5080610d1d565b8051156114855780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b038116811461051c575f80fd5b6001600160601b038116811461051c575f80fd5b5f80604083850312156114d7575f80fd5b82356114e28161149e565b915060208301356114f2816114b2565b809150509250929050565b5f6020828403121561150d575f80fd5b8135610d1d8161149e565b5f60208284031215611528575f80fd5b81518015158114610d1d575f80fd5b5f60208284031215611547575f80fd5b5051919050565b5f6020828403121561155e575f80fd5b8151610d1d816114b2565b5f82518060208501845e5f92019182525091905056fea2646970667358221220e5a8a8a57b0e7b59c7ea6216b3c914f0f2475a7af12cd3b656af9492428a06d064736f6c634300081a0033a264697066735822122086c22a4450d3ff711bf0f9586fd4bf4d1ffc4498844c42be8227bd3e9ba7935164736f6c634300081a0033",
7
+ "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c806350c6470d14610038575b5f80fd5b818015610043575f80fd5b506100576100523660046100f7565b610073565b6040516001600160a01b03909116815260200160405180910390f35b5f84848484604051610084906100cf565b6001600160a01b039485168152928416602084015290831660408301529091166060820152608001604051809103905ff0801580156100c5573d5f803e3d5ffd5b5095945050505050565b61199d8061014983390190565b80356001600160a01b03811681146100f2575f80fd5b919050565b5f805f806080858703121561010a575f80fd5b610113856100dc565b9350610121602086016100dc565b925061012f604086016100dc565b915061013d606086016100dc565b90509295919450925056fe610100604052348015610010575f80fd5b5060405161199d38038061199d83398101604081905261002f916102b0565b8383838361003c81610242565b50604051633334d16b60e01b81526001600160a01b038416600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610093573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100b79190610301565b6100e457604051633c165c4d60e01b81526001600160a01b03841660048201526024015b60405180910390fd5b6001600160a01b03811661010b57604051630d0482ff60e31b815260040160405180910390fd5b6001600160a01b03838116608081905290831660c0819052604051632f2a35f760e11b81526004810191909152635e546bee90602401602060405180830381865afa15801561015c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101809190610327565b6001600160601b031660e0819052604051630a4d29dd60e31b8152600481019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156101dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102019190610301565b1561022a57604051634fd16de160e11b81526001600160a01b03831660048201526024016100db565b6001600160a01b031660a0525061034d945050505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b80516001600160a01b03811681146102ab575f80fd5b919050565b5f805f80608085870312156102c3575f80fd5b6102cc85610295565b93506102da60208601610295565b92506102e860408601610295565b91506102f660608601610295565b905092959194509250565b5f60208284031215610311575f80fd5b81518015158114610320575f80fd5b9392505050565b5f60208284031215610337575f80fd5b81516001600160601b0381168114610320575f80fd5b60805160a05160c05160e0516115b56103e85f395f818161011b015281816106be015281816108a8015281816109960152610adf01525f6101d801525f81816101800152818161075801528181610b7b01528181610c1201528181610ea001528181610fad0152818161109501526111a201525f818160ba015281816102660152818161032c0152818161047f015261053e01526115b55ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806382bfefc81161006e57806382bfefc81461017b5780638fb36037146101a2578063bf7e214f146101c3578063ce0f75de146101d3578063deaa59df146101fa578063ea0b3c731461020d575f80fd5b806306433b1b146100b557806313299604146100f957806367ed5f3614610101578063707ddfae1461011657806379fc35e8146101555780637a9e5e4b14610168575b5f80fd5b6100dc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100dc610220565b61011461010f3660046114c6565b610247565b005b61013d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b0390911681526020016100f0565b6101146101633660046114c6565b61030d565b6101146101763660046114fd565b6103ca565b6100dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101aa61043e565b6040516001600160e01b031990911681526020016100f0565b5f546001600160a01b03166100dc565b6100dc7f000000000000000000000000000000000000000000000000000000000000000081565b6101146102083660046114fd565b610460565b61011461021b3660046114c6565b61051f565b6001545f906001600160a01b031661023757503090565b506001546001600160a01b031690565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa1580156102b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102db9190611518565b6102ff57604051630542d5c160e01b81523360048201526024015b60405180910390fd5b61030982826105dc565b5050565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa15801561037d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a19190611518565b6103c057604051630542d5c160e01b81523360048201526024016102f6565b61030982826105f0565b5f5433906001600160a01b031681146104005760405162d1953b60e31b81526001600160a01b03821660048201526024016102f6565b816001600160a01b03163b5f03610435576040516361798f2f60e11b81526001600160a01b03831660048201526024016102f6565b61030982610604565b5f8054600160a01b900460ff1661045457505f90565b50638fb3603760e01b90565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa1580156104d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104f49190611518565b61051357604051630542d5c160e01b81523360048201526024016102f6565b61051c81610657565b50565b60408051631703989960e21b81523360048201526008602482015290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691635c0e62649160448083019260209291908290030181865afa15801561058f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b39190611518565b6105d257604051630542d5c160e01b81523360048201526024016102f6565b610309828261096b565b6103096105e7610220565b83836001610b65565b610309826105fc610220565b836001610b65565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6001546001600160a01b039081169082168190036106885760405163b779402d60e01b815260040160405180910390fd5b5f610691610220565b600180546001600160a01b0319166001600160a01b03868116918217909255604080516001600160601b037f000000000000000000000000000000000000000000000000000000000000000016815292861660208401528201529091507fe17b63a940799420dfdbb7bc7d4f264ef924329d7a5135cb82b1162c86ea02f59060600160405180910390a16040516370a0823160e01b81526001600160a01b0382811660048301525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa15801561079f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c39190611537565b6040518263ffffffff1660e01b81526004016107e191815260200190565b602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610820919061154e565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610879573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089d9190611518565b1561096557604080517f00000000000000000000000000000000000000000000000000000000000000006001600160601b0390811682526001600160a01b0386811660208401528716828401528316606082015290517f85bc564e97c299d12e3a61734d4f9ca9aff69b15059d1b177825a456c8a317d99181900360800190a16001600160a01b03831661093d576109383085836001610b65565b610965565b6001600160a01b038416610958576109388330836001610b65565b6109658385836001610b65565b50505050565b6001546001600160a01b0316156109d95760015460405163266a456b60e11b81526001600160601b037f00000000000000000000000000000000000000000000000000000000000000001660048201523060248201526001600160a01b0390911660448201526064016102f6565b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610a31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a559190611537565b90505f610acc8373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610aa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac7919061154e565b610c99565b15610ad957505f19905060015b604080517f00000000000000000000000000000000000000000000000000000000000000006001600160601b0390811682523060208301526001600160a01b0387168284015285166060820152821515608082015290517f87afdceff4fac7ed560df07efe2dbb4585adc663dd5fab969376f20d70cb7a449181900360a00190a1610965843084610d24565b8015610b7557610b758483610de1565b604080517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116825286811660208301528516818301526001600160601b038416606082015290517fd8dad5de52bc07319fbcdbf42f954f497c3a267ce0cc264584726fa7a3b322079181900360800190a160405163046e44af60e11b81526001600160601b0383166004820152610965907f0000000000000000000000000000000000000000000000000000000000000000908690869073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c949190611537565b61125c565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015610cf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1d9190611518565b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610d758482611295565b610965576040516001600160a01b0384811660248301525f6044830152610dd791869182169063095ea7b3906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050611336565b6109658482611336565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af4158015610e37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5b9190611518565b15610e795760405163ba9cf25b60e01b815260040160405180910390fd5b604051636eb1769f60e11b81526001600160a01b0383811660048301523060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169063dd62ed3e90604401602060405180830381865afa158015610ee7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0b9190611537565b60405163046e44af60e11b81526001600160601b038416600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610f64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f889190611537565b8110156110745760405163046e44af60e11b81526001600160601b03831660048201527f00000000000000000000000000000000000000000000000000000000000000009084903090849073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561100d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110319190611537565b6040516319d2916b60e21b81526001600160a01b03958616600482015293851660248501529390911660448301526064820152608481019190915260a4016102f6565b6040516370a0823160e01b81526001600160a01b0384811660048301525f917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa1580156110dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111009190611537565b60405163046e44af60e11b81526001600160601b038516600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611159573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117d9190611537565b8110156109655760405163046e44af60e11b81526001600160601b03841660048201527f0000000000000000000000000000000000000000000000000000000000000000908590839073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611200573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112249190611537565b604051631288e44360e21b81526001600160a01b039485166004820152939092166024840152604483015260648201526084016102f6565b6040516001600160a01b0384811660248301528381166044830152606482018390526109659186918216906323b872dd90608401610da5565b5f805f846001600160a01b0316846040516112b09190611569565b5f604051808303815f865af19150503d805f81146112e9576040519150601f19603f3d011682016040523d82523d5f602084013e6112ee565b606091505b50915091508180156113185750805115806113185750808060200190518101906113189190611518565b801561132d57505f856001600160a01b03163b115b95945050505050565b5f61134a6001600160a01b0384168361139c565b905080515f1415801561136e57508080602001905181019061136c9190611518565b155b1561139757604051635274afe760e01b81526001600160a01b03841660048201526024016102f6565b505050565b6060610d1d83835f845f80856001600160a01b031684866040516113c09190611569565b5f6040518083038185875af1925050503d805f81146113fa576040519150601f19603f3d011682016040523d82523d5f602084013e6113ff565b606091505b509150915061140f868383611419565b9695505050505050565b60608261142e5761142982611475565b610d1d565b815115801561144557506001600160a01b0384163b155b1561146e57604051639996b31560e01b81526001600160a01b03851660048201526024016102f6565b5080610d1d565b8051156114855780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b038116811461051c575f80fd5b6001600160601b038116811461051c575f80fd5b5f80604083850312156114d7575f80fd5b82356114e28161149e565b915060208301356114f2816114b2565b809150509250929050565b5f6020828403121561150d575f80fd5b8135610d1d8161149e565b5f60208284031215611528575f80fd5b81518015158114610d1d575f80fd5b5f60208284031215611547575f80fd5b5051919050565b5f6020828403121561155e575f80fd5b8151610d1d816114b2565b5f82518060208501845e5f92019182525091905056fea2646970667358221220e5a8a8a57b0e7b59c7ea6216b3c914f0f2475a7af12cd3b656af9492428a06d064736f6c634300081a0033a264697066735822122086c22a4450d3ff711bf0f9586fd4bf4d1ffc4498844c42be8227bd3e9ba7935164736f6c634300081a0033",
8
+ "linkReferences": {
9
+ "contracts/shared/ContractLib.sol": {
10
+ "ContractLib": [
11
+ {
12
+ "length": 20,
13
+ "start": 472
14
+ }
15
+ ]
16
+ },
17
+ "contracts/type/Amount.sol": {
18
+ "AmountLib": [
19
+ {
20
+ "length": 20,
21
+ "start": 3233
22
+ },
23
+ {
24
+ "length": 20,
25
+ "start": 3494
26
+ },
27
+ {
28
+ "length": 20,
29
+ "start": 3934
30
+ },
31
+ {
32
+ "length": 20,
33
+ "start": 4035
34
+ },
35
+ {
36
+ "length": 20,
37
+ "start": 4509
38
+ },
39
+ {
40
+ "length": 20,
41
+ "start": 4646
42
+ },
43
+ {
44
+ "length": 20,
45
+ "start": 4964
46
+ },
47
+ {
48
+ "length": 20,
49
+ "start": 5265
50
+ },
51
+ {
52
+ "length": 20,
53
+ "start": 5434
54
+ },
55
+ {
56
+ "length": 20,
57
+ "start": 5766
58
+ },
59
+ {
60
+ "length": 20,
61
+ "start": 5933
62
+ }
63
+ ]
64
+ },
65
+ "contracts/type/NftId.sol": {
66
+ "NftIdLib": [
67
+ {
68
+ "length": 20,
69
+ "start": 802
70
+ }
71
+ ]
72
+ }
73
+ },
74
+ "deployedLinkReferences": {
75
+ "contracts/shared/ContractLib.sol": {
76
+ "ContractLib": [
77
+ {
78
+ "length": 20,
79
+ "start": 420
80
+ }
81
+ ]
82
+ },
83
+ "contracts/type/Amount.sol": {
84
+ "AmountLib": [
85
+ {
86
+ "length": 20,
87
+ "start": 3181
88
+ },
89
+ {
90
+ "length": 20,
91
+ "start": 3442
92
+ },
93
+ {
94
+ "length": 20,
95
+ "start": 3882
96
+ },
97
+ {
98
+ "length": 20,
99
+ "start": 3983
100
+ },
101
+ {
102
+ "length": 20,
103
+ "start": 4457
104
+ },
105
+ {
106
+ "length": 20,
107
+ "start": 4594
108
+ },
109
+ {
110
+ "length": 20,
111
+ "start": 4912
112
+ },
113
+ {
114
+ "length": 20,
115
+ "start": 5213
116
+ },
117
+ {
118
+ "length": 20,
119
+ "start": 5382
120
+ },
121
+ {
122
+ "length": 20,
123
+ "start": 5714
124
+ },
125
+ {
126
+ "length": 20,
127
+ "start": 5881
128
+ }
129
+ ]
130
+ },
131
+ "contracts/type/NftId.sol": {
132
+ "NftIdLib": [
133
+ {
134
+ "length": 20,
135
+ "start": 750
136
+ }
137
+ ]
138
+ }
139
+ }
140
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e90d260d136f1141b593b63f31d8f134.json"
3
+ "buildInfo": "../../../build-info/2e6e39756b09414ce5f03485b8d996e2.json"
4
4
  }