@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f30e0eb-805
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/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
    
        package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json
    CHANGED
    
    | @@ -89,6 +89,58 @@ | |
| 89 89 | 
             
                  "name": "ErrorIDistributionServiceExpiryTooLong",
         | 
| 90 90 | 
             
                  "type": "error"
         | 
| 91 91 | 
             
                },
         | 
| 92 | 
            +
                {
         | 
| 93 | 
            +
                  "inputs": [
         | 
| 94 | 
            +
                    {
         | 
| 95 | 
            +
                      "internalType": "uint256",
         | 
| 96 | 
            +
                      "name": "distributionFeeFixAmount",
         | 
| 97 | 
            +
                      "type": "uint256"
         | 
| 98 | 
            +
                    },
         | 
| 99 | 
            +
                    {
         | 
| 100 | 
            +
                      "internalType": "uint256",
         | 
| 101 | 
            +
                      "name": "distributionFeeVarAmount",
         | 
| 102 | 
            +
                      "type": "uint256"
         | 
| 103 | 
            +
                    },
         | 
| 104 | 
            +
                    {
         | 
| 105 | 
            +
                      "internalType": "uint256",
         | 
| 106 | 
            +
                      "name": "distributionOwnerFeeFixAmount",
         | 
| 107 | 
            +
                      "type": "uint256"
         | 
| 108 | 
            +
                    },
         | 
| 109 | 
            +
                    {
         | 
| 110 | 
            +
                      "internalType": "uint256",
         | 
| 111 | 
            +
                      "name": "distributionOwnerFeeVarAmount",
         | 
| 112 | 
            +
                      "type": "uint256"
         | 
| 113 | 
            +
                    },
         | 
| 114 | 
            +
                    {
         | 
| 115 | 
            +
                      "internalType": "uint256",
         | 
| 116 | 
            +
                      "name": "commissionAmount",
         | 
| 117 | 
            +
                      "type": "uint256"
         | 
| 118 | 
            +
                    },
         | 
| 119 | 
            +
                    {
         | 
| 120 | 
            +
                      "internalType": "uint256",
         | 
| 121 | 
            +
                      "name": "discountAmount",
         | 
| 122 | 
            +
                      "type": "uint256"
         | 
| 123 | 
            +
                    }
         | 
| 124 | 
            +
                  ],
         | 
| 125 | 
            +
                  "name": "ErrorIDistributionServiceFeeCalculationMismatch",
         | 
| 126 | 
            +
                  "type": "error"
         | 
| 127 | 
            +
                },
         | 
| 128 | 
            +
                {
         | 
| 129 | 
            +
                  "inputs": [
         | 
| 130 | 
            +
                    {
         | 
| 131 | 
            +
                      "internalType": "uint256",
         | 
| 132 | 
            +
                      "name": "transferredDistributionFeeAmount",
         | 
| 133 | 
            +
                      "type": "uint256"
         | 
| 134 | 
            +
                    },
         | 
| 135 | 
            +
                    {
         | 
| 136 | 
            +
                      "internalType": "uint256",
         | 
| 137 | 
            +
                      "name": "expectedDistributionFeeAmount",
         | 
| 138 | 
            +
                      "type": "uint256"
         | 
| 139 | 
            +
                    }
         | 
| 140 | 
            +
                  ],
         | 
| 141 | 
            +
                  "name": "ErrorIDistributionServiceInvalidFeeTransferred",
         | 
| 142 | 
            +
                  "type": "error"
         | 
| 143 | 
            +
                },
         | 
| 92 144 | 
             
                {
         | 
| 93 145 | 
             
                  "inputs": [
         | 
| 94 146 | 
             
                    {
         | 
| @@ -120,7 +172,7 @@ | |
| 120 172 | 
             
                    },
         | 
| 121 173 | 
             
                    {
         | 
| 122 174 | 
             
                      "internalType": "uint256",
         | 
| 123 | 
            -
                      "name": " | 
| 175 | 
            +
                      "name": "limit",
         | 
| 124 176 | 
             
                      "type": "uint256"
         | 
| 125 177 | 
             
                    }
         | 
| 126 178 | 
             
                  ],
         | 
| @@ -138,6 +190,22 @@ | |
| 138 190 | 
             
                  "name": "ErrorIDistributionServiceMaxReferralsExceeded",
         | 
| 139 191 | 
             
                  "type": "error"
         | 
| 140 192 | 
             
                },
         | 
| 193 | 
            +
                {
         | 
| 194 | 
            +
                  "inputs": [
         | 
| 195 | 
            +
                    {
         | 
| 196 | 
            +
                      "internalType": "uint256",
         | 
| 197 | 
            +
                      "name": "minFee",
         | 
| 198 | 
            +
                      "type": "uint256"
         | 
| 199 | 
            +
                    },
         | 
| 200 | 
            +
                    {
         | 
| 201 | 
            +
                      "internalType": "uint256",
         | 
| 202 | 
            +
                      "name": "limit",
         | 
| 203 | 
            +
                      "type": "uint256"
         | 
| 204 | 
            +
                    }
         | 
| 205 | 
            +
                  ],
         | 
| 206 | 
            +
                  "name": "ErrorIDistributionServiceMinFeeTooHigh",
         | 
| 207 | 
            +
                  "type": "error"
         | 
| 208 | 
            +
                },
         | 
| 141 209 | 
             
                {
         | 
| 142 210 | 
             
                  "inputs": [
         | 
| 143 211 | 
             
                    {
         | 
| @@ -154,6 +222,22 @@ | |
| 154 222 | 
             
                  "name": "ErrorIDistributionServiceParentNftIdNotInstance",
         | 
| 155 223 | 
             
                  "type": "error"
         | 
| 156 224 | 
             
                },
         | 
| 225 | 
            +
                {
         | 
| 226 | 
            +
                  "inputs": [
         | 
| 227 | 
            +
                    {
         | 
| 228 | 
            +
                      "internalType": "NftId",
         | 
| 229 | 
            +
                      "name": "distributionNftId",
         | 
| 230 | 
            +
                      "type": "uint96"
         | 
| 231 | 
            +
                    },
         | 
| 232 | 
            +
                    {
         | 
| 233 | 
            +
                      "internalType": "ReferralId",
         | 
| 234 | 
            +
                      "name": "referralId",
         | 
| 235 | 
            +
                      "type": "bytes8"
         | 
| 236 | 
            +
                    }
         | 
| 237 | 
            +
                  ],
         | 
| 238 | 
            +
                  "name": "ErrorIDistributionServiceReferralInvalid",
         | 
| 239 | 
            +
                  "type": "error"
         | 
| 240 | 
            +
                },
         | 
| 157 241 | 
             
                {
         | 
| 158 242 | 
             
                  "inputs": [
         | 
| 159 243 | 
             
                    {
         | 
| @@ -227,17 +311,171 @@ | |
| 227 311 | 
             
                      "type": "bytes8"
         | 
| 228 312 | 
             
                    },
         | 
| 229 313 | 
             
                    {
         | 
| 230 | 
            -
                      " | 
| 231 | 
            -
             | 
| 232 | 
            -
             | 
| 314 | 
            +
                      "components": [
         | 
| 315 | 
            +
                        {
         | 
| 316 | 
            +
                          "internalType": "uint256",
         | 
| 317 | 
            +
                          "name": "netPremiumAmount",
         | 
| 318 | 
            +
                          "type": "uint256"
         | 
| 319 | 
            +
                        },
         | 
| 320 | 
            +
                        {
         | 
| 321 | 
            +
                          "internalType": "uint256",
         | 
| 322 | 
            +
                          "name": "fullPremiumAmount",
         | 
| 323 | 
            +
                          "type": "uint256"
         | 
| 324 | 
            +
                        },
         | 
| 325 | 
            +
                        {
         | 
| 326 | 
            +
                          "internalType": "uint256",
         | 
| 327 | 
            +
                          "name": "premiumAmount",
         | 
| 328 | 
            +
                          "type": "uint256"
         | 
| 329 | 
            +
                        },
         | 
| 330 | 
            +
                        {
         | 
| 331 | 
            +
                          "internalType": "uint256",
         | 
| 332 | 
            +
                          "name": "productFeeFixAmount",
         | 
| 333 | 
            +
                          "type": "uint256"
         | 
| 334 | 
            +
                        },
         | 
| 335 | 
            +
                        {
         | 
| 336 | 
            +
                          "internalType": "uint256",
         | 
| 337 | 
            +
                          "name": "poolFeeFixAmount",
         | 
| 338 | 
            +
                          "type": "uint256"
         | 
| 339 | 
            +
                        },
         | 
| 340 | 
            +
                        {
         | 
| 341 | 
            +
                          "internalType": "uint256",
         | 
| 342 | 
            +
                          "name": "bundleFeeFixAmount",
         | 
| 343 | 
            +
                          "type": "uint256"
         | 
| 344 | 
            +
                        },
         | 
| 345 | 
            +
                        {
         | 
| 346 | 
            +
                          "internalType": "uint256",
         | 
| 347 | 
            +
                          "name": "distributionFeeFixAmount",
         | 
| 348 | 
            +
                          "type": "uint256"
         | 
| 349 | 
            +
                        },
         | 
| 350 | 
            +
                        {
         | 
| 351 | 
            +
                          "internalType": "uint256",
         | 
| 352 | 
            +
                          "name": "productFeeVarAmount",
         | 
| 353 | 
            +
                          "type": "uint256"
         | 
| 354 | 
            +
                        },
         | 
| 355 | 
            +
                        {
         | 
| 356 | 
            +
                          "internalType": "uint256",
         | 
| 357 | 
            +
                          "name": "poolFeeVarAmount",
         | 
| 358 | 
            +
                          "type": "uint256"
         | 
| 359 | 
            +
                        },
         | 
| 360 | 
            +
                        {
         | 
| 361 | 
            +
                          "internalType": "uint256",
         | 
| 362 | 
            +
                          "name": "bundleFeeVarAmount",
         | 
| 363 | 
            +
                          "type": "uint256"
         | 
| 364 | 
            +
                        },
         | 
| 365 | 
            +
                        {
         | 
| 366 | 
            +
                          "internalType": "uint256",
         | 
| 367 | 
            +
                          "name": "distributionFeeVarAmount",
         | 
| 368 | 
            +
                          "type": "uint256"
         | 
| 369 | 
            +
                        },
         | 
| 370 | 
            +
                        {
         | 
| 371 | 
            +
                          "internalType": "uint256",
         | 
| 372 | 
            +
                          "name": "distributionOwnerFeeFixAmount",
         | 
| 373 | 
            +
                          "type": "uint256"
         | 
| 374 | 
            +
                        },
         | 
| 375 | 
            +
                        {
         | 
| 376 | 
            +
                          "internalType": "uint256",
         | 
| 377 | 
            +
                          "name": "distributionOwnerFeeVarAmount",
         | 
| 378 | 
            +
                          "type": "uint256"
         | 
| 379 | 
            +
                        },
         | 
| 380 | 
            +
                        {
         | 
| 381 | 
            +
                          "internalType": "uint256",
         | 
| 382 | 
            +
                          "name": "commissionAmount",
         | 
| 383 | 
            +
                          "type": "uint256"
         | 
| 384 | 
            +
                        },
         | 
| 385 | 
            +
                        {
         | 
| 386 | 
            +
                          "internalType": "uint256",
         | 
| 387 | 
            +
                          "name": "discountAmount",
         | 
| 388 | 
            +
                          "type": "uint256"
         | 
| 389 | 
            +
                        }
         | 
| 390 | 
            +
                      ],
         | 
| 391 | 
            +
                      "internalType": "struct IPolicy.Premium",
         | 
| 392 | 
            +
                      "name": "premium",
         | 
| 393 | 
            +
                      "type": "tuple"
         | 
| 233 394 | 
             
                    }
         | 
| 234 395 | 
             
                  ],
         | 
| 235 396 | 
             
                  "name": "calculateFeeAmount",
         | 
| 236 397 | 
             
                  "outputs": [
         | 
| 237 398 | 
             
                    {
         | 
| 238 | 
            -
                      " | 
| 239 | 
            -
             | 
| 240 | 
            -
             | 
| 399 | 
            +
                      "components": [
         | 
| 400 | 
            +
                        {
         | 
| 401 | 
            +
                          "internalType": "uint256",
         | 
| 402 | 
            +
                          "name": "netPremiumAmount",
         | 
| 403 | 
            +
                          "type": "uint256"
         | 
| 404 | 
            +
                        },
         | 
| 405 | 
            +
                        {
         | 
| 406 | 
            +
                          "internalType": "uint256",
         | 
| 407 | 
            +
                          "name": "fullPremiumAmount",
         | 
| 408 | 
            +
                          "type": "uint256"
         | 
| 409 | 
            +
                        },
         | 
| 410 | 
            +
                        {
         | 
| 411 | 
            +
                          "internalType": "uint256",
         | 
| 412 | 
            +
                          "name": "premiumAmount",
         | 
| 413 | 
            +
                          "type": "uint256"
         | 
| 414 | 
            +
                        },
         | 
| 415 | 
            +
                        {
         | 
| 416 | 
            +
                          "internalType": "uint256",
         | 
| 417 | 
            +
                          "name": "productFeeFixAmount",
         | 
| 418 | 
            +
                          "type": "uint256"
         | 
| 419 | 
            +
                        },
         | 
| 420 | 
            +
                        {
         | 
| 421 | 
            +
                          "internalType": "uint256",
         | 
| 422 | 
            +
                          "name": "poolFeeFixAmount",
         | 
| 423 | 
            +
                          "type": "uint256"
         | 
| 424 | 
            +
                        },
         | 
| 425 | 
            +
                        {
         | 
| 426 | 
            +
                          "internalType": "uint256",
         | 
| 427 | 
            +
                          "name": "bundleFeeFixAmount",
         | 
| 428 | 
            +
                          "type": "uint256"
         | 
| 429 | 
            +
                        },
         | 
| 430 | 
            +
                        {
         | 
| 431 | 
            +
                          "internalType": "uint256",
         | 
| 432 | 
            +
                          "name": "distributionFeeFixAmount",
         | 
| 433 | 
            +
                          "type": "uint256"
         | 
| 434 | 
            +
                        },
         | 
| 435 | 
            +
                        {
         | 
| 436 | 
            +
                          "internalType": "uint256",
         | 
| 437 | 
            +
                          "name": "productFeeVarAmount",
         | 
| 438 | 
            +
                          "type": "uint256"
         | 
| 439 | 
            +
                        },
         | 
| 440 | 
            +
                        {
         | 
| 441 | 
            +
                          "internalType": "uint256",
         | 
| 442 | 
            +
                          "name": "poolFeeVarAmount",
         | 
| 443 | 
            +
                          "type": "uint256"
         | 
| 444 | 
            +
                        },
         | 
| 445 | 
            +
                        {
         | 
| 446 | 
            +
                          "internalType": "uint256",
         | 
| 447 | 
            +
                          "name": "bundleFeeVarAmount",
         | 
| 448 | 
            +
                          "type": "uint256"
         | 
| 449 | 
            +
                        },
         | 
| 450 | 
            +
                        {
         | 
| 451 | 
            +
                          "internalType": "uint256",
         | 
| 452 | 
            +
                          "name": "distributionFeeVarAmount",
         | 
| 453 | 
            +
                          "type": "uint256"
         | 
| 454 | 
            +
                        },
         | 
| 455 | 
            +
                        {
         | 
| 456 | 
            +
                          "internalType": "uint256",
         | 
| 457 | 
            +
                          "name": "distributionOwnerFeeFixAmount",
         | 
| 458 | 
            +
                          "type": "uint256"
         | 
| 459 | 
            +
                        },
         | 
| 460 | 
            +
                        {
         | 
| 461 | 
            +
                          "internalType": "uint256",
         | 
| 462 | 
            +
                          "name": "distributionOwnerFeeVarAmount",
         | 
| 463 | 
            +
                          "type": "uint256"
         | 
| 464 | 
            +
                        },
         | 
| 465 | 
            +
                        {
         | 
| 466 | 
            +
                          "internalType": "uint256",
         | 
| 467 | 
            +
                          "name": "commissionAmount",
         | 
| 468 | 
            +
                          "type": "uint256"
         | 
| 469 | 
            +
                        },
         | 
| 470 | 
            +
                        {
         | 
| 471 | 
            +
                          "internalType": "uint256",
         | 
| 472 | 
            +
                          "name": "discountAmount",
         | 
| 473 | 
            +
                          "type": "uint256"
         | 
| 474 | 
            +
                        }
         | 
| 475 | 
            +
                      ],
         | 
| 476 | 
            +
                      "internalType": "struct IPolicy.Premium",
         | 
| 477 | 
            +
                      "name": "finalPremium",
         | 
| 478 | 
            +
                      "type": "tuple"
         | 
| 241 479 | 
             
                    }
         | 
| 242 480 | 
             
                  ],
         | 
| 243 481 | 
             
                  "stateMutability": "view",
         | 
| @@ -543,14 +781,101 @@ | |
| 543 781 | 
             
                },
         | 
| 544 782 | 
             
                {
         | 
| 545 783 | 
             
                  "inputs": [
         | 
| 784 | 
            +
                    {
         | 
| 785 | 
            +
                      "internalType": "NftId",
         | 
| 786 | 
            +
                      "name": "distributionNftId",
         | 
| 787 | 
            +
                      "type": "uint96"
         | 
| 788 | 
            +
                    },
         | 
| 546 789 | 
             
                    {
         | 
| 547 790 | 
             
                      "internalType": "ReferralId",
         | 
| 548 791 | 
             
                      "name": "referralId",
         | 
| 549 792 | 
             
                      "type": "bytes8"
         | 
| 550 793 | 
             
                    },
         | 
| 794 | 
            +
                    {
         | 
| 795 | 
            +
                      "components": [
         | 
| 796 | 
            +
                        {
         | 
| 797 | 
            +
                          "internalType": "uint256",
         | 
| 798 | 
            +
                          "name": "netPremiumAmount",
         | 
| 799 | 
            +
                          "type": "uint256"
         | 
| 800 | 
            +
                        },
         | 
| 801 | 
            +
                        {
         | 
| 802 | 
            +
                          "internalType": "uint256",
         | 
| 803 | 
            +
                          "name": "fullPremiumAmount",
         | 
| 804 | 
            +
                          "type": "uint256"
         | 
| 805 | 
            +
                        },
         | 
| 806 | 
            +
                        {
         | 
| 807 | 
            +
                          "internalType": "uint256",
         | 
| 808 | 
            +
                          "name": "premiumAmount",
         | 
| 809 | 
            +
                          "type": "uint256"
         | 
| 810 | 
            +
                        },
         | 
| 811 | 
            +
                        {
         | 
| 812 | 
            +
                          "internalType": "uint256",
         | 
| 813 | 
            +
                          "name": "productFeeFixAmount",
         | 
| 814 | 
            +
                          "type": "uint256"
         | 
| 815 | 
            +
                        },
         | 
| 816 | 
            +
                        {
         | 
| 817 | 
            +
                          "internalType": "uint256",
         | 
| 818 | 
            +
                          "name": "poolFeeFixAmount",
         | 
| 819 | 
            +
                          "type": "uint256"
         | 
| 820 | 
            +
                        },
         | 
| 821 | 
            +
                        {
         | 
| 822 | 
            +
                          "internalType": "uint256",
         | 
| 823 | 
            +
                          "name": "bundleFeeFixAmount",
         | 
| 824 | 
            +
                          "type": "uint256"
         | 
| 825 | 
            +
                        },
         | 
| 826 | 
            +
                        {
         | 
| 827 | 
            +
                          "internalType": "uint256",
         | 
| 828 | 
            +
                          "name": "distributionFeeFixAmount",
         | 
| 829 | 
            +
                          "type": "uint256"
         | 
| 830 | 
            +
                        },
         | 
| 831 | 
            +
                        {
         | 
| 832 | 
            +
                          "internalType": "uint256",
         | 
| 833 | 
            +
                          "name": "productFeeVarAmount",
         | 
| 834 | 
            +
                          "type": "uint256"
         | 
| 835 | 
            +
                        },
         | 
| 836 | 
            +
                        {
         | 
| 837 | 
            +
                          "internalType": "uint256",
         | 
| 838 | 
            +
                          "name": "poolFeeVarAmount",
         | 
| 839 | 
            +
                          "type": "uint256"
         | 
| 840 | 
            +
                        },
         | 
| 841 | 
            +
                        {
         | 
| 842 | 
            +
                          "internalType": "uint256",
         | 
| 843 | 
            +
                          "name": "bundleFeeVarAmount",
         | 
| 844 | 
            +
                          "type": "uint256"
         | 
| 845 | 
            +
                        },
         | 
| 846 | 
            +
                        {
         | 
| 847 | 
            +
                          "internalType": "uint256",
         | 
| 848 | 
            +
                          "name": "distributionFeeVarAmount",
         | 
| 849 | 
            +
                          "type": "uint256"
         | 
| 850 | 
            +
                        },
         | 
| 851 | 
            +
                        {
         | 
| 852 | 
            +
                          "internalType": "uint256",
         | 
| 853 | 
            +
                          "name": "distributionOwnerFeeFixAmount",
         | 
| 854 | 
            +
                          "type": "uint256"
         | 
| 855 | 
            +
                        },
         | 
| 856 | 
            +
                        {
         | 
| 857 | 
            +
                          "internalType": "uint256",
         | 
| 858 | 
            +
                          "name": "distributionOwnerFeeVarAmount",
         | 
| 859 | 
            +
                          "type": "uint256"
         | 
| 860 | 
            +
                        },
         | 
| 861 | 
            +
                        {
         | 
| 862 | 
            +
                          "internalType": "uint256",
         | 
| 863 | 
            +
                          "name": "commissionAmount",
         | 
| 864 | 
            +
                          "type": "uint256"
         | 
| 865 | 
            +
                        },
         | 
| 866 | 
            +
                        {
         | 
| 867 | 
            +
                          "internalType": "uint256",
         | 
| 868 | 
            +
                          "name": "discountAmount",
         | 
| 869 | 
            +
                          "type": "uint256"
         | 
| 870 | 
            +
                        }
         | 
| 871 | 
            +
                      ],
         | 
| 872 | 
            +
                      "internalType": "struct IPolicy.Premium",
         | 
| 873 | 
            +
                      "name": "premium",
         | 
| 874 | 
            +
                      "type": "tuple"
         | 
| 875 | 
            +
                    },
         | 
| 551 876 | 
             
                    {
         | 
| 552 877 | 
             
                      "internalType": "uint256",
         | 
| 553 | 
            -
                      "name": " | 
| 878 | 
            +
                      "name": "transferredDistributionFeeAmount",
         | 
| 554 879 | 
             
                      "type": "uint256"
         | 
| 555 880 | 
             
                    }
         | 
| 556 881 | 
             
                  ],
         | 
| @@ -585,6 +910,23 @@ | |
| 585 910 | 
             
                },
         | 
| 586 911 | 
             
                {
         | 
| 587 912 | 
             
                  "inputs": [
         | 
| 913 | 
            +
                    {
         | 
| 914 | 
            +
                      "components": [
         | 
| 915 | 
            +
                        {
         | 
| 916 | 
            +
                          "internalType": "UFixed",
         | 
| 917 | 
            +
                          "name": "fractionalFee",
         | 
| 918 | 
            +
                          "type": "uint256"
         | 
| 919 | 
            +
                        },
         | 
| 920 | 
            +
                        {
         | 
| 921 | 
            +
                          "internalType": "uint256",
         | 
| 922 | 
            +
                          "name": "fixedFee",
         | 
| 923 | 
            +
                          "type": "uint256"
         | 
| 924 | 
            +
                        }
         | 
| 925 | 
            +
                      ],
         | 
| 926 | 
            +
                      "internalType": "struct Fee",
         | 
| 927 | 
            +
                      "name": "minDistributionOwnerFee",
         | 
| 928 | 
            +
                      "type": "tuple"
         | 
| 929 | 
            +
                    },
         | 
| 588 930 | 
             
                    {
         | 
| 589 931 | 
             
                      "components": [
         | 
| 590 932 | 
             
                        {
         | 
| @@ -110,6 +110,27 @@ | |
| 110 110 | 
             
                  "name": "ErrorIPolicyServicePremiumAlreadyPaid",
         | 
| 111 111 | 
             
                  "type": "error"
         | 
| 112 112 | 
             
                },
         | 
| 113 | 
            +
                {
         | 
| 114 | 
            +
                  "inputs": [
         | 
| 115 | 
            +
                    {
         | 
| 116 | 
            +
                      "internalType": "NftId",
         | 
| 117 | 
            +
                      "name": "policyNftId",
         | 
| 118 | 
            +
                      "type": "uint96"
         | 
| 119 | 
            +
                    },
         | 
| 120 | 
            +
                    {
         | 
| 121 | 
            +
                      "internalType": "uint256",
         | 
| 122 | 
            +
                      "name": "premiumAmount",
         | 
| 123 | 
            +
                      "type": "uint256"
         | 
| 124 | 
            +
                    },
         | 
| 125 | 
            +
                    {
         | 
| 126 | 
            +
                      "internalType": "uint256",
         | 
| 127 | 
            +
                      "name": "recalculatedPremiumAmount",
         | 
| 128 | 
            +
                      "type": "uint256"
         | 
| 129 | 
            +
                    }
         | 
| 130 | 
            +
                  ],
         | 
| 131 | 
            +
                  "name": "ErrorIPolicyServicePremiumMismatch",
         | 
| 132 | 
            +
                  "type": "error"
         | 
| 133 | 
            +
                },
         | 
| 113 134 | 
             
                {
         | 
| 114 135 | 
             
                  "inputs": [
         | 
| 115 136 | 
             
                    {
         | 
| @@ -209,70 +230,6 @@ | |
| 209 230 | 
             
                  "stateMutability": "nonpayable",
         | 
| 210 231 | 
             
                  "type": "function"
         | 
| 211 232 | 
             
                },
         | 
| 212 | 
            -
                {
         | 
| 213 | 
            -
                  "inputs": [
         | 
| 214 | 
            -
                    {
         | 
| 215 | 
            -
                      "internalType": "RiskId",
         | 
| 216 | 
            -
                      "name": "riskId",
         | 
| 217 | 
            -
                      "type": "bytes8"
         | 
| 218 | 
            -
                    },
         | 
| 219 | 
            -
                    {
         | 
| 220 | 
            -
                      "internalType": "uint256",
         | 
| 221 | 
            -
                      "name": "sumInsuredAmount",
         | 
| 222 | 
            -
                      "type": "uint256"
         | 
| 223 | 
            -
                    },
         | 
| 224 | 
            -
                    {
         | 
| 225 | 
            -
                      "internalType": "uint256",
         | 
| 226 | 
            -
                      "name": "lifetime",
         | 
| 227 | 
            -
                      "type": "uint256"
         | 
| 228 | 
            -
                    },
         | 
| 229 | 
            -
                    {
         | 
| 230 | 
            -
                      "internalType": "bytes",
         | 
| 231 | 
            -
                      "name": "applicationData",
         | 
| 232 | 
            -
                      "type": "bytes"
         | 
| 233 | 
            -
                    },
         | 
| 234 | 
            -
                    {
         | 
| 235 | 
            -
                      "internalType": "NftId",
         | 
| 236 | 
            -
                      "name": "bundleNftId",
         | 
| 237 | 
            -
                      "type": "uint96"
         | 
| 238 | 
            -
                    },
         | 
| 239 | 
            -
                    {
         | 
| 240 | 
            -
                      "internalType": "ReferralId",
         | 
| 241 | 
            -
                      "name": "referralId",
         | 
| 242 | 
            -
                      "type": "bytes8"
         | 
| 243 | 
            -
                    }
         | 
| 244 | 
            -
                  ],
         | 
| 245 | 
            -
                  "name": "calculatePremium",
         | 
| 246 | 
            -
                  "outputs": [
         | 
| 247 | 
            -
                    {
         | 
| 248 | 
            -
                      "internalType": "uint256",
         | 
| 249 | 
            -
                      "name": "premiumAmount",
         | 
| 250 | 
            -
                      "type": "uint256"
         | 
| 251 | 
            -
                    },
         | 
| 252 | 
            -
                    {
         | 
| 253 | 
            -
                      "internalType": "uint256",
         | 
| 254 | 
            -
                      "name": "productFeeAmount",
         | 
| 255 | 
            -
                      "type": "uint256"
         | 
| 256 | 
            -
                    },
         | 
| 257 | 
            -
                    {
         | 
| 258 | 
            -
                      "internalType": "uint256",
         | 
| 259 | 
            -
                      "name": "poolFeeAmount",
         | 
| 260 | 
            -
                      "type": "uint256"
         | 
| 261 | 
            -
                    },
         | 
| 262 | 
            -
                    {
         | 
| 263 | 
            -
                      "internalType": "uint256",
         | 
| 264 | 
            -
                      "name": "bundleFeeAmount",
         | 
| 265 | 
            -
                      "type": "uint256"
         | 
| 266 | 
            -
                    },
         | 
| 267 | 
            -
                    {
         | 
| 268 | 
            -
                      "internalType": "uint256",
         | 
| 269 | 
            -
                      "name": "distributionFeeAmount",
         | 
| 270 | 
            -
                      "type": "uint256"
         | 
| 271 | 
            -
                    }
         | 
| 272 | 
            -
                  ],
         | 
| 273 | 
            -
                  "stateMutability": "view",
         | 
| 274 | 
            -
                  "type": "function"
         | 
| 275 | 
            -
                },
         | 
| 276 233 | 
             
                {
         | 
| 277 234 | 
             
                  "inputs": [
         | 
| 278 235 | 
             
                    {
         | 
| @@ -63,6 +63,61 @@ | |
| 63 63 | 
             
                  "name": "ErrorNotRegistry",
         | 
| 64 64 | 
             
                  "type": "error"
         | 
| 65 65 | 
             
                },
         | 
| 66 | 
            +
                {
         | 
| 67 | 
            +
                  "inputs": [
         | 
| 68 | 
            +
                    {
         | 
| 69 | 
            +
                      "internalType": "NftId",
         | 
| 70 | 
            +
                      "name": "poolNftId",
         | 
| 71 | 
            +
                      "type": "uint96"
         | 
| 72 | 
            +
                    }
         | 
| 73 | 
            +
                  ],
         | 
| 74 | 
            +
                  "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
         | 
| 75 | 
            +
                  "type": "error"
         | 
| 76 | 
            +
                },
         | 
| 77 | 
            +
                {
         | 
| 78 | 
            +
                  "anonymous": false,
         | 
| 79 | 
            +
                  "inputs": [
         | 
| 80 | 
            +
                    {
         | 
| 81 | 
            +
                      "indexed": false,
         | 
| 82 | 
            +
                      "internalType": "NftId",
         | 
| 83 | 
            +
                      "name": "poolNftId",
         | 
| 84 | 
            +
                      "type": "uint96"
         | 
| 85 | 
            +
                    },
         | 
| 86 | 
            +
                    {
         | 
| 87 | 
            +
                      "indexed": false,
         | 
| 88 | 
            +
                      "internalType": "RoleId",
         | 
| 89 | 
            +
                      "name": "bundleOwnerRole",
         | 
| 90 | 
            +
                      "type": "uint64"
         | 
| 91 | 
            +
                    }
         | 
| 92 | 
            +
                  ],
         | 
| 93 | 
            +
                  "name": "LogPoolServiceBundleOwnerRoleSet",
         | 
| 94 | 
            +
                  "type": "event"
         | 
| 95 | 
            +
                },
         | 
| 96 | 
            +
                {
         | 
| 97 | 
            +
                  "anonymous": false,
         | 
| 98 | 
            +
                  "inputs": [
         | 
| 99 | 
            +
                    {
         | 
| 100 | 
            +
                      "indexed": false,
         | 
| 101 | 
            +
                      "internalType": "NftId",
         | 
| 102 | 
            +
                      "name": "poolNftId",
         | 
| 103 | 
            +
                      "type": "uint96"
         | 
| 104 | 
            +
                    },
         | 
| 105 | 
            +
                    {
         | 
| 106 | 
            +
                      "indexed": false,
         | 
| 107 | 
            +
                      "internalType": "uint256",
         | 
| 108 | 
            +
                      "name": "previousMaxCapitalAmount",
         | 
| 109 | 
            +
                      "type": "uint256"
         | 
| 110 | 
            +
                    },
         | 
| 111 | 
            +
                    {
         | 
| 112 | 
            +
                      "indexed": false,
         | 
| 113 | 
            +
                      "internalType": "uint256",
         | 
| 114 | 
            +
                      "name": "currentMaxCapitalAmount",
         | 
| 115 | 
            +
                      "type": "uint256"
         | 
| 116 | 
            +
                    }
         | 
| 117 | 
            +
                  ],
         | 
| 118 | 
            +
                  "name": "LogPoolServiceMaxCapitalAmountUpdated",
         | 
| 119 | 
            +
                  "type": "event"
         | 
| 120 | 
            +
                },
         | 
| 66 121 | 
             
                {
         | 
| 67 122 | 
             
                  "inputs": [],
         | 
| 68 123 | 
             
                  "name": "getDomain",
         | 
| @@ -248,6 +303,19 @@ | |
| 248 303 | 
             
                  "stateMutability": "nonpayable",
         | 
| 249 304 | 
             
                  "type": "function"
         | 
| 250 305 | 
             
                },
         | 
| 306 | 
            +
                {
         | 
| 307 | 
            +
                  "inputs": [
         | 
| 308 | 
            +
                    {
         | 
| 309 | 
            +
                      "internalType": "RoleId",
         | 
| 310 | 
            +
                      "name": "bundleOwnerRole",
         | 
| 311 | 
            +
                      "type": "uint64"
         | 
| 312 | 
            +
                    }
         | 
| 313 | 
            +
                  ],
         | 
| 314 | 
            +
                  "name": "setBundleOwnerRole",
         | 
| 315 | 
            +
                  "outputs": [],
         | 
| 316 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 317 | 
            +
                  "type": "function"
         | 
| 318 | 
            +
                },
         | 
| 251 319 | 
             
                {
         | 
| 252 320 | 
             
                  "inputs": [
         | 
| 253 321 | 
             
                    {
         | 
| @@ -307,6 +375,19 @@ | |
| 307 375 | 
             
                  "stateMutability": "nonpayable",
         | 
| 308 376 | 
             
                  "type": "function"
         | 
| 309 377 | 
             
                },
         | 
| 378 | 
            +
                {
         | 
| 379 | 
            +
                  "inputs": [
         | 
| 380 | 
            +
                    {
         | 
| 381 | 
            +
                      "internalType": "uint256",
         | 
| 382 | 
            +
                      "name": "maxCapitalAmount",
         | 
| 383 | 
            +
                      "type": "uint256"
         | 
| 384 | 
            +
                    }
         | 
| 385 | 
            +
                  ],
         | 
| 386 | 
            +
                  "name": "setMaxCapitalAmount",
         | 
| 387 | 
            +
                  "outputs": [],
         | 
| 388 | 
            +
                  "stateMutability": "nonpayable",
         | 
| 389 | 
            +
                  "type": "function"
         | 
| 390 | 
            +
                },
         | 
| 310 391 | 
             
                {
         | 
| 311 392 | 
             
                  "inputs": [
         | 
| 312 393 | 
             
                    {
         |