@etherisc/gif-next 0.0.2-f034782-101 → 0.0.2-f080b71-868
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 +10 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +10 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +100 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +100 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +110 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +100 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +20 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +10 -0
- 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 +214 -1988
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +101 -14
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +379 -2729
- 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 +45 -25
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +157 -126
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +30 -58
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2677 -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 +108 -21
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/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 +119 -227
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +11 -35
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +330 -147
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +70 -14
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +127 -32
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +11 -7
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +193 -386
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +38 -74
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +68 -149
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +163 -113
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +80 -14
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +89 -231
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +132 -24
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +430 -14
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +518 -0
- 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 +210 -65
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +27 -19
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +493 -48
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +18 -14
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +139 -44
- 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/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 +0 -24
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +17 -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/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 +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 +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/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 +161 -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/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 +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/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +4 -2
- package/contracts/components/IComponent.sol +3 -1
- package/contracts/components/Pool.sol +8 -4
- package/contracts/components/Product.sol +8 -5
- package/contracts/instance/IInstance.sol +16 -54
- package/contracts/instance/IInstanceService.sol +14 -2
- package/contracts/instance/Instance.sol +88 -188
- package/contracts/instance/InstanceAccessManager.sol +41 -23
- package/contracts/instance/InstanceAuthorizationsLib.sol +299 -0
- package/contracts/instance/InstanceReader.sol +15 -6
- package/contracts/instance/InstanceService.sol +59 -234
- package/contracts/instance/InstanceStore.sol +219 -0
- package/contracts/instance/base/ComponentService.sol +51 -38
- package/contracts/instance/base/KeyValueStore.sol +8 -3
- package/contracts/instance/module/IAccess.sol +2 -2
- package/contracts/instance/module/IBundle.sol +6 -4
- package/contracts/instance/module/IComponents.sol +6 -0
- package/contracts/instance/service/ApplicationService.sol +35 -202
- package/contracts/instance/service/BundleService.sol +165 -70
- package/contracts/instance/service/ClaimService.sol +2 -8
- package/contracts/instance/service/DistributionService.sol +30 -151
- package/contracts/instance/service/IApplicationService.sol +0 -18
- package/contracts/instance/service/IBundleService.sol +54 -22
- package/contracts/instance/service/IDistributionService.sol +1 -14
- package/contracts/instance/service/IPolicyService.sol +2 -0
- package/contracts/instance/service/IPoolService.sol +65 -1
- package/contracts/instance/service/IPricingService.sol +36 -0
- package/contracts/instance/service/PolicyService.sol +88 -115
- package/contracts/instance/service/PoolService.sol +136 -53
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +25 -56
- package/contracts/registry/IRegistryService.sol +4 -3
- package/contracts/registry/RegistryService.sol +25 -22
- package/contracts/registry/ReleaseManager.sol +20 -18
- package/contracts/shared/IService.sol +4 -6
- package/contracts/shared/Service.sol +21 -7
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +60 -0
- package/contracts/types/Fee.sol +12 -5
- package/contracts/types/ObjectType.sol +4 -0
- package/package.json +1 -1
@@ -3,6 +3,33 @@
|
|
3
3
|
"contractName": "IClaimService",
|
4
4
|
"sourceName": "contracts/instance/service/IClaimService.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
|
+
},
|
6
33
|
{
|
7
34
|
"inputs": [
|
8
35
|
{
|
@@ -11,7 +38,7 @@
|
|
11
38
|
"type": "address"
|
12
39
|
}
|
13
40
|
],
|
14
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
15
42
|
"type": "error"
|
16
43
|
},
|
17
44
|
{
|
@@ -63,6 +90,32 @@
|
|
63
90
|
"name": "ErrorNotRegistry",
|
64
91
|
"type": "error"
|
65
92
|
},
|
93
|
+
{
|
94
|
+
"anonymous": false,
|
95
|
+
"inputs": [
|
96
|
+
{
|
97
|
+
"indexed": false,
|
98
|
+
"internalType": "address",
|
99
|
+
"name": "authority",
|
100
|
+
"type": "address"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"name": "AuthorityUpdated",
|
104
|
+
"type": "event"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"inputs": [],
|
108
|
+
"name": "authority",
|
109
|
+
"outputs": [
|
110
|
+
{
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "",
|
113
|
+
"type": "address"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"stateMutability": "view",
|
117
|
+
"type": "function"
|
118
|
+
},
|
66
119
|
{
|
67
120
|
"inputs": [
|
68
121
|
{
|
@@ -248,19 +301,6 @@
|
|
248
301
|
"stateMutability": "view",
|
249
302
|
"type": "function"
|
250
303
|
},
|
251
|
-
{
|
252
|
-
"inputs": [],
|
253
|
-
"name": "getMajorVersion",
|
254
|
-
"outputs": [
|
255
|
-
{
|
256
|
-
"internalType": "VersionPart",
|
257
|
-
"name": "majorVersion",
|
258
|
-
"type": "uint8"
|
259
|
-
}
|
260
|
-
],
|
261
|
-
"stateMutability": "view",
|
262
|
-
"type": "function"
|
263
|
-
},
|
264
304
|
{
|
265
305
|
"inputs": [],
|
266
306
|
"name": "getNftId",
|
@@ -344,6 +384,19 @@
|
|
344
384
|
"stateMutability": "nonpayable",
|
345
385
|
"type": "function"
|
346
386
|
},
|
387
|
+
{
|
388
|
+
"inputs": [],
|
389
|
+
"name": "isConsumingScheduledOp",
|
390
|
+
"outputs": [
|
391
|
+
{
|
392
|
+
"internalType": "bytes4",
|
393
|
+
"name": "",
|
394
|
+
"type": "bytes4"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"stateMutability": "view",
|
398
|
+
"type": "function"
|
399
|
+
},
|
347
400
|
{
|
348
401
|
"inputs": [],
|
349
402
|
"name": "linkToRegisteredNftId",
|
@@ -369,6 +422,19 @@
|
|
369
422
|
"stateMutability": "nonpayable",
|
370
423
|
"type": "function"
|
371
424
|
},
|
425
|
+
{
|
426
|
+
"inputs": [
|
427
|
+
{
|
428
|
+
"internalType": "address",
|
429
|
+
"name": "",
|
430
|
+
"type": "address"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"name": "setAuthority",
|
434
|
+
"outputs": [],
|
435
|
+
"stateMutability": "nonpayable",
|
436
|
+
"type": "function"
|
437
|
+
},
|
372
438
|
{
|
373
439
|
"inputs": [
|
374
440
|
{
|
package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json
CHANGED
@@ -3,6 +3,55 @@
|
|
3
3
|
"contractName": "IDistributionService",
|
4
4
|
"sourceName": "contracts/instance/service/IDistributionService.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
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "caller",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorDistributionServiceCallerNotRegistered",
|
53
|
+
"type": "error"
|
54
|
+
},
|
6
55
|
{
|
7
56
|
"inputs": [
|
8
57
|
{
|
@@ -89,42 +138,6 @@
|
|
89
138
|
"name": "ErrorIDistributionServiceExpiryTooLong",
|
90
139
|
"type": "error"
|
91
140
|
},
|
92
|
-
{
|
93
|
-
"inputs": [
|
94
|
-
{
|
95
|
-
"internalType": "uint256",
|
96
|
-
"name": "distributionFeeFixAmount",
|
97
|
-
"type": "uint256"
|
98
|
-
},
|
99
|
-
{
|
100
|
-
"internalType": "uint256",
|
101
|
-
"name": "distributionFeeVarAmount",
|
102
|
-
"type": "uint256"
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"internalType": "uint256",
|
106
|
-
"name": "distributionOwnerFeeFixAmount",
|
107
|
-
"type": "uint256"
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"internalType": "uint256",
|
111
|
-
"name": "distributionOwnerFeeVarAmount",
|
112
|
-
"type": "uint256"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"internalType": "uint256",
|
116
|
-
"name": "commissionAmount",
|
117
|
-
"type": "uint256"
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"internalType": "uint256",
|
121
|
-
"name": "discountAmount",
|
122
|
-
"type": "uint256"
|
123
|
-
}
|
124
|
-
],
|
125
|
-
"name": "ErrorIDistributionServiceFeeCalculationMismatch",
|
126
|
-
"type": "error"
|
127
|
-
},
|
128
141
|
{
|
129
142
|
"inputs": [
|
130
143
|
{
|
@@ -238,17 +251,6 @@
|
|
238
251
|
"name": "ErrorIDistributionServiceReferralInvalid",
|
239
252
|
"type": "error"
|
240
253
|
},
|
241
|
-
{
|
242
|
-
"inputs": [
|
243
|
-
{
|
244
|
-
"internalType": "address",
|
245
|
-
"name": "caller",
|
246
|
-
"type": "address"
|
247
|
-
}
|
248
|
-
],
|
249
|
-
"name": "ErrorIServiceCallerUnknown",
|
250
|
-
"type": "error"
|
251
|
-
},
|
252
254
|
{
|
253
255
|
"inputs": [
|
254
256
|
{
|
@@ -299,183 +301,26 @@
|
|
299
301
|
"type": "error"
|
300
302
|
},
|
301
303
|
{
|
304
|
+
"anonymous": false,
|
302
305
|
"inputs": [
|
303
306
|
{
|
304
|
-
"
|
305
|
-
"
|
306
|
-
"
|
307
|
-
|
308
|
-
{
|
309
|
-
"internalType": "ReferralId",
|
310
|
-
"name": "referralId",
|
311
|
-
"type": "bytes8"
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"components": [
|
315
|
-
{
|
316
|
-
"internalType": "uint256",
|
317
|
-
"name": "netPremiumAmount",
|
318
|
-
"type": "uint256"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"internalType": "uint256",
|
322
|
-
"name": "fullPremiumAmount",
|
323
|
-
"type": "uint256"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"internalType": "uint256",
|
327
|
-
"name": "premiumAmount",
|
328
|
-
"type": "uint256"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"internalType": "uint256",
|
332
|
-
"name": "productFeeFixAmount",
|
333
|
-
"type": "uint256"
|
334
|
-
},
|
335
|
-
{
|
336
|
-
"internalType": "uint256",
|
337
|
-
"name": "poolFeeFixAmount",
|
338
|
-
"type": "uint256"
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"internalType": "uint256",
|
342
|
-
"name": "bundleFeeFixAmount",
|
343
|
-
"type": "uint256"
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"internalType": "uint256",
|
347
|
-
"name": "distributionFeeFixAmount",
|
348
|
-
"type": "uint256"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"internalType": "uint256",
|
352
|
-
"name": "productFeeVarAmount",
|
353
|
-
"type": "uint256"
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"internalType": "uint256",
|
357
|
-
"name": "poolFeeVarAmount",
|
358
|
-
"type": "uint256"
|
359
|
-
},
|
360
|
-
{
|
361
|
-
"internalType": "uint256",
|
362
|
-
"name": "bundleFeeVarAmount",
|
363
|
-
"type": "uint256"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "uint256",
|
367
|
-
"name": "distributionFeeVarAmount",
|
368
|
-
"type": "uint256"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "uint256",
|
372
|
-
"name": "distributionOwnerFeeFixAmount",
|
373
|
-
"type": "uint256"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"internalType": "uint256",
|
377
|
-
"name": "distributionOwnerFeeVarAmount",
|
378
|
-
"type": "uint256"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"internalType": "uint256",
|
382
|
-
"name": "commissionAmount",
|
383
|
-
"type": "uint256"
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"internalType": "uint256",
|
387
|
-
"name": "discountAmount",
|
388
|
-
"type": "uint256"
|
389
|
-
}
|
390
|
-
],
|
391
|
-
"internalType": "struct IPolicy.Premium",
|
392
|
-
"name": "premium",
|
393
|
-
"type": "tuple"
|
307
|
+
"indexed": false,
|
308
|
+
"internalType": "address",
|
309
|
+
"name": "authority",
|
310
|
+
"type": "address"
|
394
311
|
}
|
395
312
|
],
|
396
|
-
"name": "
|
313
|
+
"name": "AuthorityUpdated",
|
314
|
+
"type": "event"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"inputs": [],
|
318
|
+
"name": "authority",
|
397
319
|
"outputs": [
|
398
320
|
{
|
399
|
-
"
|
400
|
-
|
401
|
-
|
402
|
-
"name": "netPremiumAmount",
|
403
|
-
"type": "uint256"
|
404
|
-
},
|
405
|
-
{
|
406
|
-
"internalType": "uint256",
|
407
|
-
"name": "fullPremiumAmount",
|
408
|
-
"type": "uint256"
|
409
|
-
},
|
410
|
-
{
|
411
|
-
"internalType": "uint256",
|
412
|
-
"name": "premiumAmount",
|
413
|
-
"type": "uint256"
|
414
|
-
},
|
415
|
-
{
|
416
|
-
"internalType": "uint256",
|
417
|
-
"name": "productFeeFixAmount",
|
418
|
-
"type": "uint256"
|
419
|
-
},
|
420
|
-
{
|
421
|
-
"internalType": "uint256",
|
422
|
-
"name": "poolFeeFixAmount",
|
423
|
-
"type": "uint256"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"internalType": "uint256",
|
427
|
-
"name": "bundleFeeFixAmount",
|
428
|
-
"type": "uint256"
|
429
|
-
},
|
430
|
-
{
|
431
|
-
"internalType": "uint256",
|
432
|
-
"name": "distributionFeeFixAmount",
|
433
|
-
"type": "uint256"
|
434
|
-
},
|
435
|
-
{
|
436
|
-
"internalType": "uint256",
|
437
|
-
"name": "productFeeVarAmount",
|
438
|
-
"type": "uint256"
|
439
|
-
},
|
440
|
-
{
|
441
|
-
"internalType": "uint256",
|
442
|
-
"name": "poolFeeVarAmount",
|
443
|
-
"type": "uint256"
|
444
|
-
},
|
445
|
-
{
|
446
|
-
"internalType": "uint256",
|
447
|
-
"name": "bundleFeeVarAmount",
|
448
|
-
"type": "uint256"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "uint256",
|
452
|
-
"name": "distributionFeeVarAmount",
|
453
|
-
"type": "uint256"
|
454
|
-
},
|
455
|
-
{
|
456
|
-
"internalType": "uint256",
|
457
|
-
"name": "distributionOwnerFeeFixAmount",
|
458
|
-
"type": "uint256"
|
459
|
-
},
|
460
|
-
{
|
461
|
-
"internalType": "uint256",
|
462
|
-
"name": "distributionOwnerFeeVarAmount",
|
463
|
-
"type": "uint256"
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"internalType": "uint256",
|
467
|
-
"name": "commissionAmount",
|
468
|
-
"type": "uint256"
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"internalType": "uint256",
|
472
|
-
"name": "discountAmount",
|
473
|
-
"type": "uint256"
|
474
|
-
}
|
475
|
-
],
|
476
|
-
"internalType": "struct IPolicy.Premium",
|
477
|
-
"name": "finalPremium",
|
478
|
-
"type": "tuple"
|
321
|
+
"internalType": "address",
|
322
|
+
"name": "",
|
323
|
+
"type": "address"
|
479
324
|
}
|
480
325
|
],
|
481
326
|
"stateMutability": "view",
|
@@ -676,19 +521,6 @@
|
|
676
521
|
"stateMutability": "view",
|
677
522
|
"type": "function"
|
678
523
|
},
|
679
|
-
{
|
680
|
-
"inputs": [],
|
681
|
-
"name": "getMajorVersion",
|
682
|
-
"outputs": [
|
683
|
-
{
|
684
|
-
"internalType": "VersionPart",
|
685
|
-
"name": "majorVersion",
|
686
|
-
"type": "uint8"
|
687
|
-
}
|
688
|
-
],
|
689
|
-
"stateMutability": "view",
|
690
|
-
"type": "function"
|
691
|
-
},
|
692
524
|
{
|
693
525
|
"inputs": [],
|
694
526
|
"name": "getNftId",
|
@@ -772,6 +604,19 @@
|
|
772
604
|
"stateMutability": "nonpayable",
|
773
605
|
"type": "function"
|
774
606
|
},
|
607
|
+
{
|
608
|
+
"inputs": [],
|
609
|
+
"name": "isConsumingScheduledOp",
|
610
|
+
"outputs": [
|
611
|
+
{
|
612
|
+
"internalType": "bytes4",
|
613
|
+
"name": "",
|
614
|
+
"type": "bytes4"
|
615
|
+
}
|
616
|
+
],
|
617
|
+
"stateMutability": "view",
|
618
|
+
"type": "function"
|
619
|
+
},
|
775
620
|
{
|
776
621
|
"inputs": [],
|
777
622
|
"name": "linkToRegisteredNftId",
|
@@ -908,6 +753,19 @@
|
|
908
753
|
"stateMutability": "view",
|
909
754
|
"type": "function"
|
910
755
|
},
|
756
|
+
{
|
757
|
+
"inputs": [
|
758
|
+
{
|
759
|
+
"internalType": "address",
|
760
|
+
"name": "",
|
761
|
+
"type": "address"
|
762
|
+
}
|
763
|
+
],
|
764
|
+
"name": "setAuthority",
|
765
|
+
"outputs": [],
|
766
|
+
"stateMutability": "nonpayable",
|
767
|
+
"type": "function"
|
768
|
+
},
|
911
769
|
{
|
912
770
|
"inputs": [
|
913
771
|
{
|