@etherisc/gif-next 0.0.2-7238c82-474 → 0.0.2-72dc555-736

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 (168) 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 -16
  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 +488 -1
  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 +120 -84
  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 +143 -38
  45. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  46. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +58 -18
  47. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  48. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +43 -27
  49. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +56 -2
  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 +83 -24
  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/PoolService.sol/PoolService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +839 -0
  75. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +448 -0
  77. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1058 -0
  79. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +448 -0
  81. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  82. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  83. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +0 -127
  84. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  85. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -0
  86. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  87. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  88. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -169
  89. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  90. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +76 -20
  91. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  92. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +25 -37
  93. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  94. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +12 -12
  95. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  96. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  97. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  98. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  99. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  100. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  101. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  102. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  103. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  104. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  105. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  106. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  107. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  108. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  109. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  110. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  111. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  112. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  113. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  114. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
  115. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  116. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  117. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  118. package/artifacts/contracts/test/TestService.sol/TestService.json +9 -9
  119. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  120. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  121. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  122. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  123. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  124. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  125. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  126. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  127. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  128. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  129. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  130. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  131. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  132. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  133. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  134. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  135. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  136. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  137. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  138. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  139. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  140. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  141. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  142. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  143. package/contracts/components/Distribution.sol +8 -15
  144. package/contracts/components/IDistributionComponent.sol +0 -2
  145. package/contracts/components/Pool.sol +4 -20
  146. package/contracts/components/Product.sol +22 -34
  147. package/contracts/instance/IInstance.sol +14 -5
  148. package/contracts/instance/Instance.sol +14 -14
  149. package/contracts/instance/InstanceReader.sol +17 -1
  150. package/contracts/instance/InstanceService.sol +17 -4
  151. package/contracts/instance/InstanceServiceManager.sol +6 -5
  152. package/contracts/instance/base/ComponentServiceBase.sol +85 -2
  153. package/contracts/instance/module/IBundle.sol +1 -0
  154. package/contracts/instance/module/ISetup.sol +1 -0
  155. package/contracts/instance/service/DistributionService.sol +8 -25
  156. package/contracts/instance/service/DistributionServiceManager.sol +6 -5
  157. package/contracts/instance/service/PoolService.sol +194 -0
  158. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  159. package/contracts/instance/service/ProductService.sol +548 -0
  160. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  161. package/contracts/registry/IRegistry.sol +4 -19
  162. package/contracts/registry/IRegistryService.sol +28 -11
  163. package/contracts/registry/Registry.sol +2 -47
  164. package/contracts/registry/RegistryService.sol +30 -71
  165. package/contracts/shared/NftOwnable.sol +2 -4
  166. package/contracts/shared/Service.sol +1 -0
  167. package/contracts/types/RoleId.sol +1 -0
  168. package/package.json +1 -1
@@ -3,6 +3,83 @@
3
3
  "contractName": "IInstance",
4
4
  "sourceName": "contracts/instance/IInstance.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "NftId",
10
+ "name": "bundleNftId",
11
+ "type": "uint96"
12
+ },
13
+ {
14
+ "components": [
15
+ {
16
+ "internalType": "NftId",
17
+ "name": "poolNftId",
18
+ "type": "uint96"
19
+ },
20
+ {
21
+ "components": [
22
+ {
23
+ "internalType": "UFixed",
24
+ "name": "fractionalFee",
25
+ "type": "uint256"
26
+ },
27
+ {
28
+ "internalType": "uint256",
29
+ "name": "fixedFee",
30
+ "type": "uint256"
31
+ }
32
+ ],
33
+ "internalType": "struct Fee",
34
+ "name": "fee",
35
+ "type": "tuple"
36
+ },
37
+ {
38
+ "internalType": "bytes",
39
+ "name": "filter",
40
+ "type": "bytes"
41
+ },
42
+ {
43
+ "internalType": "uint256",
44
+ "name": "capitalAmount",
45
+ "type": "uint256"
46
+ },
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "lockedAmount",
50
+ "type": "uint256"
51
+ },
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "balanceAmount",
55
+ "type": "uint256"
56
+ },
57
+ {
58
+ "internalType": "uint256",
59
+ "name": "lifetime",
60
+ "type": "uint256"
61
+ },
62
+ {
63
+ "internalType": "Timestamp",
64
+ "name": "expiredAt",
65
+ "type": "uint40"
66
+ },
67
+ {
68
+ "internalType": "Timestamp",
69
+ "name": "closedAt",
70
+ "type": "uint40"
71
+ }
72
+ ],
73
+ "internalType": "struct IBundle.BundleInfo",
74
+ "name": "bundle",
75
+ "type": "tuple"
76
+ }
77
+ ],
78
+ "name": "createBundle",
79
+ "outputs": [],
80
+ "stateMutability": "nonpayable",
81
+ "type": "function"
82
+ },
6
83
  {
7
84
  "inputs": [
8
85
  {
@@ -64,7 +141,7 @@
64
141
  "inputs": [
65
142
  {
66
143
  "internalType": "NftId",
67
- "name": "distributionNftId",
144
+ "name": "poolNftId",
68
145
  "type": "uint96"
69
146
  },
70
147
  {
@@ -337,6 +414,32 @@
337
414
  "stateMutability": "view",
338
415
  "type": "function"
339
416
  },
417
+ {
418
+ "inputs": [],
419
+ "name": "getPoolService",
420
+ "outputs": [
421
+ {
422
+ "internalType": "contract IPoolService",
423
+ "name": "",
424
+ "type": "address"
425
+ }
426
+ ],
427
+ "stateMutability": "view",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "getProductService",
433
+ "outputs": [
434
+ {
435
+ "internalType": "contract IProductService",
436
+ "name": "",
437
+ "type": "address"
438
+ }
439
+ ],
440
+ "stateMutability": "view",
441
+ "type": "function"
442
+ },
340
443
  {
341
444
  "inputs": [
342
445
  {
@@ -356,6 +459,106 @@
356
459
  "stateMutability": "view",
357
460
  "type": "function"
358
461
  },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "NftId",
466
+ "name": "bundleNftId",
467
+ "type": "uint96"
468
+ },
469
+ {
470
+ "components": [
471
+ {
472
+ "internalType": "NftId",
473
+ "name": "poolNftId",
474
+ "type": "uint96"
475
+ },
476
+ {
477
+ "components": [
478
+ {
479
+ "internalType": "UFixed",
480
+ "name": "fractionalFee",
481
+ "type": "uint256"
482
+ },
483
+ {
484
+ "internalType": "uint256",
485
+ "name": "fixedFee",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "internalType": "struct Fee",
490
+ "name": "fee",
491
+ "type": "tuple"
492
+ },
493
+ {
494
+ "internalType": "bytes",
495
+ "name": "filter",
496
+ "type": "bytes"
497
+ },
498
+ {
499
+ "internalType": "uint256",
500
+ "name": "capitalAmount",
501
+ "type": "uint256"
502
+ },
503
+ {
504
+ "internalType": "uint256",
505
+ "name": "lockedAmount",
506
+ "type": "uint256"
507
+ },
508
+ {
509
+ "internalType": "uint256",
510
+ "name": "balanceAmount",
511
+ "type": "uint256"
512
+ },
513
+ {
514
+ "internalType": "uint256",
515
+ "name": "lifetime",
516
+ "type": "uint256"
517
+ },
518
+ {
519
+ "internalType": "Timestamp",
520
+ "name": "expiredAt",
521
+ "type": "uint40"
522
+ },
523
+ {
524
+ "internalType": "Timestamp",
525
+ "name": "closedAt",
526
+ "type": "uint40"
527
+ }
528
+ ],
529
+ "internalType": "struct IBundle.BundleInfo",
530
+ "name": "bundle",
531
+ "type": "tuple"
532
+ },
533
+ {
534
+ "internalType": "StateId",
535
+ "name": "newState",
536
+ "type": "uint8"
537
+ }
538
+ ],
539
+ "name": "updateBundle",
540
+ "outputs": [],
541
+ "stateMutability": "nonpayable",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "NftId",
548
+ "name": "bundleNftId",
549
+ "type": "uint96"
550
+ },
551
+ {
552
+ "internalType": "StateId",
553
+ "name": "newState",
554
+ "type": "uint8"
555
+ }
556
+ ],
557
+ "name": "updateBundleState",
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
359
562
  {
360
563
  "inputs": [
361
564
  {
@@ -435,6 +638,290 @@
435
638
  "outputs": [],
436
639
  "stateMutability": "nonpayable",
437
640
  "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "NftId",
646
+ "name": "poolNftId",
647
+ "type": "uint96"
648
+ },
649
+ {
650
+ "components": [
651
+ {
652
+ "internalType": "NftId",
653
+ "name": "productNftId",
654
+ "type": "uint96"
655
+ },
656
+ {
657
+ "internalType": "contract TokenHandler",
658
+ "name": "tokenHandler",
659
+ "type": "address"
660
+ },
661
+ {
662
+ "internalType": "UFixed",
663
+ "name": "collateralizationLevel",
664
+ "type": "uint256"
665
+ },
666
+ {
667
+ "components": [
668
+ {
669
+ "internalType": "UFixed",
670
+ "name": "fractionalFee",
671
+ "type": "uint256"
672
+ },
673
+ {
674
+ "internalType": "uint256",
675
+ "name": "fixedFee",
676
+ "type": "uint256"
677
+ }
678
+ ],
679
+ "internalType": "struct Fee",
680
+ "name": "poolFee",
681
+ "type": "tuple"
682
+ },
683
+ {
684
+ "components": [
685
+ {
686
+ "internalType": "UFixed",
687
+ "name": "fractionalFee",
688
+ "type": "uint256"
689
+ },
690
+ {
691
+ "internalType": "uint256",
692
+ "name": "fixedFee",
693
+ "type": "uint256"
694
+ }
695
+ ],
696
+ "internalType": "struct Fee",
697
+ "name": "stakingFee",
698
+ "type": "tuple"
699
+ },
700
+ {
701
+ "components": [
702
+ {
703
+ "internalType": "UFixed",
704
+ "name": "fractionalFee",
705
+ "type": "uint256"
706
+ },
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "fixedFee",
710
+ "type": "uint256"
711
+ }
712
+ ],
713
+ "internalType": "struct Fee",
714
+ "name": "performanceFee",
715
+ "type": "tuple"
716
+ },
717
+ {
718
+ "internalType": "bool",
719
+ "name": "isIntercepting",
720
+ "type": "bool"
721
+ },
722
+ {
723
+ "internalType": "address",
724
+ "name": "wallet",
725
+ "type": "address"
726
+ }
727
+ ],
728
+ "internalType": "struct ISetup.PoolSetupInfo",
729
+ "name": "setup",
730
+ "type": "tuple"
731
+ },
732
+ {
733
+ "internalType": "StateId",
734
+ "name": "newState",
735
+ "type": "uint8"
736
+ }
737
+ ],
738
+ "name": "updatePoolSetup",
739
+ "outputs": [],
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "internalType": "NftId",
747
+ "name": "poolNftId",
748
+ "type": "uint96"
749
+ },
750
+ {
751
+ "internalType": "StateId",
752
+ "name": "newState",
753
+ "type": "uint8"
754
+ }
755
+ ],
756
+ "name": "updatePoolSetupState",
757
+ "outputs": [],
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "productNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "components": [
770
+ {
771
+ "internalType": "contract IERC20Metadata",
772
+ "name": "token",
773
+ "type": "address"
774
+ },
775
+ {
776
+ "internalType": "contract TokenHandler",
777
+ "name": "tokenHandler",
778
+ "type": "address"
779
+ },
780
+ {
781
+ "internalType": "NftId",
782
+ "name": "distributionNftId",
783
+ "type": "uint96"
784
+ },
785
+ {
786
+ "internalType": "NftId",
787
+ "name": "poolNftId",
788
+ "type": "uint96"
789
+ },
790
+ {
791
+ "components": [
792
+ {
793
+ "internalType": "UFixed",
794
+ "name": "fractionalFee",
795
+ "type": "uint256"
796
+ },
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "fixedFee",
800
+ "type": "uint256"
801
+ }
802
+ ],
803
+ "internalType": "struct Fee",
804
+ "name": "distributionFee",
805
+ "type": "tuple"
806
+ },
807
+ {
808
+ "components": [
809
+ {
810
+ "internalType": "UFixed",
811
+ "name": "fractionalFee",
812
+ "type": "uint256"
813
+ },
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "fixedFee",
817
+ "type": "uint256"
818
+ }
819
+ ],
820
+ "internalType": "struct Fee",
821
+ "name": "productFee",
822
+ "type": "tuple"
823
+ },
824
+ {
825
+ "components": [
826
+ {
827
+ "internalType": "UFixed",
828
+ "name": "fractionalFee",
829
+ "type": "uint256"
830
+ },
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "fixedFee",
834
+ "type": "uint256"
835
+ }
836
+ ],
837
+ "internalType": "struct Fee",
838
+ "name": "processingFee",
839
+ "type": "tuple"
840
+ },
841
+ {
842
+ "components": [
843
+ {
844
+ "internalType": "UFixed",
845
+ "name": "fractionalFee",
846
+ "type": "uint256"
847
+ },
848
+ {
849
+ "internalType": "uint256",
850
+ "name": "fixedFee",
851
+ "type": "uint256"
852
+ }
853
+ ],
854
+ "internalType": "struct Fee",
855
+ "name": "poolFee",
856
+ "type": "tuple"
857
+ },
858
+ {
859
+ "components": [
860
+ {
861
+ "internalType": "UFixed",
862
+ "name": "fractionalFee",
863
+ "type": "uint256"
864
+ },
865
+ {
866
+ "internalType": "uint256",
867
+ "name": "fixedFee",
868
+ "type": "uint256"
869
+ }
870
+ ],
871
+ "internalType": "struct Fee",
872
+ "name": "stakingFee",
873
+ "type": "tuple"
874
+ },
875
+ {
876
+ "components": [
877
+ {
878
+ "internalType": "UFixed",
879
+ "name": "fractionalFee",
880
+ "type": "uint256"
881
+ },
882
+ {
883
+ "internalType": "uint256",
884
+ "name": "fixedFee",
885
+ "type": "uint256"
886
+ }
887
+ ],
888
+ "internalType": "struct Fee",
889
+ "name": "performanceFee",
890
+ "type": "tuple"
891
+ }
892
+ ],
893
+ "internalType": "struct ISetup.ProductSetupInfo",
894
+ "name": "setup",
895
+ "type": "tuple"
896
+ },
897
+ {
898
+ "internalType": "StateId",
899
+ "name": "newState",
900
+ "type": "uint8"
901
+ }
902
+ ],
903
+ "name": "updateProductSetup",
904
+ "outputs": [],
905
+ "stateMutability": "nonpayable",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "NftId",
912
+ "name": "productNftId",
913
+ "type": "uint96"
914
+ },
915
+ {
916
+ "internalType": "StateId",
917
+ "name": "newState",
918
+ "type": "uint8"
919
+ }
920
+ ],
921
+ "name": "updateProductSetupState",
922
+ "outputs": [],
923
+ "stateMutability": "nonpayable",
924
+ "type": "function"
438
925
  }
439
926
  ],
440
927
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fff831f43057dc5f61295387cdc2915d.json"
3
+ "buildInfo": "../../../build-info/e1f135e491c0fe8f84fe08815500a5f7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fff831f43057dc5f61295387cdc2915d.json"
3
+ "buildInfo": "../../../build-info/e1f135e491c0fe8f84fe08815500a5f7.json"
4
4
  }