@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e94f4c7-084

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. package/README.md +6 -83
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +68 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +84 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +158 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +158 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +184 -149
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +158 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +114 -189
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +68 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +457 -268
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +175 -51
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +426 -476
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +472 -126
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +217 -169
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +304 -210
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +71 -23
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +85 -30
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +56 -73
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +175 -83
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +29 -13
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +426 -233
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +78 -14
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +372 -86
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +55 -7
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +189 -139
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +48 -56
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +111 -40
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +246 -170
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +251 -58
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +101 -24
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +470 -41
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +627 -14
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -14
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +607 -85
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +71 -19
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +777 -55
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +72 -12
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +114 -51
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +16 -12
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +0 -24
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +17 -36
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +7 -7
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  126. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.json +80 -14
  128. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  131. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  132. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  133. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  134. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  135. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  137. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  138. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  139. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Service.sol/Service.json +86 -15
  141. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  143. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  145. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  148. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
  150. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  152. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestService.sol/TestService.json +101 -26
  154. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  157. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  159. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  160. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  161. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  162. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  163. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  165. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +83 -4
  168. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  170. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  172. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  174. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  176. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  178. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  181. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +116 -7
  183. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  185. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  187. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  189. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +17 -4
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  202. package/contracts/components/Component.sol +42 -10
  203. package/contracts/components/Distribution.sol +6 -2
  204. package/contracts/components/IComponent.sol +9 -1
  205. package/contracts/components/IPoolComponent.sol +6 -44
  206. package/contracts/components/Pool.sol +50 -126
  207. package/contracts/components/Product.sol +141 -59
  208. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  209. package/contracts/instance/BundleManager.sol +9 -8
  210. package/contracts/instance/Cloneable.sol +7 -2
  211. package/contracts/instance/IInstance.sol +37 -27
  212. package/contracts/instance/IInstanceService.sol +18 -9
  213. package/contracts/instance/Instance.sol +117 -98
  214. package/contracts/instance/InstanceAccessManager.sol +388 -158
  215. package/contracts/instance/InstanceReader.sol +36 -12
  216. package/contracts/instance/InstanceService.sol +193 -204
  217. package/contracts/instance/ObjectManager.sol +6 -8
  218. package/contracts/instance/base/ComponentService.sol +17 -30
  219. package/contracts/instance/base/KeyValueStore.sol +13 -5
  220. package/contracts/instance/base/Lifecycle.sol +23 -6
  221. package/contracts/instance/module/IAccess.sol +21 -14
  222. package/contracts/instance/module/IBundle.sol +6 -4
  223. package/contracts/instance/module/IComponents.sol +41 -0
  224. package/contracts/instance/module/IPolicy.sol +11 -6
  225. package/contracts/instance/module/ISetup.sol +3 -16
  226. package/contracts/instance/service/ApplicationService.sol +25 -19
  227. package/contracts/instance/service/BundleService.sol +224 -80
  228. package/contracts/instance/service/ClaimService.sol +114 -26
  229. package/contracts/instance/service/DistributionService.sol +58 -77
  230. package/contracts/instance/service/IApplicationService.sol +3 -7
  231. package/contracts/instance/service/IBundleService.sol +72 -25
  232. package/contracts/instance/service/IClaimService.sol +46 -15
  233. package/contracts/instance/service/IDistributionService.sol +1 -0
  234. package/contracts/instance/service/IPolicyService.sol +72 -5
  235. package/contracts/instance/service/IPoolService.sol +85 -3
  236. package/contracts/instance/service/PolicyService.sol +320 -143
  237. package/contracts/instance/service/PoolService.sol +245 -18
  238. package/contracts/instance/service/ProductService.sol +31 -54
  239. package/contracts/registry/ChainNft.sol +8 -0
  240. package/contracts/registry/IRegistry.sol +2 -0
  241. package/contracts/registry/IRegistryService.sol +4 -3
  242. package/contracts/registry/ITransferInterceptor.sol +1 -0
  243. package/contracts/registry/Registry.sol +23 -20
  244. package/contracts/registry/RegistryService.sol +10 -11
  245. package/contracts/registry/ReleaseManager.sol +20 -18
  246. package/contracts/shared/IService.sol +4 -6
  247. package/contracts/shared/Service.sol +21 -7
  248. package/contracts/shared/TokenHandler.sol +11 -5
  249. package/contracts/test/TestService.sol +1 -1
  250. package/contracts/types/Amount.sol +70 -0
  251. package/contracts/types/Blocknumber.sol +1 -0
  252. package/contracts/types/ClaimId.sol +25 -2
  253. package/contracts/types/Fee.sol +13 -5
  254. package/contracts/types/NftId.sol +8 -0
  255. package/contracts/types/ObjectType.sol +6 -5
  256. package/contracts/types/PayoutId.sol +33 -5
  257. package/contracts/types/RoleId.sol +6 -4
  258. package/contracts/types/StateId.sol +7 -2
  259. package/contracts/types/Timestamp.sol +6 -0
  260. package/contracts/types/UFixed.sol +1 -0
  261. package/contracts/types/Version.sol +1 -0
  262. package/package.json +1 -1
@@ -41,6 +41,72 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "instanceBundleManager",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "instance",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "instanceAccessManager",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [
101
+ {
102
+ "internalType": "address",
103
+ "name": "instanceAuthority",
104
+ "type": "address"
105
+ }
106
+ ],
107
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
108
+ "type": "error"
109
+ },
44
110
  {
45
111
  "inputs": [
46
112
  {
@@ -352,9 +418,9 @@
352
418
  "type": "uint16"
353
419
  },
354
420
  {
355
- "internalType": "uint256",
421
+ "internalType": "Amount",
356
422
  "name": "payoutAmount",
357
- "type": "uint256"
423
+ "type": "uint96"
358
424
  },
359
425
  {
360
426
  "internalType": "Timestamp",
@@ -419,19 +485,19 @@
419
485
  "type": "bytes"
420
486
  },
421
487
  {
422
- "internalType": "uint256",
488
+ "internalType": "Amount",
423
489
  "name": "capitalAmount",
424
- "type": "uint256"
490
+ "type": "uint96"
425
491
  },
426
492
  {
427
- "internalType": "uint256",
493
+ "internalType": "Amount",
428
494
  "name": "lockedAmount",
429
- "type": "uint256"
495
+ "type": "uint96"
430
496
  },
431
497
  {
432
- "internalType": "uint256",
433
- "name": "balanceAmount",
434
- "type": "uint256"
498
+ "internalType": "Amount",
499
+ "name": "feeAmount",
500
+ "type": "uint96"
435
501
  },
436
502
  {
437
503
  "internalType": "Seconds",
@@ -459,6 +525,61 @@
459
525
  "stateMutability": "nonpayable",
460
526
  "type": "function"
461
527
  },
528
+ {
529
+ "inputs": [
530
+ {
531
+ "internalType": "NftId",
532
+ "name": "policyNftId",
533
+ "type": "uint96"
534
+ },
535
+ {
536
+ "internalType": "ClaimId",
537
+ "name": "claimId",
538
+ "type": "uint16"
539
+ },
540
+ {
541
+ "components": [
542
+ {
543
+ "internalType": "Amount",
544
+ "name": "claimAmount",
545
+ "type": "uint96"
546
+ },
547
+ {
548
+ "internalType": "Amount",
549
+ "name": "paidAmount",
550
+ "type": "uint96"
551
+ },
552
+ {
553
+ "internalType": "uint8",
554
+ "name": "payoutsCount",
555
+ "type": "uint8"
556
+ },
557
+ {
558
+ "internalType": "uint8",
559
+ "name": "openPayoutsCount",
560
+ "type": "uint8"
561
+ },
562
+ {
563
+ "internalType": "bytes",
564
+ "name": "data",
565
+ "type": "bytes"
566
+ },
567
+ {
568
+ "internalType": "Timestamp",
569
+ "name": "closedAt",
570
+ "type": "uint40"
571
+ }
572
+ ],
573
+ "internalType": "struct IPolicy.ClaimInfo",
574
+ "name": "claim",
575
+ "type": "tuple"
576
+ }
577
+ ],
578
+ "name": "createClaim",
579
+ "outputs": [],
580
+ "stateMutability": "nonpayable",
581
+ "type": "function"
582
+ },
462
583
  {
463
584
  "inputs": [
464
585
  {
@@ -581,9 +702,9 @@
581
702
  {
582
703
  "inputs": [
583
704
  {
584
- "internalType": "Key32",
585
- "name": "distributorKey",
586
- "type": "bytes32"
705
+ "internalType": "DistributorType",
706
+ "name": "distributorType",
707
+ "type": "bytes8"
587
708
  },
588
709
  {
589
710
  "components": [
@@ -647,110 +768,94 @@
647
768
  "inputs": [
648
769
  {
649
770
  "internalType": "NftId",
650
- "name": "poolNftId",
771
+ "name": "policyNftId",
651
772
  "type": "uint96"
652
773
  },
774
+ {
775
+ "internalType": "PayoutId",
776
+ "name": "payoutId",
777
+ "type": "uint24"
778
+ },
653
779
  {
654
780
  "components": [
655
781
  {
656
- "internalType": "NftId",
657
- "name": "productNftId",
658
- "type": "uint96"
659
- },
660
- {
661
- "internalType": "contract TokenHandler",
662
- "name": "tokenHandler",
663
- "type": "address"
782
+ "internalType": "ClaimId",
783
+ "name": "claimId",
784
+ "type": "uint16"
664
785
  },
665
786
  {
666
- "internalType": "uint256",
667
- "name": "maxCapitalAmount",
668
- "type": "uint256"
787
+ "internalType": "Amount",
788
+ "name": "amount",
789
+ "type": "uint96"
669
790
  },
670
791
  {
671
- "internalType": "bool",
672
- "name": "isInterceptingBundleTransfers",
673
- "type": "bool"
792
+ "internalType": "bytes",
793
+ "name": "data",
794
+ "type": "bytes"
674
795
  },
675
796
  {
676
- "internalType": "bool",
677
- "name": "isExternallyManaged",
678
- "type": "bool"
679
- },
797
+ "internalType": "Timestamp",
798
+ "name": "paidAt",
799
+ "type": "uint40"
800
+ }
801
+ ],
802
+ "internalType": "struct IPolicy.PayoutInfo",
803
+ "name": "claim",
804
+ "type": "tuple"
805
+ }
806
+ ],
807
+ "name": "createPayout",
808
+ "outputs": [],
809
+ "stateMutability": "nonpayable",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [
814
+ {
815
+ "internalType": "NftId",
816
+ "name": "poolNftId",
817
+ "type": "uint96"
818
+ },
819
+ {
820
+ "components": [
680
821
  {
681
- "internalType": "bool",
682
- "name": "isVerifyingApplications",
683
- "type": "bool"
822
+ "internalType": "string",
823
+ "name": "name",
824
+ "type": "string"
684
825
  },
685
826
  {
686
- "internalType": "UFixed",
687
- "name": "collateralizationLevel",
688
- "type": "uint256"
827
+ "internalType": "contract IERC20Metadata",
828
+ "name": "token",
829
+ "type": "address"
689
830
  },
690
831
  {
691
- "internalType": "UFixed",
692
- "name": "retentionLevel",
693
- "type": "uint256"
832
+ "internalType": "contract TokenHandler",
833
+ "name": "tokenHandler",
834
+ "type": "address"
694
835
  },
695
836
  {
696
- "components": [
697
- {
698
- "internalType": "UFixed",
699
- "name": "fractionalFee",
700
- "type": "uint256"
701
- },
702
- {
703
- "internalType": "uint256",
704
- "name": "fixedFee",
705
- "type": "uint256"
706
- }
707
- ],
708
- "internalType": "struct Fee",
709
- "name": "poolFee",
710
- "type": "tuple"
837
+ "internalType": "address",
838
+ "name": "wallet",
839
+ "type": "address"
711
840
  },
712
841
  {
713
- "components": [
714
- {
715
- "internalType": "UFixed",
716
- "name": "fractionalFee",
717
- "type": "uint256"
718
- },
719
- {
720
- "internalType": "uint256",
721
- "name": "fixedFee",
722
- "type": "uint256"
723
- }
724
- ],
725
- "internalType": "struct Fee",
726
- "name": "stakingFee",
727
- "type": "tuple"
842
+ "internalType": "Amount",
843
+ "name": "balanceAmount",
844
+ "type": "uint96"
728
845
  },
729
846
  {
730
- "components": [
731
- {
732
- "internalType": "UFixed",
733
- "name": "fractionalFee",
734
- "type": "uint256"
735
- },
736
- {
737
- "internalType": "uint256",
738
- "name": "fixedFee",
739
- "type": "uint256"
740
- }
741
- ],
742
- "internalType": "struct Fee",
743
- "name": "performanceFee",
744
- "type": "tuple"
847
+ "internalType": "Amount",
848
+ "name": "feeAmount",
849
+ "type": "uint96"
745
850
  },
746
851
  {
747
- "internalType": "address",
748
- "name": "wallet",
749
- "type": "address"
852
+ "internalType": "bytes",
853
+ "name": "data",
854
+ "type": "bytes"
750
855
  }
751
856
  ],
752
- "internalType": "struct ISetup.PoolSetupInfo",
753
- "name": "setup",
857
+ "internalType": "struct IComponents.ComponentInfo",
858
+ "name": "info",
754
859
  "type": "tuple"
755
860
  }
756
861
  ],
@@ -846,9 +951,9 @@
846
951
  {
847
952
  "inputs": [
848
953
  {
849
- "internalType": "Key32",
850
- "name": "referralKey",
851
- "type": "bytes32"
954
+ "internalType": "ReferralId",
955
+ "name": "referralId",
956
+ "type": "bytes8"
852
957
  },
853
958
  {
854
959
  "components": [
@@ -1018,19 +1123,6 @@
1018
1123
  "stateMutability": "view",
1019
1124
  "type": "function"
1020
1125
  },
1021
- {
1022
- "inputs": [],
1023
- "name": "getBundleService",
1024
- "outputs": [
1025
- {
1026
- "internalType": "contract IBundleService",
1027
- "name": "",
1028
- "type": "address"
1029
- }
1030
- ],
1031
- "stateMutability": "view",
1032
- "type": "function"
1033
- },
1034
1126
  {
1035
1127
  "inputs": [
1036
1128
  {
@@ -1050,19 +1142,6 @@
1050
1142
  "stateMutability": "view",
1051
1143
  "type": "function"
1052
1144
  },
1053
- {
1054
- "inputs": [],
1055
- "name": "getDistributionService",
1056
- "outputs": [
1057
- {
1058
- "internalType": "contract IDistributionService",
1059
- "name": "",
1060
- "type": "address"
1061
- }
1062
- ],
1063
- "stateMutability": "view",
1064
- "type": "function"
1065
- },
1066
1145
  {
1067
1146
  "inputs": [],
1068
1147
  "name": "getInitialInfo",
@@ -1134,10 +1213,10 @@
1134
1213
  },
1135
1214
  {
1136
1215
  "inputs": [],
1137
- "name": "getInstanceReader",
1216
+ "name": "getInstanceAccessManager",
1138
1217
  "outputs": [
1139
1218
  {
1140
- "internalType": "contract InstanceReader",
1219
+ "internalType": "contract InstanceAccessManager",
1141
1220
  "name": "",
1142
1221
  "type": "address"
1143
1222
  }
@@ -1147,10 +1226,23 @@
1147
1226
  },
1148
1227
  {
1149
1228
  "inputs": [],
1150
- "name": "getMajorVersion",
1229
+ "name": "getInstanceReader",
1151
1230
  "outputs": [
1152
1231
  {
1153
- "internalType": "VersionPart",
1232
+ "internalType": "contract InstanceReader",
1233
+ "name": "",
1234
+ "type": "address"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [],
1242
+ "name": "getMajorVersion",
1243
+ "outputs": [
1244
+ {
1245
+ "internalType": "VersionPart",
1154
1246
  "name": "majorVersion",
1155
1247
  "type": "uint8"
1156
1248
  }
@@ -1230,45 +1322,6 @@
1230
1322
  "stateMutability": "view",
1231
1323
  "type": "function"
1232
1324
  },
1233
- {
1234
- "inputs": [],
1235
- "name": "getPolicyService",
1236
- "outputs": [
1237
- {
1238
- "internalType": "contract IPolicyService",
1239
- "name": "",
1240
- "type": "address"
1241
- }
1242
- ],
1243
- "stateMutability": "view",
1244
- "type": "function"
1245
- },
1246
- {
1247
- "inputs": [],
1248
- "name": "getPoolService",
1249
- "outputs": [
1250
- {
1251
- "internalType": "contract IPoolService",
1252
- "name": "",
1253
- "type": "address"
1254
- }
1255
- ],
1256
- "stateMutability": "view",
1257
- "type": "function"
1258
- },
1259
- {
1260
- "inputs": [],
1261
- "name": "getProductService",
1262
- "outputs": [
1263
- {
1264
- "internalType": "contract IProductService",
1265
- "name": "",
1266
- "type": "address"
1267
- }
1268
- ],
1269
- "stateMutability": "view",
1270
- "type": "function"
1271
- },
1272
1325
  {
1273
1326
  "inputs": [],
1274
1327
  "name": "getRegistry",
@@ -1382,6 +1435,47 @@
1382
1435
  "stateMutability": "nonpayable",
1383
1436
  "type": "function"
1384
1437
  },
1438
+ {
1439
+ "inputs": [
1440
+ {
1441
+ "internalType": "address",
1442
+ "name": "to",
1443
+ "type": "address"
1444
+ },
1445
+ {
1446
+ "internalType": "uint256",
1447
+ "name": "tokenId",
1448
+ "type": "uint256"
1449
+ }
1450
+ ],
1451
+ "name": "nftMint",
1452
+ "outputs": [],
1453
+ "stateMutability": "nonpayable",
1454
+ "type": "function"
1455
+ },
1456
+ {
1457
+ "inputs": [
1458
+ {
1459
+ "internalType": "address",
1460
+ "name": "from",
1461
+ "type": "address"
1462
+ },
1463
+ {
1464
+ "internalType": "address",
1465
+ "name": "to",
1466
+ "type": "address"
1467
+ },
1468
+ {
1469
+ "internalType": "uint256",
1470
+ "name": "tokenId",
1471
+ "type": "uint256"
1472
+ }
1473
+ ],
1474
+ "name": "nftTransferFrom",
1475
+ "outputs": [],
1476
+ "stateMutability": "nonpayable",
1477
+ "type": "function"
1478
+ },
1385
1479
  {
1386
1480
  "inputs": [
1387
1481
  {
@@ -1508,9 +1602,9 @@
1508
1602
  "type": "uint16"
1509
1603
  },
1510
1604
  {
1511
- "internalType": "uint256",
1605
+ "internalType": "Amount",
1512
1606
  "name": "payoutAmount",
1513
- "type": "uint256"
1607
+ "type": "uint96"
1514
1608
  },
1515
1609
  {
1516
1610
  "internalType": "Timestamp",
@@ -1598,19 +1692,19 @@
1598
1692
  "type": "bytes"
1599
1693
  },
1600
1694
  {
1601
- "internalType": "uint256",
1695
+ "internalType": "Amount",
1602
1696
  "name": "capitalAmount",
1603
- "type": "uint256"
1697
+ "type": "uint96"
1604
1698
  },
1605
1699
  {
1606
- "internalType": "uint256",
1700
+ "internalType": "Amount",
1607
1701
  "name": "lockedAmount",
1608
- "type": "uint256"
1702
+ "type": "uint96"
1609
1703
  },
1610
1704
  {
1611
- "internalType": "uint256",
1612
- "name": "balanceAmount",
1613
- "type": "uint256"
1705
+ "internalType": "Amount",
1706
+ "name": "feeAmount",
1707
+ "type": "uint96"
1614
1708
  },
1615
1709
  {
1616
1710
  "internalType": "Seconds",
@@ -1661,6 +1755,89 @@
1661
1755
  "stateMutability": "nonpayable",
1662
1756
  "type": "function"
1663
1757
  },
1758
+ {
1759
+ "inputs": [
1760
+ {
1761
+ "internalType": "NftId",
1762
+ "name": "policyNftId",
1763
+ "type": "uint96"
1764
+ },
1765
+ {
1766
+ "internalType": "ClaimId",
1767
+ "name": "claimId",
1768
+ "type": "uint16"
1769
+ },
1770
+ {
1771
+ "components": [
1772
+ {
1773
+ "internalType": "Amount",
1774
+ "name": "claimAmount",
1775
+ "type": "uint96"
1776
+ },
1777
+ {
1778
+ "internalType": "Amount",
1779
+ "name": "paidAmount",
1780
+ "type": "uint96"
1781
+ },
1782
+ {
1783
+ "internalType": "uint8",
1784
+ "name": "payoutsCount",
1785
+ "type": "uint8"
1786
+ },
1787
+ {
1788
+ "internalType": "uint8",
1789
+ "name": "openPayoutsCount",
1790
+ "type": "uint8"
1791
+ },
1792
+ {
1793
+ "internalType": "bytes",
1794
+ "name": "data",
1795
+ "type": "bytes"
1796
+ },
1797
+ {
1798
+ "internalType": "Timestamp",
1799
+ "name": "closedAt",
1800
+ "type": "uint40"
1801
+ }
1802
+ ],
1803
+ "internalType": "struct IPolicy.ClaimInfo",
1804
+ "name": "claim",
1805
+ "type": "tuple"
1806
+ },
1807
+ {
1808
+ "internalType": "StateId",
1809
+ "name": "newState",
1810
+ "type": "uint8"
1811
+ }
1812
+ ],
1813
+ "name": "updateClaim",
1814
+ "outputs": [],
1815
+ "stateMutability": "nonpayable",
1816
+ "type": "function"
1817
+ },
1818
+ {
1819
+ "inputs": [
1820
+ {
1821
+ "internalType": "NftId",
1822
+ "name": "policyNftId",
1823
+ "type": "uint96"
1824
+ },
1825
+ {
1826
+ "internalType": "ClaimId",
1827
+ "name": "claimId",
1828
+ "type": "uint16"
1829
+ },
1830
+ {
1831
+ "internalType": "StateId",
1832
+ "name": "newState",
1833
+ "type": "uint8"
1834
+ }
1835
+ ],
1836
+ "name": "updateClaimState",
1837
+ "outputs": [],
1838
+ "stateMutability": "nonpayable",
1839
+ "type": "function"
1840
+ },
1664
1841
  {
1665
1842
  "inputs": [
1666
1843
  {
@@ -1829,9 +2006,9 @@
1829
2006
  {
1830
2007
  "inputs": [
1831
2008
  {
1832
- "internalType": "Key32",
1833
- "name": "distributorKey",
1834
- "type": "bytes32"
2009
+ "internalType": "DistributorType",
2010
+ "name": "distributorType",
2011
+ "type": "bytes8"
1835
2012
  },
1836
2013
  {
1837
2014
  "components": [
@@ -1899,9 +2076,9 @@
1899
2076
  {
1900
2077
  "inputs": [
1901
2078
  {
1902
- "internalType": "Key32",
1903
- "name": "distributorKey",
1904
- "type": "bytes32"
2079
+ "internalType": "DistributorType",
2080
+ "name": "distributorType",
2081
+ "type": "bytes8"
1905
2082
  },
1906
2083
  {
1907
2084
  "internalType": "StateId",
@@ -1914,6 +2091,79 @@
1914
2091
  "stateMutability": "nonpayable",
1915
2092
  "type": "function"
1916
2093
  },
2094
+ {
2095
+ "inputs": [
2096
+ {
2097
+ "internalType": "NftId",
2098
+ "name": "policyNftId",
2099
+ "type": "uint96"
2100
+ },
2101
+ {
2102
+ "internalType": "PayoutId",
2103
+ "name": "payoutId",
2104
+ "type": "uint24"
2105
+ },
2106
+ {
2107
+ "components": [
2108
+ {
2109
+ "internalType": "ClaimId",
2110
+ "name": "claimId",
2111
+ "type": "uint16"
2112
+ },
2113
+ {
2114
+ "internalType": "Amount",
2115
+ "name": "amount",
2116
+ "type": "uint96"
2117
+ },
2118
+ {
2119
+ "internalType": "bytes",
2120
+ "name": "data",
2121
+ "type": "bytes"
2122
+ },
2123
+ {
2124
+ "internalType": "Timestamp",
2125
+ "name": "paidAt",
2126
+ "type": "uint40"
2127
+ }
2128
+ ],
2129
+ "internalType": "struct IPolicy.PayoutInfo",
2130
+ "name": "claim",
2131
+ "type": "tuple"
2132
+ },
2133
+ {
2134
+ "internalType": "StateId",
2135
+ "name": "newState",
2136
+ "type": "uint8"
2137
+ }
2138
+ ],
2139
+ "name": "updatePayout",
2140
+ "outputs": [],
2141
+ "stateMutability": "nonpayable",
2142
+ "type": "function"
2143
+ },
2144
+ {
2145
+ "inputs": [
2146
+ {
2147
+ "internalType": "NftId",
2148
+ "name": "policyNftId",
2149
+ "type": "uint96"
2150
+ },
2151
+ {
2152
+ "internalType": "PayoutId",
2153
+ "name": "payoutId",
2154
+ "type": "uint24"
2155
+ },
2156
+ {
2157
+ "internalType": "StateId",
2158
+ "name": "newState",
2159
+ "type": "uint8"
2160
+ }
2161
+ ],
2162
+ "name": "updatePayoutState",
2163
+ "outputs": [],
2164
+ "stateMutability": "nonpayable",
2165
+ "type": "function"
2166
+ },
1917
2167
  {
1918
2168
  "inputs": [
1919
2169
  {
@@ -1984,9 +2234,9 @@
1984
2234
  "type": "uint16"
1985
2235
  },
1986
2236
  {
1987
- "internalType": "uint256",
2237
+ "internalType": "Amount",
1988
2238
  "name": "payoutAmount",
1989
- "type": "uint256"
2239
+ "type": "uint96"
1990
2240
  },
1991
2241
  {
1992
2242
  "internalType": "Timestamp",
@@ -2047,104 +2297,43 @@
2047
2297
  {
2048
2298
  "components": [
2049
2299
  {
2050
- "internalType": "NftId",
2051
- "name": "productNftId",
2052
- "type": "uint96"
2300
+ "internalType": "string",
2301
+ "name": "name",
2302
+ "type": "string"
2053
2303
  },
2054
2304
  {
2055
- "internalType": "contract TokenHandler",
2056
- "name": "tokenHandler",
2305
+ "internalType": "contract IERC20Metadata",
2306
+ "name": "token",
2057
2307
  "type": "address"
2058
2308
  },
2059
2309
  {
2060
- "internalType": "uint256",
2061
- "name": "maxCapitalAmount",
2062
- "type": "uint256"
2063
- },
2064
- {
2065
- "internalType": "bool",
2066
- "name": "isInterceptingBundleTransfers",
2067
- "type": "bool"
2068
- },
2069
- {
2070
- "internalType": "bool",
2071
- "name": "isExternallyManaged",
2072
- "type": "bool"
2073
- },
2074
- {
2075
- "internalType": "bool",
2076
- "name": "isVerifyingApplications",
2077
- "type": "bool"
2078
- },
2079
- {
2080
- "internalType": "UFixed",
2081
- "name": "collateralizationLevel",
2082
- "type": "uint256"
2083
- },
2084
- {
2085
- "internalType": "UFixed",
2086
- "name": "retentionLevel",
2087
- "type": "uint256"
2310
+ "internalType": "contract TokenHandler",
2311
+ "name": "tokenHandler",
2312
+ "type": "address"
2088
2313
  },
2089
2314
  {
2090
- "components": [
2091
- {
2092
- "internalType": "UFixed",
2093
- "name": "fractionalFee",
2094
- "type": "uint256"
2095
- },
2096
- {
2097
- "internalType": "uint256",
2098
- "name": "fixedFee",
2099
- "type": "uint256"
2100
- }
2101
- ],
2102
- "internalType": "struct Fee",
2103
- "name": "poolFee",
2104
- "type": "tuple"
2315
+ "internalType": "address",
2316
+ "name": "wallet",
2317
+ "type": "address"
2105
2318
  },
2106
2319
  {
2107
- "components": [
2108
- {
2109
- "internalType": "UFixed",
2110
- "name": "fractionalFee",
2111
- "type": "uint256"
2112
- },
2113
- {
2114
- "internalType": "uint256",
2115
- "name": "fixedFee",
2116
- "type": "uint256"
2117
- }
2118
- ],
2119
- "internalType": "struct Fee",
2120
- "name": "stakingFee",
2121
- "type": "tuple"
2320
+ "internalType": "Amount",
2321
+ "name": "balanceAmount",
2322
+ "type": "uint96"
2122
2323
  },
2123
2324
  {
2124
- "components": [
2125
- {
2126
- "internalType": "UFixed",
2127
- "name": "fractionalFee",
2128
- "type": "uint256"
2129
- },
2130
- {
2131
- "internalType": "uint256",
2132
- "name": "fixedFee",
2133
- "type": "uint256"
2134
- }
2135
- ],
2136
- "internalType": "struct Fee",
2137
- "name": "performanceFee",
2138
- "type": "tuple"
2325
+ "internalType": "Amount",
2326
+ "name": "feeAmount",
2327
+ "type": "uint96"
2139
2328
  },
2140
2329
  {
2141
- "internalType": "address",
2142
- "name": "wallet",
2143
- "type": "address"
2330
+ "internalType": "bytes",
2331
+ "name": "data",
2332
+ "type": "bytes"
2144
2333
  }
2145
2334
  ],
2146
- "internalType": "struct ISetup.PoolSetupInfo",
2147
- "name": "setup",
2335
+ "internalType": "struct IComponents.ComponentInfo",
2336
+ "name": "info",
2148
2337
  "type": "tuple"
2149
2338
  },
2150
2339
  {
@@ -2286,9 +2475,9 @@
2286
2475
  {
2287
2476
  "inputs": [
2288
2477
  {
2289
- "internalType": "Key32",
2290
- "name": "referralKey",
2291
- "type": "bytes32"
2478
+ "internalType": "ReferralId",
2479
+ "name": "referralId",
2480
+ "type": "bytes8"
2292
2481
  },
2293
2482
  {
2294
2483
  "components": [
@@ -2346,9 +2535,9 @@
2346
2535
  {
2347
2536
  "inputs": [
2348
2537
  {
2349
- "internalType": "Key32",
2350
- "name": "referralKey",
2351
- "type": "bytes32"
2538
+ "internalType": "ReferralId",
2539
+ "name": "referralId",
2540
+ "type": "bytes8"
2352
2541
  },
2353
2542
  {
2354
2543
  "internalType": "StateId",