@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f30e0eb-805
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +68 -89
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +113 -140
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +65 -73
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +91 -122
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +256 -189
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +69 -145
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +279 -245
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +73 -162
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +171 -308
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +98 -40
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +260 -379
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +148 -161
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +31 -23
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.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/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +54 -71
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- 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/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +161 -62
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +33 -25
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +137 -140
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +12 -12
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +3 -3
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +2 -2
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +505 -91
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +78 -42
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +110 -27
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +93 -96
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +350 -8
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +21 -64
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +58 -157
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +19 -47
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +114 -17
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -9
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +7 -7
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +4 -4
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +5 -5
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +3 -3
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +7 -7
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
- 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/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.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/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.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 +3 -3
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- 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/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +3 -3
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +3 -3
- 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/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
- 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/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- 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/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- 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/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +95 -85
- package/contracts/components/Distribution.sol +12 -19
- package/contracts/components/IComponent.sol +37 -17
- package/contracts/components/IDistributionComponent.sol +1 -22
- package/contracts/components/IPoolComponent.sol +73 -47
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +171 -126
- package/contracts/components/Product.sol +26 -18
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +7 -5
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +16 -10
- package/contracts/instance/IInstanceService.sol +18 -5
- package/contracts/instance/Instance.sol +45 -9
- package/contracts/instance/InstanceAccessManager.sol +382 -157
- package/contracts/instance/InstanceReader.sol +7 -10
- package/contracts/instance/InstanceService.sol +174 -155
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +5 -5
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +20 -13
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -1
- package/contracts/instance/module/IPolicy.sol +26 -1
- package/contracts/instance/module/ISetup.sol +7 -22
- package/contracts/instance/service/ApplicationService.sol +123 -41
- package/contracts/instance/service/BundleService.sol +76 -38
- package/contracts/instance/service/DistributionService.sol +139 -47
- package/contracts/instance/service/IApplicationService.sol +7 -7
- package/contracts/instance/service/IBundleService.sol +19 -11
- package/contracts/instance/service/IDistributionService.sol +19 -4
- package/contracts/instance/service/IPolicyService.sol +3 -20
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +59 -132
- package/contracts/instance/service/PoolService.sol +128 -17
- package/contracts/instance/service/ProductService.sol +10 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +23 -20
- package/contracts/registry/RegistryService.sol +5 -5
- package/contracts/shared/Registerable.sol +2 -2
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +1 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +13 -6
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
@@ -327,9 +327,9 @@
|
|
327
327
|
"type": "uint256"
|
328
328
|
},
|
329
329
|
{
|
330
|
-
"internalType": "
|
330
|
+
"internalType": "Seconds",
|
331
331
|
"name": "lifetime",
|
332
|
-
"type": "
|
332
|
+
"type": "uint40"
|
333
333
|
},
|
334
334
|
{
|
335
335
|
"internalType": "bytes",
|
@@ -434,9 +434,9 @@
|
|
434
434
|
"type": "uint256"
|
435
435
|
},
|
436
436
|
{
|
437
|
-
"internalType": "
|
437
|
+
"internalType": "Seconds",
|
438
438
|
"name": "lifetime",
|
439
|
-
"type": "
|
439
|
+
"type": "uint40"
|
440
440
|
},
|
441
441
|
{
|
442
442
|
"internalType": "Timestamp",
|
@@ -478,6 +478,23 @@
|
|
478
478
|
"name": "tokenHandler",
|
479
479
|
"type": "address"
|
480
480
|
},
|
481
|
+
{
|
482
|
+
"components": [
|
483
|
+
{
|
484
|
+
"internalType": "UFixed",
|
485
|
+
"name": "fractionalFee",
|
486
|
+
"type": "uint256"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"internalType": "uint256",
|
490
|
+
"name": "fixedFee",
|
491
|
+
"type": "uint256"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"internalType": "struct Fee",
|
495
|
+
"name": "minDistributionOwnerFee",
|
496
|
+
"type": "tuple"
|
497
|
+
},
|
481
498
|
{
|
482
499
|
"components": [
|
483
500
|
{
|
@@ -499,6 +516,11 @@
|
|
499
516
|
"internalType": "address",
|
500
517
|
"name": "wallet",
|
501
518
|
"type": "address"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"internalType": "uint256",
|
522
|
+
"name": "sumDistributionOwnerFees",
|
523
|
+
"type": "uint256"
|
502
524
|
}
|
503
525
|
],
|
504
526
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -534,6 +556,16 @@
|
|
534
556
|
"internalType": "bytes",
|
535
557
|
"name": "data",
|
536
558
|
"type": "bytes"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"internalType": "uint256",
|
562
|
+
"name": "sumCommisions",
|
563
|
+
"type": "uint256"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"internalType": "uint256",
|
567
|
+
"name": "numPoliciesSold",
|
568
|
+
"type": "uint256"
|
537
569
|
}
|
538
570
|
],
|
539
571
|
"internalType": "struct IDistribution.DistributorInfo",
|
@@ -621,99 +653,33 @@
|
|
621
653
|
{
|
622
654
|
"components": [
|
623
655
|
{
|
624
|
-
"internalType": "
|
625
|
-
"name": "
|
626
|
-
"type": "
|
656
|
+
"internalType": "string",
|
657
|
+
"name": "name",
|
658
|
+
"type": "string"
|
627
659
|
},
|
628
660
|
{
|
629
|
-
"internalType": "contract
|
630
|
-
"name": "
|
661
|
+
"internalType": "contract IERC20Metadata",
|
662
|
+
"name": "token",
|
631
663
|
"type": "address"
|
632
664
|
},
|
633
665
|
{
|
634
|
-
"internalType": "
|
635
|
-
"name": "
|
636
|
-
"type": "
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"internalType": "bool",
|
640
|
-
"name": "isExternallyManaged",
|
641
|
-
"type": "bool"
|
642
|
-
},
|
643
|
-
{
|
644
|
-
"internalType": "bool",
|
645
|
-
"name": "isVerifyingApplications",
|
646
|
-
"type": "bool"
|
647
|
-
},
|
648
|
-
{
|
649
|
-
"internalType": "UFixed",
|
650
|
-
"name": "collateralizationLevel",
|
651
|
-
"type": "uint256"
|
652
|
-
},
|
653
|
-
{
|
654
|
-
"internalType": "UFixed",
|
655
|
-
"name": "retentionLevel",
|
656
|
-
"type": "uint256"
|
657
|
-
},
|
658
|
-
{
|
659
|
-
"components": [
|
660
|
-
{
|
661
|
-
"internalType": "UFixed",
|
662
|
-
"name": "fractionalFee",
|
663
|
-
"type": "uint256"
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"internalType": "uint256",
|
667
|
-
"name": "fixedFee",
|
668
|
-
"type": "uint256"
|
669
|
-
}
|
670
|
-
],
|
671
|
-
"internalType": "struct Fee",
|
672
|
-
"name": "poolFee",
|
673
|
-
"type": "tuple"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"components": [
|
677
|
-
{
|
678
|
-
"internalType": "UFixed",
|
679
|
-
"name": "fractionalFee",
|
680
|
-
"type": "uint256"
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"internalType": "uint256",
|
684
|
-
"name": "fixedFee",
|
685
|
-
"type": "uint256"
|
686
|
-
}
|
687
|
-
],
|
688
|
-
"internalType": "struct Fee",
|
689
|
-
"name": "stakingFee",
|
690
|
-
"type": "tuple"
|
691
|
-
},
|
692
|
-
{
|
693
|
-
"components": [
|
694
|
-
{
|
695
|
-
"internalType": "UFixed",
|
696
|
-
"name": "fractionalFee",
|
697
|
-
"type": "uint256"
|
698
|
-
},
|
699
|
-
{
|
700
|
-
"internalType": "uint256",
|
701
|
-
"name": "fixedFee",
|
702
|
-
"type": "uint256"
|
703
|
-
}
|
704
|
-
],
|
705
|
-
"internalType": "struct Fee",
|
706
|
-
"name": "performanceFee",
|
707
|
-
"type": "tuple"
|
666
|
+
"internalType": "contract TokenHandler",
|
667
|
+
"name": "tokenHandler",
|
668
|
+
"type": "address"
|
708
669
|
},
|
709
670
|
{
|
710
671
|
"internalType": "address",
|
711
672
|
"name": "wallet",
|
712
673
|
"type": "address"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"internalType": "bytes",
|
677
|
+
"name": "data",
|
678
|
+
"type": "bytes"
|
713
679
|
}
|
714
680
|
],
|
715
|
-
"internalType": "struct
|
716
|
-
"name": "
|
681
|
+
"internalType": "struct IComponents.ComponentInfo",
|
682
|
+
"name": "info",
|
717
683
|
"type": "tuple"
|
718
684
|
}
|
719
685
|
],
|
@@ -751,23 +717,6 @@
|
|
751
717
|
"name": "poolNftId",
|
752
718
|
"type": "uint96"
|
753
719
|
},
|
754
|
-
{
|
755
|
-
"components": [
|
756
|
-
{
|
757
|
-
"internalType": "UFixed",
|
758
|
-
"name": "fractionalFee",
|
759
|
-
"type": "uint256"
|
760
|
-
},
|
761
|
-
{
|
762
|
-
"internalType": "uint256",
|
763
|
-
"name": "fixedFee",
|
764
|
-
"type": "uint256"
|
765
|
-
}
|
766
|
-
],
|
767
|
-
"internalType": "struct Fee",
|
768
|
-
"name": "distributionFee",
|
769
|
-
"type": "tuple"
|
770
|
-
},
|
771
720
|
{
|
772
721
|
"components": [
|
773
722
|
{
|
@@ -802,57 +751,6 @@
|
|
802
751
|
"name": "processingFee",
|
803
752
|
"type": "tuple"
|
804
753
|
},
|
805
|
-
{
|
806
|
-
"components": [
|
807
|
-
{
|
808
|
-
"internalType": "UFixed",
|
809
|
-
"name": "fractionalFee",
|
810
|
-
"type": "uint256"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"internalType": "uint256",
|
814
|
-
"name": "fixedFee",
|
815
|
-
"type": "uint256"
|
816
|
-
}
|
817
|
-
],
|
818
|
-
"internalType": "struct Fee",
|
819
|
-
"name": "poolFee",
|
820
|
-
"type": "tuple"
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"components": [
|
824
|
-
{
|
825
|
-
"internalType": "UFixed",
|
826
|
-
"name": "fractionalFee",
|
827
|
-
"type": "uint256"
|
828
|
-
},
|
829
|
-
{
|
830
|
-
"internalType": "uint256",
|
831
|
-
"name": "fixedFee",
|
832
|
-
"type": "uint256"
|
833
|
-
}
|
834
|
-
],
|
835
|
-
"internalType": "struct Fee",
|
836
|
-
"name": "stakingFee",
|
837
|
-
"type": "tuple"
|
838
|
-
},
|
839
|
-
{
|
840
|
-
"components": [
|
841
|
-
{
|
842
|
-
"internalType": "UFixed",
|
843
|
-
"name": "fractionalFee",
|
844
|
-
"type": "uint256"
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"internalType": "uint256",
|
848
|
-
"name": "fixedFee",
|
849
|
-
"type": "uint256"
|
850
|
-
}
|
851
|
-
],
|
852
|
-
"internalType": "struct Fee",
|
853
|
-
"name": "performanceFee",
|
854
|
-
"type": "tuple"
|
855
|
-
},
|
856
754
|
{
|
857
755
|
"internalType": "bool",
|
858
756
|
"name": "isIntercepting",
|
@@ -1163,6 +1061,19 @@
|
|
1163
1061
|
"stateMutability": "view",
|
1164
1062
|
"type": "function"
|
1165
1063
|
},
|
1064
|
+
{
|
1065
|
+
"inputs": [],
|
1066
|
+
"name": "getInstanceAccessManager",
|
1067
|
+
"outputs": [
|
1068
|
+
{
|
1069
|
+
"internalType": "contract InstanceAccessManager",
|
1070
|
+
"name": "",
|
1071
|
+
"type": "address"
|
1072
|
+
}
|
1073
|
+
],
|
1074
|
+
"stateMutability": "view",
|
1075
|
+
"type": "function"
|
1076
|
+
},
|
1166
1077
|
{
|
1167
1078
|
"inputs": [],
|
1168
1079
|
"name": "getInstanceReader",
|
@@ -1413,6 +1324,47 @@
|
|
1413
1324
|
"stateMutability": "nonpayable",
|
1414
1325
|
"type": "function"
|
1415
1326
|
},
|
1327
|
+
{
|
1328
|
+
"inputs": [
|
1329
|
+
{
|
1330
|
+
"internalType": "address",
|
1331
|
+
"name": "to",
|
1332
|
+
"type": "address"
|
1333
|
+
},
|
1334
|
+
{
|
1335
|
+
"internalType": "uint256",
|
1336
|
+
"name": "tokenId",
|
1337
|
+
"type": "uint256"
|
1338
|
+
}
|
1339
|
+
],
|
1340
|
+
"name": "nftMint",
|
1341
|
+
"outputs": [],
|
1342
|
+
"stateMutability": "nonpayable",
|
1343
|
+
"type": "function"
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"inputs": [
|
1347
|
+
{
|
1348
|
+
"internalType": "address",
|
1349
|
+
"name": "from",
|
1350
|
+
"type": "address"
|
1351
|
+
},
|
1352
|
+
{
|
1353
|
+
"internalType": "address",
|
1354
|
+
"name": "to",
|
1355
|
+
"type": "address"
|
1356
|
+
},
|
1357
|
+
{
|
1358
|
+
"internalType": "uint256",
|
1359
|
+
"name": "tokenId",
|
1360
|
+
"type": "uint256"
|
1361
|
+
}
|
1362
|
+
],
|
1363
|
+
"name": "nftTransferFrom",
|
1364
|
+
"outputs": [],
|
1365
|
+
"stateMutability": "nonpayable",
|
1366
|
+
"type": "function"
|
1367
|
+
},
|
1416
1368
|
{
|
1417
1369
|
"inputs": [
|
1418
1370
|
{
|
@@ -1426,6 +1378,19 @@
|
|
1426
1378
|
"stateMutability": "nonpayable",
|
1427
1379
|
"type": "function"
|
1428
1380
|
},
|
1381
|
+
{
|
1382
|
+
"inputs": [
|
1383
|
+
{
|
1384
|
+
"internalType": "contract InstanceAccessManager",
|
1385
|
+
"name": "accessManager",
|
1386
|
+
"type": "address"
|
1387
|
+
}
|
1388
|
+
],
|
1389
|
+
"name": "setInstanceAccessManager",
|
1390
|
+
"outputs": [],
|
1391
|
+
"stateMutability": "nonpayable",
|
1392
|
+
"type": "function"
|
1393
|
+
},
|
1429
1394
|
{
|
1430
1395
|
"inputs": [
|
1431
1396
|
{
|
@@ -1514,9 +1479,9 @@
|
|
1514
1479
|
"type": "uint256"
|
1515
1480
|
},
|
1516
1481
|
{
|
1517
|
-
"internalType": "
|
1482
|
+
"internalType": "Seconds",
|
1518
1483
|
"name": "lifetime",
|
1519
|
-
"type": "
|
1484
|
+
"type": "uint40"
|
1520
1485
|
},
|
1521
1486
|
{
|
1522
1487
|
"internalType": "bytes",
|
@@ -1644,9 +1609,9 @@
|
|
1644
1609
|
"type": "uint256"
|
1645
1610
|
},
|
1646
1611
|
{
|
1647
|
-
"internalType": "
|
1612
|
+
"internalType": "Seconds",
|
1648
1613
|
"name": "lifetime",
|
1649
|
-
"type": "
|
1614
|
+
"type": "uint40"
|
1650
1615
|
},
|
1651
1616
|
{
|
1652
1617
|
"internalType": "Timestamp",
|
@@ -1711,6 +1676,23 @@
|
|
1711
1676
|
"name": "tokenHandler",
|
1712
1677
|
"type": "address"
|
1713
1678
|
},
|
1679
|
+
{
|
1680
|
+
"components": [
|
1681
|
+
{
|
1682
|
+
"internalType": "UFixed",
|
1683
|
+
"name": "fractionalFee",
|
1684
|
+
"type": "uint256"
|
1685
|
+
},
|
1686
|
+
{
|
1687
|
+
"internalType": "uint256",
|
1688
|
+
"name": "fixedFee",
|
1689
|
+
"type": "uint256"
|
1690
|
+
}
|
1691
|
+
],
|
1692
|
+
"internalType": "struct Fee",
|
1693
|
+
"name": "minDistributionOwnerFee",
|
1694
|
+
"type": "tuple"
|
1695
|
+
},
|
1714
1696
|
{
|
1715
1697
|
"components": [
|
1716
1698
|
{
|
@@ -1732,6 +1714,11 @@
|
|
1732
1714
|
"internalType": "address",
|
1733
1715
|
"name": "wallet",
|
1734
1716
|
"type": "address"
|
1717
|
+
},
|
1718
|
+
{
|
1719
|
+
"internalType": "uint256",
|
1720
|
+
"name": "sumDistributionOwnerFees",
|
1721
|
+
"type": "uint256"
|
1735
1722
|
}
|
1736
1723
|
],
|
1737
1724
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -1790,6 +1777,16 @@
|
|
1790
1777
|
"internalType": "bytes",
|
1791
1778
|
"name": "data",
|
1792
1779
|
"type": "bytes"
|
1780
|
+
},
|
1781
|
+
{
|
1782
|
+
"internalType": "uint256",
|
1783
|
+
"name": "sumCommisions",
|
1784
|
+
"type": "uint256"
|
1785
|
+
},
|
1786
|
+
{
|
1787
|
+
"internalType": "uint256",
|
1788
|
+
"name": "numPoliciesSold",
|
1789
|
+
"type": "uint256"
|
1793
1790
|
}
|
1794
1791
|
],
|
1795
1792
|
"internalType": "struct IDistribution.DistributorInfo",
|
@@ -1958,9 +1955,9 @@
|
|
1958
1955
|
"type": "uint256"
|
1959
1956
|
},
|
1960
1957
|
{
|
1961
|
-
"internalType": "
|
1958
|
+
"internalType": "Seconds",
|
1962
1959
|
"name": "lifetime",
|
1963
|
-
"type": "
|
1960
|
+
"type": "uint40"
|
1964
1961
|
},
|
1965
1962
|
{
|
1966
1963
|
"internalType": "bytes",
|
@@ -2046,99 +2043,33 @@
|
|
2046
2043
|
{
|
2047
2044
|
"components": [
|
2048
2045
|
{
|
2049
|
-
"internalType": "
|
2050
|
-
"name": "
|
2051
|
-
"type": "
|
2046
|
+
"internalType": "string",
|
2047
|
+
"name": "name",
|
2048
|
+
"type": "string"
|
2052
2049
|
},
|
2053
2050
|
{
|
2054
|
-
"internalType": "contract
|
2055
|
-
"name": "
|
2051
|
+
"internalType": "contract IERC20Metadata",
|
2052
|
+
"name": "token",
|
2056
2053
|
"type": "address"
|
2057
2054
|
},
|
2058
2055
|
{
|
2059
|
-
"internalType": "
|
2060
|
-
"name": "
|
2061
|
-
"type": "
|
2062
|
-
},
|
2063
|
-
{
|
2064
|
-
"internalType": "bool",
|
2065
|
-
"name": "isExternallyManaged",
|
2066
|
-
"type": "bool"
|
2067
|
-
},
|
2068
|
-
{
|
2069
|
-
"internalType": "bool",
|
2070
|
-
"name": "isVerifyingApplications",
|
2071
|
-
"type": "bool"
|
2072
|
-
},
|
2073
|
-
{
|
2074
|
-
"internalType": "UFixed",
|
2075
|
-
"name": "collateralizationLevel",
|
2076
|
-
"type": "uint256"
|
2077
|
-
},
|
2078
|
-
{
|
2079
|
-
"internalType": "UFixed",
|
2080
|
-
"name": "retentionLevel",
|
2081
|
-
"type": "uint256"
|
2082
|
-
},
|
2083
|
-
{
|
2084
|
-
"components": [
|
2085
|
-
{
|
2086
|
-
"internalType": "UFixed",
|
2087
|
-
"name": "fractionalFee",
|
2088
|
-
"type": "uint256"
|
2089
|
-
},
|
2090
|
-
{
|
2091
|
-
"internalType": "uint256",
|
2092
|
-
"name": "fixedFee",
|
2093
|
-
"type": "uint256"
|
2094
|
-
}
|
2095
|
-
],
|
2096
|
-
"internalType": "struct Fee",
|
2097
|
-
"name": "poolFee",
|
2098
|
-
"type": "tuple"
|
2099
|
-
},
|
2100
|
-
{
|
2101
|
-
"components": [
|
2102
|
-
{
|
2103
|
-
"internalType": "UFixed",
|
2104
|
-
"name": "fractionalFee",
|
2105
|
-
"type": "uint256"
|
2106
|
-
},
|
2107
|
-
{
|
2108
|
-
"internalType": "uint256",
|
2109
|
-
"name": "fixedFee",
|
2110
|
-
"type": "uint256"
|
2111
|
-
}
|
2112
|
-
],
|
2113
|
-
"internalType": "struct Fee",
|
2114
|
-
"name": "stakingFee",
|
2115
|
-
"type": "tuple"
|
2116
|
-
},
|
2117
|
-
{
|
2118
|
-
"components": [
|
2119
|
-
{
|
2120
|
-
"internalType": "UFixed",
|
2121
|
-
"name": "fractionalFee",
|
2122
|
-
"type": "uint256"
|
2123
|
-
},
|
2124
|
-
{
|
2125
|
-
"internalType": "uint256",
|
2126
|
-
"name": "fixedFee",
|
2127
|
-
"type": "uint256"
|
2128
|
-
}
|
2129
|
-
],
|
2130
|
-
"internalType": "struct Fee",
|
2131
|
-
"name": "performanceFee",
|
2132
|
-
"type": "tuple"
|
2056
|
+
"internalType": "contract TokenHandler",
|
2057
|
+
"name": "tokenHandler",
|
2058
|
+
"type": "address"
|
2133
2059
|
},
|
2134
2060
|
{
|
2135
2061
|
"internalType": "address",
|
2136
2062
|
"name": "wallet",
|
2137
2063
|
"type": "address"
|
2064
|
+
},
|
2065
|
+
{
|
2066
|
+
"internalType": "bytes",
|
2067
|
+
"name": "data",
|
2068
|
+
"type": "bytes"
|
2138
2069
|
}
|
2139
2070
|
],
|
2140
|
-
"internalType": "struct
|
2141
|
-
"name": "
|
2071
|
+
"internalType": "struct IComponents.ComponentInfo",
|
2072
|
+
"name": "info",
|
2142
2073
|
"type": "tuple"
|
2143
2074
|
},
|
2144
2075
|
{
|
@@ -2199,23 +2130,6 @@
|
|
2199
2130
|
"name": "poolNftId",
|
2200
2131
|
"type": "uint96"
|
2201
2132
|
},
|
2202
|
-
{
|
2203
|
-
"components": [
|
2204
|
-
{
|
2205
|
-
"internalType": "UFixed",
|
2206
|
-
"name": "fractionalFee",
|
2207
|
-
"type": "uint256"
|
2208
|
-
},
|
2209
|
-
{
|
2210
|
-
"internalType": "uint256",
|
2211
|
-
"name": "fixedFee",
|
2212
|
-
"type": "uint256"
|
2213
|
-
}
|
2214
|
-
],
|
2215
|
-
"internalType": "struct Fee",
|
2216
|
-
"name": "distributionFee",
|
2217
|
-
"type": "tuple"
|
2218
|
-
},
|
2219
2133
|
{
|
2220
2134
|
"components": [
|
2221
2135
|
{
|
@@ -2250,57 +2164,6 @@
|
|
2250
2164
|
"name": "processingFee",
|
2251
2165
|
"type": "tuple"
|
2252
2166
|
},
|
2253
|
-
{
|
2254
|
-
"components": [
|
2255
|
-
{
|
2256
|
-
"internalType": "UFixed",
|
2257
|
-
"name": "fractionalFee",
|
2258
|
-
"type": "uint256"
|
2259
|
-
},
|
2260
|
-
{
|
2261
|
-
"internalType": "uint256",
|
2262
|
-
"name": "fixedFee",
|
2263
|
-
"type": "uint256"
|
2264
|
-
}
|
2265
|
-
],
|
2266
|
-
"internalType": "struct Fee",
|
2267
|
-
"name": "poolFee",
|
2268
|
-
"type": "tuple"
|
2269
|
-
},
|
2270
|
-
{
|
2271
|
-
"components": [
|
2272
|
-
{
|
2273
|
-
"internalType": "UFixed",
|
2274
|
-
"name": "fractionalFee",
|
2275
|
-
"type": "uint256"
|
2276
|
-
},
|
2277
|
-
{
|
2278
|
-
"internalType": "uint256",
|
2279
|
-
"name": "fixedFee",
|
2280
|
-
"type": "uint256"
|
2281
|
-
}
|
2282
|
-
],
|
2283
|
-
"internalType": "struct Fee",
|
2284
|
-
"name": "stakingFee",
|
2285
|
-
"type": "tuple"
|
2286
|
-
},
|
2287
|
-
{
|
2288
|
-
"components": [
|
2289
|
-
{
|
2290
|
-
"internalType": "UFixed",
|
2291
|
-
"name": "fractionalFee",
|
2292
|
-
"type": "uint256"
|
2293
|
-
},
|
2294
|
-
{
|
2295
|
-
"internalType": "uint256",
|
2296
|
-
"name": "fixedFee",
|
2297
|
-
"type": "uint256"
|
2298
|
-
}
|
2299
|
-
],
|
2300
|
-
"internalType": "struct Fee",
|
2301
|
-
"name": "performanceFee",
|
2302
|
-
"type": "tuple"
|
2303
|
-
},
|
2304
2167
|
{
|
2305
2168
|
"internalType": "bool",
|
2306
2169
|
"name": "isIntercepting",
|