@etherisc/gif-next 0.0.2-f30e0eb-805 → 0.0.2-f398177-971
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -83
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +47 -6
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +70 -13
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +137 -6
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +144 -13
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +161 -20
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +151 -20
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +71 -20
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +62 -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 +310 -2004
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +101 -52
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +425 -2757
- 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 +348 -58
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +153 -207
- 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 +113 -34
- 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 +186 -236
- 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 +377 -182
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +74 -39
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +713 -83
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +147 -32
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +266 -442
- 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 +111 -174
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +233 -128
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +385 -51
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +109 -282
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +210 -99
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +682 -33
- 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 +85 -27
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +420 -160
- 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 +880 -82
- 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 +144 -57
- 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 +85 -27
- 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 +91 -28
- 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 +106 -39
- 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 +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
- 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 +74 -19
- 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 +25 -4
- package/contracts/components/Distribution.sol +11 -6
- package/contracts/components/IComponent.sol +19 -3
- package/contracts/components/IPoolComponent.sol +8 -7
- package/contracts/components/IProductComponent.sol +5 -4
- package/contracts/components/Pool.sol +17 -14
- 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 +85 -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 -39
- package/contracts/instance/base/KeyValueStore.sol +8 -34
- package/contracts/instance/base/Lifecycle.sol +15 -4
- package/contracts/instance/module/IAccess.sol +2 -2
- package/contracts/instance/module/IBundle.sol +6 -4
- package/contracts/instance/module/IComponents.sol +7 -1
- package/contracts/instance/module/IDistribution.sol +3 -2
- package/contracts/instance/module/IPolicy.sol +13 -8
- package/contracts/instance/service/ApplicationService.sol +62 -226
- package/contracts/instance/service/BundleService.sol +172 -126
- package/contracts/instance/service/ClaimService.sol +318 -32
- package/contracts/instance/service/DistributionService.sol +71 -190
- package/contracts/instance/service/IApplicationService.sol +8 -28
- package/contracts/instance/service/IBundleService.sol +82 -26
- 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 +82 -3
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/PolicyService.sol +152 -179
- package/contracts/instance/service/PoolService.sol +239 -56
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +27 -58
- package/contracts/registry/IRegistryService.sol +2 -3
- package/contracts/registry/RegistryService.sol +24 -21
- 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 +6 -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 +21 -7
- package/contracts/shared/TokenHandler.sol +4 -2
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +109 -0
- package/contracts/types/ClaimId.sol +25 -2
- package/contracts/types/Fee.sol +16 -8
- 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
@@ -3,15 +3,79 @@
|
|
3
3
|
"contractName": "IApplicationService",
|
4
4
|
"sourceName": "contracts/instance/service/IApplicationService.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
6
17
|
{
|
7
18
|
"inputs": [
|
8
19
|
{
|
9
20
|
"internalType": "address",
|
10
21
|
"name": "caller",
|
11
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
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"
|
12
76
|
}
|
13
77
|
],
|
14
|
-
"name": "
|
78
|
+
"name": "ErrorApplicationServiceNotProduct",
|
15
79
|
"type": "error"
|
16
80
|
},
|
17
81
|
{
|
@@ -64,36 +128,22 @@
|
|
64
128
|
"type": "error"
|
65
129
|
},
|
66
130
|
{
|
67
|
-
"inputs": [
|
68
|
-
|
69
|
-
"internalType": "NftId",
|
70
|
-
"name": "bundleNftId",
|
71
|
-
"type": "uint96"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"internalType": "NftId",
|
75
|
-
"name": "bundlePoolNftId",
|
76
|
-
"type": "uint96"
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"internalType": "NftId",
|
80
|
-
"name": "poolNftId",
|
81
|
-
"type": "uint96"
|
82
|
-
}
|
83
|
-
],
|
84
|
-
"name": "IApplicationServiceBundlePoolMismatch",
|
131
|
+
"inputs": [],
|
132
|
+
"name": "ErrorServiceNotImplemented",
|
85
133
|
"type": "error"
|
86
134
|
},
|
87
135
|
{
|
136
|
+
"anonymous": false,
|
88
137
|
"inputs": [
|
89
138
|
{
|
90
|
-
"
|
91
|
-
"
|
92
|
-
"
|
139
|
+
"indexed": false,
|
140
|
+
"internalType": "address",
|
141
|
+
"name": "authority",
|
142
|
+
"type": "address"
|
93
143
|
}
|
94
144
|
],
|
95
|
-
"name": "
|
96
|
-
"type": "
|
145
|
+
"name": "AuthorityUpdated",
|
146
|
+
"type": "event"
|
97
147
|
},
|
98
148
|
{
|
99
149
|
"inputs": [
|
@@ -118,14 +168,14 @@
|
|
118
168
|
"type": "bytes8"
|
119
169
|
},
|
120
170
|
{
|
121
|
-
"internalType": "
|
171
|
+
"internalType": "Amount",
|
122
172
|
"name": "sumInsuredAmount",
|
123
|
-
"type": "
|
173
|
+
"type": "uint96"
|
124
174
|
},
|
125
175
|
{
|
126
|
-
"internalType": "
|
176
|
+
"internalType": "Seconds",
|
127
177
|
"name": "lifetime",
|
128
|
-
"type": "
|
178
|
+
"type": "uint40"
|
129
179
|
},
|
130
180
|
{
|
131
181
|
"internalType": "bytes",
|
@@ -139,126 +189,13 @@
|
|
139
189
|
"type": "function"
|
140
190
|
},
|
141
191
|
{
|
142
|
-
"inputs": [
|
143
|
-
|
144
|
-
"internalType": "NftId",
|
145
|
-
"name": "productNftId",
|
146
|
-
"type": "uint96"
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"internalType": "RiskId",
|
150
|
-
"name": "riskId",
|
151
|
-
"type": "bytes8"
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"internalType": "uint256",
|
155
|
-
"name": "sumInsuredAmount",
|
156
|
-
"type": "uint256"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"internalType": "Seconds",
|
160
|
-
"name": "lifetime",
|
161
|
-
"type": "uint40"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"internalType": "bytes",
|
165
|
-
"name": "applicationData",
|
166
|
-
"type": "bytes"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"internalType": "NftId",
|
170
|
-
"name": "bundleNftId",
|
171
|
-
"type": "uint96"
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"internalType": "ReferralId",
|
175
|
-
"name": "referralId",
|
176
|
-
"type": "bytes8"
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"name": "calculatePremium",
|
192
|
+
"inputs": [],
|
193
|
+
"name": "authority",
|
180
194
|
"outputs": [
|
181
195
|
{
|
182
|
-
"
|
183
|
-
|
184
|
-
|
185
|
-
"name": "netPremiumAmount",
|
186
|
-
"type": "uint256"
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"internalType": "uint256",
|
190
|
-
"name": "fullPremiumAmount",
|
191
|
-
"type": "uint256"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"internalType": "uint256",
|
195
|
-
"name": "premiumAmount",
|
196
|
-
"type": "uint256"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"internalType": "uint256",
|
200
|
-
"name": "productFeeFixAmount",
|
201
|
-
"type": "uint256"
|
202
|
-
},
|
203
|
-
{
|
204
|
-
"internalType": "uint256",
|
205
|
-
"name": "poolFeeFixAmount",
|
206
|
-
"type": "uint256"
|
207
|
-
},
|
208
|
-
{
|
209
|
-
"internalType": "uint256",
|
210
|
-
"name": "bundleFeeFixAmount",
|
211
|
-
"type": "uint256"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"internalType": "uint256",
|
215
|
-
"name": "distributionFeeFixAmount",
|
216
|
-
"type": "uint256"
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"internalType": "uint256",
|
220
|
-
"name": "productFeeVarAmount",
|
221
|
-
"type": "uint256"
|
222
|
-
},
|
223
|
-
{
|
224
|
-
"internalType": "uint256",
|
225
|
-
"name": "poolFeeVarAmount",
|
226
|
-
"type": "uint256"
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"internalType": "uint256",
|
230
|
-
"name": "bundleFeeVarAmount",
|
231
|
-
"type": "uint256"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"internalType": "uint256",
|
235
|
-
"name": "distributionFeeVarAmount",
|
236
|
-
"type": "uint256"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"internalType": "uint256",
|
240
|
-
"name": "distributionOwnerFeeFixAmount",
|
241
|
-
"type": "uint256"
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"internalType": "uint256",
|
245
|
-
"name": "distributionOwnerFeeVarAmount",
|
246
|
-
"type": "uint256"
|
247
|
-
},
|
248
|
-
{
|
249
|
-
"internalType": "uint256",
|
250
|
-
"name": "commissionAmount",
|
251
|
-
"type": "uint256"
|
252
|
-
},
|
253
|
-
{
|
254
|
-
"internalType": "uint256",
|
255
|
-
"name": "discountAmount",
|
256
|
-
"type": "uint256"
|
257
|
-
}
|
258
|
-
],
|
259
|
-
"internalType": "struct IPolicy.Premium",
|
260
|
-
"name": "premium",
|
261
|
-
"type": "tuple"
|
196
|
+
"internalType": "address",
|
197
|
+
"name": "",
|
198
|
+
"type": "address"
|
262
199
|
}
|
263
200
|
],
|
264
201
|
"stateMutability": "view",
|
@@ -277,9 +214,9 @@
|
|
277
214
|
"type": "bytes8"
|
278
215
|
},
|
279
216
|
{
|
280
|
-
"internalType": "
|
217
|
+
"internalType": "Amount",
|
281
218
|
"name": "sumInsuredAmount",
|
282
|
-
"type": "
|
219
|
+
"type": "uint96"
|
283
220
|
},
|
284
221
|
{
|
285
222
|
"internalType": "Seconds",
|
@@ -376,19 +313,6 @@
|
|
376
313
|
"stateMutability": "view",
|
377
314
|
"type": "function"
|
378
315
|
},
|
379
|
-
{
|
380
|
-
"inputs": [],
|
381
|
-
"name": "getMajorVersion",
|
382
|
-
"outputs": [
|
383
|
-
{
|
384
|
-
"internalType": "VersionPart",
|
385
|
-
"name": "majorVersion",
|
386
|
-
"type": "uint8"
|
387
|
-
}
|
388
|
-
],
|
389
|
-
"stateMutability": "view",
|
390
|
-
"type": "function"
|
391
|
-
},
|
392
316
|
{
|
393
317
|
"inputs": [],
|
394
318
|
"name": "getNftId",
|
@@ -428,19 +352,6 @@
|
|
428
352
|
"stateMutability": "view",
|
429
353
|
"type": "function"
|
430
354
|
},
|
431
|
-
{
|
432
|
-
"inputs": [],
|
433
|
-
"name": "getRegistryAddress",
|
434
|
-
"outputs": [
|
435
|
-
{
|
436
|
-
"internalType": "address",
|
437
|
-
"name": "",
|
438
|
-
"type": "address"
|
439
|
-
}
|
440
|
-
],
|
441
|
-
"stateMutability": "view",
|
442
|
-
"type": "function"
|
443
|
-
},
|
444
355
|
{
|
445
356
|
"inputs": [],
|
446
357
|
"name": "getVersion",
|
@@ -472,6 +383,19 @@
|
|
472
383
|
"stateMutability": "nonpayable",
|
473
384
|
"type": "function"
|
474
385
|
},
|
386
|
+
{
|
387
|
+
"inputs": [],
|
388
|
+
"name": "isConsumingScheduledOp",
|
389
|
+
"outputs": [
|
390
|
+
{
|
391
|
+
"internalType": "bytes4",
|
392
|
+
"name": "",
|
393
|
+
"type": "bytes4"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"stateMutability": "view",
|
397
|
+
"type": "function"
|
398
|
+
},
|
475
399
|
{
|
476
400
|
"inputs": [],
|
477
401
|
"name": "linkToRegisteredNftId",
|
@@ -516,6 +440,19 @@
|
|
516
440
|
"stateMutability": "nonpayable",
|
517
441
|
"type": "function"
|
518
442
|
},
|
443
|
+
{
|
444
|
+
"inputs": [
|
445
|
+
{
|
446
|
+
"internalType": "address",
|
447
|
+
"name": "",
|
448
|
+
"type": "address"
|
449
|
+
}
|
450
|
+
],
|
451
|
+
"name": "setAuthority",
|
452
|
+
"outputs": [],
|
453
|
+
"stateMutability": "nonpayable",
|
454
|
+
"type": "function"
|
455
|
+
},
|
519
456
|
{
|
520
457
|
"inputs": [
|
521
458
|
{
|