@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d1f0662-893
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -88
- 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 +60 -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 +309 -2023
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +21 -62
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +424 -2776
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +95 -58
- 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 +331 -51
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +71 -215
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +38 -83
- 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 +25 -36
- 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 +8 -8
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +6 -6
- 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 +106 -246
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +38 -55
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +166 -136
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +38 -59
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +623 -91
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +143 -32
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +185 -451
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +82 -107
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +38 -191
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +97 -45
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +306 -62
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +34 -297
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +124 -103
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +269 -60
- 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 -37
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +332 -162
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +104 -53
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +442 -84
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +90 -39
- 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 +56 -59
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +28 -37
- 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 -37
- 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 +22 -49
- 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 +23 -11
- 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 -37
- 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 +11 -38
- 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 +26 -49
- 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 +124 -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 +83 -4
- 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 +116 -7
- 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/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 +17 -4
- 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 +11 -6
- package/contracts/components/IComponent.sol +16 -2
- package/contracts/components/IPoolComponent.sol +8 -7
- package/contracts/components/IProductComponent.sol +5 -4
- package/contracts/components/Pool.sol +11 -12
- package/contracts/components/Product.sol +144 -62
- package/contracts/instance/BundleManager.sol +3 -4
- package/contracts/instance/IInstance.sol +32 -53
- package/contracts/instance/IInstanceService.sol +15 -14
- package/contracts/instance/Instance.sol +107 -205
- package/contracts/instance/InstanceAccessManager.sol +44 -25
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +84 -7
- package/contracts/instance/InstanceService.sol +102 -289
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +1 -1
- package/contracts/instance/base/ComponentService.sol +53 -41
- package/contracts/instance/base/KeyValueStore.sol +0 -31
- package/contracts/instance/base/Lifecycle.sol +15 -4
- package/contracts/instance/module/IAccess.sol +2 -2
- package/contracts/instance/module/IComponents.sol +3 -3
- package/contracts/instance/module/IDistribution.sol +3 -2
- package/contracts/instance/module/IPolicy.sol +13 -8
- package/contracts/instance/service/ApplicationService.sol +60 -224
- package/contracts/instance/service/BundleService.sol +73 -122
- package/contracts/instance/service/ClaimService.sol +318 -32
- package/contracts/instance/service/DistributionService.sol +64 -151
- package/contracts/instance/service/IApplicationService.sol +8 -28
- package/contracts/instance/service/IBundleService.sol +34 -9
- package/contracts/instance/service/IClaimService.sol +52 -23
- package/contracts/instance/service/IDistributionService.sol +11 -22
- package/contracts/instance/service/IPolicyService.sol +24 -16
- package/contracts/instance/service/IPoolService.sol +18 -3
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/PolicyService.sol +134 -118
- package/contracts/instance/service/PoolService.sol +124 -64
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +14 -14
- package/contracts/registry/IRegistryService.sol +0 -2
- package/contracts/registry/RegistryService.sol +16 -15
- package/contracts/registry/ReleaseManager.sol +20 -18
- package/contracts/shared/IPolicyHolder.sol +23 -9
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +3 -6
- 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/Service.sol +16 -7
- package/contracts/shared/TokenHandler.sol +4 -2
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +49 -0
- package/contracts/types/ClaimId.sol +25 -2
- package/contracts/types/Fee.sol +7 -6
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +33 -5
- package/contracts/types/StateId.sol +6 -2
- package/contracts/types/Timestamp.sol +5 -0
- 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/IApplicationService.sol/IApplicationService.json
CHANGED
@@ -44,12 +44,38 @@
|
|
44
44
|
{
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
|
-
"internalType": "
|
48
|
-
"name": "
|
49
|
-
"type": "
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "bundleNftId",
|
49
|
+
"type": "uint96"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"internalType": "NftId",
|
53
|
+
"name": "bundlePoolNftId",
|
54
|
+
"type": "uint96"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "NftId",
|
58
|
+
"name": "poolNftId",
|
59
|
+
"type": "uint96"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "ErrorApplicationServiceBundlePoolMismatch",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "callerNftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "ObjectType",
|
74
|
+
"name": "callerType",
|
75
|
+
"type": "uint8"
|
50
76
|
}
|
51
77
|
],
|
52
|
-
"name": "
|
78
|
+
"name": "ErrorApplicationServiceNotProduct",
|
53
79
|
"type": "error"
|
54
80
|
},
|
55
81
|
{
|
@@ -102,35 +128,8 @@
|
|
102
128
|
"type": "error"
|
103
129
|
},
|
104
130
|
{
|
105
|
-
"inputs": [
|
106
|
-
|
107
|
-
"internalType": "NftId",
|
108
|
-
"name": "bundleNftId",
|
109
|
-
"type": "uint96"
|
110
|
-
},
|
111
|
-
{
|
112
|
-
"internalType": "NftId",
|
113
|
-
"name": "bundlePoolNftId",
|
114
|
-
"type": "uint96"
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"internalType": "NftId",
|
118
|
-
"name": "poolNftId",
|
119
|
-
"type": "uint96"
|
120
|
-
}
|
121
|
-
],
|
122
|
-
"name": "IApplicationServiceBundlePoolMismatch",
|
123
|
-
"type": "error"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"inputs": [
|
127
|
-
{
|
128
|
-
"internalType": "NftId",
|
129
|
-
"name": "applicationNftId",
|
130
|
-
"type": "uint96"
|
131
|
-
}
|
132
|
-
],
|
133
|
-
"name": "IApplicationServicePolicyNotApplied",
|
131
|
+
"inputs": [],
|
132
|
+
"name": "ErrorServiceNotImplemented",
|
134
133
|
"type": "error"
|
135
134
|
},
|
136
135
|
{
|
@@ -169,14 +168,14 @@
|
|
169
168
|
"type": "bytes8"
|
170
169
|
},
|
171
170
|
{
|
172
|
-
"internalType": "
|
171
|
+
"internalType": "Amount",
|
173
172
|
"name": "sumInsuredAmount",
|
174
|
-
"type": "
|
173
|
+
"type": "uint96"
|
175
174
|
},
|
176
175
|
{
|
177
|
-
"internalType": "
|
176
|
+
"internalType": "Seconds",
|
178
177
|
"name": "lifetime",
|
179
|
-
"type": "
|
178
|
+
"type": "uint40"
|
180
179
|
},
|
181
180
|
{
|
182
181
|
"internalType": "bytes",
|
@@ -202,132 +201,6 @@
|
|
202
201
|
"stateMutability": "view",
|
203
202
|
"type": "function"
|
204
203
|
},
|
205
|
-
{
|
206
|
-
"inputs": [
|
207
|
-
{
|
208
|
-
"internalType": "NftId",
|
209
|
-
"name": "productNftId",
|
210
|
-
"type": "uint96"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"internalType": "RiskId",
|
214
|
-
"name": "riskId",
|
215
|
-
"type": "bytes8"
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"internalType": "uint256",
|
219
|
-
"name": "sumInsuredAmount",
|
220
|
-
"type": "uint256"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"internalType": "Seconds",
|
224
|
-
"name": "lifetime",
|
225
|
-
"type": "uint40"
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"internalType": "bytes",
|
229
|
-
"name": "applicationData",
|
230
|
-
"type": "bytes"
|
231
|
-
},
|
232
|
-
{
|
233
|
-
"internalType": "NftId",
|
234
|
-
"name": "bundleNftId",
|
235
|
-
"type": "uint96"
|
236
|
-
},
|
237
|
-
{
|
238
|
-
"internalType": "ReferralId",
|
239
|
-
"name": "referralId",
|
240
|
-
"type": "bytes8"
|
241
|
-
}
|
242
|
-
],
|
243
|
-
"name": "calculatePremium",
|
244
|
-
"outputs": [
|
245
|
-
{
|
246
|
-
"components": [
|
247
|
-
{
|
248
|
-
"internalType": "uint256",
|
249
|
-
"name": "netPremiumAmount",
|
250
|
-
"type": "uint256"
|
251
|
-
},
|
252
|
-
{
|
253
|
-
"internalType": "uint256",
|
254
|
-
"name": "fullPremiumAmount",
|
255
|
-
"type": "uint256"
|
256
|
-
},
|
257
|
-
{
|
258
|
-
"internalType": "uint256",
|
259
|
-
"name": "premiumAmount",
|
260
|
-
"type": "uint256"
|
261
|
-
},
|
262
|
-
{
|
263
|
-
"internalType": "uint256",
|
264
|
-
"name": "productFeeFixAmount",
|
265
|
-
"type": "uint256"
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"internalType": "uint256",
|
269
|
-
"name": "poolFeeFixAmount",
|
270
|
-
"type": "uint256"
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"internalType": "uint256",
|
274
|
-
"name": "bundleFeeFixAmount",
|
275
|
-
"type": "uint256"
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"internalType": "uint256",
|
279
|
-
"name": "distributionFeeFixAmount",
|
280
|
-
"type": "uint256"
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"internalType": "uint256",
|
284
|
-
"name": "productFeeVarAmount",
|
285
|
-
"type": "uint256"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"internalType": "uint256",
|
289
|
-
"name": "poolFeeVarAmount",
|
290
|
-
"type": "uint256"
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"internalType": "uint256",
|
294
|
-
"name": "bundleFeeVarAmount",
|
295
|
-
"type": "uint256"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"internalType": "uint256",
|
299
|
-
"name": "distributionFeeVarAmount",
|
300
|
-
"type": "uint256"
|
301
|
-
},
|
302
|
-
{
|
303
|
-
"internalType": "uint256",
|
304
|
-
"name": "distributionOwnerFeeFixAmount",
|
305
|
-
"type": "uint256"
|
306
|
-
},
|
307
|
-
{
|
308
|
-
"internalType": "uint256",
|
309
|
-
"name": "distributionOwnerFeeVarAmount",
|
310
|
-
"type": "uint256"
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"internalType": "uint256",
|
314
|
-
"name": "commissionAmount",
|
315
|
-
"type": "uint256"
|
316
|
-
},
|
317
|
-
{
|
318
|
-
"internalType": "uint256",
|
319
|
-
"name": "discountAmount",
|
320
|
-
"type": "uint256"
|
321
|
-
}
|
322
|
-
],
|
323
|
-
"internalType": "struct IPolicy.Premium",
|
324
|
-
"name": "premium",
|
325
|
-
"type": "tuple"
|
326
|
-
}
|
327
|
-
],
|
328
|
-
"stateMutability": "view",
|
329
|
-
"type": "function"
|
330
|
-
},
|
331
204
|
{
|
332
205
|
"inputs": [
|
333
206
|
{
|
@@ -341,9 +214,9 @@
|
|
341
214
|
"type": "bytes8"
|
342
215
|
},
|
343
216
|
{
|
344
|
-
"internalType": "
|
217
|
+
"internalType": "Amount",
|
345
218
|
"name": "sumInsuredAmount",
|
346
|
-
"type": "
|
219
|
+
"type": "uint96"
|
347
220
|
},
|
348
221
|
{
|
349
222
|
"internalType": "Seconds",
|
@@ -440,19 +313,6 @@
|
|
440
313
|
"stateMutability": "view",
|
441
314
|
"type": "function"
|
442
315
|
},
|
443
|
-
{
|
444
|
-
"inputs": [],
|
445
|
-
"name": "getMajorVersion",
|
446
|
-
"outputs": [
|
447
|
-
{
|
448
|
-
"internalType": "VersionPart",
|
449
|
-
"name": "majorVersion",
|
450
|
-
"type": "uint8"
|
451
|
-
}
|
452
|
-
],
|
453
|
-
"stateMutability": "view",
|
454
|
-
"type": "function"
|
455
|
-
},
|
456
316
|
{
|
457
317
|
"inputs": [],
|
458
318
|
"name": "getNftId",
|
@@ -492,19 +352,6 @@
|
|
492
352
|
"stateMutability": "view",
|
493
353
|
"type": "function"
|
494
354
|
},
|
495
|
-
{
|
496
|
-
"inputs": [],
|
497
|
-
"name": "getRegistryAddress",
|
498
|
-
"outputs": [
|
499
|
-
{
|
500
|
-
"internalType": "address",
|
501
|
-
"name": "",
|
502
|
-
"type": "address"
|
503
|
-
}
|
504
|
-
],
|
505
|
-
"stateMutability": "view",
|
506
|
-
"type": "function"
|
507
|
-
},
|
508
355
|
{
|
509
356
|
"inputs": [],
|
510
357
|
"name": "getVersion",
|
@@ -62,6 +62,38 @@
|
|
62
62
|
"name": "ErrorBundleServiceBundleNotOpen",
|
63
63
|
"type": "error"
|
64
64
|
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "bundleNftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "NftId",
|
74
|
+
"name": "expectedPool",
|
75
|
+
"type": "uint96"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "NftId",
|
79
|
+
"name": "actualPool",
|
80
|
+
"type": "uint96"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"name": "ErrorBundleServiceBundlePoolMismatch",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [
|
88
|
+
{
|
89
|
+
"internalType": "NftId",
|
90
|
+
"name": "bundleNftId",
|
91
|
+
"type": "uint96"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "ErrorBundleServiceBundleUnknown",
|
95
|
+
"type": "error"
|
96
|
+
},
|
65
97
|
{
|
66
98
|
"inputs": [
|
67
99
|
{
|
@@ -86,14 +118,14 @@
|
|
86
118
|
"type": "uint96"
|
87
119
|
},
|
88
120
|
{
|
89
|
-
"internalType": "
|
121
|
+
"internalType": "Amount",
|
90
122
|
"name": "capacityAmount",
|
91
|
-
"type": "
|
123
|
+
"type": "uint96"
|
92
124
|
},
|
93
125
|
{
|
94
|
-
"internalType": "
|
126
|
+
"internalType": "Amount",
|
95
127
|
"name": "collateralAmount",
|
96
|
-
"type": "
|
128
|
+
"type": "uint96"
|
97
129
|
}
|
98
130
|
],
|
99
131
|
"name": "ErrorBundleServiceCapacityInsufficient",
|
@@ -112,9 +144,9 @@
|
|
112
144
|
"type": "address"
|
113
145
|
},
|
114
146
|
{
|
115
|
-
"internalType": "
|
147
|
+
"internalType": "Amount",
|
116
148
|
"name": "amount",
|
117
|
-
"type": "
|
149
|
+
"type": "uint96"
|
118
150
|
}
|
119
151
|
],
|
120
152
|
"name": "ErrorBundleServiceInsufficientAllowance",
|
@@ -123,12 +155,12 @@
|
|
123
155
|
{
|
124
156
|
"inputs": [
|
125
157
|
{
|
126
|
-
"internalType": "
|
127
|
-
"name": "
|
128
|
-
"type": "
|
158
|
+
"internalType": "NftId",
|
159
|
+
"name": "policyNftId",
|
160
|
+
"type": "uint96"
|
129
161
|
}
|
130
162
|
],
|
131
|
-
"name": "
|
163
|
+
"name": "ErrorBundleServicePolicyNotCloseable",
|
132
164
|
"type": "error"
|
133
165
|
},
|
134
166
|
{
|
@@ -180,6 +212,11 @@
|
|
180
212
|
"name": "ErrorNotRegistry",
|
181
213
|
"type": "error"
|
182
214
|
},
|
215
|
+
{
|
216
|
+
"inputs": [],
|
217
|
+
"name": "ErrorServiceNotImplemented",
|
218
|
+
"type": "error"
|
219
|
+
},
|
183
220
|
{
|
184
221
|
"anonymous": false,
|
185
222
|
"inputs": [
|
@@ -374,19 +411,6 @@
|
|
374
411
|
"stateMutability": "view",
|
375
412
|
"type": "function"
|
376
413
|
},
|
377
|
-
{
|
378
|
-
"inputs": [],
|
379
|
-
"name": "getMajorVersion",
|
380
|
-
"outputs": [
|
381
|
-
{
|
382
|
-
"internalType": "VersionPart",
|
383
|
-
"name": "majorVersion",
|
384
|
-
"type": "uint8"
|
385
|
-
}
|
386
|
-
],
|
387
|
-
"stateMutability": "view",
|
388
|
-
"type": "function"
|
389
|
-
},
|
390
414
|
{
|
391
415
|
"inputs": [],
|
392
416
|
"name": "getNftId",
|
@@ -426,19 +450,6 @@
|
|
426
450
|
"stateMutability": "view",
|
427
451
|
"type": "function"
|
428
452
|
},
|
429
|
-
{
|
430
|
-
"inputs": [],
|
431
|
-
"name": "getRegistryAddress",
|
432
|
-
"outputs": [
|
433
|
-
{
|
434
|
-
"internalType": "address",
|
435
|
-
"name": "",
|
436
|
-
"type": "address"
|
437
|
-
}
|
438
|
-
],
|
439
|
-
"stateMutability": "view",
|
440
|
-
"type": "function"
|
441
|
-
},
|
442
453
|
{
|
443
454
|
"inputs": [],
|
444
455
|
"name": "getVersion",
|
@@ -465,9 +476,9 @@
|
|
465
476
|
"type": "uint96"
|
466
477
|
},
|
467
478
|
{
|
468
|
-
"internalType": "
|
479
|
+
"internalType": "Amount",
|
469
480
|
"name": "amount",
|
470
|
-
"type": "
|
481
|
+
"type": "uint96"
|
471
482
|
}
|
472
483
|
],
|
473
484
|
"name": "increaseBalance",
|
@@ -544,14 +555,14 @@
|
|
544
555
|
"type": "uint96"
|
545
556
|
},
|
546
557
|
{
|
547
|
-
"internalType": "
|
558
|
+
"internalType": "Amount",
|
548
559
|
"name": "collateralAmount",
|
549
|
-
"type": "
|
560
|
+
"type": "uint96"
|
550
561
|
},
|
551
562
|
{
|
552
|
-
"internalType": "
|
553
|
-
"name": "
|
554
|
-
"type": "
|
563
|
+
"internalType": "Amount",
|
564
|
+
"name": "premiumAmount",
|
565
|
+
"type": "uint96"
|
555
566
|
}
|
556
567
|
],
|
557
568
|
"name": "lockCollateral",
|
@@ -577,9 +588,9 @@
|
|
577
588
|
"type": "uint96"
|
578
589
|
},
|
579
590
|
{
|
580
|
-
"internalType": "
|
591
|
+
"internalType": "Amount",
|
581
592
|
"name": "collateralAmount",
|
582
|
-
"type": "
|
593
|
+
"type": "uint96"
|
583
594
|
}
|
584
595
|
],
|
585
596
|
"name": "releaseCollateral",
|
@@ -649,6 +660,24 @@
|
|
649
660
|
"stateMutability": "view",
|
650
661
|
"type": "function"
|
651
662
|
},
|
663
|
+
{
|
664
|
+
"inputs": [
|
665
|
+
{
|
666
|
+
"internalType": "contract IInstance",
|
667
|
+
"name": "instance",
|
668
|
+
"type": "address"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"internalType": "NftId",
|
672
|
+
"name": "policyNftId",
|
673
|
+
"type": "uint96"
|
674
|
+
}
|
675
|
+
],
|
676
|
+
"name": "unlinkPolicy",
|
677
|
+
"outputs": [],
|
678
|
+
"stateMutability": "nonpayable",
|
679
|
+
"type": "function"
|
680
|
+
},
|
652
681
|
{
|
653
682
|
"inputs": [
|
654
683
|
{
|
@@ -662,6 +691,29 @@
|
|
662
691
|
"stateMutability": "nonpayable",
|
663
692
|
"type": "function"
|
664
693
|
},
|
694
|
+
{
|
695
|
+
"inputs": [
|
696
|
+
{
|
697
|
+
"internalType": "contract IInstance",
|
698
|
+
"name": "instance",
|
699
|
+
"type": "address"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "NftId",
|
703
|
+
"name": "bundleNftId",
|
704
|
+
"type": "uint96"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"internalType": "Amount",
|
708
|
+
"name": "feeAmount",
|
709
|
+
"type": "uint96"
|
710
|
+
}
|
711
|
+
],
|
712
|
+
"name": "updateBundleFees",
|
713
|
+
"outputs": [],
|
714
|
+
"stateMutability": "nonpayable",
|
715
|
+
"type": "function"
|
716
|
+
},
|
665
717
|
{
|
666
718
|
"inputs": [
|
667
719
|
{
|