@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
@@ -20,11 +20,6 @@
20
20
  "internalType": "NftId",
21
21
  "name": "instanceNftId",
22
22
  "type": "uint96"
23
- },
24
- {
25
- "internalType": "address",
26
- "name": "instance",
27
- "type": "address"
28
23
  }
29
24
  ],
30
25
  "name": "ErrorComponentNotInstance",
@@ -47,29 +42,7 @@
47
42
  "type": "error"
48
43
  },
49
44
  {
50
- "inputs": [
51
- {
52
- "internalType": "address",
53
- "name": "caller",
54
- "type": "address"
55
- },
56
- {
57
- "internalType": "uint64",
58
- "name": "requiredRoleIdNum",
59
- "type": "uint64"
60
- }
61
- ],
62
- "name": "ErrorComponentUnauthorized",
63
- "type": "error"
64
- },
65
- {
66
- "inputs": [
67
- {
68
- "internalType": "address",
69
- "name": "newWallet",
70
- "type": "address"
71
- }
72
- ],
45
+ "inputs": [],
73
46
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
74
47
  "type": "error"
75
48
  },
@@ -153,11 +126,38 @@
153
126
  "name": "ErrorNotRegistry",
154
127
  "type": "error"
155
128
  },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
133
+ "name": "applicationNftId",
134
+ "type": "uint96"
135
+ }
136
+ ],
137
+ "name": "ErrorPoolApplicationBundleMismatch",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "NftId",
144
+ "name": "bundleNftId",
145
+ "type": "uint96"
146
+ },
147
+ {
148
+ "internalType": "address",
149
+ "name": "caller",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "ErrorPoolNotBundleOwner",
154
+ "type": "error"
155
+ },
156
156
  {
157
157
  "inputs": [
158
158
  {
159
159
  "internalType": "address",
160
- "name": "service",
160
+ "name": "caller",
161
161
  "type": "address"
162
162
  }
163
163
  ],
@@ -167,6 +167,12 @@
167
167
  {
168
168
  "anonymous": false,
169
169
  "inputs": [
170
+ {
171
+ "indexed": false,
172
+ "internalType": "address",
173
+ "name": "oldWallet",
174
+ "type": "address"
175
+ },
170
176
  {
171
177
  "indexed": false,
172
178
  "internalType": "address",
@@ -205,10 +211,16 @@
205
211
  {
206
212
  "anonymous": false,
207
213
  "inputs": [
214
+ {
215
+ "indexed": false,
216
+ "internalType": "address",
217
+ "name": "pool",
218
+ "type": "address"
219
+ },
208
220
  {
209
221
  "indexed": false,
210
222
  "internalType": "NftId",
211
- "name": "policyNftId",
223
+ "name": "applicationNftId",
212
224
  "type": "uint96"
213
225
  },
214
226
  {
@@ -216,25 +228,116 @@
216
228
  "internalType": "uint256",
217
229
  "name": "collateralizationAmount",
218
230
  "type": "uint256"
231
+ }
232
+ ],
233
+ "name": "LogPoolVerifiedByPool",
234
+ "type": "event"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "NftId",
240
+ "name": "applicationNftId",
241
+ "type": "uint96"
219
242
  },
220
243
  {
221
- "indexed": false,
222
- "internalType": "address",
223
- "name": "pool",
224
- "type": "address"
244
+ "internalType": "bytes",
245
+ "name": "applicationData",
246
+ "type": "bytes"
247
+ },
248
+ {
249
+ "internalType": "NftId",
250
+ "name": "bundleNftId",
251
+ "type": "uint96"
252
+ },
253
+ {
254
+ "internalType": "bytes",
255
+ "name": "bundleFilter",
256
+ "type": "bytes"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "collateralizationAmount",
261
+ "type": "uint256"
225
262
  }
226
263
  ],
227
- "name": "LogUnderwrittenByPool",
228
- "type": "event"
264
+ "name": "applicationMatchesBundle",
265
+ "outputs": [
266
+ {
267
+ "internalType": "bool",
268
+ "name": "isMatching",
269
+ "type": "bool"
270
+ }
271
+ ],
272
+ "stateMutability": "view",
273
+ "type": "function"
274
+ },
275
+ {
276
+ "inputs": [
277
+ {
278
+ "internalType": "NftId",
279
+ "name": "bundleNftId",
280
+ "type": "uint96"
281
+ }
282
+ ],
283
+ "name": "close",
284
+ "outputs": [],
285
+ "stateMutability": "nonpayable",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [
290
+ {
291
+ "internalType": "NftId",
292
+ "name": "bundleNftId",
293
+ "type": "uint96"
294
+ },
295
+ {
296
+ "internalType": "Seconds",
297
+ "name": "lifetimeExtension",
298
+ "type": "uint40"
299
+ }
300
+ ],
301
+ "name": "extend",
302
+ "outputs": [],
303
+ "stateMutability": "nonpayable",
304
+ "type": "function"
229
305
  },
230
306
  {
231
307
  "inputs": [],
232
- "name": "getCollateralizationLevel",
308
+ "name": "getComponentInfo",
233
309
  "outputs": [
234
310
  {
235
- "internalType": "UFixed",
236
- "name": "collateralizationLevel",
237
- "type": "uint256"
311
+ "components": [
312
+ {
313
+ "internalType": "string",
314
+ "name": "name",
315
+ "type": "string"
316
+ },
317
+ {
318
+ "internalType": "contract IERC20Metadata",
319
+ "name": "token",
320
+ "type": "address"
321
+ },
322
+ {
323
+ "internalType": "contract TokenHandler",
324
+ "name": "tokenHandler",
325
+ "type": "address"
326
+ },
327
+ {
328
+ "internalType": "address",
329
+ "name": "wallet",
330
+ "type": "address"
331
+ },
332
+ {
333
+ "internalType": "bytes",
334
+ "name": "data",
335
+ "type": "bytes"
336
+ }
337
+ ],
338
+ "internalType": "struct IComponents.ComponentInfo",
339
+ "name": "info",
340
+ "type": "tuple"
238
341
  }
239
342
  ],
240
343
  "stateMutability": "view",
@@ -303,19 +406,6 @@
303
406
  "stateMutability": "view",
304
407
  "type": "function"
305
408
  },
306
- {
307
- "inputs": [],
308
- "name": "getInstanceService",
309
- "outputs": [
310
- {
311
- "internalType": "contract IInstanceService",
312
- "name": "",
313
- "type": "address"
314
- }
315
- ],
316
- "stateMutability": "view",
317
- "type": "function"
318
- },
319
409
  {
320
410
  "inputs": [],
321
411
  "name": "getName",
@@ -357,91 +447,7 @@
357
447
  },
358
448
  {
359
449
  "inputs": [],
360
- "name": "getProductNftId",
361
- "outputs": [
362
- {
363
- "internalType": "NftId",
364
- "name": "productNftId",
365
- "type": "uint96"
366
- }
367
- ],
368
- "stateMutability": "view",
369
- "type": "function"
370
- },
371
- {
372
- "inputs": [],
373
- "name": "getProductService",
374
- "outputs": [
375
- {
376
- "internalType": "contract IProductService",
377
- "name": "",
378
- "type": "address"
379
- }
380
- ],
381
- "stateMutability": "view",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [],
386
- "name": "getRegistry",
387
- "outputs": [
388
- {
389
- "internalType": "contract IRegistry",
390
- "name": "",
391
- "type": "address"
392
- }
393
- ],
394
- "stateMutability": "view",
395
- "type": "function"
396
- },
397
- {
398
- "inputs": [],
399
- "name": "getRegistryAddress",
400
- "outputs": [
401
- {
402
- "internalType": "address",
403
- "name": "",
404
- "type": "address"
405
- }
406
- ],
407
- "stateMutability": "view",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [],
412
- "name": "getRetentionLevel",
413
- "outputs": [
414
- {
415
- "internalType": "UFixed",
416
- "name": "retentionLevel",
417
- "type": "uint256"
418
- }
419
- ],
420
- "stateMutability": "view",
421
- "type": "function"
422
- },
423
- {
424
- "inputs": [
425
- {
426
- "internalType": "ObjectType",
427
- "name": "domain",
428
- "type": "uint8"
429
- }
430
- ],
431
- "name": "getServiceAddress",
432
- "outputs": [
433
- {
434
- "internalType": "address",
435
- "name": "service",
436
- "type": "address"
437
- }
438
- ],
439
- "stateMutability": "view",
440
- "type": "function"
441
- },
442
- {
443
- "inputs": [],
444
- "name": "getSetupInfo",
450
+ "name": "getPoolInfo",
445
451
  "outputs": [
446
452
  {
447
453
  "components": [
@@ -451,9 +457,14 @@
451
457
  "type": "uint96"
452
458
  },
453
459
  {
454
- "internalType": "contract TokenHandler",
455
- "name": "tokenHandler",
456
- "type": "address"
460
+ "internalType": "RoleId",
461
+ "name": "bundleOwnerRole",
462
+ "type": "uint64"
463
+ },
464
+ {
465
+ "internalType": "uint256",
466
+ "name": "maxCapitalAmount",
467
+ "type": "uint256"
457
468
  },
458
469
  {
459
470
  "internalType": "bool",
@@ -530,15 +541,10 @@
530
541
  "internalType": "struct Fee",
531
542
  "name": "performanceFee",
532
543
  "type": "tuple"
533
- },
534
- {
535
- "internalType": "address",
536
- "name": "wallet",
537
- "type": "address"
538
544
  }
539
545
  ],
540
- "internalType": "struct ISetup.PoolSetupInfo",
541
- "name": "setupInfo",
546
+ "internalType": "struct IComponents.PoolInfo",
547
+ "name": "info",
542
548
  "type": "tuple"
543
549
  }
544
550
  ],
@@ -547,12 +553,12 @@
547
553
  },
548
554
  {
549
555
  "inputs": [],
550
- "name": "getToken",
556
+ "name": "getProductNftId",
551
557
  "outputs": [
552
558
  {
553
- "internalType": "contract IERC20Metadata",
554
- "name": "token",
555
- "type": "address"
559
+ "internalType": "NftId",
560
+ "name": "productNftId",
561
+ "type": "uint96"
556
562
  }
557
563
  ],
558
564
  "stateMutability": "view",
@@ -560,11 +566,11 @@
560
566
  },
561
567
  {
562
568
  "inputs": [],
563
- "name": "getWallet",
569
+ "name": "getRegistry",
564
570
  "outputs": [
565
571
  {
566
- "internalType": "address",
567
- "name": "walletAddress",
572
+ "internalType": "contract IRegistry",
573
+ "name": "",
568
574
  "type": "address"
569
575
  }
570
576
  ],
@@ -573,12 +579,12 @@
573
579
  },
574
580
  {
575
581
  "inputs": [],
576
- "name": "isExternallyManaged",
582
+ "name": "getRegistryAddress",
577
583
  "outputs": [
578
584
  {
579
- "internalType": "bool",
585
+ "internalType": "address",
580
586
  "name": "",
581
- "type": "bool"
587
+ "type": "address"
582
588
  }
583
589
  ],
584
590
  "stateMutability": "view",
@@ -586,12 +592,12 @@
586
592
  },
587
593
  {
588
594
  "inputs": [],
589
- "name": "isInterceptingBundleTransfers",
595
+ "name": "getToken",
590
596
  "outputs": [
591
597
  {
592
- "internalType": "bool",
593
- "name": "",
594
- "type": "bool"
598
+ "internalType": "contract IERC20Metadata",
599
+ "name": "token",
600
+ "type": "address"
595
601
  }
596
602
  ],
597
603
  "stateMutability": "view",
@@ -599,12 +605,12 @@
599
605
  },
600
606
  {
601
607
  "inputs": [],
602
- "name": "isNftInterceptor",
608
+ "name": "getWallet",
603
609
  "outputs": [
604
610
  {
605
- "internalType": "bool",
606
- "name": "isInterceptor",
607
- "type": "bool"
611
+ "internalType": "address",
612
+ "name": "walletAddress",
613
+ "type": "address"
608
614
  }
609
615
  ],
610
616
  "stateMutability": "view",
@@ -612,11 +618,11 @@
612
618
  },
613
619
  {
614
620
  "inputs": [],
615
- "name": "isVerifyingApplications",
621
+ "name": "isNftInterceptor",
616
622
  "outputs": [
617
623
  {
618
624
  "internalType": "bool",
619
- "name": "",
625
+ "name": "isInterceptor",
620
626
  "type": "bool"
621
627
  }
622
628
  ],
@@ -652,11 +658,6 @@
652
658
  },
653
659
  {
654
660
  "inputs": [
655
- {
656
- "internalType": "address",
657
- "name": "from",
658
- "type": "address"
659
- },
660
661
  {
661
662
  "internalType": "address",
662
663
  "name": "to",
@@ -668,7 +669,7 @@
668
669
  "type": "uint256"
669
670
  }
670
671
  ],
671
- "name": "nftTransferFrom",
672
+ "name": "nftMint",
672
673
  "outputs": [],
673
674
  "stateMutability": "nonpayable",
674
675
  "type": "function"
@@ -676,25 +677,24 @@
676
677
  {
677
678
  "inputs": [
678
679
  {
679
- "internalType": "bytes",
680
- "name": "policyData",
681
- "type": "bytes"
680
+ "internalType": "address",
681
+ "name": "from",
682
+ "type": "address"
682
683
  },
683
684
  {
684
- "internalType": "bytes",
685
- "name": "bundleFilter",
686
- "type": "bytes"
687
- }
688
- ],
689
- "name": "policyMatchesBundle",
690
- "outputs": [
685
+ "internalType": "address",
686
+ "name": "to",
687
+ "type": "address"
688
+ },
691
689
  {
692
- "internalType": "bool",
693
- "name": "isMatching",
694
- "type": "bool"
690
+ "internalType": "uint256",
691
+ "name": "tokenId",
692
+ "type": "uint256"
695
693
  }
696
694
  ],
697
- "stateMutability": "view",
695
+ "name": "nftTransferFrom",
696
+ "outputs": [],
697
+ "stateMutability": "nonpayable",
698
698
  "type": "function"
699
699
  },
700
700
  {
@@ -727,6 +727,19 @@
727
727
  "stateMutability": "nonpayable",
728
728
  "type": "function"
729
729
  },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "RoleId",
734
+ "name": "bundleOwnerRole",
735
+ "type": "uint64"
736
+ }
737
+ ],
738
+ "name": "setBundleOwnerRole",
739
+ "outputs": [],
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
730
743
  {
731
744
  "inputs": [
732
745
  {
@@ -786,6 +799,19 @@
786
799
  "stateMutability": "nonpayable",
787
800
  "type": "function"
788
801
  },
802
+ {
803
+ "inputs": [
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "maxCapitalAmount",
807
+ "type": "uint256"
808
+ }
809
+ ],
810
+ "name": "setMaxCapitalAmount",
811
+ "outputs": [],
812
+ "stateMutability": "nonpayable",
813
+ "type": "function"
814
+ },
789
815
  {
790
816
  "inputs": [
791
817
  {
@@ -812,6 +838,24 @@
812
838
  "stateMutability": "nonpayable",
813
839
  "type": "function"
814
840
  },
841
+ {
842
+ "inputs": [
843
+ {
844
+ "internalType": "NftId",
845
+ "name": "bundleNftId",
846
+ "type": "uint96"
847
+ },
848
+ {
849
+ "internalType": "uint256",
850
+ "name": "amount",
851
+ "type": "uint256"
852
+ }
853
+ ],
854
+ "name": "stake",
855
+ "outputs": [],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ },
815
859
  {
816
860
  "inputs": [
817
861
  {
@@ -851,6 +895,24 @@
851
895
  "stateMutability": "nonpayable",
852
896
  "type": "function"
853
897
  },
898
+ {
899
+ "inputs": [
900
+ {
901
+ "internalType": "NftId",
902
+ "name": "bundleNftId",
903
+ "type": "uint96"
904
+ },
905
+ {
906
+ "internalType": "uint256",
907
+ "name": "amount",
908
+ "type": "uint256"
909
+ }
910
+ ],
911
+ "name": "unstake",
912
+ "outputs": [],
913
+ "stateMutability": "nonpayable",
914
+ "type": "function"
915
+ },
854
916
  {
855
917
  "inputs": [
856
918
  {
@@ -860,9 +922,14 @@
860
922
  },
861
923
  {
862
924
  "internalType": "bytes",
863
- "name": "policyData",
925
+ "name": "applicationData",
864
926
  "type": "bytes"
865
927
  },
928
+ {
929
+ "internalType": "NftId",
930
+ "name": "bundleNftId",
931
+ "type": "uint96"
932
+ },
866
933
  {
867
934
  "internalType": "bytes",
868
935
  "name": "bundleFilter",
@@ -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
  }