@etherisc/gif-next 0.0.2-7238c82-474 → 0.0.2-72ddf14-012
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.
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +10 -62
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -52
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +8 -16
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +8 -64
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +1 -1
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +1 -1
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +571 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +120 -84
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +143 -38
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +98 -18
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +63 -27
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +56 -2
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +16 -16
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +83 -24
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +26 -18
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +19 -31
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +839 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +448 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1046 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +448 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +0 -127
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -169
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +76 -20
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +25 -37
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +12 -12
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +9 -9
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Distribution.sol +8 -15
- package/contracts/components/IDistributionComponent.sol +0 -2
- package/contracts/components/Pool.sol +4 -20
- package/contracts/components/Product.sol +28 -41
- package/contracts/instance/IInstance.sol +21 -5
- package/contracts/instance/Instance.sol +14 -14
- package/contracts/instance/InstanceReader.sol +17 -1
- package/contracts/instance/InstanceService.sol +29 -4
- package/contracts/instance/InstanceServiceManager.sol +6 -5
- package/contracts/instance/base/ComponentServiceBase.sol +85 -2
- package/contracts/instance/module/IBundle.sol +1 -0
- package/contracts/instance/module/ISetup.sol +1 -0
- package/contracts/instance/service/DistributionService.sol +8 -25
- package/contracts/instance/service/DistributionServiceManager.sol +6 -5
- package/contracts/instance/service/IProductService.sol +3 -3
- package/contracts/instance/service/PoolService.sol +194 -0
- package/contracts/instance/service/PoolServiceManager.sol +54 -0
- package/contracts/instance/service/ProductService.sol +542 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/IRegistry.sol +4 -19
- package/contracts/registry/IRegistryService.sol +28 -11
- package/contracts/registry/Registry.sol +2 -47
- package/contracts/registry/RegistryService.sol +30 -71
- package/contracts/shared/NftOwnable.sol +2 -4
- package/contracts/shared/Service.sol +1 -0
- package/contracts/types/RoleId.sol +2 -0
- 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": "
|
144
|
+
"name": "poolNftId",
|
68
145
|
"type": "uint96"
|
69
146
|
},
|
70
147
|
{
|
@@ -298,6 +375,36 @@
|
|
298
375
|
"stateMutability": "nonpayable",
|
299
376
|
"type": "function"
|
300
377
|
},
|
378
|
+
{
|
379
|
+
"inputs": [
|
380
|
+
{
|
381
|
+
"internalType": "RiskId",
|
382
|
+
"name": "riskId",
|
383
|
+
"type": "bytes8"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"components": [
|
387
|
+
{
|
388
|
+
"internalType": "NftId",
|
389
|
+
"name": "productNftId",
|
390
|
+
"type": "uint96"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"internalType": "bytes",
|
394
|
+
"name": "data",
|
395
|
+
"type": "bytes"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"internalType": "struct IRisk.RiskInfo",
|
399
|
+
"name": "risk",
|
400
|
+
"type": "tuple"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"name": "createRisk",
|
404
|
+
"outputs": [],
|
405
|
+
"stateMutability": "nonpayable",
|
406
|
+
"type": "function"
|
407
|
+
},
|
301
408
|
{
|
302
409
|
"inputs": [],
|
303
410
|
"name": "getComponentOwnerService",
|
@@ -337,6 +444,32 @@
|
|
337
444
|
"stateMutability": "view",
|
338
445
|
"type": "function"
|
339
446
|
},
|
447
|
+
{
|
448
|
+
"inputs": [],
|
449
|
+
"name": "getPoolService",
|
450
|
+
"outputs": [
|
451
|
+
{
|
452
|
+
"internalType": "contract IPoolService",
|
453
|
+
"name": "",
|
454
|
+
"type": "address"
|
455
|
+
}
|
456
|
+
],
|
457
|
+
"stateMutability": "view",
|
458
|
+
"type": "function"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"inputs": [],
|
462
|
+
"name": "getProductService",
|
463
|
+
"outputs": [
|
464
|
+
{
|
465
|
+
"internalType": "contract IProductService",
|
466
|
+
"name": "",
|
467
|
+
"type": "address"
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"stateMutability": "view",
|
471
|
+
"type": "function"
|
472
|
+
},
|
340
473
|
{
|
341
474
|
"inputs": [
|
342
475
|
{
|
@@ -356,6 +489,106 @@
|
|
356
489
|
"stateMutability": "view",
|
357
490
|
"type": "function"
|
358
491
|
},
|
492
|
+
{
|
493
|
+
"inputs": [
|
494
|
+
{
|
495
|
+
"internalType": "NftId",
|
496
|
+
"name": "bundleNftId",
|
497
|
+
"type": "uint96"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"components": [
|
501
|
+
{
|
502
|
+
"internalType": "NftId",
|
503
|
+
"name": "poolNftId",
|
504
|
+
"type": "uint96"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"components": [
|
508
|
+
{
|
509
|
+
"internalType": "UFixed",
|
510
|
+
"name": "fractionalFee",
|
511
|
+
"type": "uint256"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"internalType": "uint256",
|
515
|
+
"name": "fixedFee",
|
516
|
+
"type": "uint256"
|
517
|
+
}
|
518
|
+
],
|
519
|
+
"internalType": "struct Fee",
|
520
|
+
"name": "fee",
|
521
|
+
"type": "tuple"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"internalType": "bytes",
|
525
|
+
"name": "filter",
|
526
|
+
"type": "bytes"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"internalType": "uint256",
|
530
|
+
"name": "capitalAmount",
|
531
|
+
"type": "uint256"
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"internalType": "uint256",
|
535
|
+
"name": "lockedAmount",
|
536
|
+
"type": "uint256"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"internalType": "uint256",
|
540
|
+
"name": "balanceAmount",
|
541
|
+
"type": "uint256"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"internalType": "uint256",
|
545
|
+
"name": "lifetime",
|
546
|
+
"type": "uint256"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"internalType": "Timestamp",
|
550
|
+
"name": "expiredAt",
|
551
|
+
"type": "uint40"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"internalType": "Timestamp",
|
555
|
+
"name": "closedAt",
|
556
|
+
"type": "uint40"
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"internalType": "struct IBundle.BundleInfo",
|
560
|
+
"name": "bundle",
|
561
|
+
"type": "tuple"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"internalType": "StateId",
|
565
|
+
"name": "newState",
|
566
|
+
"type": "uint8"
|
567
|
+
}
|
568
|
+
],
|
569
|
+
"name": "updateBundle",
|
570
|
+
"outputs": [],
|
571
|
+
"stateMutability": "nonpayable",
|
572
|
+
"type": "function"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"inputs": [
|
576
|
+
{
|
577
|
+
"internalType": "NftId",
|
578
|
+
"name": "bundleNftId",
|
579
|
+
"type": "uint96"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"internalType": "StateId",
|
583
|
+
"name": "newState",
|
584
|
+
"type": "uint8"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"name": "updateBundleState",
|
588
|
+
"outputs": [],
|
589
|
+
"stateMutability": "nonpayable",
|
590
|
+
"type": "function"
|
591
|
+
},
|
359
592
|
{
|
360
593
|
"inputs": [
|
361
594
|
{
|
@@ -435,6 +668,343 @@
|
|
435
668
|
"outputs": [],
|
436
669
|
"stateMutability": "nonpayable",
|
437
670
|
"type": "function"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"inputs": [
|
674
|
+
{
|
675
|
+
"internalType": "NftId",
|
676
|
+
"name": "poolNftId",
|
677
|
+
"type": "uint96"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"components": [
|
681
|
+
{
|
682
|
+
"internalType": "NftId",
|
683
|
+
"name": "productNftId",
|
684
|
+
"type": "uint96"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"internalType": "contract TokenHandler",
|
688
|
+
"name": "tokenHandler",
|
689
|
+
"type": "address"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"internalType": "UFixed",
|
693
|
+
"name": "collateralizationLevel",
|
694
|
+
"type": "uint256"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"components": [
|
698
|
+
{
|
699
|
+
"internalType": "UFixed",
|
700
|
+
"name": "fractionalFee",
|
701
|
+
"type": "uint256"
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"internalType": "uint256",
|
705
|
+
"name": "fixedFee",
|
706
|
+
"type": "uint256"
|
707
|
+
}
|
708
|
+
],
|
709
|
+
"internalType": "struct Fee",
|
710
|
+
"name": "poolFee",
|
711
|
+
"type": "tuple"
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"components": [
|
715
|
+
{
|
716
|
+
"internalType": "UFixed",
|
717
|
+
"name": "fractionalFee",
|
718
|
+
"type": "uint256"
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"internalType": "uint256",
|
722
|
+
"name": "fixedFee",
|
723
|
+
"type": "uint256"
|
724
|
+
}
|
725
|
+
],
|
726
|
+
"internalType": "struct Fee",
|
727
|
+
"name": "stakingFee",
|
728
|
+
"type": "tuple"
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"components": [
|
732
|
+
{
|
733
|
+
"internalType": "UFixed",
|
734
|
+
"name": "fractionalFee",
|
735
|
+
"type": "uint256"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"internalType": "uint256",
|
739
|
+
"name": "fixedFee",
|
740
|
+
"type": "uint256"
|
741
|
+
}
|
742
|
+
],
|
743
|
+
"internalType": "struct Fee",
|
744
|
+
"name": "performanceFee",
|
745
|
+
"type": "tuple"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"internalType": "bool",
|
749
|
+
"name": "isIntercepting",
|
750
|
+
"type": "bool"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"internalType": "address",
|
754
|
+
"name": "wallet",
|
755
|
+
"type": "address"
|
756
|
+
}
|
757
|
+
],
|
758
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
759
|
+
"name": "setup",
|
760
|
+
"type": "tuple"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "StateId",
|
764
|
+
"name": "newState",
|
765
|
+
"type": "uint8"
|
766
|
+
}
|
767
|
+
],
|
768
|
+
"name": "updatePoolSetup",
|
769
|
+
"outputs": [],
|
770
|
+
"stateMutability": "nonpayable",
|
771
|
+
"type": "function"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"inputs": [
|
775
|
+
{
|
776
|
+
"internalType": "NftId",
|
777
|
+
"name": "poolNftId",
|
778
|
+
"type": "uint96"
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"internalType": "StateId",
|
782
|
+
"name": "newState",
|
783
|
+
"type": "uint8"
|
784
|
+
}
|
785
|
+
],
|
786
|
+
"name": "updatePoolSetupState",
|
787
|
+
"outputs": [],
|
788
|
+
"stateMutability": "nonpayable",
|
789
|
+
"type": "function"
|
790
|
+
},
|
791
|
+
{
|
792
|
+
"inputs": [
|
793
|
+
{
|
794
|
+
"internalType": "NftId",
|
795
|
+
"name": "productNftId",
|
796
|
+
"type": "uint96"
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"components": [
|
800
|
+
{
|
801
|
+
"internalType": "contract IERC20Metadata",
|
802
|
+
"name": "token",
|
803
|
+
"type": "address"
|
804
|
+
},
|
805
|
+
{
|
806
|
+
"internalType": "contract TokenHandler",
|
807
|
+
"name": "tokenHandler",
|
808
|
+
"type": "address"
|
809
|
+
},
|
810
|
+
{
|
811
|
+
"internalType": "NftId",
|
812
|
+
"name": "distributionNftId",
|
813
|
+
"type": "uint96"
|
814
|
+
},
|
815
|
+
{
|
816
|
+
"internalType": "NftId",
|
817
|
+
"name": "poolNftId",
|
818
|
+
"type": "uint96"
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"components": [
|
822
|
+
{
|
823
|
+
"internalType": "UFixed",
|
824
|
+
"name": "fractionalFee",
|
825
|
+
"type": "uint256"
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"internalType": "uint256",
|
829
|
+
"name": "fixedFee",
|
830
|
+
"type": "uint256"
|
831
|
+
}
|
832
|
+
],
|
833
|
+
"internalType": "struct Fee",
|
834
|
+
"name": "distributionFee",
|
835
|
+
"type": "tuple"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"components": [
|
839
|
+
{
|
840
|
+
"internalType": "UFixed",
|
841
|
+
"name": "fractionalFee",
|
842
|
+
"type": "uint256"
|
843
|
+
},
|
844
|
+
{
|
845
|
+
"internalType": "uint256",
|
846
|
+
"name": "fixedFee",
|
847
|
+
"type": "uint256"
|
848
|
+
}
|
849
|
+
],
|
850
|
+
"internalType": "struct Fee",
|
851
|
+
"name": "productFee",
|
852
|
+
"type": "tuple"
|
853
|
+
},
|
854
|
+
{
|
855
|
+
"components": [
|
856
|
+
{
|
857
|
+
"internalType": "UFixed",
|
858
|
+
"name": "fractionalFee",
|
859
|
+
"type": "uint256"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"internalType": "uint256",
|
863
|
+
"name": "fixedFee",
|
864
|
+
"type": "uint256"
|
865
|
+
}
|
866
|
+
],
|
867
|
+
"internalType": "struct Fee",
|
868
|
+
"name": "processingFee",
|
869
|
+
"type": "tuple"
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"components": [
|
873
|
+
{
|
874
|
+
"internalType": "UFixed",
|
875
|
+
"name": "fractionalFee",
|
876
|
+
"type": "uint256"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"internalType": "uint256",
|
880
|
+
"name": "fixedFee",
|
881
|
+
"type": "uint256"
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"internalType": "struct Fee",
|
885
|
+
"name": "poolFee",
|
886
|
+
"type": "tuple"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"components": [
|
890
|
+
{
|
891
|
+
"internalType": "UFixed",
|
892
|
+
"name": "fractionalFee",
|
893
|
+
"type": "uint256"
|
894
|
+
},
|
895
|
+
{
|
896
|
+
"internalType": "uint256",
|
897
|
+
"name": "fixedFee",
|
898
|
+
"type": "uint256"
|
899
|
+
}
|
900
|
+
],
|
901
|
+
"internalType": "struct Fee",
|
902
|
+
"name": "stakingFee",
|
903
|
+
"type": "tuple"
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"components": [
|
907
|
+
{
|
908
|
+
"internalType": "UFixed",
|
909
|
+
"name": "fractionalFee",
|
910
|
+
"type": "uint256"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"internalType": "uint256",
|
914
|
+
"name": "fixedFee",
|
915
|
+
"type": "uint256"
|
916
|
+
}
|
917
|
+
],
|
918
|
+
"internalType": "struct Fee",
|
919
|
+
"name": "performanceFee",
|
920
|
+
"type": "tuple"
|
921
|
+
}
|
922
|
+
],
|
923
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
924
|
+
"name": "setup",
|
925
|
+
"type": "tuple"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"internalType": "StateId",
|
929
|
+
"name": "newState",
|
930
|
+
"type": "uint8"
|
931
|
+
}
|
932
|
+
],
|
933
|
+
"name": "updateProductSetup",
|
934
|
+
"outputs": [],
|
935
|
+
"stateMutability": "nonpayable",
|
936
|
+
"type": "function"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"inputs": [
|
940
|
+
{
|
941
|
+
"internalType": "NftId",
|
942
|
+
"name": "productNftId",
|
943
|
+
"type": "uint96"
|
944
|
+
},
|
945
|
+
{
|
946
|
+
"internalType": "StateId",
|
947
|
+
"name": "newState",
|
948
|
+
"type": "uint8"
|
949
|
+
}
|
950
|
+
],
|
951
|
+
"name": "updateProductSetupState",
|
952
|
+
"outputs": [],
|
953
|
+
"stateMutability": "nonpayable",
|
954
|
+
"type": "function"
|
955
|
+
},
|
956
|
+
{
|
957
|
+
"inputs": [
|
958
|
+
{
|
959
|
+
"internalType": "RiskId",
|
960
|
+
"name": "riskId",
|
961
|
+
"type": "bytes8"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"components": [
|
965
|
+
{
|
966
|
+
"internalType": "NftId",
|
967
|
+
"name": "productNftId",
|
968
|
+
"type": "uint96"
|
969
|
+
},
|
970
|
+
{
|
971
|
+
"internalType": "bytes",
|
972
|
+
"name": "data",
|
973
|
+
"type": "bytes"
|
974
|
+
}
|
975
|
+
],
|
976
|
+
"internalType": "struct IRisk.RiskInfo",
|
977
|
+
"name": "risk",
|
978
|
+
"type": "tuple"
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"internalType": "StateId",
|
982
|
+
"name": "newState",
|
983
|
+
"type": "uint8"
|
984
|
+
}
|
985
|
+
],
|
986
|
+
"name": "updateRisk",
|
987
|
+
"outputs": [],
|
988
|
+
"stateMutability": "nonpayable",
|
989
|
+
"type": "function"
|
990
|
+
},
|
991
|
+
{
|
992
|
+
"inputs": [
|
993
|
+
{
|
994
|
+
"internalType": "RiskId",
|
995
|
+
"name": "riskId",
|
996
|
+
"type": "bytes8"
|
997
|
+
},
|
998
|
+
{
|
999
|
+
"internalType": "StateId",
|
1000
|
+
"name": "newState",
|
1001
|
+
"type": "uint8"
|
1002
|
+
}
|
1003
|
+
],
|
1004
|
+
"name": "updateRiskState",
|
1005
|
+
"outputs": [],
|
1006
|
+
"stateMutability": "nonpayable",
|
1007
|
+
"type": "function"
|
438
1008
|
}
|
439
1009
|
],
|
440
1010
|
"bytecode": "0x",
|