@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e94f4c7-084
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 +68 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +84 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +158 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +158 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +184 -149
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +158 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +114 -189
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +68 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +457 -268
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +175 -51
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +426 -476
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +472 -126
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +217 -169
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +304 -210
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +71 -23
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +85 -30
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +56 -73
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +175 -83
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +29 -13
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +426 -233
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +78 -14
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +372 -86
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +55 -7
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +189 -139
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +48 -56
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +111 -40
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +246 -170
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +251 -58
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +101 -24
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +470 -41
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +627 -14
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -14
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +607 -85
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +71 -19
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +777 -55
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +72 -12
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +114 -51
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +16 -12
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +0 -24
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +17 -36
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +7 -7
- 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 +2 -2
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +80 -14
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +86 -15
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +101 -26
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/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 +40 -9
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/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/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +42 -10
- package/contracts/components/Distribution.sol +6 -2
- package/contracts/components/IComponent.sol +9 -1
- package/contracts/components/IPoolComponent.sol +6 -44
- package/contracts/components/Pool.sol +50 -126
- package/contracts/components/Product.sol +141 -59
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +9 -8
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +37 -27
- package/contracts/instance/IInstanceService.sol +18 -9
- package/contracts/instance/Instance.sol +117 -98
- package/contracts/instance/InstanceAccessManager.sol +388 -158
- package/contracts/instance/InstanceReader.sol +36 -12
- package/contracts/instance/InstanceService.sol +193 -204
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +17 -30
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +23 -6
- package/contracts/instance/module/IAccess.sol +21 -14
- package/contracts/instance/module/IBundle.sol +6 -4
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +11 -6
- package/contracts/instance/module/ISetup.sol +3 -16
- package/contracts/instance/service/ApplicationService.sol +25 -19
- package/contracts/instance/service/BundleService.sol +224 -80
- package/contracts/instance/service/ClaimService.sol +114 -26
- package/contracts/instance/service/DistributionService.sol +58 -77
- package/contracts/instance/service/IApplicationService.sol +3 -7
- package/contracts/instance/service/IBundleService.sol +72 -25
- package/contracts/instance/service/IClaimService.sol +46 -15
- package/contracts/instance/service/IDistributionService.sol +1 -0
- package/contracts/instance/service/IPolicyService.sol +72 -5
- package/contracts/instance/service/IPoolService.sol +85 -3
- package/contracts/instance/service/PolicyService.sol +320 -143
- package/contracts/instance/service/PoolService.sol +245 -18
- package/contracts/instance/service/ProductService.sol +31 -54
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/IRegistryService.sol +4 -3
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +23 -20
- package/contracts/registry/RegistryService.sol +10 -11
- package/contracts/registry/ReleaseManager.sol +20 -18
- package/contracts/shared/IService.sol +4 -6
- package/contracts/shared/Service.sol +21 -7
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +70 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +25 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +6 -5
- package/contracts/types/PayoutId.sol +33 -5
- package/contracts/types/RoleId.sol +6 -4
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +6 -0
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
@@ -3,6 +3,44 @@
|
|
3
3
|
"contractName": "IPolicyService",
|
4
4
|
"sourceName": "contracts/instance/service/IPolicyService.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
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
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
|
+
},
|
6
44
|
{
|
7
45
|
"inputs": [
|
8
46
|
{
|
@@ -119,7 +157,7 @@
|
|
119
157
|
},
|
120
158
|
{
|
121
159
|
"internalType": "uint256",
|
122
|
-
"name": "
|
160
|
+
"name": "expectedPremiumAmount",
|
123
161
|
"type": "uint256"
|
124
162
|
},
|
125
163
|
{
|
@@ -152,17 +190,6 @@
|
|
152
190
|
"name": "ErrorIPolicyServicePremiumNotFullyPaid",
|
153
191
|
"type": "error"
|
154
192
|
},
|
155
|
-
{
|
156
|
-
"inputs": [
|
157
|
-
{
|
158
|
-
"internalType": "address",
|
159
|
-
"name": "caller",
|
160
|
-
"type": "address"
|
161
|
-
}
|
162
|
-
],
|
163
|
-
"name": "ErrorIServiceCallerUnknown",
|
164
|
-
"type": "error"
|
165
|
-
},
|
166
193
|
{
|
167
194
|
"inputs": [
|
168
195
|
{
|
@@ -212,6 +239,242 @@
|
|
212
239
|
"name": "ErrorNotRegistry",
|
213
240
|
"type": "error"
|
214
241
|
},
|
242
|
+
{
|
243
|
+
"inputs": [
|
244
|
+
{
|
245
|
+
"internalType": "NftId",
|
246
|
+
"name": "policyNftId",
|
247
|
+
"type": "uint96"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"internalType": "Amount",
|
251
|
+
"name": "sumInsured",
|
252
|
+
"type": "uint96"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"internalType": "Amount",
|
256
|
+
"name": "payoutsIncludingClaimAmount",
|
257
|
+
"type": "uint96"
|
258
|
+
}
|
259
|
+
],
|
260
|
+
"name": "ErrorPolicyServiceClaimExceedsSumInsured",
|
261
|
+
"type": "error"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"inputs": [
|
265
|
+
{
|
266
|
+
"internalType": "NftId",
|
267
|
+
"name": "policyNftId",
|
268
|
+
"type": "uint96"
|
269
|
+
}
|
270
|
+
],
|
271
|
+
"name": "ErrorPolicyServicePolicyNotOpen",
|
272
|
+
"type": "error"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"inputs": [
|
276
|
+
{
|
277
|
+
"internalType": "NftId",
|
278
|
+
"name": "applicationNftId",
|
279
|
+
"type": "uint96"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"name": "ErrorPolicyServicePolicyStateNotApplied",
|
283
|
+
"type": "error"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"internalType": "NftId",
|
289
|
+
"name": "policyNftId",
|
290
|
+
"type": "uint96"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"internalType": "NftId",
|
294
|
+
"name": "expectedProduct",
|
295
|
+
"type": "uint96"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"internalType": "NftId",
|
299
|
+
"name": "actualProduct",
|
300
|
+
"type": "uint96"
|
301
|
+
}
|
302
|
+
],
|
303
|
+
"name": "ErrorPolicyServiceProductMismatch",
|
304
|
+
"type": "error"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"inputs": [
|
308
|
+
{
|
309
|
+
"internalType": "NftId",
|
310
|
+
"name": "policyNftId",
|
311
|
+
"type": "uint96"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"internalType": "uint256",
|
315
|
+
"name": "expectedPremiumAmount",
|
316
|
+
"type": "uint256"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"internalType": "uint256",
|
320
|
+
"name": "transferredPremiumAmount",
|
321
|
+
"type": "uint256"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"name": "ErrorPolicyServiceTransferredPremiumMismatch",
|
325
|
+
"type": "error"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"anonymous": false,
|
329
|
+
"inputs": [
|
330
|
+
{
|
331
|
+
"indexed": false,
|
332
|
+
"internalType": "address",
|
333
|
+
"name": "authority",
|
334
|
+
"type": "address"
|
335
|
+
}
|
336
|
+
],
|
337
|
+
"name": "AuthorityUpdated",
|
338
|
+
"type": "event"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"anonymous": false,
|
342
|
+
"inputs": [
|
343
|
+
{
|
344
|
+
"indexed": false,
|
345
|
+
"internalType": "NftId",
|
346
|
+
"name": "policyNftId",
|
347
|
+
"type": "uint96"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"indexed": false,
|
351
|
+
"internalType": "ClaimId",
|
352
|
+
"name": "claimId",
|
353
|
+
"type": "uint16"
|
354
|
+
}
|
355
|
+
],
|
356
|
+
"name": "LogPolicyServiceClaimClosed",
|
357
|
+
"type": "event"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"anonymous": false,
|
361
|
+
"inputs": [
|
362
|
+
{
|
363
|
+
"indexed": false,
|
364
|
+
"internalType": "NftId",
|
365
|
+
"name": "policyNftId",
|
366
|
+
"type": "uint96"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"indexed": false,
|
370
|
+
"internalType": "ClaimId",
|
371
|
+
"name": "claimId",
|
372
|
+
"type": "uint16"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"indexed": false,
|
376
|
+
"internalType": "Amount",
|
377
|
+
"name": "confirmedAmount",
|
378
|
+
"type": "uint96"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"name": "LogPolicyServiceClaimConfirmed",
|
382
|
+
"type": "event"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"anonymous": false,
|
386
|
+
"inputs": [
|
387
|
+
{
|
388
|
+
"indexed": false,
|
389
|
+
"internalType": "NftId",
|
390
|
+
"name": "policyNftId",
|
391
|
+
"type": "uint96"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"indexed": false,
|
395
|
+
"internalType": "ClaimId",
|
396
|
+
"name": "claimId",
|
397
|
+
"type": "uint16"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"name": "LogPolicyServiceClaimDeclined",
|
401
|
+
"type": "event"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"anonymous": false,
|
405
|
+
"inputs": [
|
406
|
+
{
|
407
|
+
"indexed": false,
|
408
|
+
"internalType": "NftId",
|
409
|
+
"name": "policyNftId",
|
410
|
+
"type": "uint96"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"indexed": false,
|
414
|
+
"internalType": "ClaimId",
|
415
|
+
"name": "claimId",
|
416
|
+
"type": "uint16"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"indexed": false,
|
420
|
+
"internalType": "Amount",
|
421
|
+
"name": "claimAmount",
|
422
|
+
"type": "uint96"
|
423
|
+
}
|
424
|
+
],
|
425
|
+
"name": "LogPolicyServiceClaimSubmitted",
|
426
|
+
"type": "event"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"anonymous": false,
|
430
|
+
"inputs": [
|
431
|
+
{
|
432
|
+
"indexed": false,
|
433
|
+
"internalType": "NftId",
|
434
|
+
"name": "policyNftId",
|
435
|
+
"type": "uint96"
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"indexed": false,
|
439
|
+
"internalType": "PayoutId",
|
440
|
+
"name": "payoutId",
|
441
|
+
"type": "uint24"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"indexed": false,
|
445
|
+
"internalType": "Amount",
|
446
|
+
"name": "amount",
|
447
|
+
"type": "uint96"
|
448
|
+
}
|
449
|
+
],
|
450
|
+
"name": "LogPolicyServicePayoutCreated",
|
451
|
+
"type": "event"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"anonymous": false,
|
455
|
+
"inputs": [
|
456
|
+
{
|
457
|
+
"indexed": false,
|
458
|
+
"internalType": "NftId",
|
459
|
+
"name": "policyNftId",
|
460
|
+
"type": "uint96"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"indexed": false,
|
464
|
+
"internalType": "PayoutId",
|
465
|
+
"name": "payoutId",
|
466
|
+
"type": "uint24"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"indexed": false,
|
470
|
+
"internalType": "Amount",
|
471
|
+
"name": "amount",
|
472
|
+
"type": "uint96"
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"name": "LogPolicyServicePayoutProcessed",
|
476
|
+
"type": "event"
|
477
|
+
},
|
215
478
|
{
|
216
479
|
"inputs": [
|
217
480
|
{
|
@@ -230,6 +493,19 @@
|
|
230
493
|
"stateMutability": "nonpayable",
|
231
494
|
"type": "function"
|
232
495
|
},
|
496
|
+
{
|
497
|
+
"inputs": [],
|
498
|
+
"name": "authority",
|
499
|
+
"outputs": [
|
500
|
+
{
|
501
|
+
"internalType": "address",
|
502
|
+
"name": "",
|
503
|
+
"type": "address"
|
504
|
+
}
|
505
|
+
],
|
506
|
+
"stateMutability": "view",
|
507
|
+
"type": "function"
|
508
|
+
},
|
233
509
|
{
|
234
510
|
"inputs": [
|
235
511
|
{
|
@@ -267,6 +543,47 @@
|
|
267
543
|
"stateMutability": "nonpayable",
|
268
544
|
"type": "function"
|
269
545
|
},
|
546
|
+
{
|
547
|
+
"inputs": [
|
548
|
+
{
|
549
|
+
"internalType": "NftId",
|
550
|
+
"name": "policyNftId",
|
551
|
+
"type": "uint96"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"internalType": "ClaimId",
|
555
|
+
"name": "claimId",
|
556
|
+
"type": "uint16"
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"name": "closeClaim",
|
560
|
+
"outputs": [],
|
561
|
+
"stateMutability": "nonpayable",
|
562
|
+
"type": "function"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"inputs": [
|
566
|
+
{
|
567
|
+
"internalType": "NftId",
|
568
|
+
"name": "policyNftId",
|
569
|
+
"type": "uint96"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"internalType": "bool",
|
573
|
+
"name": "requirePremiumPayment",
|
574
|
+
"type": "bool"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"internalType": "Timestamp",
|
578
|
+
"name": "activateAt",
|
579
|
+
"type": "uint40"
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"name": "collateralize",
|
583
|
+
"outputs": [],
|
584
|
+
"stateMutability": "nonpayable",
|
585
|
+
"type": "function"
|
586
|
+
},
|
270
587
|
{
|
271
588
|
"inputs": [
|
272
589
|
{
|
@@ -285,6 +602,63 @@
|
|
285
602
|
"stateMutability": "nonpayable",
|
286
603
|
"type": "function"
|
287
604
|
},
|
605
|
+
{
|
606
|
+
"inputs": [
|
607
|
+
{
|
608
|
+
"internalType": "NftId",
|
609
|
+
"name": "policyNftId",
|
610
|
+
"type": "uint96"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"internalType": "ClaimId",
|
614
|
+
"name": "claimId",
|
615
|
+
"type": "uint16"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"internalType": "Amount",
|
619
|
+
"name": "confirmedAmount",
|
620
|
+
"type": "uint96"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"name": "confirmClaim",
|
624
|
+
"outputs": [],
|
625
|
+
"stateMutability": "nonpayable",
|
626
|
+
"type": "function"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"inputs": [
|
630
|
+
{
|
631
|
+
"internalType": "NftId",
|
632
|
+
"name": "policyNftId",
|
633
|
+
"type": "uint96"
|
634
|
+
},
|
635
|
+
{
|
636
|
+
"internalType": "ClaimId",
|
637
|
+
"name": "claimId",
|
638
|
+
"type": "uint16"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"internalType": "Amount",
|
642
|
+
"name": "amount",
|
643
|
+
"type": "uint96"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"internalType": "bytes",
|
647
|
+
"name": "data",
|
648
|
+
"type": "bytes"
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"name": "createPayout",
|
652
|
+
"outputs": [
|
653
|
+
{
|
654
|
+
"internalType": "PayoutId",
|
655
|
+
"name": "payoutId",
|
656
|
+
"type": "uint24"
|
657
|
+
}
|
658
|
+
],
|
659
|
+
"stateMutability": "nonpayable",
|
660
|
+
"type": "function"
|
661
|
+
},
|
288
662
|
{
|
289
663
|
"inputs": [
|
290
664
|
{
|
@@ -298,6 +672,24 @@
|
|
298
672
|
"stateMutability": "nonpayable",
|
299
673
|
"type": "function"
|
300
674
|
},
|
675
|
+
{
|
676
|
+
"inputs": [
|
677
|
+
{
|
678
|
+
"internalType": "NftId",
|
679
|
+
"name": "policyNftId",
|
680
|
+
"type": "uint96"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "ClaimId",
|
684
|
+
"name": "claimId",
|
685
|
+
"type": "uint16"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"name": "declineClaim",
|
689
|
+
"outputs": [],
|
690
|
+
"stateMutability": "nonpayable",
|
691
|
+
"type": "function"
|
692
|
+
},
|
301
693
|
{
|
302
694
|
"inputs": [
|
303
695
|
{
|
@@ -374,19 +766,6 @@
|
|
374
766
|
"stateMutability": "view",
|
375
767
|
"type": "function"
|
376
768
|
},
|
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
769
|
{
|
391
770
|
"inputs": [],
|
392
771
|
"name": "getNftId",
|
@@ -470,6 +849,19 @@
|
|
470
849
|
"stateMutability": "nonpayable",
|
471
850
|
"type": "function"
|
472
851
|
},
|
852
|
+
{
|
853
|
+
"inputs": [],
|
854
|
+
"name": "isConsumingScheduledOp",
|
855
|
+
"outputs": [
|
856
|
+
{
|
857
|
+
"internalType": "bytes4",
|
858
|
+
"name": "",
|
859
|
+
"type": "bytes4"
|
860
|
+
}
|
861
|
+
],
|
862
|
+
"stateMutability": "view",
|
863
|
+
"type": "function"
|
864
|
+
},
|
473
865
|
{
|
474
866
|
"inputs": [],
|
475
867
|
"name": "linkToRegisteredNftId",
|
@@ -480,20 +872,32 @@
|
|
480
872
|
{
|
481
873
|
"inputs": [
|
482
874
|
{
|
483
|
-
"internalType": "
|
484
|
-
"name": "
|
485
|
-
"type": "
|
875
|
+
"internalType": "NftId",
|
876
|
+
"name": "policyNftId",
|
877
|
+
"type": "uint96"
|
878
|
+
},
|
879
|
+
{
|
880
|
+
"internalType": "PayoutId",
|
881
|
+
"name": "payoutId",
|
882
|
+
"type": "uint24"
|
486
883
|
}
|
487
884
|
],
|
488
|
-
"name": "
|
489
|
-
"outputs": [
|
885
|
+
"name": "processPayout",
|
886
|
+
"outputs": [],
|
887
|
+
"stateMutability": "nonpayable",
|
888
|
+
"type": "function"
|
889
|
+
},
|
890
|
+
{
|
891
|
+
"inputs": [
|
490
892
|
{
|
491
|
-
"internalType": "
|
893
|
+
"internalType": "address",
|
492
894
|
"name": "",
|
493
|
-
"type": "
|
895
|
+
"type": "address"
|
494
896
|
}
|
495
897
|
],
|
496
|
-
"
|
898
|
+
"name": "setAuthority",
|
899
|
+
"outputs": [],
|
900
|
+
"stateMutability": "nonpayable",
|
497
901
|
"type": "function"
|
498
902
|
},
|
499
903
|
{
|
@@ -504,21 +908,46 @@
|
|
504
908
|
"type": "uint96"
|
505
909
|
},
|
506
910
|
{
|
507
|
-
"internalType": "
|
508
|
-
"name": "
|
509
|
-
"type": "
|
911
|
+
"internalType": "Amount",
|
912
|
+
"name": "claimAmount",
|
913
|
+
"type": "uint96"
|
510
914
|
},
|
511
915
|
{
|
512
|
-
"internalType": "
|
513
|
-
"name": "
|
514
|
-
"type": "
|
916
|
+
"internalType": "bytes",
|
917
|
+
"name": "claimData",
|
918
|
+
"type": "bytes"
|
919
|
+
}
|
920
|
+
],
|
921
|
+
"name": "submitClaim",
|
922
|
+
"outputs": [
|
923
|
+
{
|
924
|
+
"internalType": "ClaimId",
|
925
|
+
"name": "claimId",
|
926
|
+
"type": "uint16"
|
515
927
|
}
|
516
928
|
],
|
517
|
-
"name": "underwrite",
|
518
|
-
"outputs": [],
|
519
929
|
"stateMutability": "nonpayable",
|
520
930
|
"type": "function"
|
521
931
|
},
|
932
|
+
{
|
933
|
+
"inputs": [
|
934
|
+
{
|
935
|
+
"internalType": "bytes4",
|
936
|
+
"name": "interfaceId",
|
937
|
+
"type": "bytes4"
|
938
|
+
}
|
939
|
+
],
|
940
|
+
"name": "supportsInterface",
|
941
|
+
"outputs": [
|
942
|
+
{
|
943
|
+
"internalType": "bool",
|
944
|
+
"name": "",
|
945
|
+
"type": "bool"
|
946
|
+
}
|
947
|
+
],
|
948
|
+
"stateMutability": "view",
|
949
|
+
"type": "function"
|
950
|
+
},
|
522
951
|
{
|
523
952
|
"inputs": [
|
524
953
|
{
|