@etherisc/gif-next 0.0.2-db1e1e4-828 → 0.0.2-db81915-875
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +16 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
- 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 +346 -102
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +276 -289
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +154 -40
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +62 -101
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +32 -32
- 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/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/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 +71 -50
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +18 -10
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +79 -44
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +27 -23
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +284 -61
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +52 -8
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +42 -66
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +22 -34
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +37 -32
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +27 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +173 -46
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +353 -22
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +4 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +481 -62
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +65 -21
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +12 -12
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +5 -5
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +2 -2
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +2 -2
- 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/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 +2 -2
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +2 -2
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +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/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- 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/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 +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +2 -2
- 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 +28 -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/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/Distribution.sol +6 -2
- package/contracts/components/IPoolComponent.sol +1 -1
- package/contracts/components/Pool.sol +3 -4
- package/contracts/components/Product.sol +137 -59
- package/contracts/instance/BundleManager.sol +3 -4
- package/contracts/instance/IInstance.sol +25 -21
- package/contracts/instance/IInstanceService.sol +0 -4
- package/contracts/instance/Instance.sol +85 -103
- package/contracts/instance/InstanceReader.sol +30 -4
- package/contracts/instance/InstanceService.sol +11 -28
- package/contracts/instance/base/Lifecycle.sol +12 -4
- package/contracts/instance/module/IPolicy.sol +11 -6
- package/contracts/instance/service/ApplicationService.sol +10 -5
- package/contracts/instance/service/BundleService.sol +8 -3
- package/contracts/instance/service/ClaimService.sol +111 -23
- package/contracts/instance/service/DistributionService.sol +14 -18
- package/contracts/instance/service/IApplicationService.sol +3 -7
- package/contracts/instance/service/IBundleService.sol +3 -0
- package/contracts/instance/service/IClaimService.sol +46 -15
- package/contracts/instance/service/IPolicyService.sol +70 -5
- package/contracts/instance/service/PolicyService.sol +219 -40
- package/contracts/instance/service/ProductService.sol +1 -1
- package/contracts/types/Amount.sol +5 -0
- package/contracts/types/ClaimId.sol +25 -2
- package/contracts/types/ObjectType.sol +5 -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/service/IApplicationService.sol/IApplicationService.json
CHANGED
@@ -41,6 +41,43 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
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"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorApplicationServiceNotProduct",
|
79
|
+
"type": "error"
|
80
|
+
},
|
44
81
|
{
|
45
82
|
"inputs": [
|
46
83
|
{
|
@@ -90,38 +127,6 @@
|
|
90
127
|
"name": "ErrorNotRegistry",
|
91
128
|
"type": "error"
|
92
129
|
},
|
93
|
-
{
|
94
|
-
"inputs": [
|
95
|
-
{
|
96
|
-
"internalType": "NftId",
|
97
|
-
"name": "bundleNftId",
|
98
|
-
"type": "uint96"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"internalType": "NftId",
|
102
|
-
"name": "bundlePoolNftId",
|
103
|
-
"type": "uint96"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"internalType": "NftId",
|
107
|
-
"name": "poolNftId",
|
108
|
-
"type": "uint96"
|
109
|
-
}
|
110
|
-
],
|
111
|
-
"name": "IApplicationServiceBundlePoolMismatch",
|
112
|
-
"type": "error"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"inputs": [
|
116
|
-
{
|
117
|
-
"internalType": "NftId",
|
118
|
-
"name": "applicationNftId",
|
119
|
-
"type": "uint96"
|
120
|
-
}
|
121
|
-
],
|
122
|
-
"name": "IApplicationServicePolicyNotApplied",
|
123
|
-
"type": "error"
|
124
|
-
},
|
125
130
|
{
|
126
131
|
"anonymous": false,
|
127
132
|
"inputs": [
|
@@ -62,6 +62,33 @@
|
|
62
62
|
"name": "ErrorBundleServiceBundleNotOpen",
|
63
63
|
"type": "error"
|
64
64
|
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "expectedPoolNftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "NftId",
|
74
|
+
"name": "bundlePoolNftId",
|
75
|
+
"type": "uint96"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorBundleServiceBundlePoolMismatch",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "NftId",
|
85
|
+
"name": "bundleNftId",
|
86
|
+
"type": "uint96"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "ErrorBundleServiceBundleUnknown",
|
90
|
+
"type": "error"
|
91
|
+
},
|
65
92
|
{
|
66
93
|
"inputs": [
|
67
94
|
{
|
@@ -41,6 +41,79 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "policyNftId",
|
49
|
+
"type": "uint96"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"internalType": "ClaimId",
|
53
|
+
"name": "claimId",
|
54
|
+
"type": "uint16"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "StateId",
|
58
|
+
"name": "expectedState",
|
59
|
+
"type": "uint8"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "StateId",
|
63
|
+
"name": "actualState",
|
64
|
+
"type": "uint8"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "ErrorClaimServiceClaimNotInExpectedState",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"internalType": "NftId",
|
74
|
+
"name": "policyNftId",
|
75
|
+
"type": "uint96"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "ClaimId",
|
79
|
+
"name": "claimId",
|
80
|
+
"type": "uint16"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"internalType": "Amount",
|
84
|
+
"name": "claimAmount",
|
85
|
+
"type": "uint96"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"internalType": "Amount",
|
89
|
+
"name": "paidAmount",
|
90
|
+
"type": "uint96"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"name": "ErrorClaimServiceClaimWithMissingPayouts",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "policyNftId",
|
101
|
+
"type": "uint96"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "ClaimId",
|
105
|
+
"name": "claimId",
|
106
|
+
"type": "uint16"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "uint8",
|
110
|
+
"name": "openPayouts",
|
111
|
+
"type": "uint8"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"name": "ErrorClaimServiceClaimWithOpenPayouts",
|
115
|
+
"type": "error"
|
116
|
+
},
|
44
117
|
{
|
45
118
|
"inputs": [
|
46
119
|
{
|
@@ -118,6 +191,16 @@
|
|
118
191
|
},
|
119
192
|
{
|
120
193
|
"inputs": [
|
194
|
+
{
|
195
|
+
"internalType": "contract IInstance",
|
196
|
+
"name": "instance",
|
197
|
+
"type": "address"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"internalType": "contract InstanceReader",
|
201
|
+
"name": "instanceReader",
|
202
|
+
"type": "address"
|
203
|
+
},
|
121
204
|
{
|
122
205
|
"internalType": "NftId",
|
123
206
|
"name": "policyNftId",
|
@@ -129,13 +212,23 @@
|
|
129
212
|
"type": "uint16"
|
130
213
|
}
|
131
214
|
],
|
132
|
-
"name": "
|
215
|
+
"name": "close",
|
133
216
|
"outputs": [],
|
134
217
|
"stateMutability": "nonpayable",
|
135
218
|
"type": "function"
|
136
219
|
},
|
137
220
|
{
|
138
221
|
"inputs": [
|
222
|
+
{
|
223
|
+
"internalType": "contract IInstance",
|
224
|
+
"name": "instance",
|
225
|
+
"type": "address"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"internalType": "contract InstanceReader",
|
229
|
+
"name": "instanceReader",
|
230
|
+
"type": "address"
|
231
|
+
},
|
139
232
|
{
|
140
233
|
"internalType": "NftId",
|
141
234
|
"name": "policyNftId",
|
@@ -147,12 +240,12 @@
|
|
147
240
|
"type": "uint16"
|
148
241
|
},
|
149
242
|
{
|
150
|
-
"internalType": "
|
243
|
+
"internalType": "Amount",
|
151
244
|
"name": "claimAmount",
|
152
|
-
"type": "
|
245
|
+
"type": "uint96"
|
153
246
|
}
|
154
247
|
],
|
155
|
-
"name": "
|
248
|
+
"name": "confirm",
|
156
249
|
"outputs": [],
|
157
250
|
"stateMutability": "nonpayable",
|
158
251
|
"type": "function"
|
@@ -160,48 +253,24 @@
|
|
160
253
|
{
|
161
254
|
"inputs": [
|
162
255
|
{
|
163
|
-
"internalType": "
|
164
|
-
"name": "
|
165
|
-
"type": "
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"internalType": "uint256",
|
169
|
-
"name": "claimAmount",
|
170
|
-
"type": "uint256"
|
256
|
+
"internalType": "contract IInstance",
|
257
|
+
"name": "instance",
|
258
|
+
"type": "address"
|
171
259
|
},
|
172
|
-
{
|
173
|
-
"internalType": "bytes",
|
174
|
-
"name": "claimData",
|
175
|
-
"type": "bytes"
|
176
|
-
}
|
177
|
-
],
|
178
|
-
"name": "createClaim",
|
179
|
-
"outputs": [
|
180
|
-
{
|
181
|
-
"internalType": "ClaimId",
|
182
|
-
"name": "",
|
183
|
-
"type": "uint16"
|
184
|
-
}
|
185
|
-
],
|
186
|
-
"stateMutability": "nonpayable",
|
187
|
-
"type": "function"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"inputs": [
|
191
260
|
{
|
192
261
|
"internalType": "NftId",
|
193
262
|
"name": "policyNftId",
|
194
263
|
"type": "uint96"
|
195
264
|
},
|
196
265
|
{
|
197
|
-
"internalType": "
|
198
|
-
"name": "
|
199
|
-
"type": "
|
266
|
+
"internalType": "PayoutId",
|
267
|
+
"name": "payoutId",
|
268
|
+
"type": "uint24"
|
200
269
|
},
|
201
270
|
{
|
202
|
-
"internalType": "
|
271
|
+
"internalType": "Amount",
|
203
272
|
"name": "payoutAmount",
|
204
|
-
"type": "
|
273
|
+
"type": "uint96"
|
205
274
|
},
|
206
275
|
{
|
207
276
|
"internalType": "bytes",
|
@@ -210,18 +279,22 @@
|
|
210
279
|
}
|
211
280
|
],
|
212
281
|
"name": "createPayout",
|
213
|
-
"outputs": [
|
214
|
-
{
|
215
|
-
"internalType": "PayoutId",
|
216
|
-
"name": "payoutId",
|
217
|
-
"type": "uint24"
|
218
|
-
}
|
219
|
-
],
|
282
|
+
"outputs": [],
|
220
283
|
"stateMutability": "nonpayable",
|
221
284
|
"type": "function"
|
222
285
|
},
|
223
286
|
{
|
224
287
|
"inputs": [
|
288
|
+
{
|
289
|
+
"internalType": "contract IInstance",
|
290
|
+
"name": "instance",
|
291
|
+
"type": "address"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"internalType": "contract InstanceReader",
|
295
|
+
"name": "instanceReader",
|
296
|
+
"type": "address"
|
297
|
+
},
|
225
298
|
{
|
226
299
|
"internalType": "NftId",
|
227
300
|
"name": "policyNftId",
|
@@ -233,7 +306,7 @@
|
|
233
306
|
"type": "uint16"
|
234
307
|
}
|
235
308
|
],
|
236
|
-
"name": "
|
309
|
+
"name": "decline",
|
237
310
|
"outputs": [],
|
238
311
|
"stateMutability": "nonpayable",
|
239
312
|
"type": "function"
|
@@ -406,6 +479,16 @@
|
|
406
479
|
},
|
407
480
|
{
|
408
481
|
"inputs": [
|
482
|
+
{
|
483
|
+
"internalType": "contract IInstance",
|
484
|
+
"name": "instance",
|
485
|
+
"type": "address"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"internalType": "contract InstanceReader",
|
489
|
+
"name": "instanceReader",
|
490
|
+
"type": "address"
|
491
|
+
},
|
409
492
|
{
|
410
493
|
"internalType": "NftId",
|
411
494
|
"name": "policyNftId",
|
@@ -417,8 +500,19 @@
|
|
417
500
|
"type": "uint24"
|
418
501
|
}
|
419
502
|
],
|
420
|
-
"name": "
|
421
|
-
"outputs": [
|
503
|
+
"name": "processPayout",
|
504
|
+
"outputs": [
|
505
|
+
{
|
506
|
+
"internalType": "Amount",
|
507
|
+
"name": "amount",
|
508
|
+
"type": "uint96"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"internalType": "bool",
|
512
|
+
"name": "payoutIsClosingClaim",
|
513
|
+
"type": "bool"
|
514
|
+
}
|
515
|
+
],
|
422
516
|
"stateMutability": "nonpayable",
|
423
517
|
"type": "function"
|
424
518
|
},
|
@@ -435,6 +529,39 @@
|
|
435
529
|
"stateMutability": "nonpayable",
|
436
530
|
"type": "function"
|
437
531
|
},
|
532
|
+
{
|
533
|
+
"inputs": [
|
534
|
+
{
|
535
|
+
"internalType": "contract IInstance",
|
536
|
+
"name": "instance",
|
537
|
+
"type": "address"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"internalType": "NftId",
|
541
|
+
"name": "policyNftId",
|
542
|
+
"type": "uint96"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"internalType": "ClaimId",
|
546
|
+
"name": "claimId",
|
547
|
+
"type": "uint16"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"internalType": "Amount",
|
551
|
+
"name": "claimAmount",
|
552
|
+
"type": "uint96"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"internalType": "bytes",
|
556
|
+
"name": "claimData",
|
557
|
+
"type": "bytes"
|
558
|
+
}
|
559
|
+
],
|
560
|
+
"name": "submit",
|
561
|
+
"outputs": [],
|
562
|
+
"stateMutability": "nonpayable",
|
563
|
+
"type": "function"
|
564
|
+
},
|
438
565
|
{
|
439
566
|
"inputs": [
|
440
567
|
{
|