@etherisc/gif-next 0.0.2-f2df3e2-873 → 0.0.2-f398177-971
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 +37 -6
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +44 -13
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +37 -6
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +44 -13
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +55 -24
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +52 -21
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +55 -24
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +52 -21
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +252 -2210
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +21 -38
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +346 -2685
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +67 -49
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +219 -53
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +59 -220
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +32 -117
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +37 -13
- 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 +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +75 -217
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +33 -66
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +155 -133
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +35 -64
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +463 -119
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +109 -42
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +181 -399
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +81 -94
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +11 -145
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +79 -30
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +229 -88
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +23 -273
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +40 -326
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +265 -32
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +5 -13
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +213 -443
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +74 -75
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +439 -54
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +84 -37
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +55 -31
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +22 -35
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +5 -13
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- 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 +17 -25
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +21 -34
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +2 -2
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +10 -23
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +3 -3
- 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/INftOwnable.sol/INftOwnable.json +0 -13
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +5 -13
- 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 +6 -19
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -26
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +14 -27
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +6 -19
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +5 -13
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/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 +6 -19
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +17 -25
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +100 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +2 -2
- 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 +42 -18
- 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 +2 -2
- 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/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +21 -2
- package/contracts/components/Distribution.sol +5 -4
- package/contracts/components/IComponent.sol +16 -2
- package/contracts/components/IPoolComponent.sol +7 -6
- package/contracts/components/IProductComponent.sol +5 -4
- package/contracts/components/Pool.sol +8 -8
- package/contracts/components/Product.sol +21 -17
- package/contracts/instance/IInstance.sol +28 -53
- package/contracts/instance/IInstanceService.sol +15 -10
- package/contracts/instance/Instance.sol +90 -171
- package/contracts/instance/InstanceAccessManager.sol +35 -21
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +56 -5
- package/contracts/instance/InstanceService.sol +96 -266
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +1 -1
- package/contracts/instance/base/ComponentService.sol +47 -20
- package/contracts/instance/base/KeyValueStore.sol +0 -31
- package/contracts/instance/base/Lifecycle.sol +7 -4
- package/contracts/instance/module/IComponents.sol +3 -3
- package/contracts/instance/module/IDistribution.sol +3 -2
- package/contracts/instance/module/IPolicy.sol +5 -5
- package/contracts/instance/service/ApplicationService.sol +58 -227
- package/contracts/instance/service/BundleService.sol +65 -119
- package/contracts/instance/service/ClaimService.sol +232 -34
- package/contracts/instance/service/DistributionService.sol +51 -134
- package/contracts/instance/service/IApplicationService.sol +5 -21
- package/contracts/instance/service/IBundleService.sol +32 -10
- package/contracts/instance/service/IClaimService.sol +37 -39
- package/contracts/instance/service/IDistributionService.sol +10 -22
- package/contracts/instance/service/IPolicyService.sol +15 -72
- package/contracts/instance/service/IPoolService.sol +18 -3
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/PolicyService.sol +112 -277
- package/contracts/instance/service/PoolService.sol +121 -21
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +10 -10
- package/contracts/registry/IRegistryService.sol +0 -2
- package/contracts/registry/RegistryService.sol +14 -10
- package/contracts/shared/IPolicyHolder.sol +23 -9
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +2 -0
- package/contracts/shared/NftOwnable.sol +0 -2
- package/contracts/shared/PolicyHolder.sol +30 -17
- package/contracts/shared/Registerable.sol +10 -9
- package/contracts/shared/RegistryLinked.sol +0 -5
- package/contracts/shared/TokenHandler.sol +4 -2
- package/contracts/types/Amount.sol +44 -0
- package/contracts/types/Fee.sol +7 -6
- package/contracts/types/ObjectType.sol +5 -1
- package/package.json +1 -1
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- /package/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol +0 -0
package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json
CHANGED
@@ -52,6 +52,22 @@
|
|
52
52
|
"name": "ErrorDistributionServiceCallerNotRegistered",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "Amount",
|
59
|
+
"name": "transferredDistributionFeeAmount",
|
60
|
+
"type": "uint96"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"internalType": "Amount",
|
64
|
+
"name": "expectedDistributionFeeAmount",
|
65
|
+
"type": "uint96"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "ErrorDistributionServiceInvalidFeeTransferred",
|
69
|
+
"type": "error"
|
70
|
+
},
|
55
71
|
{
|
56
72
|
"inputs": [
|
57
73
|
{
|
@@ -138,58 +154,6 @@
|
|
138
154
|
"name": "ErrorIDistributionServiceExpiryTooLong",
|
139
155
|
"type": "error"
|
140
156
|
},
|
141
|
-
{
|
142
|
-
"inputs": [
|
143
|
-
{
|
144
|
-
"internalType": "uint256",
|
145
|
-
"name": "distributionFeeFixAmount",
|
146
|
-
"type": "uint256"
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"internalType": "uint256",
|
150
|
-
"name": "distributionFeeVarAmount",
|
151
|
-
"type": "uint256"
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"internalType": "uint256",
|
155
|
-
"name": "distributionOwnerFeeFixAmount",
|
156
|
-
"type": "uint256"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"internalType": "uint256",
|
160
|
-
"name": "distributionOwnerFeeVarAmount",
|
161
|
-
"type": "uint256"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"internalType": "uint256",
|
165
|
-
"name": "commissionAmount",
|
166
|
-
"type": "uint256"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"internalType": "uint256",
|
170
|
-
"name": "discountAmount",
|
171
|
-
"type": "uint256"
|
172
|
-
}
|
173
|
-
],
|
174
|
-
"name": "ErrorIDistributionServiceFeeCalculationMismatch",
|
175
|
-
"type": "error"
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"inputs": [
|
179
|
-
{
|
180
|
-
"internalType": "uint256",
|
181
|
-
"name": "transferredDistributionFeeAmount",
|
182
|
-
"type": "uint256"
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"internalType": "uint256",
|
186
|
-
"name": "expectedDistributionFeeAmount",
|
187
|
-
"type": "uint256"
|
188
|
-
}
|
189
|
-
],
|
190
|
-
"name": "ErrorIDistributionServiceInvalidFeeTransferred",
|
191
|
-
"type": "error"
|
192
|
-
},
|
193
157
|
{
|
194
158
|
"inputs": [
|
195
159
|
{
|
@@ -336,6 +300,11 @@
|
|
336
300
|
"name": "ErrorNotRegistry",
|
337
301
|
"type": "error"
|
338
302
|
},
|
303
|
+
{
|
304
|
+
"inputs": [],
|
305
|
+
"name": "ErrorServiceNotImplemented",
|
306
|
+
"type": "error"
|
307
|
+
},
|
339
308
|
{
|
340
309
|
"anonymous": false,
|
341
310
|
"inputs": [
|
@@ -362,189 +331,6 @@
|
|
362
331
|
"stateMutability": "view",
|
363
332
|
"type": "function"
|
364
333
|
},
|
365
|
-
{
|
366
|
-
"inputs": [
|
367
|
-
{
|
368
|
-
"internalType": "NftId",
|
369
|
-
"name": "distributionNftId",
|
370
|
-
"type": "uint96"
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"internalType": "ReferralId",
|
374
|
-
"name": "referralId",
|
375
|
-
"type": "bytes8"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
"components": [
|
379
|
-
{
|
380
|
-
"internalType": "uint256",
|
381
|
-
"name": "netPremiumAmount",
|
382
|
-
"type": "uint256"
|
383
|
-
},
|
384
|
-
{
|
385
|
-
"internalType": "uint256",
|
386
|
-
"name": "fullPremiumAmount",
|
387
|
-
"type": "uint256"
|
388
|
-
},
|
389
|
-
{
|
390
|
-
"internalType": "uint256",
|
391
|
-
"name": "premiumAmount",
|
392
|
-
"type": "uint256"
|
393
|
-
},
|
394
|
-
{
|
395
|
-
"internalType": "uint256",
|
396
|
-
"name": "productFeeFixAmount",
|
397
|
-
"type": "uint256"
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"internalType": "uint256",
|
401
|
-
"name": "poolFeeFixAmount",
|
402
|
-
"type": "uint256"
|
403
|
-
},
|
404
|
-
{
|
405
|
-
"internalType": "uint256",
|
406
|
-
"name": "bundleFeeFixAmount",
|
407
|
-
"type": "uint256"
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"internalType": "uint256",
|
411
|
-
"name": "distributionFeeFixAmount",
|
412
|
-
"type": "uint256"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"internalType": "uint256",
|
416
|
-
"name": "productFeeVarAmount",
|
417
|
-
"type": "uint256"
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"internalType": "uint256",
|
421
|
-
"name": "poolFeeVarAmount",
|
422
|
-
"type": "uint256"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"internalType": "uint256",
|
426
|
-
"name": "bundleFeeVarAmount",
|
427
|
-
"type": "uint256"
|
428
|
-
},
|
429
|
-
{
|
430
|
-
"internalType": "uint256",
|
431
|
-
"name": "distributionFeeVarAmount",
|
432
|
-
"type": "uint256"
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"internalType": "uint256",
|
436
|
-
"name": "distributionOwnerFeeFixAmount",
|
437
|
-
"type": "uint256"
|
438
|
-
},
|
439
|
-
{
|
440
|
-
"internalType": "uint256",
|
441
|
-
"name": "distributionOwnerFeeVarAmount",
|
442
|
-
"type": "uint256"
|
443
|
-
},
|
444
|
-
{
|
445
|
-
"internalType": "uint256",
|
446
|
-
"name": "commissionAmount",
|
447
|
-
"type": "uint256"
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"internalType": "uint256",
|
451
|
-
"name": "discountAmount",
|
452
|
-
"type": "uint256"
|
453
|
-
}
|
454
|
-
],
|
455
|
-
"internalType": "struct IPolicy.Premium",
|
456
|
-
"name": "premium",
|
457
|
-
"type": "tuple"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"name": "calculateFeeAmount",
|
461
|
-
"outputs": [
|
462
|
-
{
|
463
|
-
"components": [
|
464
|
-
{
|
465
|
-
"internalType": "uint256",
|
466
|
-
"name": "netPremiumAmount",
|
467
|
-
"type": "uint256"
|
468
|
-
},
|
469
|
-
{
|
470
|
-
"internalType": "uint256",
|
471
|
-
"name": "fullPremiumAmount",
|
472
|
-
"type": "uint256"
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"internalType": "uint256",
|
476
|
-
"name": "premiumAmount",
|
477
|
-
"type": "uint256"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"internalType": "uint256",
|
481
|
-
"name": "productFeeFixAmount",
|
482
|
-
"type": "uint256"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"internalType": "uint256",
|
486
|
-
"name": "poolFeeFixAmount",
|
487
|
-
"type": "uint256"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"internalType": "uint256",
|
491
|
-
"name": "bundleFeeFixAmount",
|
492
|
-
"type": "uint256"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "uint256",
|
496
|
-
"name": "distributionFeeFixAmount",
|
497
|
-
"type": "uint256"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"internalType": "uint256",
|
501
|
-
"name": "productFeeVarAmount",
|
502
|
-
"type": "uint256"
|
503
|
-
},
|
504
|
-
{
|
505
|
-
"internalType": "uint256",
|
506
|
-
"name": "poolFeeVarAmount",
|
507
|
-
"type": "uint256"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"internalType": "uint256",
|
511
|
-
"name": "bundleFeeVarAmount",
|
512
|
-
"type": "uint256"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"internalType": "uint256",
|
516
|
-
"name": "distributionFeeVarAmount",
|
517
|
-
"type": "uint256"
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"internalType": "uint256",
|
521
|
-
"name": "distributionOwnerFeeFixAmount",
|
522
|
-
"type": "uint256"
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"internalType": "uint256",
|
526
|
-
"name": "distributionOwnerFeeVarAmount",
|
527
|
-
"type": "uint256"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"internalType": "uint256",
|
531
|
-
"name": "commissionAmount",
|
532
|
-
"type": "uint256"
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"internalType": "uint256",
|
536
|
-
"name": "discountAmount",
|
537
|
-
"type": "uint256"
|
538
|
-
}
|
539
|
-
],
|
540
|
-
"internalType": "struct IPolicy.Premium",
|
541
|
-
"name": "finalPremium",
|
542
|
-
"type": "tuple"
|
543
|
-
}
|
544
|
-
],
|
545
|
-
"stateMutability": "view",
|
546
|
-
"type": "function"
|
547
|
-
},
|
548
334
|
{
|
549
335
|
"inputs": [
|
550
336
|
{
|
@@ -779,19 +565,6 @@
|
|
779
565
|
"stateMutability": "view",
|
780
566
|
"type": "function"
|
781
567
|
},
|
782
|
-
{
|
783
|
-
"inputs": [],
|
784
|
-
"name": "getRegistryAddress",
|
785
|
-
"outputs": [
|
786
|
-
{
|
787
|
-
"internalType": "address",
|
788
|
-
"name": "",
|
789
|
-
"type": "address"
|
790
|
-
}
|
791
|
-
],
|
792
|
-
"stateMutability": "view",
|
793
|
-
"type": "function"
|
794
|
-
},
|
795
568
|
{
|
796
569
|
"inputs": [],
|
797
570
|
"name": "getVersion",
|
@@ -938,9 +711,9 @@
|
|
938
711
|
"type": "tuple"
|
939
712
|
},
|
940
713
|
{
|
941
|
-
"internalType": "
|
714
|
+
"internalType": "Amount",
|
942
715
|
"name": "transferredDistributionFeeAmount",
|
943
|
-
"type": "
|
716
|
+
"type": "uint96"
|
944
717
|
}
|
945
718
|
],
|
946
719
|
"name": "processSale",
|
@@ -1046,29 +819,6 @@
|
|
1046
819
|
"stateMutability": "view",
|
1047
820
|
"type": "function"
|
1048
821
|
},
|
1049
|
-
{
|
1050
|
-
"inputs": [
|
1051
|
-
{
|
1052
|
-
"internalType": "NftId",
|
1053
|
-
"name": "distributorNftId",
|
1054
|
-
"type": "uint96"
|
1055
|
-
},
|
1056
|
-
{
|
1057
|
-
"internalType": "DistributorType",
|
1058
|
-
"name": "distributorType",
|
1059
|
-
"type": "bytes8"
|
1060
|
-
},
|
1061
|
-
{
|
1062
|
-
"internalType": "bytes",
|
1063
|
-
"name": "data",
|
1064
|
-
"type": "bytes"
|
1065
|
-
}
|
1066
|
-
],
|
1067
|
-
"name": "updateDistributorType",
|
1068
|
-
"outputs": [],
|
1069
|
-
"stateMutability": "nonpayable",
|
1070
|
-
"type": "function"
|
1071
|
-
},
|
1072
822
|
{
|
1073
823
|
"inputs": [
|
1074
824
|
{
|