@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
@@ -41,6 +41,72 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "instanceBundleManager",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorInstanceBundleManagerAlreadySet",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "instanceAuthority",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "ErrorInstanceBundleManagerAuthorityMismatch",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "instance",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorInstanceBundleManagerInstanceMismatch",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
79
|
+
{
|
80
|
+
"internalType": "address",
|
81
|
+
"name": "instanceAccessManager",
|
82
|
+
"type": "address"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"name": "ErrorInstanceInstanceAccessManagerAlreadySet",
|
86
|
+
"type": "error"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"inputs": [
|
90
|
+
{
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "instanceAuthority",
|
93
|
+
"type": "address"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [
|
101
|
+
{
|
102
|
+
"internalType": "address",
|
103
|
+
"name": "instanceAuthority",
|
104
|
+
"type": "address"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"name": "ErrorInstanceInstanceReaderInstanceMismatch",
|
108
|
+
"type": "error"
|
109
|
+
},
|
44
110
|
{
|
45
111
|
"inputs": [
|
46
112
|
{
|
@@ -352,9 +418,9 @@
|
|
352
418
|
"type": "uint16"
|
353
419
|
},
|
354
420
|
{
|
355
|
-
"internalType": "
|
421
|
+
"internalType": "Amount",
|
356
422
|
"name": "payoutAmount",
|
357
|
-
"type": "
|
423
|
+
"type": "uint96"
|
358
424
|
},
|
359
425
|
{
|
360
426
|
"internalType": "Timestamp",
|
@@ -459,6 +525,61 @@
|
|
459
525
|
"stateMutability": "nonpayable",
|
460
526
|
"type": "function"
|
461
527
|
},
|
528
|
+
{
|
529
|
+
"inputs": [
|
530
|
+
{
|
531
|
+
"internalType": "NftId",
|
532
|
+
"name": "policyNftId",
|
533
|
+
"type": "uint96"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"internalType": "ClaimId",
|
537
|
+
"name": "claimId",
|
538
|
+
"type": "uint16"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"components": [
|
542
|
+
{
|
543
|
+
"internalType": "Amount",
|
544
|
+
"name": "claimAmount",
|
545
|
+
"type": "uint96"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"internalType": "Amount",
|
549
|
+
"name": "paidAmount",
|
550
|
+
"type": "uint96"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"internalType": "uint8",
|
554
|
+
"name": "payoutsCount",
|
555
|
+
"type": "uint8"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"internalType": "uint8",
|
559
|
+
"name": "openPayoutsCount",
|
560
|
+
"type": "uint8"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"internalType": "bytes",
|
564
|
+
"name": "data",
|
565
|
+
"type": "bytes"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"internalType": "Timestamp",
|
569
|
+
"name": "closedAt",
|
570
|
+
"type": "uint40"
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"internalType": "struct IPolicy.ClaimInfo",
|
574
|
+
"name": "claim",
|
575
|
+
"type": "tuple"
|
576
|
+
}
|
577
|
+
],
|
578
|
+
"name": "createClaim",
|
579
|
+
"outputs": [],
|
580
|
+
"stateMutability": "nonpayable",
|
581
|
+
"type": "function"
|
582
|
+
},
|
462
583
|
{
|
463
584
|
"inputs": [
|
464
585
|
{
|
@@ -581,9 +702,9 @@
|
|
581
702
|
{
|
582
703
|
"inputs": [
|
583
704
|
{
|
584
|
-
"internalType": "
|
585
|
-
"name": "
|
586
|
-
"type": "
|
705
|
+
"internalType": "DistributorType",
|
706
|
+
"name": "distributorType",
|
707
|
+
"type": "bytes8"
|
587
708
|
},
|
588
709
|
{
|
589
710
|
"components": [
|
@@ -643,6 +764,51 @@
|
|
643
764
|
"stateMutability": "nonpayable",
|
644
765
|
"type": "function"
|
645
766
|
},
|
767
|
+
{
|
768
|
+
"inputs": [
|
769
|
+
{
|
770
|
+
"internalType": "NftId",
|
771
|
+
"name": "policyNftId",
|
772
|
+
"type": "uint96"
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"internalType": "PayoutId",
|
776
|
+
"name": "payoutId",
|
777
|
+
"type": "uint24"
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"components": [
|
781
|
+
{
|
782
|
+
"internalType": "ClaimId",
|
783
|
+
"name": "claimId",
|
784
|
+
"type": "uint16"
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"internalType": "Amount",
|
788
|
+
"name": "amount",
|
789
|
+
"type": "uint96"
|
790
|
+
},
|
791
|
+
{
|
792
|
+
"internalType": "bytes",
|
793
|
+
"name": "data",
|
794
|
+
"type": "bytes"
|
795
|
+
},
|
796
|
+
{
|
797
|
+
"internalType": "Timestamp",
|
798
|
+
"name": "paidAt",
|
799
|
+
"type": "uint40"
|
800
|
+
}
|
801
|
+
],
|
802
|
+
"internalType": "struct IPolicy.PayoutInfo",
|
803
|
+
"name": "claim",
|
804
|
+
"type": "tuple"
|
805
|
+
}
|
806
|
+
],
|
807
|
+
"name": "createPayout",
|
808
|
+
"outputs": [],
|
809
|
+
"stateMutability": "nonpayable",
|
810
|
+
"type": "function"
|
811
|
+
},
|
646
812
|
{
|
647
813
|
"inputs": [
|
648
814
|
{
|
@@ -785,9 +951,9 @@
|
|
785
951
|
{
|
786
952
|
"inputs": [
|
787
953
|
{
|
788
|
-
"internalType": "
|
789
|
-
"name": "
|
790
|
-
"type": "
|
954
|
+
"internalType": "ReferralId",
|
955
|
+
"name": "referralId",
|
956
|
+
"type": "bytes8"
|
791
957
|
},
|
792
958
|
{
|
793
959
|
"components": [
|
@@ -957,19 +1123,6 @@
|
|
957
1123
|
"stateMutability": "view",
|
958
1124
|
"type": "function"
|
959
1125
|
},
|
960
|
-
{
|
961
|
-
"inputs": [],
|
962
|
-
"name": "getBundleService",
|
963
|
-
"outputs": [
|
964
|
-
{
|
965
|
-
"internalType": "contract IBundleService",
|
966
|
-
"name": "",
|
967
|
-
"type": "address"
|
968
|
-
}
|
969
|
-
],
|
970
|
-
"stateMutability": "view",
|
971
|
-
"type": "function"
|
972
|
-
},
|
973
1126
|
{
|
974
1127
|
"inputs": [
|
975
1128
|
{
|
@@ -989,19 +1142,6 @@
|
|
989
1142
|
"stateMutability": "view",
|
990
1143
|
"type": "function"
|
991
1144
|
},
|
992
|
-
{
|
993
|
-
"inputs": [],
|
994
|
-
"name": "getDistributionService",
|
995
|
-
"outputs": [
|
996
|
-
{
|
997
|
-
"internalType": "contract IDistributionService",
|
998
|
-
"name": "",
|
999
|
-
"type": "address"
|
1000
|
-
}
|
1001
|
-
],
|
1002
|
-
"stateMutability": "view",
|
1003
|
-
"type": "function"
|
1004
|
-
},
|
1005
1145
|
{
|
1006
1146
|
"inputs": [],
|
1007
1147
|
"name": "getInitialInfo",
|
@@ -1182,45 +1322,6 @@
|
|
1182
1322
|
"stateMutability": "view",
|
1183
1323
|
"type": "function"
|
1184
1324
|
},
|
1185
|
-
{
|
1186
|
-
"inputs": [],
|
1187
|
-
"name": "getPolicyService",
|
1188
|
-
"outputs": [
|
1189
|
-
{
|
1190
|
-
"internalType": "contract IPolicyService",
|
1191
|
-
"name": "",
|
1192
|
-
"type": "address"
|
1193
|
-
}
|
1194
|
-
],
|
1195
|
-
"stateMutability": "view",
|
1196
|
-
"type": "function"
|
1197
|
-
},
|
1198
|
-
{
|
1199
|
-
"inputs": [],
|
1200
|
-
"name": "getPoolService",
|
1201
|
-
"outputs": [
|
1202
|
-
{
|
1203
|
-
"internalType": "contract IPoolService",
|
1204
|
-
"name": "",
|
1205
|
-
"type": "address"
|
1206
|
-
}
|
1207
|
-
],
|
1208
|
-
"stateMutability": "view",
|
1209
|
-
"type": "function"
|
1210
|
-
},
|
1211
|
-
{
|
1212
|
-
"inputs": [],
|
1213
|
-
"name": "getProductService",
|
1214
|
-
"outputs": [
|
1215
|
-
{
|
1216
|
-
"internalType": "contract IProductService",
|
1217
|
-
"name": "",
|
1218
|
-
"type": "address"
|
1219
|
-
}
|
1220
|
-
],
|
1221
|
-
"stateMutability": "view",
|
1222
|
-
"type": "function"
|
1223
|
-
},
|
1224
1325
|
{
|
1225
1326
|
"inputs": [],
|
1226
1327
|
"name": "getRegistry",
|
@@ -1388,19 +1489,6 @@
|
|
1388
1489
|
"stateMutability": "nonpayable",
|
1389
1490
|
"type": "function"
|
1390
1491
|
},
|
1391
|
-
{
|
1392
|
-
"inputs": [
|
1393
|
-
{
|
1394
|
-
"internalType": "contract InstanceAccessManager",
|
1395
|
-
"name": "accessManager",
|
1396
|
-
"type": "address"
|
1397
|
-
}
|
1398
|
-
],
|
1399
|
-
"name": "setInstanceAccessManager",
|
1400
|
-
"outputs": [],
|
1401
|
-
"stateMutability": "nonpayable",
|
1402
|
-
"type": "function"
|
1403
|
-
},
|
1404
1492
|
{
|
1405
1493
|
"inputs": [
|
1406
1494
|
{
|
@@ -1514,9 +1602,9 @@
|
|
1514
1602
|
"type": "uint16"
|
1515
1603
|
},
|
1516
1604
|
{
|
1517
|
-
"internalType": "
|
1605
|
+
"internalType": "Amount",
|
1518
1606
|
"name": "payoutAmount",
|
1519
|
-
"type": "
|
1607
|
+
"type": "uint96"
|
1520
1608
|
},
|
1521
1609
|
{
|
1522
1610
|
"internalType": "Timestamp",
|
@@ -1667,6 +1755,89 @@
|
|
1667
1755
|
"stateMutability": "nonpayable",
|
1668
1756
|
"type": "function"
|
1669
1757
|
},
|
1758
|
+
{
|
1759
|
+
"inputs": [
|
1760
|
+
{
|
1761
|
+
"internalType": "NftId",
|
1762
|
+
"name": "policyNftId",
|
1763
|
+
"type": "uint96"
|
1764
|
+
},
|
1765
|
+
{
|
1766
|
+
"internalType": "ClaimId",
|
1767
|
+
"name": "claimId",
|
1768
|
+
"type": "uint16"
|
1769
|
+
},
|
1770
|
+
{
|
1771
|
+
"components": [
|
1772
|
+
{
|
1773
|
+
"internalType": "Amount",
|
1774
|
+
"name": "claimAmount",
|
1775
|
+
"type": "uint96"
|
1776
|
+
},
|
1777
|
+
{
|
1778
|
+
"internalType": "Amount",
|
1779
|
+
"name": "paidAmount",
|
1780
|
+
"type": "uint96"
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"internalType": "uint8",
|
1784
|
+
"name": "payoutsCount",
|
1785
|
+
"type": "uint8"
|
1786
|
+
},
|
1787
|
+
{
|
1788
|
+
"internalType": "uint8",
|
1789
|
+
"name": "openPayoutsCount",
|
1790
|
+
"type": "uint8"
|
1791
|
+
},
|
1792
|
+
{
|
1793
|
+
"internalType": "bytes",
|
1794
|
+
"name": "data",
|
1795
|
+
"type": "bytes"
|
1796
|
+
},
|
1797
|
+
{
|
1798
|
+
"internalType": "Timestamp",
|
1799
|
+
"name": "closedAt",
|
1800
|
+
"type": "uint40"
|
1801
|
+
}
|
1802
|
+
],
|
1803
|
+
"internalType": "struct IPolicy.ClaimInfo",
|
1804
|
+
"name": "claim",
|
1805
|
+
"type": "tuple"
|
1806
|
+
},
|
1807
|
+
{
|
1808
|
+
"internalType": "StateId",
|
1809
|
+
"name": "newState",
|
1810
|
+
"type": "uint8"
|
1811
|
+
}
|
1812
|
+
],
|
1813
|
+
"name": "updateClaim",
|
1814
|
+
"outputs": [],
|
1815
|
+
"stateMutability": "nonpayable",
|
1816
|
+
"type": "function"
|
1817
|
+
},
|
1818
|
+
{
|
1819
|
+
"inputs": [
|
1820
|
+
{
|
1821
|
+
"internalType": "NftId",
|
1822
|
+
"name": "policyNftId",
|
1823
|
+
"type": "uint96"
|
1824
|
+
},
|
1825
|
+
{
|
1826
|
+
"internalType": "ClaimId",
|
1827
|
+
"name": "claimId",
|
1828
|
+
"type": "uint16"
|
1829
|
+
},
|
1830
|
+
{
|
1831
|
+
"internalType": "StateId",
|
1832
|
+
"name": "newState",
|
1833
|
+
"type": "uint8"
|
1834
|
+
}
|
1835
|
+
],
|
1836
|
+
"name": "updateClaimState",
|
1837
|
+
"outputs": [],
|
1838
|
+
"stateMutability": "nonpayable",
|
1839
|
+
"type": "function"
|
1840
|
+
},
|
1670
1841
|
{
|
1671
1842
|
"inputs": [
|
1672
1843
|
{
|
@@ -1835,9 +2006,9 @@
|
|
1835
2006
|
{
|
1836
2007
|
"inputs": [
|
1837
2008
|
{
|
1838
|
-
"internalType": "
|
1839
|
-
"name": "
|
1840
|
-
"type": "
|
2009
|
+
"internalType": "DistributorType",
|
2010
|
+
"name": "distributorType",
|
2011
|
+
"type": "bytes8"
|
1841
2012
|
},
|
1842
2013
|
{
|
1843
2014
|
"components": [
|
@@ -1905,9 +2076,9 @@
|
|
1905
2076
|
{
|
1906
2077
|
"inputs": [
|
1907
2078
|
{
|
1908
|
-
"internalType": "
|
1909
|
-
"name": "
|
1910
|
-
"type": "
|
2079
|
+
"internalType": "DistributorType",
|
2080
|
+
"name": "distributorType",
|
2081
|
+
"type": "bytes8"
|
1911
2082
|
},
|
1912
2083
|
{
|
1913
2084
|
"internalType": "StateId",
|
@@ -1920,6 +2091,79 @@
|
|
1920
2091
|
"stateMutability": "nonpayable",
|
1921
2092
|
"type": "function"
|
1922
2093
|
},
|
2094
|
+
{
|
2095
|
+
"inputs": [
|
2096
|
+
{
|
2097
|
+
"internalType": "NftId",
|
2098
|
+
"name": "policyNftId",
|
2099
|
+
"type": "uint96"
|
2100
|
+
},
|
2101
|
+
{
|
2102
|
+
"internalType": "PayoutId",
|
2103
|
+
"name": "payoutId",
|
2104
|
+
"type": "uint24"
|
2105
|
+
},
|
2106
|
+
{
|
2107
|
+
"components": [
|
2108
|
+
{
|
2109
|
+
"internalType": "ClaimId",
|
2110
|
+
"name": "claimId",
|
2111
|
+
"type": "uint16"
|
2112
|
+
},
|
2113
|
+
{
|
2114
|
+
"internalType": "Amount",
|
2115
|
+
"name": "amount",
|
2116
|
+
"type": "uint96"
|
2117
|
+
},
|
2118
|
+
{
|
2119
|
+
"internalType": "bytes",
|
2120
|
+
"name": "data",
|
2121
|
+
"type": "bytes"
|
2122
|
+
},
|
2123
|
+
{
|
2124
|
+
"internalType": "Timestamp",
|
2125
|
+
"name": "paidAt",
|
2126
|
+
"type": "uint40"
|
2127
|
+
}
|
2128
|
+
],
|
2129
|
+
"internalType": "struct IPolicy.PayoutInfo",
|
2130
|
+
"name": "claim",
|
2131
|
+
"type": "tuple"
|
2132
|
+
},
|
2133
|
+
{
|
2134
|
+
"internalType": "StateId",
|
2135
|
+
"name": "newState",
|
2136
|
+
"type": "uint8"
|
2137
|
+
}
|
2138
|
+
],
|
2139
|
+
"name": "updatePayout",
|
2140
|
+
"outputs": [],
|
2141
|
+
"stateMutability": "nonpayable",
|
2142
|
+
"type": "function"
|
2143
|
+
},
|
2144
|
+
{
|
2145
|
+
"inputs": [
|
2146
|
+
{
|
2147
|
+
"internalType": "NftId",
|
2148
|
+
"name": "policyNftId",
|
2149
|
+
"type": "uint96"
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
"internalType": "PayoutId",
|
2153
|
+
"name": "payoutId",
|
2154
|
+
"type": "uint24"
|
2155
|
+
},
|
2156
|
+
{
|
2157
|
+
"internalType": "StateId",
|
2158
|
+
"name": "newState",
|
2159
|
+
"type": "uint8"
|
2160
|
+
}
|
2161
|
+
],
|
2162
|
+
"name": "updatePayoutState",
|
2163
|
+
"outputs": [],
|
2164
|
+
"stateMutability": "nonpayable",
|
2165
|
+
"type": "function"
|
2166
|
+
},
|
1923
2167
|
{
|
1924
2168
|
"inputs": [
|
1925
2169
|
{
|
@@ -1990,9 +2234,9 @@
|
|
1990
2234
|
"type": "uint16"
|
1991
2235
|
},
|
1992
2236
|
{
|
1993
|
-
"internalType": "
|
2237
|
+
"internalType": "Amount",
|
1994
2238
|
"name": "payoutAmount",
|
1995
|
-
"type": "
|
2239
|
+
"type": "uint96"
|
1996
2240
|
},
|
1997
2241
|
{
|
1998
2242
|
"internalType": "Timestamp",
|
@@ -2231,9 +2475,9 @@
|
|
2231
2475
|
{
|
2232
2476
|
"inputs": [
|
2233
2477
|
{
|
2234
|
-
"internalType": "
|
2235
|
-
"name": "
|
2236
|
-
"type": "
|
2478
|
+
"internalType": "ReferralId",
|
2479
|
+
"name": "referralId",
|
2480
|
+
"type": "bytes8"
|
2237
2481
|
},
|
2238
2482
|
{
|
2239
2483
|
"components": [
|
@@ -2291,9 +2535,9 @@
|
|
2291
2535
|
{
|
2292
2536
|
"inputs": [
|
2293
2537
|
{
|
2294
|
-
"internalType": "
|
2295
|
-
"name": "
|
2296
|
-
"type": "
|
2538
|
+
"internalType": "ReferralId",
|
2539
|
+
"name": "referralId",
|
2540
|
+
"type": "bytes8"
|
2297
2541
|
},
|
2298
2542
|
{
|
2299
2543
|
"internalType": "StateId",
|