@etherisc/gif-next 0.0.2-7f35518-483 → 0.0.2-81ba549-396

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  2. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.json +10 -62
  4. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  5. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -52
  7. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  10. package/artifacts/contracts/components/Pool.sol/Pool.json +8 -99
  11. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  12. package/artifacts/contracts/components/Product.sol/Product.json +8 -64
  13. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  33. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +1 -1
  34. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +484 -0
  38. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.json +94 -81
  41. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  42. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
  43. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  44. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2 -2
  45. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  46. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +48 -8
  47. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  48. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +48 -32
  49. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +36 -6
  51. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  64. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +16 -16
  65. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  66. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +61 -26
  67. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  68. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +26 -18
  69. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +19 -31
  74. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +63 -44
  76. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +27 -27
  78. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1086 -0
  80. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +468 -0
  82. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  83. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  84. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +0 -127
  85. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  86. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -0
  87. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  88. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  89. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -169
  90. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  91. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +76 -20
  92. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  93. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +25 -37
  94. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  95. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +12 -12
  96. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  97. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  98. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  99. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  100. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  101. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  102. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  103. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  104. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  105. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  106. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  107. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  108. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  109. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  110. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  111. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  112. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  113. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  114. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  115. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
  116. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  117. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  118. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  119. package/artifacts/contracts/test/TestService.sol/TestService.json +9 -9
  120. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  121. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  122. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  123. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  124. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  125. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  126. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  127. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  128. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  129. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  130. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  131. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  132. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  133. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  134. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  135. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  136. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  137. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  138. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  139. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  140. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  141. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  142. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  143. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  144. package/contracts/components/Distribution.sol +8 -15
  145. package/contracts/components/IDistributionComponent.sol +0 -2
  146. package/contracts/components/Pool.sol +11 -16
  147. package/contracts/components/Product.sol +28 -41
  148. package/contracts/instance/IInstance.sol +17 -3
  149. package/contracts/instance/Instance.sol +4 -4
  150. package/contracts/instance/InstanceService.sol +18 -3
  151. package/contracts/instance/InstanceServiceManager.sol +6 -5
  152. package/contracts/instance/base/ComponentServiceBase.sol +75 -8
  153. package/contracts/instance/service/DistributionService.sol +8 -19
  154. package/contracts/instance/service/DistributionServiceManager.sol +6 -5
  155. package/contracts/instance/service/IProductService.sol +3 -3
  156. package/contracts/instance/service/PoolService.sol +9 -20
  157. package/contracts/instance/service/PoolServiceManager.sol +6 -5
  158. package/contracts/instance/service/ProductService.sol +563 -0
  159. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  160. package/contracts/registry/IRegistry.sol +4 -19
  161. package/contracts/registry/IRegistryService.sol +28 -11
  162. package/contracts/registry/Registry.sol +2 -47
  163. package/contracts/registry/RegistryService.sol +30 -71
  164. package/contracts/shared/NftOwnable.sol +2 -4
  165. package/contracts/shared/Service.sol +1 -0
  166. package/contracts/types/RoleId.sol +1 -0
  167. package/package.json +1 -1
@@ -137,6 +137,106 @@
137
137
  "stateMutability": "nonpayable",
138
138
  "type": "function"
139
139
  },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "NftId",
144
+ "name": "policyNftId",
145
+ "type": "uint96"
146
+ },
147
+ {
148
+ "components": [
149
+ {
150
+ "internalType": "NftId",
151
+ "name": "productNftId",
152
+ "type": "uint96"
153
+ },
154
+ {
155
+ "internalType": "NftId",
156
+ "name": "bundleNftId",
157
+ "type": "uint96"
158
+ },
159
+ {
160
+ "internalType": "ReferralId",
161
+ "name": "referralId",
162
+ "type": "bytes8"
163
+ },
164
+ {
165
+ "internalType": "RiskId",
166
+ "name": "riskId",
167
+ "type": "bytes8"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "sumInsuredAmount",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "premiumAmount",
177
+ "type": "uint256"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "premiumPaidAmount",
182
+ "type": "uint256"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "lifetime",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "internalType": "bytes",
191
+ "name": "applicationData",
192
+ "type": "bytes"
193
+ },
194
+ {
195
+ "internalType": "bytes",
196
+ "name": "policyData",
197
+ "type": "bytes"
198
+ },
199
+ {
200
+ "internalType": "uint16",
201
+ "name": "claimsCount",
202
+ "type": "uint16"
203
+ },
204
+ {
205
+ "internalType": "uint16",
206
+ "name": "openClaimsCount",
207
+ "type": "uint16"
208
+ },
209
+ {
210
+ "internalType": "uint256",
211
+ "name": "payoutAmount",
212
+ "type": "uint256"
213
+ },
214
+ {
215
+ "internalType": "Timestamp",
216
+ "name": "activatedAt",
217
+ "type": "uint40"
218
+ },
219
+ {
220
+ "internalType": "Timestamp",
221
+ "name": "expiredAt",
222
+ "type": "uint40"
223
+ },
224
+ {
225
+ "internalType": "Timestamp",
226
+ "name": "closedAt",
227
+ "type": "uint40"
228
+ }
229
+ ],
230
+ "internalType": "struct IPolicy.PolicyInfo",
231
+ "name": "policy",
232
+ "type": "tuple"
233
+ }
234
+ ],
235
+ "name": "createPolicy",
236
+ "outputs": [],
237
+ "stateMutability": "nonpayable",
238
+ "type": "function"
239
+ },
140
240
  {
141
241
  "inputs": [
142
242
  {
@@ -375,6 +475,36 @@
375
475
  "stateMutability": "nonpayable",
376
476
  "type": "function"
377
477
  },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "RiskId",
482
+ "name": "riskId",
483
+ "type": "bytes8"
484
+ },
485
+ {
486
+ "components": [
487
+ {
488
+ "internalType": "NftId",
489
+ "name": "productNftId",
490
+ "type": "uint96"
491
+ },
492
+ {
493
+ "internalType": "bytes",
494
+ "name": "data",
495
+ "type": "bytes"
496
+ }
497
+ ],
498
+ "internalType": "struct IRisk.RiskInfo",
499
+ "name": "risk",
500
+ "type": "tuple"
501
+ }
502
+ ],
503
+ "name": "createRisk",
504
+ "outputs": [],
505
+ "stateMutability": "nonpayable",
506
+ "type": "function"
507
+ },
378
508
  {
379
509
  "inputs": [],
380
510
  "name": "getComponentOwnerService",
@@ -427,6 +557,19 @@
427
557
  "stateMutability": "view",
428
558
  "type": "function"
429
559
  },
560
+ {
561
+ "inputs": [],
562
+ "name": "getProductService",
563
+ "outputs": [
564
+ {
565
+ "internalType": "contract IProductService",
566
+ "name": "",
567
+ "type": "address"
568
+ }
569
+ ],
570
+ "stateMutability": "view",
571
+ "type": "function"
572
+ },
430
573
  {
431
574
  "inputs": [
432
575
  {
@@ -626,6 +769,129 @@
626
769
  "stateMutability": "nonpayable",
627
770
  "type": "function"
628
771
  },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "NftId",
776
+ "name": "policyNftId",
777
+ "type": "uint96"
778
+ },
779
+ {
780
+ "components": [
781
+ {
782
+ "internalType": "NftId",
783
+ "name": "productNftId",
784
+ "type": "uint96"
785
+ },
786
+ {
787
+ "internalType": "NftId",
788
+ "name": "bundleNftId",
789
+ "type": "uint96"
790
+ },
791
+ {
792
+ "internalType": "ReferralId",
793
+ "name": "referralId",
794
+ "type": "bytes8"
795
+ },
796
+ {
797
+ "internalType": "RiskId",
798
+ "name": "riskId",
799
+ "type": "bytes8"
800
+ },
801
+ {
802
+ "internalType": "uint256",
803
+ "name": "sumInsuredAmount",
804
+ "type": "uint256"
805
+ },
806
+ {
807
+ "internalType": "uint256",
808
+ "name": "premiumAmount",
809
+ "type": "uint256"
810
+ },
811
+ {
812
+ "internalType": "uint256",
813
+ "name": "premiumPaidAmount",
814
+ "type": "uint256"
815
+ },
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "lifetime",
819
+ "type": "uint256"
820
+ },
821
+ {
822
+ "internalType": "bytes",
823
+ "name": "applicationData",
824
+ "type": "bytes"
825
+ },
826
+ {
827
+ "internalType": "bytes",
828
+ "name": "policyData",
829
+ "type": "bytes"
830
+ },
831
+ {
832
+ "internalType": "uint16",
833
+ "name": "claimsCount",
834
+ "type": "uint16"
835
+ },
836
+ {
837
+ "internalType": "uint16",
838
+ "name": "openClaimsCount",
839
+ "type": "uint16"
840
+ },
841
+ {
842
+ "internalType": "uint256",
843
+ "name": "payoutAmount",
844
+ "type": "uint256"
845
+ },
846
+ {
847
+ "internalType": "Timestamp",
848
+ "name": "activatedAt",
849
+ "type": "uint40"
850
+ },
851
+ {
852
+ "internalType": "Timestamp",
853
+ "name": "expiredAt",
854
+ "type": "uint40"
855
+ },
856
+ {
857
+ "internalType": "Timestamp",
858
+ "name": "closedAt",
859
+ "type": "uint40"
860
+ }
861
+ ],
862
+ "internalType": "struct IPolicy.PolicyInfo",
863
+ "name": "policy",
864
+ "type": "tuple"
865
+ },
866
+ {
867
+ "internalType": "StateId",
868
+ "name": "newState",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "name": "updatePolicy",
873
+ "outputs": [],
874
+ "stateMutability": "nonpayable",
875
+ "type": "function"
876
+ },
877
+ {
878
+ "inputs": [
879
+ {
880
+ "internalType": "NftId",
881
+ "name": "policyNftId",
882
+ "type": "uint96"
883
+ },
884
+ {
885
+ "internalType": "StateId",
886
+ "name": "newState",
887
+ "type": "uint8"
888
+ }
889
+ ],
890
+ "name": "updatePolicyState",
891
+ "outputs": [],
892
+ "stateMutability": "nonpayable",
893
+ "type": "function"
894
+ },
629
895
  {
630
896
  "inputs": [
631
897
  {
@@ -744,6 +1010,224 @@
744
1010
  "outputs": [],
745
1011
  "stateMutability": "nonpayable",
746
1012
  "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [
1016
+ {
1017
+ "internalType": "NftId",
1018
+ "name": "productNftId",
1019
+ "type": "uint96"
1020
+ },
1021
+ {
1022
+ "components": [
1023
+ {
1024
+ "internalType": "contract IERC20Metadata",
1025
+ "name": "token",
1026
+ "type": "address"
1027
+ },
1028
+ {
1029
+ "internalType": "contract TokenHandler",
1030
+ "name": "tokenHandler",
1031
+ "type": "address"
1032
+ },
1033
+ {
1034
+ "internalType": "NftId",
1035
+ "name": "distributionNftId",
1036
+ "type": "uint96"
1037
+ },
1038
+ {
1039
+ "internalType": "NftId",
1040
+ "name": "poolNftId",
1041
+ "type": "uint96"
1042
+ },
1043
+ {
1044
+ "components": [
1045
+ {
1046
+ "internalType": "UFixed",
1047
+ "name": "fractionalFee",
1048
+ "type": "uint256"
1049
+ },
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "fixedFee",
1053
+ "type": "uint256"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct Fee",
1057
+ "name": "distributionFee",
1058
+ "type": "tuple"
1059
+ },
1060
+ {
1061
+ "components": [
1062
+ {
1063
+ "internalType": "UFixed",
1064
+ "name": "fractionalFee",
1065
+ "type": "uint256"
1066
+ },
1067
+ {
1068
+ "internalType": "uint256",
1069
+ "name": "fixedFee",
1070
+ "type": "uint256"
1071
+ }
1072
+ ],
1073
+ "internalType": "struct Fee",
1074
+ "name": "productFee",
1075
+ "type": "tuple"
1076
+ },
1077
+ {
1078
+ "components": [
1079
+ {
1080
+ "internalType": "UFixed",
1081
+ "name": "fractionalFee",
1082
+ "type": "uint256"
1083
+ },
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "fixedFee",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "internalType": "struct Fee",
1091
+ "name": "processingFee",
1092
+ "type": "tuple"
1093
+ },
1094
+ {
1095
+ "components": [
1096
+ {
1097
+ "internalType": "UFixed",
1098
+ "name": "fractionalFee",
1099
+ "type": "uint256"
1100
+ },
1101
+ {
1102
+ "internalType": "uint256",
1103
+ "name": "fixedFee",
1104
+ "type": "uint256"
1105
+ }
1106
+ ],
1107
+ "internalType": "struct Fee",
1108
+ "name": "poolFee",
1109
+ "type": "tuple"
1110
+ },
1111
+ {
1112
+ "components": [
1113
+ {
1114
+ "internalType": "UFixed",
1115
+ "name": "fractionalFee",
1116
+ "type": "uint256"
1117
+ },
1118
+ {
1119
+ "internalType": "uint256",
1120
+ "name": "fixedFee",
1121
+ "type": "uint256"
1122
+ }
1123
+ ],
1124
+ "internalType": "struct Fee",
1125
+ "name": "stakingFee",
1126
+ "type": "tuple"
1127
+ },
1128
+ {
1129
+ "components": [
1130
+ {
1131
+ "internalType": "UFixed",
1132
+ "name": "fractionalFee",
1133
+ "type": "uint256"
1134
+ },
1135
+ {
1136
+ "internalType": "uint256",
1137
+ "name": "fixedFee",
1138
+ "type": "uint256"
1139
+ }
1140
+ ],
1141
+ "internalType": "struct Fee",
1142
+ "name": "performanceFee",
1143
+ "type": "tuple"
1144
+ }
1145
+ ],
1146
+ "internalType": "struct ISetup.ProductSetupInfo",
1147
+ "name": "setup",
1148
+ "type": "tuple"
1149
+ },
1150
+ {
1151
+ "internalType": "StateId",
1152
+ "name": "newState",
1153
+ "type": "uint8"
1154
+ }
1155
+ ],
1156
+ "name": "updateProductSetup",
1157
+ "outputs": [],
1158
+ "stateMutability": "nonpayable",
1159
+ "type": "function"
1160
+ },
1161
+ {
1162
+ "inputs": [
1163
+ {
1164
+ "internalType": "NftId",
1165
+ "name": "productNftId",
1166
+ "type": "uint96"
1167
+ },
1168
+ {
1169
+ "internalType": "StateId",
1170
+ "name": "newState",
1171
+ "type": "uint8"
1172
+ }
1173
+ ],
1174
+ "name": "updateProductSetupState",
1175
+ "outputs": [],
1176
+ "stateMutability": "nonpayable",
1177
+ "type": "function"
1178
+ },
1179
+ {
1180
+ "inputs": [
1181
+ {
1182
+ "internalType": "RiskId",
1183
+ "name": "riskId",
1184
+ "type": "bytes8"
1185
+ },
1186
+ {
1187
+ "components": [
1188
+ {
1189
+ "internalType": "NftId",
1190
+ "name": "productNftId",
1191
+ "type": "uint96"
1192
+ },
1193
+ {
1194
+ "internalType": "bytes",
1195
+ "name": "data",
1196
+ "type": "bytes"
1197
+ }
1198
+ ],
1199
+ "internalType": "struct IRisk.RiskInfo",
1200
+ "name": "risk",
1201
+ "type": "tuple"
1202
+ },
1203
+ {
1204
+ "internalType": "StateId",
1205
+ "name": "newState",
1206
+ "type": "uint8"
1207
+ }
1208
+ ],
1209
+ "name": "updateRisk",
1210
+ "outputs": [],
1211
+ "stateMutability": "nonpayable",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [
1216
+ {
1217
+ "internalType": "RiskId",
1218
+ "name": "riskId",
1219
+ "type": "bytes8"
1220
+ },
1221
+ {
1222
+ "internalType": "StateId",
1223
+ "name": "newState",
1224
+ "type": "uint8"
1225
+ }
1226
+ ],
1227
+ "name": "updateRiskState",
1228
+ "outputs": [],
1229
+ "stateMutability": "nonpayable",
1230
+ "type": "function"
747
1231
  }
748
1232
  ],
749
1233
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ab8580dfbd8c3e5b71893cf209d613dc.json"
3
+ "buildInfo": "../../../build-info/1af2fa190f1c2d4e977f9d4dec138175.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ab8580dfbd8c3e5b71893cf209d613dc.json"
3
+ "buildInfo": "../../../build-info/1af2fa190f1c2d4e977f9d4dec138175.json"
4
4
  }