@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f30e0eb-805

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/Component.json +68 -89
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +113 -140
  5. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.json +65 -73
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +91 -122
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +256 -189
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +69 -145
  13. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  14. package/artifacts/contracts/components/Pool.sol/Pool.json +279 -245
  15. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  16. package/artifacts/contracts/components/Product.sol/Product.json +73 -162
  17. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +171 -308
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +98 -40
  27. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  28. package/artifacts/contracts/instance/Instance.sol/Instance.json +260 -379
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +148 -161
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +31 -23
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +54 -71
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  52. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  57. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +161 -62
  59. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +33 -25
  61. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +137 -140
  63. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +12 -12
  65. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +3 -3
  67. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +2 -2
  69. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +505 -91
  71. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +78 -42
  73. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +110 -27
  75. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +93 -96
  77. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +350 -8
  80. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +21 -64
  82. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -0
  84. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  86. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +58 -157
  87. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +19 -47
  89. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +114 -17
  91. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -9
  93. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +7 -7
  95. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +4 -4
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  104. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
  106. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +5 -5
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +3 -3
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +7 -7
  114. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  116. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  117. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  118. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  119. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  120. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  121. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  122. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  126. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  127. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  128. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  130. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +3 -3
  132. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  133. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  134. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  135. package/artifacts/contracts/shared/Service.sol/Service.json +1 -1
  136. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  137. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  138. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  139. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  140. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  143. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +3 -3
  145. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  147. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.json +3 -3
  149. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  152. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  154. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  155. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  156. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  157. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  158. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  161. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  162. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  164. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  165. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  166. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  168. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  169. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  170. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  173. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  176. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  178. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  180. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  182. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  184. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  186. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  188. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  190. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  192. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  194. package/contracts/components/Component.sol +95 -85
  195. package/contracts/components/Distribution.sol +12 -19
  196. package/contracts/components/IComponent.sol +37 -17
  197. package/contracts/components/IDistributionComponent.sol +1 -22
  198. package/contracts/components/IPoolComponent.sol +73 -47
  199. package/contracts/components/IProductComponent.sol +3 -2
  200. package/contracts/components/Pool.sol +171 -126
  201. package/contracts/components/Product.sol +26 -18
  202. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  203. package/contracts/instance/BundleManager.sol +7 -5
  204. package/contracts/instance/Cloneable.sol +7 -2
  205. package/contracts/instance/IInstance.sol +16 -10
  206. package/contracts/instance/IInstanceService.sol +18 -5
  207. package/contracts/instance/Instance.sol +45 -9
  208. package/contracts/instance/InstanceAccessManager.sol +382 -157
  209. package/contracts/instance/InstanceReader.sol +7 -10
  210. package/contracts/instance/InstanceService.sol +174 -155
  211. package/contracts/instance/ObjectManager.sol +6 -8
  212. package/contracts/instance/base/ComponentService.sol +5 -5
  213. package/contracts/instance/base/KeyValueStore.sol +5 -2
  214. package/contracts/instance/base/Lifecycle.sol +11 -2
  215. package/contracts/instance/module/IAccess.sol +20 -13
  216. package/contracts/instance/module/IBundle.sol +2 -1
  217. package/contracts/instance/module/IComponents.sol +35 -0
  218. package/contracts/instance/module/IDistribution.sol +2 -1
  219. package/contracts/instance/module/IPolicy.sol +26 -1
  220. package/contracts/instance/module/ISetup.sol +7 -22
  221. package/contracts/instance/service/ApplicationService.sol +123 -41
  222. package/contracts/instance/service/BundleService.sol +76 -38
  223. package/contracts/instance/service/DistributionService.sol +139 -47
  224. package/contracts/instance/service/IApplicationService.sol +7 -7
  225. package/contracts/instance/service/IBundleService.sol +19 -11
  226. package/contracts/instance/service/IDistributionService.sol +19 -4
  227. package/contracts/instance/service/IPolicyService.sol +3 -20
  228. package/contracts/instance/service/IPoolService.sol +17 -2
  229. package/contracts/instance/service/PolicyService.sol +59 -132
  230. package/contracts/instance/service/PoolService.sol +128 -17
  231. package/contracts/instance/service/ProductService.sol +10 -2
  232. package/contracts/registry/ChainNft.sol +8 -0
  233. package/contracts/registry/IRegistry.sol +2 -0
  234. package/contracts/registry/ITransferInterceptor.sol +1 -0
  235. package/contracts/registry/Registry.sol +23 -20
  236. package/contracts/registry/RegistryService.sol +5 -5
  237. package/contracts/shared/Registerable.sol +2 -2
  238. package/contracts/shared/TokenHandler.sol +11 -5
  239. package/contracts/types/Blocknumber.sol +1 -0
  240. package/contracts/types/Fee.sol +1 -0
  241. package/contracts/types/NftId.sol +8 -0
  242. package/contracts/types/ObjectType.sol +1 -0
  243. package/contracts/types/Referral.sol +4 -0
  244. package/contracts/types/RoleId.sol +13 -6
  245. package/contracts/types/Seconds.sol +54 -0
  246. package/contracts/types/StateId.sol +1 -0
  247. package/contracts/types/Timestamp.sol +13 -13
  248. package/contracts/types/UFixed.sol +1 -0
  249. package/contracts/types/Version.sol +1 -0
  250. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/359f7e46bc71a5341d1c43865ca79553.json"
3
+ "buildInfo": "../../../build-info/95371df5f28c49f1193e96df62dcfc87.json"
4
4
  }
@@ -80,11 +80,6 @@
80
80
  "internalType": "NftId",
81
81
  "name": "instanceNftId",
82
82
  "type": "uint96"
83
- },
84
- {
85
- "internalType": "address",
86
- "name": "instance",
87
- "type": "address"
88
83
  }
89
84
  ],
90
85
  "name": "ErrorComponentNotInstance",
@@ -107,29 +102,7 @@
107
102
  "type": "error"
108
103
  },
109
104
  {
110
- "inputs": [
111
- {
112
- "internalType": "address",
113
- "name": "caller",
114
- "type": "address"
115
- },
116
- {
117
- "internalType": "uint64",
118
- "name": "requiredRoleIdNum",
119
- "type": "uint64"
120
- }
121
- ],
122
- "name": "ErrorComponentUnauthorized",
123
- "type": "error"
124
- },
125
- {
126
- "inputs": [
127
- {
128
- "internalType": "address",
129
- "name": "newWallet",
130
- "type": "address"
131
- }
132
- ],
105
+ "inputs": [],
133
106
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
134
107
  "type": "error"
135
108
  },
@@ -268,6 +241,12 @@
268
241
  {
269
242
  "anonymous": false,
270
243
  "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "oldWallet",
248
+ "type": "address"
249
+ },
271
250
  {
272
251
  "indexed": false,
273
252
  "internalType": "address",
@@ -305,7 +284,7 @@
305
284
  },
306
285
  {
307
286
  "inputs": [],
308
- "name": "CONTRACT_LOCATION_V1",
287
+ "name": "COMPONENT_LOCATION_V1",
309
288
  "outputs": [
310
289
  {
311
290
  "internalType": "bytes32",
@@ -355,6 +334,46 @@
355
334
  "stateMutability": "view",
356
335
  "type": "function"
357
336
  },
337
+ {
338
+ "inputs": [],
339
+ "name": "getComponentInfo",
340
+ "outputs": [
341
+ {
342
+ "components": [
343
+ {
344
+ "internalType": "string",
345
+ "name": "name",
346
+ "type": "string"
347
+ },
348
+ {
349
+ "internalType": "contract IERC20Metadata",
350
+ "name": "token",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "internalType": "contract TokenHandler",
355
+ "name": "tokenHandler",
356
+ "type": "address"
357
+ },
358
+ {
359
+ "internalType": "address",
360
+ "name": "wallet",
361
+ "type": "address"
362
+ },
363
+ {
364
+ "internalType": "bytes",
365
+ "name": "data",
366
+ "type": "bytes"
367
+ }
368
+ ],
369
+ "internalType": "struct IComponents.ComponentInfo",
370
+ "name": "info",
371
+ "type": "tuple"
372
+ }
373
+ ],
374
+ "stateMutability": "view",
375
+ "type": "function"
376
+ },
358
377
  {
359
378
  "inputs": [],
360
379
  "name": "getInitialInfo",
@@ -418,32 +437,6 @@
418
437
  "stateMutability": "view",
419
438
  "type": "function"
420
439
  },
421
- {
422
- "inputs": [],
423
- "name": "getInstanceReader",
424
- "outputs": [
425
- {
426
- "internalType": "contract InstanceReader",
427
- "name": "reader",
428
- "type": "address"
429
- }
430
- ],
431
- "stateMutability": "view",
432
- "type": "function"
433
- },
434
- {
435
- "inputs": [],
436
- "name": "getInstanceService",
437
- "outputs": [
438
- {
439
- "internalType": "contract IInstanceService",
440
- "name": "",
441
- "type": "address"
442
- }
443
- ],
444
- "stateMutability": "view",
445
- "type": "function"
446
- },
447
440
  {
448
441
  "inputs": [],
449
442
  "name": "getName",
@@ -496,19 +489,6 @@
496
489
  "stateMutability": "view",
497
490
  "type": "function"
498
491
  },
499
- {
500
- "inputs": [],
501
- "name": "getProductService",
502
- "outputs": [
503
- {
504
- "internalType": "contract IProductService",
505
- "name": "",
506
- "type": "address"
507
- }
508
- ],
509
- "stateMutability": "view",
510
- "type": "function"
511
- },
512
492
  {
513
493
  "inputs": [],
514
494
  "name": "getRegistry",
@@ -535,25 +515,6 @@
535
515
  "stateMutability": "view",
536
516
  "type": "function"
537
517
  },
538
- {
539
- "inputs": [
540
- {
541
- "internalType": "ObjectType",
542
- "name": "domain",
543
- "type": "uint8"
544
- }
545
- ],
546
- "name": "getServiceAddress",
547
- "outputs": [
548
- {
549
- "internalType": "address",
550
- "name": "service",
551
- "type": "address"
552
- }
553
- ],
554
- "stateMutability": "view",
555
- "type": "function"
556
- },
557
518
  {
558
519
  "inputs": [],
559
520
  "name": "getToken",
@@ -619,7 +580,7 @@
619
580
  },
620
581
  {
621
582
  "internalType": "bytes",
622
- "name": "data",
583
+ "name": "registryData",
623
584
  "type": "bytes"
624
585
  }
625
586
  ],
@@ -682,7 +643,7 @@
682
643
  },
683
644
  {
684
645
  "internalType": "bytes",
685
- "name": "data",
646
+ "name": "registryData",
686
647
  "type": "bytes"
687
648
  }
688
649
  ],
@@ -744,6 +705,24 @@
744
705
  "stateMutability": "nonpayable",
745
706
  "type": "function"
746
707
  },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "internalType": "address",
712
+ "name": "to",
713
+ "type": "address"
714
+ },
715
+ {
716
+ "internalType": "uint256",
717
+ "name": "tokenId",
718
+ "type": "uint256"
719
+ }
720
+ ],
721
+ "name": "nftMint",
722
+ "outputs": [],
723
+ "stateMutability": "nonpayable",
724
+ "type": "function"
725
+ },
747
726
  {
748
727
  "inputs": [
749
728
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/359f7e46bc71a5341d1c43865ca79553.json"
3
+ "buildInfo": "../../../build-info/95371df5f28c49f1193e96df62dcfc87.json"
4
4
  }
@@ -80,11 +80,6 @@
80
80
  "internalType": "NftId",
81
81
  "name": "instanceNftId",
82
82
  "type": "uint96"
83
- },
84
- {
85
- "internalType": "address",
86
- "name": "instance",
87
- "type": "address"
88
83
  }
89
84
  ],
90
85
  "name": "ErrorComponentNotInstance",
@@ -107,29 +102,7 @@
107
102
  "type": "error"
108
103
  },
109
104
  {
110
- "inputs": [
111
- {
112
- "internalType": "address",
113
- "name": "caller",
114
- "type": "address"
115
- },
116
- {
117
- "internalType": "uint64",
118
- "name": "requiredRoleIdNum",
119
- "type": "uint64"
120
- }
121
- ],
122
- "name": "ErrorComponentUnauthorized",
123
- "type": "error"
124
- },
125
- {
126
- "inputs": [
127
- {
128
- "internalType": "address",
129
- "name": "newWallet",
130
- "type": "address"
131
- }
132
- ],
105
+ "inputs": [],
133
106
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
134
107
  "type": "error"
135
108
  },
@@ -268,6 +241,12 @@
268
241
  {
269
242
  "anonymous": false,
270
243
  "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "oldWallet",
248
+ "type": "address"
249
+ },
271
250
  {
272
251
  "indexed": false,
273
252
  "internalType": "address",
@@ -324,7 +303,7 @@
324
303
  },
325
304
  {
326
305
  "inputs": [],
327
- "name": "CONTRACT_LOCATION_V1",
306
+ "name": "COMPONENT_LOCATION_V1",
328
307
  "outputs": [
329
308
  {
330
309
  "internalType": "bytes32",
@@ -500,47 +479,43 @@
500
479
  "type": "function"
501
480
  },
502
481
  {
503
- "inputs": [
504
- {
505
- "internalType": "NftId",
506
- "name": "distributorNftId",
507
- "type": "uint96"
508
- },
509
- {
510
- "internalType": "string",
511
- "name": "code",
512
- "type": "string"
513
- },
514
- {
515
- "internalType": "UFixed",
516
- "name": "discountPercentage",
517
- "type": "uint256"
518
- },
519
- {
520
- "internalType": "uint32",
521
- "name": "maxReferrals",
522
- "type": "uint32"
523
- },
524
- {
525
- "internalType": "Timestamp",
526
- "name": "expiryAt",
527
- "type": "uint40"
528
- },
529
- {
530
- "internalType": "bytes",
531
- "name": "data",
532
- "type": "bytes"
533
- }
534
- ],
535
- "name": "createReferral",
482
+ "inputs": [],
483
+ "name": "getComponentInfo",
536
484
  "outputs": [
537
485
  {
538
- "internalType": "ReferralId",
539
- "name": "referralId",
540
- "type": "bytes8"
486
+ "components": [
487
+ {
488
+ "internalType": "string",
489
+ "name": "name",
490
+ "type": "string"
491
+ },
492
+ {
493
+ "internalType": "contract IERC20Metadata",
494
+ "name": "token",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "contract TokenHandler",
499
+ "name": "tokenHandler",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "address",
504
+ "name": "wallet",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "bytes",
509
+ "name": "data",
510
+ "type": "bytes"
511
+ }
512
+ ],
513
+ "internalType": "struct IComponents.ComponentInfo",
514
+ "name": "info",
515
+ "type": "tuple"
541
516
  }
542
517
  ],
543
- "stateMutability": "nonpayable",
518
+ "stateMutability": "view",
544
519
  "type": "function"
545
520
  },
546
521
  {
@@ -674,32 +649,6 @@
674
649
  "stateMutability": "view",
675
650
  "type": "function"
676
651
  },
677
- {
678
- "inputs": [],
679
- "name": "getInstanceReader",
680
- "outputs": [
681
- {
682
- "internalType": "contract InstanceReader",
683
- "name": "reader",
684
- "type": "address"
685
- }
686
- ],
687
- "stateMutability": "view",
688
- "type": "function"
689
- },
690
- {
691
- "inputs": [],
692
- "name": "getInstanceService",
693
- "outputs": [
694
- {
695
- "internalType": "contract IInstanceService",
696
- "name": "",
697
- "type": "address"
698
- }
699
- ],
700
- "stateMutability": "view",
701
- "type": "function"
702
- },
703
652
  {
704
653
  "inputs": [],
705
654
  "name": "getName",
@@ -752,19 +701,6 @@
752
701
  "stateMutability": "view",
753
702
  "type": "function"
754
703
  },
755
- {
756
- "inputs": [],
757
- "name": "getProductService",
758
- "outputs": [
759
- {
760
- "internalType": "contract IProductService",
761
- "name": "",
762
- "type": "address"
763
- }
764
- ],
765
- "stateMutability": "view",
766
- "type": "function"
767
- },
768
704
  {
769
705
  "inputs": [
770
706
  {
@@ -810,25 +746,6 @@
810
746
  "stateMutability": "view",
811
747
  "type": "function"
812
748
  },
813
- {
814
- "inputs": [
815
- {
816
- "internalType": "ObjectType",
817
- "name": "domain",
818
- "type": "uint8"
819
- }
820
- ],
821
- "name": "getServiceAddress",
822
- "outputs": [
823
- {
824
- "internalType": "address",
825
- "name": "service",
826
- "type": "address"
827
- }
828
- ],
829
- "stateMutability": "view",
830
- "type": "function"
831
- },
832
749
  {
833
750
  "inputs": [],
834
751
  "name": "getSetupInfo",
@@ -845,6 +762,23 @@
845
762
  "name": "tokenHandler",
846
763
  "type": "address"
847
764
  },
765
+ {
766
+ "components": [
767
+ {
768
+ "internalType": "UFixed",
769
+ "name": "fractionalFee",
770
+ "type": "uint256"
771
+ },
772
+ {
773
+ "internalType": "uint256",
774
+ "name": "fixedFee",
775
+ "type": "uint256"
776
+ }
777
+ ],
778
+ "internalType": "struct Fee",
779
+ "name": "minDistributionOwnerFee",
780
+ "type": "tuple"
781
+ },
848
782
  {
849
783
  "components": [
850
784
  {
@@ -866,6 +800,11 @@
866
800
  "internalType": "address",
867
801
  "name": "wallet",
868
802
  "type": "address"
803
+ },
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "sumDistributionOwnerFees",
807
+ "type": "uint256"
869
808
  }
870
809
  ],
871
810
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -941,7 +880,7 @@
941
880
  },
942
881
  {
943
882
  "internalType": "bytes",
944
- "name": "data",
883
+ "name": "registryData",
945
884
  "type": "bytes"
946
885
  }
947
886
  ],
@@ -972,6 +911,23 @@
972
911
  "name": "token",
973
912
  "type": "address"
974
913
  },
914
+ {
915
+ "components": [
916
+ {
917
+ "internalType": "UFixed",
918
+ "name": "fractionalFee",
919
+ "type": "uint256"
920
+ },
921
+ {
922
+ "internalType": "uint256",
923
+ "name": "fixedFee",
924
+ "type": "uint256"
925
+ }
926
+ ],
927
+ "internalType": "struct Fee",
928
+ "name": "minDistributionOwnerFee",
929
+ "type": "tuple"
930
+ },
975
931
  {
976
932
  "components": [
977
933
  {
@@ -996,7 +952,7 @@
996
952
  },
997
953
  {
998
954
  "internalType": "bytes",
999
- "name": "data",
955
+ "name": "registryData",
1000
956
  "type": "bytes"
1001
957
  }
1002
958
  ],
@@ -1059,7 +1015,7 @@
1059
1015
  },
1060
1016
  {
1061
1017
  "internalType": "bytes",
1062
- "name": "data",
1018
+ "name": "registryData",
1063
1019
  "type": "bytes"
1064
1020
  }
1065
1021
  ],
@@ -1155,11 +1111,6 @@
1155
1111
  },
1156
1112
  {
1157
1113
  "inputs": [
1158
- {
1159
- "internalType": "address",
1160
- "name": "from",
1161
- "type": "address"
1162
- },
1163
1114
  {
1164
1115
  "internalType": "address",
1165
1116
  "name": "to",
@@ -1171,7 +1122,7 @@
1171
1122
  "type": "uint256"
1172
1123
  }
1173
1124
  ],
1174
- "name": "nftTransferFrom",
1125
+ "name": "nftMint",
1175
1126
  "outputs": [],
1176
1127
  "stateMutability": "nonpayable",
1177
1128
  "type": "function"
@@ -1179,17 +1130,22 @@
1179
1130
  {
1180
1131
  "inputs": [
1181
1132
  {
1182
- "internalType": "ReferralId",
1183
- "name": "referralId",
1184
- "type": "bytes8"
1133
+ "internalType": "address",
1134
+ "name": "from",
1135
+ "type": "address"
1136
+ },
1137
+ {
1138
+ "internalType": "address",
1139
+ "name": "to",
1140
+ "type": "address"
1185
1141
  },
1186
1142
  {
1187
1143
  "internalType": "uint256",
1188
- "name": "feeAmount",
1144
+ "name": "tokenId",
1189
1145
  "type": "uint256"
1190
1146
  }
1191
1147
  ],
1192
- "name": "processRenewal",
1148
+ "name": "nftTransferFrom",
1193
1149
  "outputs": [],
1194
1150
  "stateMutability": "nonpayable",
1195
1151
  "type": "function"
@@ -1203,11 +1159,11 @@
1203
1159
  },
1204
1160
  {
1205
1161
  "internalType": "uint256",
1206
- "name": "premiumAmount",
1162
+ "name": "feeAmount",
1207
1163
  "type": "uint256"
1208
1164
  }
1209
1165
  ],
1210
- "name": "processSale",
1166
+ "name": "processRenewal",
1211
1167
  "outputs": [],
1212
1168
  "stateMutability": "nonpayable",
1213
1169
  "type": "function"
@@ -1240,6 +1196,23 @@
1240
1196
  },
1241
1197
  {
1242
1198
  "inputs": [
1199
+ {
1200
+ "components": [
1201
+ {
1202
+ "internalType": "UFixed",
1203
+ "name": "fractionalFee",
1204
+ "type": "uint256"
1205
+ },
1206
+ {
1207
+ "internalType": "uint256",
1208
+ "name": "fixedFee",
1209
+ "type": "uint256"
1210
+ }
1211
+ ],
1212
+ "internalType": "struct Fee",
1213
+ "name": "minDistributionOwnerFee",
1214
+ "type": "tuple"
1215
+ },
1243
1216
  {
1244
1217
  "components": [
1245
1218
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/359f7e46bc71a5341d1c43865ca79553.json"
3
+ "buildInfo": "../../../build-info/95371df5f28c49f1193e96df62dcfc87.json"
4
4
  }