@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f2df3e2-873
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 +78 -89
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +139 -140
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +156 -64
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +181 -112
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +353 -176
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +162 -138
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +299 -245
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +83 -162
- 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 +527 -400
- 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 +500 -612
- 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 +253 -236
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +305 -211
- 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 +86 -31
- 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 +291 -100
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +46 -22
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +422 -252
- 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 +373 -87
- 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 +579 -123
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +71 -47
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +200 -46
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +241 -188
- 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 +444 -25
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +430 -76
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +511 -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 +544 -153
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +51 -27
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +562 -52
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +24 -12
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +115 -52
- 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 +18 -37
- 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 +3 -3
- 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 +87 -16
- 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 +3 -3
- 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 +102 -27
- 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 +185 -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 +23 -4
- 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 +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- 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 +38 -7
- 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 +99 -87
- package/contracts/components/Distribution.sol +18 -21
- package/contracts/components/IComponent.sol +40 -18
- package/contracts/components/IDistributionComponent.sol +1 -22
- package/contracts/components/IPoolComponent.sol +73 -47
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +178 -130
- package/contracts/components/Product.sol +157 -71
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +10 -9
- 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 -191
- 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 +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -1
- package/contracts/instance/module/IPolicy.sol +37 -7
- package/contracts/instance/module/ISetup.sol +7 -22
- package/contracts/instance/service/ApplicationService.sol +137 -50
- package/contracts/instance/service/BundleService.sol +221 -83
- package/contracts/instance/service/ClaimService.sol +114 -26
- package/contracts/instance/service/DistributionService.sol +174 -118
- package/contracts/instance/service/IApplicationService.sol +9 -13
- package/contracts/instance/service/IBundleService.sol +68 -26
- package/contracts/instance/service/IClaimService.sol +46 -15
- package/contracts/instance/service/IDistributionService.sol +20 -4
- package/contracts/instance/service/IPolicyService.sol +69 -21
- package/contracts/instance/service/IPoolService.sol +82 -3
- package/contracts/instance/service/PolicyService.sol +297 -232
- package/contracts/instance/service/PoolService.sol +214 -20
- 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 +15 -16
- package/contracts/registry/ReleaseManager.sol +20 -18
- package/contracts/shared/IService.sol +4 -6
- package/contracts/shared/Registerable.sol +2 -2
- 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 +65 -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/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +13 -6
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -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
|
{
|
@@ -327,9 +393,9 @@
|
|
327
393
|
"type": "uint256"
|
328
394
|
},
|
329
395
|
{
|
330
|
-
"internalType": "
|
396
|
+
"internalType": "Seconds",
|
331
397
|
"name": "lifetime",
|
332
|
-
"type": "
|
398
|
+
"type": "uint40"
|
333
399
|
},
|
334
400
|
{
|
335
401
|
"internalType": "bytes",
|
@@ -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",
|
@@ -419,24 +485,24 @@
|
|
419
485
|
"type": "bytes"
|
420
486
|
},
|
421
487
|
{
|
422
|
-
"internalType": "
|
488
|
+
"internalType": "Amount",
|
423
489
|
"name": "capitalAmount",
|
424
|
-
"type": "
|
490
|
+
"type": "uint96"
|
425
491
|
},
|
426
492
|
{
|
427
|
-
"internalType": "
|
493
|
+
"internalType": "Amount",
|
428
494
|
"name": "lockedAmount",
|
429
|
-
"type": "
|
495
|
+
"type": "uint96"
|
430
496
|
},
|
431
497
|
{
|
432
|
-
"internalType": "
|
433
|
-
"name": "
|
434
|
-
"type": "
|
498
|
+
"internalType": "Amount",
|
499
|
+
"name": "feeAmount",
|
500
|
+
"type": "uint96"
|
435
501
|
},
|
436
502
|
{
|
437
|
-
"internalType": "
|
503
|
+
"internalType": "Seconds",
|
438
504
|
"name": "lifetime",
|
439
|
-
"type": "
|
505
|
+
"type": "uint40"
|
440
506
|
},
|
441
507
|
{
|
442
508
|
"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
|
{
|
@@ -478,6 +599,23 @@
|
|
478
599
|
"name": "tokenHandler",
|
479
600
|
"type": "address"
|
480
601
|
},
|
602
|
+
{
|
603
|
+
"components": [
|
604
|
+
{
|
605
|
+
"internalType": "UFixed",
|
606
|
+
"name": "fractionalFee",
|
607
|
+
"type": "uint256"
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"internalType": "uint256",
|
611
|
+
"name": "fixedFee",
|
612
|
+
"type": "uint256"
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"internalType": "struct Fee",
|
616
|
+
"name": "minDistributionOwnerFee",
|
617
|
+
"type": "tuple"
|
618
|
+
},
|
481
619
|
{
|
482
620
|
"components": [
|
483
621
|
{
|
@@ -499,6 +637,11 @@
|
|
499
637
|
"internalType": "address",
|
500
638
|
"name": "wallet",
|
501
639
|
"type": "address"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"internalType": "uint256",
|
643
|
+
"name": "sumDistributionOwnerFees",
|
644
|
+
"type": "uint256"
|
502
645
|
}
|
503
646
|
],
|
504
647
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -534,6 +677,16 @@
|
|
534
677
|
"internalType": "bytes",
|
535
678
|
"name": "data",
|
536
679
|
"type": "bytes"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"internalType": "uint256",
|
683
|
+
"name": "sumCommisions",
|
684
|
+
"type": "uint256"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"internalType": "uint256",
|
688
|
+
"name": "numPoliciesSold",
|
689
|
+
"type": "uint256"
|
537
690
|
}
|
538
691
|
],
|
539
692
|
"internalType": "struct IDistribution.DistributorInfo",
|
@@ -549,9 +702,9 @@
|
|
549
702
|
{
|
550
703
|
"inputs": [
|
551
704
|
{
|
552
|
-
"internalType": "
|
553
|
-
"name": "
|
554
|
-
"type": "
|
705
|
+
"internalType": "DistributorType",
|
706
|
+
"name": "distributorType",
|
707
|
+
"type": "bytes8"
|
555
708
|
},
|
556
709
|
{
|
557
710
|
"components": [
|
@@ -615,105 +768,94 @@
|
|
615
768
|
"inputs": [
|
616
769
|
{
|
617
770
|
"internalType": "NftId",
|
618
|
-
"name": "
|
771
|
+
"name": "policyNftId",
|
619
772
|
"type": "uint96"
|
620
773
|
},
|
774
|
+
{
|
775
|
+
"internalType": "PayoutId",
|
776
|
+
"name": "payoutId",
|
777
|
+
"type": "uint24"
|
778
|
+
},
|
621
779
|
{
|
622
780
|
"components": [
|
623
781
|
{
|
624
|
-
"internalType": "
|
625
|
-
"name": "
|
626
|
-
"type": "
|
782
|
+
"internalType": "ClaimId",
|
783
|
+
"name": "claimId",
|
784
|
+
"type": "uint16"
|
627
785
|
},
|
628
786
|
{
|
629
|
-
"internalType": "
|
630
|
-
"name": "
|
631
|
-
"type": "
|
787
|
+
"internalType": "Amount",
|
788
|
+
"name": "amount",
|
789
|
+
"type": "uint96"
|
632
790
|
},
|
633
791
|
{
|
634
|
-
"internalType": "
|
635
|
-
"name": "
|
636
|
-
"type": "
|
792
|
+
"internalType": "bytes",
|
793
|
+
"name": "data",
|
794
|
+
"type": "bytes"
|
637
795
|
},
|
638
796
|
{
|
639
|
-
"internalType": "
|
640
|
-
"name": "
|
641
|
-
"type": "
|
642
|
-
}
|
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
|
+
},
|
812
|
+
{
|
813
|
+
"inputs": [
|
814
|
+
{
|
815
|
+
"internalType": "NftId",
|
816
|
+
"name": "poolNftId",
|
817
|
+
"type": "uint96"
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"components": [
|
643
821
|
{
|
644
|
-
"internalType": "
|
645
|
-
"name": "
|
646
|
-
"type": "
|
822
|
+
"internalType": "string",
|
823
|
+
"name": "name",
|
824
|
+
"type": "string"
|
647
825
|
},
|
648
826
|
{
|
649
|
-
"internalType": "
|
650
|
-
"name": "
|
651
|
-
"type": "
|
827
|
+
"internalType": "contract IERC20Metadata",
|
828
|
+
"name": "token",
|
829
|
+
"type": "address"
|
652
830
|
},
|
653
831
|
{
|
654
|
-
"internalType": "
|
655
|
-
"name": "
|
656
|
-
"type": "
|
832
|
+
"internalType": "contract TokenHandler",
|
833
|
+
"name": "tokenHandler",
|
834
|
+
"type": "address"
|
657
835
|
},
|
658
836
|
{
|
659
|
-
"
|
660
|
-
|
661
|
-
|
662
|
-
"name": "fractionalFee",
|
663
|
-
"type": "uint256"
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"internalType": "uint256",
|
667
|
-
"name": "fixedFee",
|
668
|
-
"type": "uint256"
|
669
|
-
}
|
670
|
-
],
|
671
|
-
"internalType": "struct Fee",
|
672
|
-
"name": "poolFee",
|
673
|
-
"type": "tuple"
|
837
|
+
"internalType": "address",
|
838
|
+
"name": "wallet",
|
839
|
+
"type": "address"
|
674
840
|
},
|
675
841
|
{
|
676
|
-
"
|
677
|
-
|
678
|
-
|
679
|
-
"name": "fractionalFee",
|
680
|
-
"type": "uint256"
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"internalType": "uint256",
|
684
|
-
"name": "fixedFee",
|
685
|
-
"type": "uint256"
|
686
|
-
}
|
687
|
-
],
|
688
|
-
"internalType": "struct Fee",
|
689
|
-
"name": "stakingFee",
|
690
|
-
"type": "tuple"
|
842
|
+
"internalType": "Amount",
|
843
|
+
"name": "balanceAmount",
|
844
|
+
"type": "uint96"
|
691
845
|
},
|
692
846
|
{
|
693
|
-
"
|
694
|
-
|
695
|
-
|
696
|
-
"name": "fractionalFee",
|
697
|
-
"type": "uint256"
|
698
|
-
},
|
699
|
-
{
|
700
|
-
"internalType": "uint256",
|
701
|
-
"name": "fixedFee",
|
702
|
-
"type": "uint256"
|
703
|
-
}
|
704
|
-
],
|
705
|
-
"internalType": "struct Fee",
|
706
|
-
"name": "performanceFee",
|
707
|
-
"type": "tuple"
|
847
|
+
"internalType": "Amount",
|
848
|
+
"name": "feeAmount",
|
849
|
+
"type": "uint96"
|
708
850
|
},
|
709
851
|
{
|
710
|
-
"internalType": "
|
711
|
-
"name": "
|
712
|
-
"type": "
|
852
|
+
"internalType": "bytes",
|
853
|
+
"name": "data",
|
854
|
+
"type": "bytes"
|
713
855
|
}
|
714
856
|
],
|
715
|
-
"internalType": "struct
|
716
|
-
"name": "
|
857
|
+
"internalType": "struct IComponents.ComponentInfo",
|
858
|
+
"name": "info",
|
717
859
|
"type": "tuple"
|
718
860
|
}
|
719
861
|
],
|
@@ -751,23 +893,6 @@
|
|
751
893
|
"name": "poolNftId",
|
752
894
|
"type": "uint96"
|
753
895
|
},
|
754
|
-
{
|
755
|
-
"components": [
|
756
|
-
{
|
757
|
-
"internalType": "UFixed",
|
758
|
-
"name": "fractionalFee",
|
759
|
-
"type": "uint256"
|
760
|
-
},
|
761
|
-
{
|
762
|
-
"internalType": "uint256",
|
763
|
-
"name": "fixedFee",
|
764
|
-
"type": "uint256"
|
765
|
-
}
|
766
|
-
],
|
767
|
-
"internalType": "struct Fee",
|
768
|
-
"name": "distributionFee",
|
769
|
-
"type": "tuple"
|
770
|
-
},
|
771
896
|
{
|
772
897
|
"components": [
|
773
898
|
{
|
@@ -802,57 +927,6 @@
|
|
802
927
|
"name": "processingFee",
|
803
928
|
"type": "tuple"
|
804
929
|
},
|
805
|
-
{
|
806
|
-
"components": [
|
807
|
-
{
|
808
|
-
"internalType": "UFixed",
|
809
|
-
"name": "fractionalFee",
|
810
|
-
"type": "uint256"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"internalType": "uint256",
|
814
|
-
"name": "fixedFee",
|
815
|
-
"type": "uint256"
|
816
|
-
}
|
817
|
-
],
|
818
|
-
"internalType": "struct Fee",
|
819
|
-
"name": "poolFee",
|
820
|
-
"type": "tuple"
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"components": [
|
824
|
-
{
|
825
|
-
"internalType": "UFixed",
|
826
|
-
"name": "fractionalFee",
|
827
|
-
"type": "uint256"
|
828
|
-
},
|
829
|
-
{
|
830
|
-
"internalType": "uint256",
|
831
|
-
"name": "fixedFee",
|
832
|
-
"type": "uint256"
|
833
|
-
}
|
834
|
-
],
|
835
|
-
"internalType": "struct Fee",
|
836
|
-
"name": "stakingFee",
|
837
|
-
"type": "tuple"
|
838
|
-
},
|
839
|
-
{
|
840
|
-
"components": [
|
841
|
-
{
|
842
|
-
"internalType": "UFixed",
|
843
|
-
"name": "fractionalFee",
|
844
|
-
"type": "uint256"
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"internalType": "uint256",
|
848
|
-
"name": "fixedFee",
|
849
|
-
"type": "uint256"
|
850
|
-
}
|
851
|
-
],
|
852
|
-
"internalType": "struct Fee",
|
853
|
-
"name": "performanceFee",
|
854
|
-
"type": "tuple"
|
855
|
-
},
|
856
930
|
{
|
857
931
|
"internalType": "bool",
|
858
932
|
"name": "isIntercepting",
|
@@ -877,9 +951,9 @@
|
|
877
951
|
{
|
878
952
|
"inputs": [
|
879
953
|
{
|
880
|
-
"internalType": "
|
881
|
-
"name": "
|
882
|
-
"type": "
|
954
|
+
"internalType": "ReferralId",
|
955
|
+
"name": "referralId",
|
956
|
+
"type": "bytes8"
|
883
957
|
},
|
884
958
|
{
|
885
959
|
"components": [
|
@@ -1049,19 +1123,6 @@
|
|
1049
1123
|
"stateMutability": "view",
|
1050
1124
|
"type": "function"
|
1051
1125
|
},
|
1052
|
-
{
|
1053
|
-
"inputs": [],
|
1054
|
-
"name": "getBundleService",
|
1055
|
-
"outputs": [
|
1056
|
-
{
|
1057
|
-
"internalType": "contract IBundleService",
|
1058
|
-
"name": "",
|
1059
|
-
"type": "address"
|
1060
|
-
}
|
1061
|
-
],
|
1062
|
-
"stateMutability": "view",
|
1063
|
-
"type": "function"
|
1064
|
-
},
|
1065
1126
|
{
|
1066
1127
|
"inputs": [
|
1067
1128
|
{
|
@@ -1081,19 +1142,6 @@
|
|
1081
1142
|
"stateMutability": "view",
|
1082
1143
|
"type": "function"
|
1083
1144
|
},
|
1084
|
-
{
|
1085
|
-
"inputs": [],
|
1086
|
-
"name": "getDistributionService",
|
1087
|
-
"outputs": [
|
1088
|
-
{
|
1089
|
-
"internalType": "contract IDistributionService",
|
1090
|
-
"name": "",
|
1091
|
-
"type": "address"
|
1092
|
-
}
|
1093
|
-
],
|
1094
|
-
"stateMutability": "view",
|
1095
|
-
"type": "function"
|
1096
|
-
},
|
1097
1145
|
{
|
1098
1146
|
"inputs": [],
|
1099
1147
|
"name": "getInitialInfo",
|
@@ -1163,6 +1211,19 @@
|
|
1163
1211
|
"stateMutability": "view",
|
1164
1212
|
"type": "function"
|
1165
1213
|
},
|
1214
|
+
{
|
1215
|
+
"inputs": [],
|
1216
|
+
"name": "getInstanceAccessManager",
|
1217
|
+
"outputs": [
|
1218
|
+
{
|
1219
|
+
"internalType": "contract InstanceAccessManager",
|
1220
|
+
"name": "",
|
1221
|
+
"type": "address"
|
1222
|
+
}
|
1223
|
+
],
|
1224
|
+
"stateMutability": "view",
|
1225
|
+
"type": "function"
|
1226
|
+
},
|
1166
1227
|
{
|
1167
1228
|
"inputs": [],
|
1168
1229
|
"name": "getInstanceReader",
|
@@ -1261,45 +1322,6 @@
|
|
1261
1322
|
"stateMutability": "view",
|
1262
1323
|
"type": "function"
|
1263
1324
|
},
|
1264
|
-
{
|
1265
|
-
"inputs": [],
|
1266
|
-
"name": "getPolicyService",
|
1267
|
-
"outputs": [
|
1268
|
-
{
|
1269
|
-
"internalType": "contract IPolicyService",
|
1270
|
-
"name": "",
|
1271
|
-
"type": "address"
|
1272
|
-
}
|
1273
|
-
],
|
1274
|
-
"stateMutability": "view",
|
1275
|
-
"type": "function"
|
1276
|
-
},
|
1277
|
-
{
|
1278
|
-
"inputs": [],
|
1279
|
-
"name": "getPoolService",
|
1280
|
-
"outputs": [
|
1281
|
-
{
|
1282
|
-
"internalType": "contract IPoolService",
|
1283
|
-
"name": "",
|
1284
|
-
"type": "address"
|
1285
|
-
}
|
1286
|
-
],
|
1287
|
-
"stateMutability": "view",
|
1288
|
-
"type": "function"
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"inputs": [],
|
1292
|
-
"name": "getProductService",
|
1293
|
-
"outputs": [
|
1294
|
-
{
|
1295
|
-
"internalType": "contract IProductService",
|
1296
|
-
"name": "",
|
1297
|
-
"type": "address"
|
1298
|
-
}
|
1299
|
-
],
|
1300
|
-
"stateMutability": "view",
|
1301
|
-
"type": "function"
|
1302
|
-
},
|
1303
1325
|
{
|
1304
1326
|
"inputs": [],
|
1305
1327
|
"name": "getRegistry",
|
@@ -1413,6 +1435,47 @@
|
|
1413
1435
|
"stateMutability": "nonpayable",
|
1414
1436
|
"type": "function"
|
1415
1437
|
},
|
1438
|
+
{
|
1439
|
+
"inputs": [
|
1440
|
+
{
|
1441
|
+
"internalType": "address",
|
1442
|
+
"name": "to",
|
1443
|
+
"type": "address"
|
1444
|
+
},
|
1445
|
+
{
|
1446
|
+
"internalType": "uint256",
|
1447
|
+
"name": "tokenId",
|
1448
|
+
"type": "uint256"
|
1449
|
+
}
|
1450
|
+
],
|
1451
|
+
"name": "nftMint",
|
1452
|
+
"outputs": [],
|
1453
|
+
"stateMutability": "nonpayable",
|
1454
|
+
"type": "function"
|
1455
|
+
},
|
1456
|
+
{
|
1457
|
+
"inputs": [
|
1458
|
+
{
|
1459
|
+
"internalType": "address",
|
1460
|
+
"name": "from",
|
1461
|
+
"type": "address"
|
1462
|
+
},
|
1463
|
+
{
|
1464
|
+
"internalType": "address",
|
1465
|
+
"name": "to",
|
1466
|
+
"type": "address"
|
1467
|
+
},
|
1468
|
+
{
|
1469
|
+
"internalType": "uint256",
|
1470
|
+
"name": "tokenId",
|
1471
|
+
"type": "uint256"
|
1472
|
+
}
|
1473
|
+
],
|
1474
|
+
"name": "nftTransferFrom",
|
1475
|
+
"outputs": [],
|
1476
|
+
"stateMutability": "nonpayable",
|
1477
|
+
"type": "function"
|
1478
|
+
},
|
1416
1479
|
{
|
1417
1480
|
"inputs": [
|
1418
1481
|
{
|
@@ -1514,9 +1577,9 @@
|
|
1514
1577
|
"type": "uint256"
|
1515
1578
|
},
|
1516
1579
|
{
|
1517
|
-
"internalType": "
|
1580
|
+
"internalType": "Seconds",
|
1518
1581
|
"name": "lifetime",
|
1519
|
-
"type": "
|
1582
|
+
"type": "uint40"
|
1520
1583
|
},
|
1521
1584
|
{
|
1522
1585
|
"internalType": "bytes",
|
@@ -1539,9 +1602,9 @@
|
|
1539
1602
|
"type": "uint16"
|
1540
1603
|
},
|
1541
1604
|
{
|
1542
|
-
"internalType": "
|
1605
|
+
"internalType": "Amount",
|
1543
1606
|
"name": "payoutAmount",
|
1544
|
-
"type": "
|
1607
|
+
"type": "uint96"
|
1545
1608
|
},
|
1546
1609
|
{
|
1547
1610
|
"internalType": "Timestamp",
|
@@ -1629,24 +1692,24 @@
|
|
1629
1692
|
"type": "bytes"
|
1630
1693
|
},
|
1631
1694
|
{
|
1632
|
-
"internalType": "
|
1695
|
+
"internalType": "Amount",
|
1633
1696
|
"name": "capitalAmount",
|
1634
|
-
"type": "
|
1697
|
+
"type": "uint96"
|
1635
1698
|
},
|
1636
1699
|
{
|
1637
|
-
"internalType": "
|
1700
|
+
"internalType": "Amount",
|
1638
1701
|
"name": "lockedAmount",
|
1639
|
-
"type": "
|
1702
|
+
"type": "uint96"
|
1640
1703
|
},
|
1641
1704
|
{
|
1642
|
-
"internalType": "
|
1643
|
-
"name": "
|
1644
|
-
"type": "
|
1705
|
+
"internalType": "Amount",
|
1706
|
+
"name": "feeAmount",
|
1707
|
+
"type": "uint96"
|
1645
1708
|
},
|
1646
1709
|
{
|
1647
|
-
"internalType": "
|
1710
|
+
"internalType": "Seconds",
|
1648
1711
|
"name": "lifetime",
|
1649
|
-
"type": "
|
1712
|
+
"type": "uint40"
|
1650
1713
|
},
|
1651
1714
|
{
|
1652
1715
|
"internalType": "Timestamp",
|
@@ -1692,6 +1755,89 @@
|
|
1692
1755
|
"stateMutability": "nonpayable",
|
1693
1756
|
"type": "function"
|
1694
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
|
+
},
|
1695
1841
|
{
|
1696
1842
|
"inputs": [
|
1697
1843
|
{
|
@@ -1711,6 +1857,23 @@
|
|
1711
1857
|
"name": "tokenHandler",
|
1712
1858
|
"type": "address"
|
1713
1859
|
},
|
1860
|
+
{
|
1861
|
+
"components": [
|
1862
|
+
{
|
1863
|
+
"internalType": "UFixed",
|
1864
|
+
"name": "fractionalFee",
|
1865
|
+
"type": "uint256"
|
1866
|
+
},
|
1867
|
+
{
|
1868
|
+
"internalType": "uint256",
|
1869
|
+
"name": "fixedFee",
|
1870
|
+
"type": "uint256"
|
1871
|
+
}
|
1872
|
+
],
|
1873
|
+
"internalType": "struct Fee",
|
1874
|
+
"name": "minDistributionOwnerFee",
|
1875
|
+
"type": "tuple"
|
1876
|
+
},
|
1714
1877
|
{
|
1715
1878
|
"components": [
|
1716
1879
|
{
|
@@ -1732,6 +1895,11 @@
|
|
1732
1895
|
"internalType": "address",
|
1733
1896
|
"name": "wallet",
|
1734
1897
|
"type": "address"
|
1898
|
+
},
|
1899
|
+
{
|
1900
|
+
"internalType": "uint256",
|
1901
|
+
"name": "sumDistributionOwnerFees",
|
1902
|
+
"type": "uint256"
|
1735
1903
|
}
|
1736
1904
|
],
|
1737
1905
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -1790,6 +1958,16 @@
|
|
1790
1958
|
"internalType": "bytes",
|
1791
1959
|
"name": "data",
|
1792
1960
|
"type": "bytes"
|
1961
|
+
},
|
1962
|
+
{
|
1963
|
+
"internalType": "uint256",
|
1964
|
+
"name": "sumCommisions",
|
1965
|
+
"type": "uint256"
|
1966
|
+
},
|
1967
|
+
{
|
1968
|
+
"internalType": "uint256",
|
1969
|
+
"name": "numPoliciesSold",
|
1970
|
+
"type": "uint256"
|
1793
1971
|
}
|
1794
1972
|
],
|
1795
1973
|
"internalType": "struct IDistribution.DistributorInfo",
|
@@ -1828,9 +2006,9 @@
|
|
1828
2006
|
{
|
1829
2007
|
"inputs": [
|
1830
2008
|
{
|
1831
|
-
"internalType": "
|
1832
|
-
"name": "
|
1833
|
-
"type": "
|
2009
|
+
"internalType": "DistributorType",
|
2010
|
+
"name": "distributorType",
|
2011
|
+
"type": "bytes8"
|
1834
2012
|
},
|
1835
2013
|
{
|
1836
2014
|
"components": [
|
@@ -1898,9 +2076,9 @@
|
|
1898
2076
|
{
|
1899
2077
|
"inputs": [
|
1900
2078
|
{
|
1901
|
-
"internalType": "
|
1902
|
-
"name": "
|
1903
|
-
"type": "
|
2079
|
+
"internalType": "DistributorType",
|
2080
|
+
"name": "distributorType",
|
2081
|
+
"type": "bytes8"
|
1904
2082
|
},
|
1905
2083
|
{
|
1906
2084
|
"internalType": "StateId",
|
@@ -1913,6 +2091,79 @@
|
|
1913
2091
|
"stateMutability": "nonpayable",
|
1914
2092
|
"type": "function"
|
1915
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
|
+
},
|
1916
2167
|
{
|
1917
2168
|
"inputs": [
|
1918
2169
|
{
|
@@ -1958,9 +2209,9 @@
|
|
1958
2209
|
"type": "uint256"
|
1959
2210
|
},
|
1960
2211
|
{
|
1961
|
-
"internalType": "
|
2212
|
+
"internalType": "Seconds",
|
1962
2213
|
"name": "lifetime",
|
1963
|
-
"type": "
|
2214
|
+
"type": "uint40"
|
1964
2215
|
},
|
1965
2216
|
{
|
1966
2217
|
"internalType": "bytes",
|
@@ -1983,9 +2234,9 @@
|
|
1983
2234
|
"type": "uint16"
|
1984
2235
|
},
|
1985
2236
|
{
|
1986
|
-
"internalType": "
|
2237
|
+
"internalType": "Amount",
|
1987
2238
|
"name": "payoutAmount",
|
1988
|
-
"type": "
|
2239
|
+
"type": "uint96"
|
1989
2240
|
},
|
1990
2241
|
{
|
1991
2242
|
"internalType": "Timestamp",
|
@@ -2046,99 +2297,43 @@
|
|
2046
2297
|
{
|
2047
2298
|
"components": [
|
2048
2299
|
{
|
2049
|
-
"internalType": "
|
2050
|
-
"name": "
|
2051
|
-
"type": "
|
2300
|
+
"internalType": "string",
|
2301
|
+
"name": "name",
|
2302
|
+
"type": "string"
|
2052
2303
|
},
|
2053
2304
|
{
|
2054
|
-
"internalType": "contract
|
2055
|
-
"name": "
|
2305
|
+
"internalType": "contract IERC20Metadata",
|
2306
|
+
"name": "token",
|
2056
2307
|
"type": "address"
|
2057
2308
|
},
|
2058
2309
|
{
|
2059
|
-
"internalType": "
|
2060
|
-
"name": "
|
2061
|
-
"type": "
|
2062
|
-
},
|
2063
|
-
{
|
2064
|
-
"internalType": "bool",
|
2065
|
-
"name": "isExternallyManaged",
|
2066
|
-
"type": "bool"
|
2067
|
-
},
|
2068
|
-
{
|
2069
|
-
"internalType": "bool",
|
2070
|
-
"name": "isVerifyingApplications",
|
2071
|
-
"type": "bool"
|
2072
|
-
},
|
2073
|
-
{
|
2074
|
-
"internalType": "UFixed",
|
2075
|
-
"name": "collateralizationLevel",
|
2076
|
-
"type": "uint256"
|
2077
|
-
},
|
2078
|
-
{
|
2079
|
-
"internalType": "UFixed",
|
2080
|
-
"name": "retentionLevel",
|
2081
|
-
"type": "uint256"
|
2310
|
+
"internalType": "contract TokenHandler",
|
2311
|
+
"name": "tokenHandler",
|
2312
|
+
"type": "address"
|
2082
2313
|
},
|
2083
2314
|
{
|
2084
|
-
"
|
2085
|
-
|
2086
|
-
|
2087
|
-
"name": "fractionalFee",
|
2088
|
-
"type": "uint256"
|
2089
|
-
},
|
2090
|
-
{
|
2091
|
-
"internalType": "uint256",
|
2092
|
-
"name": "fixedFee",
|
2093
|
-
"type": "uint256"
|
2094
|
-
}
|
2095
|
-
],
|
2096
|
-
"internalType": "struct Fee",
|
2097
|
-
"name": "poolFee",
|
2098
|
-
"type": "tuple"
|
2315
|
+
"internalType": "address",
|
2316
|
+
"name": "wallet",
|
2317
|
+
"type": "address"
|
2099
2318
|
},
|
2100
2319
|
{
|
2101
|
-
"
|
2102
|
-
|
2103
|
-
|
2104
|
-
"name": "fractionalFee",
|
2105
|
-
"type": "uint256"
|
2106
|
-
},
|
2107
|
-
{
|
2108
|
-
"internalType": "uint256",
|
2109
|
-
"name": "fixedFee",
|
2110
|
-
"type": "uint256"
|
2111
|
-
}
|
2112
|
-
],
|
2113
|
-
"internalType": "struct Fee",
|
2114
|
-
"name": "stakingFee",
|
2115
|
-
"type": "tuple"
|
2320
|
+
"internalType": "Amount",
|
2321
|
+
"name": "balanceAmount",
|
2322
|
+
"type": "uint96"
|
2116
2323
|
},
|
2117
2324
|
{
|
2118
|
-
"
|
2119
|
-
|
2120
|
-
|
2121
|
-
"name": "fractionalFee",
|
2122
|
-
"type": "uint256"
|
2123
|
-
},
|
2124
|
-
{
|
2125
|
-
"internalType": "uint256",
|
2126
|
-
"name": "fixedFee",
|
2127
|
-
"type": "uint256"
|
2128
|
-
}
|
2129
|
-
],
|
2130
|
-
"internalType": "struct Fee",
|
2131
|
-
"name": "performanceFee",
|
2132
|
-
"type": "tuple"
|
2325
|
+
"internalType": "Amount",
|
2326
|
+
"name": "feeAmount",
|
2327
|
+
"type": "uint96"
|
2133
2328
|
},
|
2134
2329
|
{
|
2135
|
-
"internalType": "
|
2136
|
-
"name": "
|
2137
|
-
"type": "
|
2330
|
+
"internalType": "bytes",
|
2331
|
+
"name": "data",
|
2332
|
+
"type": "bytes"
|
2138
2333
|
}
|
2139
2334
|
],
|
2140
|
-
"internalType": "struct
|
2141
|
-
"name": "
|
2335
|
+
"internalType": "struct IComponents.ComponentInfo",
|
2336
|
+
"name": "info",
|
2142
2337
|
"type": "tuple"
|
2143
2338
|
},
|
2144
2339
|
{
|
@@ -2199,23 +2394,6 @@
|
|
2199
2394
|
"name": "poolNftId",
|
2200
2395
|
"type": "uint96"
|
2201
2396
|
},
|
2202
|
-
{
|
2203
|
-
"components": [
|
2204
|
-
{
|
2205
|
-
"internalType": "UFixed",
|
2206
|
-
"name": "fractionalFee",
|
2207
|
-
"type": "uint256"
|
2208
|
-
},
|
2209
|
-
{
|
2210
|
-
"internalType": "uint256",
|
2211
|
-
"name": "fixedFee",
|
2212
|
-
"type": "uint256"
|
2213
|
-
}
|
2214
|
-
],
|
2215
|
-
"internalType": "struct Fee",
|
2216
|
-
"name": "distributionFee",
|
2217
|
-
"type": "tuple"
|
2218
|
-
},
|
2219
2397
|
{
|
2220
2398
|
"components": [
|
2221
2399
|
{
|
@@ -2250,57 +2428,6 @@
|
|
2250
2428
|
"name": "processingFee",
|
2251
2429
|
"type": "tuple"
|
2252
2430
|
},
|
2253
|
-
{
|
2254
|
-
"components": [
|
2255
|
-
{
|
2256
|
-
"internalType": "UFixed",
|
2257
|
-
"name": "fractionalFee",
|
2258
|
-
"type": "uint256"
|
2259
|
-
},
|
2260
|
-
{
|
2261
|
-
"internalType": "uint256",
|
2262
|
-
"name": "fixedFee",
|
2263
|
-
"type": "uint256"
|
2264
|
-
}
|
2265
|
-
],
|
2266
|
-
"internalType": "struct Fee",
|
2267
|
-
"name": "poolFee",
|
2268
|
-
"type": "tuple"
|
2269
|
-
},
|
2270
|
-
{
|
2271
|
-
"components": [
|
2272
|
-
{
|
2273
|
-
"internalType": "UFixed",
|
2274
|
-
"name": "fractionalFee",
|
2275
|
-
"type": "uint256"
|
2276
|
-
},
|
2277
|
-
{
|
2278
|
-
"internalType": "uint256",
|
2279
|
-
"name": "fixedFee",
|
2280
|
-
"type": "uint256"
|
2281
|
-
}
|
2282
|
-
],
|
2283
|
-
"internalType": "struct Fee",
|
2284
|
-
"name": "stakingFee",
|
2285
|
-
"type": "tuple"
|
2286
|
-
},
|
2287
|
-
{
|
2288
|
-
"components": [
|
2289
|
-
{
|
2290
|
-
"internalType": "UFixed",
|
2291
|
-
"name": "fractionalFee",
|
2292
|
-
"type": "uint256"
|
2293
|
-
},
|
2294
|
-
{
|
2295
|
-
"internalType": "uint256",
|
2296
|
-
"name": "fixedFee",
|
2297
|
-
"type": "uint256"
|
2298
|
-
}
|
2299
|
-
],
|
2300
|
-
"internalType": "struct Fee",
|
2301
|
-
"name": "performanceFee",
|
2302
|
-
"type": "tuple"
|
2303
|
-
},
|
2304
2431
|
{
|
2305
2432
|
"internalType": "bool",
|
2306
2433
|
"name": "isIntercepting",
|
@@ -2348,9 +2475,9 @@
|
|
2348
2475
|
{
|
2349
2476
|
"inputs": [
|
2350
2477
|
{
|
2351
|
-
"internalType": "
|
2352
|
-
"name": "
|
2353
|
-
"type": "
|
2478
|
+
"internalType": "ReferralId",
|
2479
|
+
"name": "referralId",
|
2480
|
+
"type": "bytes8"
|
2354
2481
|
},
|
2355
2482
|
{
|
2356
2483
|
"components": [
|
@@ -2408,9 +2535,9 @@
|
|
2408
2535
|
{
|
2409
2536
|
"inputs": [
|
2410
2537
|
{
|
2411
|
-
"internalType": "
|
2412
|
-
"name": "
|
2413
|
-
"type": "
|
2538
|
+
"internalType": "ReferralId",
|
2539
|
+
"name": "referralId",
|
2540
|
+
"type": "bytes8"
|
2414
2541
|
},
|
2415
2542
|
{
|
2416
2543
|
"internalType": "StateId",
|