@etherisc/gif-next 0.0.2-c00cf5d-513 → 0.0.2-c04bff4-304

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. package/README.md +49 -4
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +160 -543
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +272 -455
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +75 -143
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +169 -263
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +186 -94
  36. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  37. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  38. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  39. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  40. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  44. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +71 -85
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +190 -49
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +65 -227
  52. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1218 -284
  54. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +592 -316
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +246 -196
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +65 -109
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1112 -372
  64. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  66. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  68. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  70. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  72. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  80. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  81. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  82. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  84. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  86. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  88. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  90. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  92. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  94. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
  96. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
  98. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
  100. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  102. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +414 -359
  104. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +121 -117
  106. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +204 -32
  108. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +180 -366
  110. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +340 -219
  112. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  113. package/artifacts/contracts/pool/Pool.sol/Pool.json +204 -596
  114. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +394 -574
  116. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +51 -139
  118. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +84 -289
  120. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +54 -106
  122. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
  124. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  126. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +225 -305
  128. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +79 -123
  130. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
  132. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +134 -1
  134. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +217 -83
  136. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +83 -44
  138. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -183
  140. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  141. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +15 -57
  142. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +239 -435
  144. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +66 -162
  146. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.json +184 -347
  148. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -124
  150. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  151. package/artifacts/contracts/product/Product.sol/Product.json +286 -449
  152. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
  154. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
  156. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  158. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +308 -39
  160. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +42 -73
  162. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  163. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/Registry.sol/Registry.json +718 -74
  165. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  166. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1682 -113
  167. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  168. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +195 -137
  169. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +45 -93
  171. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  172. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  173. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  174. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  175. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  176. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  177. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  178. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -136
  179. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  180. package/artifacts/contracts/shared/Component.sol/Component.json +88 -295
  181. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  182. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1125 -207
  183. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +753 -0
  185. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  186. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +427 -0
  187. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  188. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +76 -107
  189. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  190. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  191. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  192. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  193. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  194. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +12 -16
  195. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  196. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  197. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  198. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  199. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +0 -24
  201. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  203. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  206. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  208. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  209. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  210. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  211. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  212. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  213. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  214. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  216. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  217. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  218. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -70
  220. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  221. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +4 -118
  222. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +16 -110
  224. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  226. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  227. package/artifacts/contracts/shared/Service.sol/Service.json +13 -125
  228. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
  230. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  232. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  234. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  235. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +566 -54
  236. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  238. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  239. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  240. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  242. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +714 -0
  244. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  246. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +636 -191
  248. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +65 -97
  250. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  252. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  254. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  255. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  256. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.json +97 -4
  258. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  260. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  262. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  263. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  264. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
  266. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  267. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  268. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  270. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  272. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  274. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  276. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  278. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  280. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  282. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  284. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  286. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  290. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  292. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  294. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  296. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  298. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
  300. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  304. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  305. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  306. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
  308. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  309. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  310. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  311. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  312. package/contracts/authorization/AccessAdmin.sol +589 -0
  313. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  314. package/contracts/authorization/Authorization.sol +217 -0
  315. package/contracts/authorization/IAccess.sol +48 -0
  316. package/contracts/authorization/IAccessAdmin.sol +136 -0
  317. package/contracts/authorization/IAuthorization.sol +54 -0
  318. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  319. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  320. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  321. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  322. package/contracts/distribution/BasicDistribution.sol +138 -0
  323. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  324. package/contracts/distribution/Distribution.sol +163 -153
  325. package/contracts/distribution/DistributionService.sol +132 -147
  326. package/contracts/distribution/DistributionServiceManager.sol +2 -5
  327. package/contracts/distribution/IDistributionComponent.sol +28 -47
  328. package/contracts/distribution/IDistributionService.sol +24 -10
  329. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  330. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  331. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  332. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  333. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  334. package/contracts/instance/IInstance.sol +24 -40
  335. package/contracts/instance/IInstanceService.sol +44 -24
  336. package/contracts/instance/Instance.sol +112 -117
  337. package/contracts/instance/InstanceAdmin.sol +221 -266
  338. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  339. package/contracts/instance/InstanceReader.sol +114 -52
  340. package/contracts/instance/InstanceService.sol +280 -112
  341. package/contracts/instance/InstanceServiceManager.sol +2 -6
  342. package/contracts/instance/InstanceStore.sol +142 -66
  343. package/contracts/instance/base/BalanceStore.sol +123 -0
  344. package/contracts/instance/base/Cloneable.sol +2 -25
  345. package/contracts/instance/base/ObjectCounter.sol +21 -0
  346. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  347. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  348. package/contracts/instance/module/IBundle.sol +1 -4
  349. package/contracts/instance/module/IComponents.sol +15 -10
  350. package/contracts/instance/module/IDistribution.sol +0 -1
  351. package/contracts/instance/module/IPolicy.sol +29 -23
  352. package/contracts/mock/Dip.sol +26 -0
  353. package/contracts/oracle/BasicOracle.sol +48 -0
  354. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  355. package/contracts/oracle/IOracle.sol +36 -0
  356. package/contracts/oracle/IOracleComponent.sol +33 -0
  357. package/contracts/oracle/IOracleService.sol +65 -0
  358. package/contracts/oracle/Oracle.sol +167 -0
  359. package/contracts/oracle/OracleService.sol +279 -0
  360. package/contracts/oracle/OracleServiceManager.sol +39 -0
  361. package/contracts/pool/BasicPool.sol +166 -0
  362. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  363. package/contracts/pool/BundleService.sol +256 -202
  364. package/contracts/pool/BundleServiceManager.sol +2 -5
  365. package/contracts/pool/IBundleService.sol +35 -19
  366. package/contracts/pool/IPoolComponent.sol +10 -66
  367. package/contracts/pool/IPoolService.sol +79 -33
  368. package/contracts/pool/Pool.sol +169 -145
  369. package/contracts/pool/PoolService.sol +319 -214
  370. package/contracts/pool/PoolServiceManager.sol +2 -5
  371. package/contracts/product/ApplicationService.sol +139 -78
  372. package/contracts/product/ApplicationServiceManager.sol +2 -2
  373. package/contracts/product/BasicProduct.sol +53 -0
  374. package/contracts/product/BasicProductAuthorization.sol +43 -0
  375. package/contracts/product/ClaimService.sol +136 -92
  376. package/contracts/product/ClaimServiceManager.sol +2 -2
  377. package/contracts/product/IApplicationService.sol +2 -1
  378. package/contracts/product/IClaimService.sol +32 -3
  379. package/contracts/product/IPolicyService.sol +31 -38
  380. package/contracts/product/IPricingService.sol +10 -8
  381. package/contracts/product/IProductComponent.sol +10 -12
  382. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
  383. package/contracts/product/PolicyService.sol +389 -194
  384. package/contracts/product/PolicyServiceManager.sol +2 -5
  385. package/contracts/product/PricingService.sol +99 -74
  386. package/contracts/product/PricingServiceManager.sol +2 -5
  387. package/contracts/product/Product.sol +177 -131
  388. package/contracts/product/RiskService.sol +97 -0
  389. package/contracts/product/RiskServiceManager.sol +39 -0
  390. package/contracts/registry/ChainNft.sol +72 -32
  391. package/contracts/registry/IRegistry.sol +76 -21
  392. package/contracts/registry/IRegistryService.sol +15 -5
  393. package/contracts/registry/Registry.sol +412 -175
  394. package/contracts/registry/RegistryAdmin.sol +399 -76
  395. package/contracts/registry/RegistryService.sol +53 -33
  396. package/contracts/registry/RegistryServiceManager.sol +4 -11
  397. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  398. package/contracts/registry/ReleaseRegistry.sol +491 -0
  399. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  400. package/contracts/registry/TokenRegistry.sol +261 -64
  401. package/contracts/shared/Component.sol +145 -148
  402. package/contracts/shared/ComponentService.sol +590 -91
  403. package/contracts/shared/ComponentServiceManager.sol +35 -0
  404. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  405. package/contracts/shared/IComponent.sol +21 -41
  406. package/contracts/shared/IComponentService.sol +108 -0
  407. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  408. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  409. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  410. package/contracts/shared/INftOwnable.sol +1 -1
  411. package/contracts/shared/IPolicyHolder.sol +0 -4
  412. package/contracts/shared/IService.sol +9 -2
  413. package/contracts/shared/InitializableCustom.sol +177 -0
  414. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  415. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  416. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  417. package/contracts/shared/Lifecycle.sol +77 -0
  418. package/contracts/shared/NftIdSet.sol +65 -0
  419. package/contracts/shared/NftOwnable.sol +10 -20
  420. package/contracts/shared/PolicyHolder.sol +10 -48
  421. package/contracts/shared/Registerable.sol +6 -6
  422. package/contracts/shared/RegistryLinked.sol +3 -2
  423. package/contracts/shared/Service.sol +37 -27
  424. package/contracts/shared/TokenHandler.sol +112 -8
  425. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  426. package/contracts/staking/IStaking.sol +168 -0
  427. package/contracts/staking/IStakingService.sol +105 -47
  428. package/contracts/staking/StakeManagerLib.sol +224 -0
  429. package/contracts/staking/Staking.sol +498 -0
  430. package/contracts/staking/StakingLifecycle.sol +23 -0
  431. package/contracts/staking/StakingManager.sol +50 -0
  432. package/contracts/staking/StakingReader.sol +183 -0
  433. package/contracts/staking/StakingService.sol +285 -47
  434. package/contracts/staking/StakingServiceManager.sol +9 -5
  435. package/contracts/staking/StakingStore.sol +605 -0
  436. package/contracts/staking/TargetManagerLib.sol +211 -0
  437. package/contracts/type/AddressSet.sol +1 -1
  438. package/contracts/type/Amount.sol +29 -3
  439. package/contracts/type/Blocknumber.sol +26 -3
  440. package/contracts/type/Fee.sol +17 -16
  441. package/contracts/type/NftId.sol +14 -16
  442. package/contracts/type/NftIdSet.sol +1 -1
  443. package/contracts/type/ObjectType.sol +175 -62
  444. package/contracts/type/Referral.sol +2 -1
  445. package/contracts/type/RequestId.sol +75 -0
  446. package/contracts/type/RiskId.sol +1 -1
  447. package/contracts/type/RoleId.sol +104 -69
  448. package/contracts/type/Seconds.sol +48 -1
  449. package/contracts/type/Selector.sol +102 -0
  450. package/contracts/type/StateId.sol +28 -2
  451. package/contracts/type/String.sol +53 -0
  452. package/contracts/type/Timestamp.sol +17 -3
  453. package/contracts/type/UFixed.sol +34 -9
  454. package/contracts/type/Version.sol +4 -2
  455. package/contracts/{shared → upgradeability}/ProxyManager.sol +6 -8
  456. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  457. package/package.json +8 -5
  458. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  459. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  460. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  461. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -188
  462. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  463. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  464. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  465. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  466. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  468. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  469. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  470. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  471. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  472. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  473. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  474. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  475. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -891
  476. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  477. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -715
  478. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  479. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1058
  480. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  481. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  482. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  483. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1715
  484. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  485. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1728
  486. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  487. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1806
  488. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  489. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1824
  490. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  491. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  492. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  493. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  494. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  495. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  496. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  497. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  498. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -630
  499. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  500. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  501. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  502. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -320
  503. package/contracts/instance/base/Lifecycle.sol +0 -121
  504. package/contracts/instance/module/ISetup.sol +0 -33
  505. package/contracts/instance/module/ITreasury.sol +0 -23
  506. package/contracts/product/ProductService.sol +0 -212
  507. package/contracts/product/ProductServiceManager.sol +0 -42
  508. package/contracts/registry/ReleaseManager.sol +0 -462
  509. package/contracts/shared/AccessManagerCustom.sol +0 -736
  510. package/contracts/shared/AccessManagerExtended.sol +0 -469
  511. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  512. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  513. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  514. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  515. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  516. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  517. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -42,25 +42,8 @@
42
42
  "type": "error"
43
43
  },
44
44
  {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "target",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AddressEmptyCode",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "address",
59
- "name": "account",
60
- "type": "address"
61
- }
62
- ],
63
- "name": "AddressInsufficientBalance",
45
+ "inputs": [],
46
+ "name": "ErrorComponentNameLengthZero",
64
47
  "type": "error"
65
48
  },
66
49
  {
@@ -86,19 +69,13 @@
86
69
  "type": "error"
87
70
  },
88
71
  {
89
- "inputs": [
90
- {
91
- "internalType": "address",
92
- "name": "caller",
93
- "type": "address"
94
- }
95
- ],
96
- "name": "ErrorComponentNotProductService",
72
+ "inputs": [],
73
+ "name": "ErrorComponentProductNftAlreadySet",
97
74
  "type": "error"
98
75
  },
99
76
  {
100
77
  "inputs": [],
101
- "name": "ErrorComponentProductNftAlreadySet",
78
+ "name": "ErrorComponentTokenAddressZero",
102
79
  "type": "error"
103
80
  },
104
81
  {
@@ -111,32 +88,6 @@
111
88
  "name": "ErrorComponentWalletAddressZero",
112
89
  "type": "error"
113
90
  },
114
- {
115
- "inputs": [
116
- {
117
- "internalType": "address",
118
- "name": "oldWallet",
119
- "type": "address"
120
- },
121
- {
122
- "internalType": "address",
123
- "name": "newWallet",
124
- "type": "address"
125
- },
126
- {
127
- "internalType": "uint256",
128
- "name": "allowance",
129
- "type": "uint256"
130
- },
131
- {
132
- "internalType": "uint256",
133
- "name": "balance",
134
- "type": "uint256"
135
- }
136
- ],
137
- "name": "ErrorComponentWalletAllowanceTooSmall",
138
- "type": "error"
139
- },
140
91
  {
141
92
  "inputs": [],
142
93
  "name": "ErrorComponentWalletNotComponent",
@@ -191,11 +142,6 @@
191
142
  "name": "ErrorNotRegistry",
192
143
  "type": "error"
193
144
  },
194
- {
195
- "inputs": [],
196
- "name": "FailedInnerCall",
197
- "type": "error"
198
- },
199
145
  {
200
146
  "inputs": [],
201
147
  "name": "InvalidInitialization",
@@ -206,17 +152,6 @@
206
152
  "name": "NotInitializing",
207
153
  "type": "error"
208
154
  },
209
- {
210
- "inputs": [
211
- {
212
- "internalType": "address",
213
- "name": "token",
214
- "type": "address"
215
- }
216
- ],
217
- "name": "SafeERC20FailedOperation",
218
- "type": "error"
219
- },
220
155
  {
221
156
  "anonymous": false,
222
157
  "inputs": [
@@ -248,9 +183,15 @@
248
183
  "inputs": [
249
184
  {
250
185
  "indexed": false,
251
- "internalType": "uint256",
186
+ "internalType": "address",
187
+ "name": "token",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "indexed": false,
192
+ "internalType": "Amount",
252
193
  "name": "limit",
253
- "type": "uint256"
194
+ "type": "uint96"
254
195
  }
255
196
  ],
256
197
  "name": "LogComponentTokenHandlerApproved",
@@ -313,6 +254,19 @@
313
254
  "stateMutability": "view",
314
255
  "type": "function"
315
256
  },
257
+ {
258
+ "inputs": [],
259
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
260
+ "outputs": [
261
+ {
262
+ "internalType": "bytes32",
263
+ "name": "",
264
+ "type": "bytes32"
265
+ }
266
+ ],
267
+ "stateMutability": "view",
268
+ "type": "function"
269
+ },
316
270
  {
317
271
  "inputs": [],
318
272
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -355,9 +309,27 @@
355
309
  {
356
310
  "inputs": [
357
311
  {
358
- "internalType": "uint256",
312
+ "internalType": "address",
313
+ "name": "token",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "internalType": "Amount",
359
318
  "name": "spendingLimitAmount",
360
- "type": "uint256"
319
+ "type": "uint96"
320
+ }
321
+ ],
322
+ "name": "approveTokenHandler",
323
+ "outputs": [],
324
+ "stateMutability": "nonpayable",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [
329
+ {
330
+ "internalType": "Amount",
331
+ "name": "spendingLimitAmount",
332
+ "type": "uint96"
361
333
  }
362
334
  ],
363
335
  "name": "approveTokenHandler",
@@ -387,17 +359,17 @@
387
359
  },
388
360
  {
389
361
  "internalType": "RiskId",
390
- "name": "riskId",
362
+ "name": "",
391
363
  "type": "bytes8"
392
364
  },
393
365
  {
394
366
  "internalType": "Seconds",
395
- "name": "lifetime",
367
+ "name": "",
396
368
  "type": "uint40"
397
369
  },
398
370
  {
399
371
  "internalType": "bytes",
400
- "name": "applicationData",
372
+ "name": "",
401
373
  "type": "bytes"
402
374
  }
403
375
  ],
@@ -456,6 +428,19 @@
456
428
  "stateMutability": "view",
457
429
  "type": "function"
458
430
  },
431
+ {
432
+ "inputs": [],
433
+ "name": "getAuthorization",
434
+ "outputs": [
435
+ {
436
+ "internalType": "contract IAuthorization",
437
+ "name": "authorization",
438
+ "type": "address"
439
+ }
440
+ ],
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ },
459
444
  {
460
445
  "inputs": [],
461
446
  "name": "getComponentInfo",
@@ -467,6 +452,11 @@
467
452
  "name": "name",
468
453
  "type": "string"
469
454
  },
455
+ {
456
+ "internalType": "NftId",
457
+ "name": "productNftId",
458
+ "type": "uint96"
459
+ },
470
460
  {
471
461
  "internalType": "contract IERC20Metadata",
472
462
  "name": "token",
@@ -482,16 +472,6 @@
482
472
  "name": "wallet",
483
473
  "type": "address"
484
474
  },
485
- {
486
- "internalType": "Amount",
487
- "name": "balanceAmount",
488
- "type": "uint96"
489
- },
490
- {
491
- "internalType": "Amount",
492
- "name": "feeAmount",
493
- "type": "uint96"
494
- },
495
475
  {
496
476
  "internalType": "bytes",
497
477
  "name": "data",
@@ -519,6 +499,51 @@
519
499
  "stateMutability": "view",
520
500
  "type": "function"
521
501
  },
502
+ {
503
+ "inputs": [],
504
+ "name": "getInitialComponentInfo",
505
+ "outputs": [
506
+ {
507
+ "components": [
508
+ {
509
+ "internalType": "string",
510
+ "name": "name",
511
+ "type": "string"
512
+ },
513
+ {
514
+ "internalType": "NftId",
515
+ "name": "productNftId",
516
+ "type": "uint96"
517
+ },
518
+ {
519
+ "internalType": "contract IERC20Metadata",
520
+ "name": "token",
521
+ "type": "address"
522
+ },
523
+ {
524
+ "internalType": "contract TokenHandler",
525
+ "name": "tokenHandler",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "address",
530
+ "name": "wallet",
531
+ "type": "address"
532
+ },
533
+ {
534
+ "internalType": "bytes",
535
+ "name": "data",
536
+ "type": "bytes"
537
+ }
538
+ ],
539
+ "internalType": "struct IComponents.ComponentInfo",
540
+ "name": "info",
541
+ "type": "tuple"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
522
547
  {
523
548
  "inputs": [],
524
549
  "name": "getInitialInfo",
@@ -571,111 +596,10 @@
571
596
  },
572
597
  {
573
598
  "inputs": [],
574
- "name": "getInstance",
575
- "outputs": [
576
- {
577
- "internalType": "contract IInstance",
578
- "name": "instance",
579
- "type": "address"
580
- }
581
- ],
582
- "stateMutability": "view",
583
- "type": "function"
584
- },
585
- {
586
- "inputs": [],
587
- "name": "getName",
588
- "outputs": [
589
- {
590
- "internalType": "string",
591
- "name": "name",
592
- "type": "string"
593
- }
594
- ],
595
- "stateMutability": "view",
596
- "type": "function"
597
- },
598
- {
599
- "inputs": [],
600
- "name": "getNftId",
601
- "outputs": [
602
- {
603
- "internalType": "NftId",
604
- "name": "",
605
- "type": "uint96"
606
- }
607
- ],
608
- "stateMutability": "view",
609
- "type": "function"
610
- },
611
- {
612
- "inputs": [],
613
- "name": "getOwner",
614
- "outputs": [
615
- {
616
- "internalType": "address",
617
- "name": "",
618
- "type": "address"
619
- }
620
- ],
621
- "stateMutability": "view",
622
- "type": "function"
623
- },
624
- {
625
- "inputs": [],
626
- "name": "getPoolNftId",
627
- "outputs": [
628
- {
629
- "internalType": "NftId",
630
- "name": "poolNftId",
631
- "type": "uint96"
632
- }
633
- ],
634
- "stateMutability": "view",
635
- "type": "function"
636
- },
637
- {
638
- "inputs": [],
639
- "name": "getProductNftId",
640
- "outputs": [
641
- {
642
- "internalType": "NftId",
643
- "name": "productNftId",
644
- "type": "uint96"
645
- }
646
- ],
647
- "stateMutability": "view",
648
- "type": "function"
649
- },
650
- {
651
- "inputs": [],
652
- "name": "getRegistry",
653
- "outputs": [
654
- {
655
- "internalType": "contract IRegistry",
656
- "name": "",
657
- "type": "address"
658
- }
659
- ],
660
- "stateMutability": "view",
661
- "type": "function"
662
- },
663
- {
664
- "inputs": [],
665
- "name": "getSetupInfo",
599
+ "name": "getInitialProductInfo",
666
600
  "outputs": [
667
601
  {
668
602
  "components": [
669
- {
670
- "internalType": "contract IERC20Metadata",
671
- "name": "token",
672
- "type": "address"
673
- },
674
- {
675
- "internalType": "contract TokenHandler",
676
- "name": "tokenHandler",
677
- "type": "address"
678
- },
679
603
  {
680
604
  "internalType": "NftId",
681
605
  "name": "distributionNftId",
@@ -721,18 +645,93 @@
721
645
  "type": "tuple"
722
646
  },
723
647
  {
724
- "internalType": "bool",
725
- "name": "isIntercepting",
726
- "type": "bool"
648
+ "components": [
649
+ {
650
+ "internalType": "UFixed",
651
+ "name": "fractionalFee",
652
+ "type": "uint256"
653
+ },
654
+ {
655
+ "internalType": "uint256",
656
+ "name": "fixedFee",
657
+ "type": "uint256"
658
+ }
659
+ ],
660
+ "internalType": "struct Fee",
661
+ "name": "distributionFee",
662
+ "type": "tuple"
727
663
  },
728
664
  {
729
- "internalType": "address",
730
- "name": "wallet",
731
- "type": "address"
665
+ "components": [
666
+ {
667
+ "internalType": "UFixed",
668
+ "name": "fractionalFee",
669
+ "type": "uint256"
670
+ },
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "fixedFee",
674
+ "type": "uint256"
675
+ }
676
+ ],
677
+ "internalType": "struct Fee",
678
+ "name": "minDistributionOwnerFee",
679
+ "type": "tuple"
680
+ },
681
+ {
682
+ "components": [
683
+ {
684
+ "internalType": "UFixed",
685
+ "name": "fractionalFee",
686
+ "type": "uint256"
687
+ },
688
+ {
689
+ "internalType": "uint256",
690
+ "name": "fixedFee",
691
+ "type": "uint256"
692
+ }
693
+ ],
694
+ "internalType": "struct Fee",
695
+ "name": "poolFee",
696
+ "type": "tuple"
697
+ },
698
+ {
699
+ "components": [
700
+ {
701
+ "internalType": "UFixed",
702
+ "name": "fractionalFee",
703
+ "type": "uint256"
704
+ },
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "fixedFee",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "internalType": "struct Fee",
712
+ "name": "stakingFee",
713
+ "type": "tuple"
714
+ },
715
+ {
716
+ "components": [
717
+ {
718
+ "internalType": "UFixed",
719
+ "name": "fractionalFee",
720
+ "type": "uint256"
721
+ },
722
+ {
723
+ "internalType": "uint256",
724
+ "name": "fixedFee",
725
+ "type": "uint256"
726
+ }
727
+ ],
728
+ "internalType": "struct Fee",
729
+ "name": "performanceFee",
730
+ "type": "tuple"
732
731
  }
733
732
  ],
734
- "internalType": "struct ISetup.ProductSetupInfo",
735
- "name": "setupInfo",
733
+ "internalType": "struct IComponents.ProductInfo",
734
+ "name": "poolInfo",
736
735
  "type": "tuple"
737
736
  }
738
737
  ],
@@ -741,11 +740,11 @@
741
740
  },
742
741
  {
743
742
  "inputs": [],
744
- "name": "getToken",
743
+ "name": "getInstance",
745
744
  "outputs": [
746
745
  {
747
- "internalType": "contract IERC20Metadata",
748
- "name": "token",
746
+ "internalType": "contract IInstance",
747
+ "name": "instance",
749
748
  "type": "address"
750
749
  }
751
750
  ],
@@ -754,12 +753,12 @@
754
753
  },
755
754
  {
756
755
  "inputs": [],
757
- "name": "getTokenHandler",
756
+ "name": "getName",
758
757
  "outputs": [
759
758
  {
760
- "internalType": "contract TokenHandler",
761
- "name": "tokenHandler",
762
- "type": "address"
759
+ "internalType": "string",
760
+ "name": "name",
761
+ "type": "string"
763
762
  }
764
763
  ],
765
764
  "stateMutability": "view",
@@ -767,226 +766,106 @@
767
766
  },
768
767
  {
769
768
  "inputs": [],
770
- "name": "getWallet",
769
+ "name": "getNftId",
771
770
  "outputs": [
772
771
  {
773
- "internalType": "address",
774
- "name": "walletAddress",
775
- "type": "address"
772
+ "internalType": "NftId",
773
+ "name": "",
774
+ "type": "uint96"
776
775
  }
777
776
  ],
778
777
  "stateMutability": "view",
779
778
  "type": "function"
780
779
  },
781
780
  {
782
- "inputs": [
781
+ "inputs": [],
782
+ "name": "getOwner",
783
+ "outputs": [
783
784
  {
784
785
  "internalType": "address",
785
- "name": "registry",
786
+ "name": "",
786
787
  "type": "address"
787
- },
788
+ }
789
+ ],
790
+ "stateMutability": "view",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [],
795
+ "name": "getPoolNftId",
796
+ "outputs": [
788
797
  {
789
798
  "internalType": "NftId",
790
- "name": "instanceNftId",
799
+ "name": "poolNftId",
791
800
  "type": "uint96"
792
- },
793
- {
794
- "internalType": "string",
795
- "name": "name",
796
- "type": "string"
797
- },
798
- {
799
- "internalType": "address",
800
- "name": "token",
801
- "type": "address"
802
- },
803
- {
804
- "internalType": "ObjectType",
805
- "name": "componentType",
806
- "type": "uint8"
807
- },
808
- {
809
- "internalType": "bool",
810
- "name": "isInterceptor",
811
- "type": "bool"
812
- },
813
- {
814
- "internalType": "address",
815
- "name": "initialOwner",
816
- "type": "address"
817
- },
818
- {
819
- "internalType": "bytes",
820
- "name": "registryData",
821
- "type": "bytes"
822
801
  }
823
802
  ],
824
- "name": "initializeComponent",
825
- "outputs": [],
826
- "stateMutability": "nonpayable",
803
+ "stateMutability": "view",
827
804
  "type": "function"
828
805
  },
829
806
  {
830
807
  "inputs": [],
831
- "name": "initializeERC165",
832
- "outputs": [],
833
- "stateMutability": "nonpayable",
808
+ "name": "getProductNftId",
809
+ "outputs": [
810
+ {
811
+ "internalType": "NftId",
812
+ "name": "productNftId",
813
+ "type": "uint96"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
834
817
  "type": "function"
835
818
  },
836
819
  {
837
- "inputs": [
838
- {
839
- "internalType": "address",
840
- "name": "initialOwner",
841
- "type": "address"
842
- },
820
+ "inputs": [],
821
+ "name": "getRegistry",
822
+ "outputs": [
843
823
  {
844
- "internalType": "address",
845
- "name": "registryAddress",
824
+ "internalType": "contract IRegistry",
825
+ "name": "",
846
826
  "type": "address"
847
827
  }
848
828
  ],
849
- "name": "initializeNftOwnable",
850
- "outputs": [],
851
- "stateMutability": "nonpayable",
829
+ "stateMutability": "view",
852
830
  "type": "function"
853
831
  },
854
832
  {
855
- "inputs": [
856
- {
857
- "internalType": "address",
858
- "name": "registry",
859
- "type": "address"
860
- },
861
- {
862
- "internalType": "NftId",
863
- "name": "instanceNftId",
864
- "type": "uint96"
865
- },
866
- {
867
- "internalType": "string",
868
- "name": "name",
869
- "type": "string"
870
- },
833
+ "inputs": [],
834
+ "name": "getToken",
835
+ "outputs": [
871
836
  {
872
- "internalType": "address",
837
+ "internalType": "contract IERC20Metadata",
873
838
  "name": "token",
874
839
  "type": "address"
875
- },
876
- {
877
- "internalType": "bool",
878
- "name": "isInterceptor",
879
- "type": "bool"
880
- },
881
- {
882
- "internalType": "address",
883
- "name": "pool",
884
- "type": "address"
885
- },
886
- {
887
- "internalType": "address",
888
- "name": "distribution",
889
- "type": "address"
890
- },
891
- {
892
- "components": [
893
- {
894
- "internalType": "UFixed",
895
- "name": "fractionalFee",
896
- "type": "uint256"
897
- },
898
- {
899
- "internalType": "uint256",
900
- "name": "fixedFee",
901
- "type": "uint256"
902
- }
903
- ],
904
- "internalType": "struct Fee",
905
- "name": "productFee",
906
- "type": "tuple"
907
- },
908
- {
909
- "components": [
910
- {
911
- "internalType": "UFixed",
912
- "name": "fractionalFee",
913
- "type": "uint256"
914
- },
915
- {
916
- "internalType": "uint256",
917
- "name": "fixedFee",
918
- "type": "uint256"
919
- }
920
- ],
921
- "internalType": "struct Fee",
922
- "name": "processingFee",
923
- "type": "tuple"
924
- },
925
- {
926
- "internalType": "address",
927
- "name": "initialOwner",
928
- "type": "address"
929
- },
930
- {
931
- "internalType": "bytes",
932
- "name": "registryData",
933
- "type": "bytes"
934
840
  }
935
841
  ],
936
- "name": "initializeProduct",
937
- "outputs": [],
938
- "stateMutability": "nonpayable",
842
+ "stateMutability": "view",
939
843
  "type": "function"
940
844
  },
941
845
  {
942
- "inputs": [
943
- {
944
- "internalType": "address",
945
- "name": "registryAddress",
946
- "type": "address"
947
- },
948
- {
949
- "internalType": "NftId",
950
- "name": "parentNftId",
951
- "type": "uint96"
952
- },
953
- {
954
- "internalType": "ObjectType",
955
- "name": "objectType",
956
- "type": "uint8"
957
- },
958
- {
959
- "internalType": "bool",
960
- "name": "isInterceptor",
961
- "type": "bool"
962
- },
846
+ "inputs": [],
847
+ "name": "getTokenHandler",
848
+ "outputs": [
963
849
  {
964
- "internalType": "address",
965
- "name": "initialOwner",
850
+ "internalType": "contract TokenHandler",
851
+ "name": "tokenHandler",
966
852
  "type": "address"
967
- },
968
- {
969
- "internalType": "bytes",
970
- "name": "registryData",
971
- "type": "bytes"
972
853
  }
973
854
  ],
974
- "name": "initializeRegisterable",
975
- "outputs": [],
976
- "stateMutability": "nonpayable",
855
+ "stateMutability": "view",
977
856
  "type": "function"
978
857
  },
979
858
  {
980
- "inputs": [
859
+ "inputs": [],
860
+ "name": "getWallet",
861
+ "outputs": [
981
862
  {
982
863
  "internalType": "address",
983
- "name": "registryAddress",
864
+ "name": "walletAddress",
984
865
  "type": "address"
985
866
  }
986
867
  ],
987
- "name": "initializeRegistryLinked",
988
- "outputs": [],
989
- "stateMutability": "nonpayable",
868
+ "stateMutability": "view",
990
869
  "type": "function"
991
870
  },
992
871
  {
@@ -1016,28 +895,28 @@
1016
895
  "type": "function"
1017
896
  },
1018
897
  {
1019
- "inputs": [
1020
- {
1021
- "internalType": "address",
1022
- "name": "nftOwnableAddress",
1023
- "type": "address"
1024
- }
1025
- ],
1026
- "name": "linkToNftOwnable",
898
+ "inputs": [],
899
+ "name": "isRegistered",
1027
900
  "outputs": [
1028
901
  {
1029
- "internalType": "NftId",
902
+ "internalType": "bool",
1030
903
  "name": "",
1031
- "type": "uint96"
904
+ "type": "bool"
1032
905
  }
1033
906
  ],
1034
- "stateMutability": "nonpayable",
907
+ "stateMutability": "view",
1035
908
  "type": "function"
1036
909
  },
1037
910
  {
1038
911
  "inputs": [],
1039
912
  "name": "linkToRegisteredNftId",
1040
- "outputs": [],
913
+ "outputs": [
914
+ {
915
+ "internalType": "NftId",
916
+ "name": "nftId",
917
+ "type": "uint96"
918
+ }
919
+ ],
1041
920
  "stateMutability": "nonpayable",
1042
921
  "type": "function"
1043
922
  },
@@ -1090,14 +969,8 @@
1090
969
  "type": "function"
1091
970
  },
1092
971
  {
1093
- "inputs": [
1094
- {
1095
- "internalType": "bytes4",
1096
- "name": "interfaceId",
1097
- "type": "bytes4"
1098
- }
1099
- ],
1100
- "name": "registerInterface",
972
+ "inputs": [],
973
+ "name": "register",
1101
974
  "outputs": [],
1102
975
  "stateMutability": "nonpayable",
1103
976
  "type": "function"
@@ -1115,61 +988,6 @@
1115
988
  "stateMutability": "nonpayable",
1116
989
  "type": "function"
1117
990
  },
1118
- {
1119
- "inputs": [
1120
- {
1121
- "components": [
1122
- {
1123
- "internalType": "UFixed",
1124
- "name": "fractionalFee",
1125
- "type": "uint256"
1126
- },
1127
- {
1128
- "internalType": "uint256",
1129
- "name": "fixedFee",
1130
- "type": "uint256"
1131
- }
1132
- ],
1133
- "internalType": "struct Fee",
1134
- "name": "productFee",
1135
- "type": "tuple"
1136
- },
1137
- {
1138
- "components": [
1139
- {
1140
- "internalType": "UFixed",
1141
- "name": "fractionalFee",
1142
- "type": "uint256"
1143
- },
1144
- {
1145
- "internalType": "uint256",
1146
- "name": "fixedFee",
1147
- "type": "uint256"
1148
- }
1149
- ],
1150
- "internalType": "struct Fee",
1151
- "name": "processingFee",
1152
- "type": "tuple"
1153
- }
1154
- ],
1155
- "name": "setFees",
1156
- "outputs": [],
1157
- "stateMutability": "nonpayable",
1158
- "type": "function"
1159
- },
1160
- {
1161
- "inputs": [
1162
- {
1163
- "internalType": "NftId",
1164
- "name": "productNftId",
1165
- "type": "uint96"
1166
- }
1167
- ],
1168
- "name": "setProductNftId",
1169
- "outputs": [],
1170
- "stateMutability": "nonpayable",
1171
- "type": "function"
1172
- },
1173
991
  {
1174
992
  "inputs": [
1175
993
  {
@@ -1208,6 +1026,25 @@
1208
1026
  "outputs": [],
1209
1027
  "stateMutability": "nonpayable",
1210
1028
  "type": "function"
1029
+ },
1030
+ {
1031
+ "inputs": [
1032
+ {
1033
+ "internalType": "Amount",
1034
+ "name": "amount",
1035
+ "type": "uint96"
1036
+ }
1037
+ ],
1038
+ "name": "withdrawFees",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "Amount",
1042
+ "name": "withdrawnAmount",
1043
+ "type": "uint96"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "nonpayable",
1047
+ "type": "function"
1211
1048
  }
1212
1049
  ],
1213
1050
  "bytecode": "0x",