@etherisc/gif-next 0.0.2-ce87da3-250 → 0.0.2-ceb30b2-601
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 -102
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +139 -153
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +155 -76
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +181 -125
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +342 -178
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +162 -151
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +286 -245
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +83 -175
- 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 +707 -463
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +167 -76
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +630 -625
- 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 +258 -236
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +291 -238
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +79 -48
- 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 +114 -35
- 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 +322 -99
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +59 -44
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +459 -242
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +90 -39
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +646 -84
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +119 -32
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +673 -129
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +96 -69
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +205 -59
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +253 -185
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +373 -51
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +480 -37
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +170 -102
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +776 -46
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +85 -27
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +255 -222
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +37 -78
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +929 -58
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +84 -37
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +145 -58
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +28 -37
- 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 +5 -37
- 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 +23 -50
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +21 -34
- 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 +10 -23
- 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/INftOwnable.sol/INftOwnable.json +0 -13
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +45 -9
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +85 -27
- 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 +6 -19
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +47 -24
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +14 -27
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +7 -20
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +92 -29
- 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 +7 -20
- 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 +107 -40
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +83 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +116 -7
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +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 +39 -27
- package/contracts/instance/IInstanceService.sol +16 -12
- package/contracts/instance/Instance.sol +125 -98
- package/contracts/instance/InstanceAccessManager.sol +388 -158
- package/contracts/instance/InstanceReader.sol +36 -12
- package/contracts/instance/InstanceService.sol +220 -212
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +28 -32
- package/contracts/instance/base/KeyValueStore.sol +13 -36
- 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 +38 -7
- package/contracts/instance/module/ISetup.sol +7 -22
- package/contracts/instance/service/ApplicationService.sol +138 -50
- package/contracts/instance/service/BundleService.sol +228 -83
- package/contracts/instance/service/ClaimService.sol +240 -30
- package/contracts/instance/service/DistributionService.sol +179 -114
- package/contracts/instance/service/IApplicationService.sol +9 -13
- package/contracts/instance/service/IBundleService.sol +74 -26
- package/contracts/instance/service/IClaimService.sol +52 -23
- package/contracts/instance/service/IDistributionService.sol +21 -3
- package/contracts/instance/service/IPolicyService.sol +20 -29
- package/contracts/instance/service/IPoolService.sol +127 -3
- package/contracts/instance/service/PolicyService.sol +133 -251
- package/contracts/instance/service/PoolService.sol +258 -18
- package/contracts/instance/service/ProductService.sol +31 -54
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/IRegistryService.sol +2 -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/IPolicyHolder.sol +20 -8
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +6 -6
- package/contracts/shared/NftOwnable.sol +0 -2
- package/contracts/shared/PolicyHolder.sol +14 -8
- package/contracts/shared/Registerable.sol +12 -11
- package/contracts/shared/RegistryLinked.sol +0 -5
- package/contracts/shared/Service.sol +21 -7
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +70 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +25 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +6 -5
- package/contracts/types/PayoutId.sol +33 -5
- package/contracts/types/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
@@ -91,19 +91,6 @@
|
|
91
91
|
"stateMutability": "view",
|
92
92
|
"type": "function"
|
93
93
|
},
|
94
|
-
{
|
95
|
-
"inputs": [],
|
96
|
-
"name": "getRegistryAddress",
|
97
|
-
"outputs": [
|
98
|
-
{
|
99
|
-
"internalType": "address",
|
100
|
-
"name": "",
|
101
|
-
"type": "address"
|
102
|
-
}
|
103
|
-
],
|
104
|
-
"stateMutability": "view",
|
105
|
-
"type": "function"
|
106
|
-
},
|
107
94
|
{
|
108
95
|
"inputs": [],
|
109
96
|
"name": "linkToRegisteredNftId",
|
@@ -7,13 +7,36 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "NftId",
|
10
|
-
"name": "
|
10
|
+
"name": "policyNftId",
|
11
11
|
"type": "uint96"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"internalType": "
|
14
|
+
"internalType": "ClaimId",
|
15
15
|
"name": "claimId",
|
16
|
-
"type": "
|
16
|
+
"type": "uint16"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "Amount",
|
20
|
+
"name": "amount",
|
21
|
+
"type": "uint96"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "claimConfirmed",
|
25
|
+
"outputs": [],
|
26
|
+
"stateMutability": "nonpayable",
|
27
|
+
"type": "function"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"inputs": [
|
31
|
+
{
|
32
|
+
"internalType": "NftId",
|
33
|
+
"name": "policyNftId",
|
34
|
+
"type": "uint96"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"internalType": "ClaimId",
|
38
|
+
"name": "claimId",
|
39
|
+
"type": "uint16"
|
17
40
|
}
|
18
41
|
],
|
19
42
|
"name": "getBeneficiary",
|
@@ -69,9 +92,9 @@
|
|
69
92
|
"type": "uint96"
|
70
93
|
},
|
71
94
|
{
|
72
|
-
"internalType": "
|
95
|
+
"internalType": "PayoutId",
|
73
96
|
"name": "payoutId",
|
74
|
-
"type": "
|
97
|
+
"type": "uint24"
|
75
98
|
},
|
76
99
|
{
|
77
100
|
"internalType": "address",
|
@@ -79,12 +102,25 @@
|
|
79
102
|
"type": "address"
|
80
103
|
},
|
81
104
|
{
|
82
|
-
"internalType": "
|
105
|
+
"internalType": "Amount",
|
83
106
|
"name": "amount",
|
84
|
-
"type": "
|
107
|
+
"type": "uint96"
|
108
|
+
}
|
109
|
+
],
|
110
|
+
"name": "payoutExecuted",
|
111
|
+
"outputs": [],
|
112
|
+
"stateMutability": "nonpayable",
|
113
|
+
"type": "function"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "NftId",
|
119
|
+
"name": "policyNftId",
|
120
|
+
"type": "uint96"
|
85
121
|
}
|
86
122
|
],
|
87
|
-
"name": "
|
123
|
+
"name": "policyActivated",
|
88
124
|
"outputs": [],
|
89
125
|
"stateMutability": "nonpayable",
|
90
126
|
"type": "function"
|
@@ -97,7 +133,7 @@
|
|
97
133
|
"type": "uint96"
|
98
134
|
}
|
99
135
|
],
|
100
|
-
"name": "
|
136
|
+
"name": "policyExpired",
|
101
137
|
"outputs": [],
|
102
138
|
"stateMutability": "nonpayable",
|
103
139
|
"type": "function"
|
@@ -141,19 +141,6 @@
|
|
141
141
|
"stateMutability": "view",
|
142
142
|
"type": "function"
|
143
143
|
},
|
144
|
-
{
|
145
|
-
"inputs": [],
|
146
|
-
"name": "getRegistryAddress",
|
147
|
-
"outputs": [
|
148
|
-
{
|
149
|
-
"internalType": "address",
|
150
|
-
"name": "",
|
151
|
-
"type": "address"
|
152
|
-
}
|
153
|
-
],
|
154
|
-
"stateMutability": "view",
|
155
|
-
"type": "function"
|
156
|
-
},
|
157
144
|
{
|
158
145
|
"inputs": [],
|
159
146
|
"name": "linkToRegisteredNftId",
|
@@ -26,19 +26,6 @@
|
|
26
26
|
],
|
27
27
|
"stateMutability": "view",
|
28
28
|
"type": "function"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"inputs": [],
|
32
|
-
"name": "getRegistryAddress",
|
33
|
-
"outputs": [
|
34
|
-
{
|
35
|
-
"internalType": "address",
|
36
|
-
"name": "",
|
37
|
-
"type": "address"
|
38
|
-
}
|
39
|
-
],
|
40
|
-
"stateMutability": "view",
|
41
|
-
"type": "function"
|
42
29
|
}
|
43
30
|
],
|
44
31
|
"bytecode": "0x",
|
@@ -3,15 +3,42 @@
|
|
3
3
|
"contractName": "IService",
|
4
4
|
"sourceName": "contracts/shared/IService.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
|
+
},
|
6
17
|
{
|
7
18
|
"inputs": [
|
8
19
|
{
|
9
20
|
"internalType": "address",
|
10
21
|
"name": "caller",
|
11
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
12
28
|
}
|
13
29
|
],
|
14
|
-
"name": "
|
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",
|
15
42
|
"type": "error"
|
16
43
|
},
|
17
44
|
{
|
@@ -63,6 +90,37 @@
|
|
63
90
|
"name": "ErrorNotRegistry",
|
64
91
|
"type": "error"
|
65
92
|
},
|
93
|
+
{
|
94
|
+
"inputs": [],
|
95
|
+
"name": "ErrorServiceNotImplemented",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"anonymous": false,
|
100
|
+
"inputs": [
|
101
|
+
{
|
102
|
+
"indexed": false,
|
103
|
+
"internalType": "address",
|
104
|
+
"name": "authority",
|
105
|
+
"type": "address"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "AuthorityUpdated",
|
109
|
+
"type": "event"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"inputs": [],
|
113
|
+
"name": "authority",
|
114
|
+
"outputs": [
|
115
|
+
{
|
116
|
+
"internalType": "address",
|
117
|
+
"name": "",
|
118
|
+
"type": "address"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"stateMutability": "view",
|
122
|
+
"type": "function"
|
123
|
+
},
|
66
124
|
{
|
67
125
|
"inputs": [],
|
68
126
|
"name": "getDomain",
|
@@ -126,19 +184,6 @@
|
|
126
184
|
"stateMutability": "view",
|
127
185
|
"type": "function"
|
128
186
|
},
|
129
|
-
{
|
130
|
-
"inputs": [],
|
131
|
-
"name": "getMajorVersion",
|
132
|
-
"outputs": [
|
133
|
-
{
|
134
|
-
"internalType": "VersionPart",
|
135
|
-
"name": "majorVersion",
|
136
|
-
"type": "uint8"
|
137
|
-
}
|
138
|
-
],
|
139
|
-
"stateMutability": "view",
|
140
|
-
"type": "function"
|
141
|
-
},
|
142
187
|
{
|
143
188
|
"inputs": [],
|
144
189
|
"name": "getNftId",
|
@@ -178,19 +223,6 @@
|
|
178
223
|
"stateMutability": "view",
|
179
224
|
"type": "function"
|
180
225
|
},
|
181
|
-
{
|
182
|
-
"inputs": [],
|
183
|
-
"name": "getRegistryAddress",
|
184
|
-
"outputs": [
|
185
|
-
{
|
186
|
-
"internalType": "address",
|
187
|
-
"name": "",
|
188
|
-
"type": "address"
|
189
|
-
}
|
190
|
-
],
|
191
|
-
"stateMutability": "view",
|
192
|
-
"type": "function"
|
193
|
-
},
|
194
226
|
{
|
195
227
|
"inputs": [],
|
196
228
|
"name": "getVersion",
|
@@ -222,6 +254,19 @@
|
|
222
254
|
"stateMutability": "nonpayable",
|
223
255
|
"type": "function"
|
224
256
|
},
|
257
|
+
{
|
258
|
+
"inputs": [],
|
259
|
+
"name": "isConsumingScheduledOp",
|
260
|
+
"outputs": [
|
261
|
+
{
|
262
|
+
"internalType": "bytes4",
|
263
|
+
"name": "",
|
264
|
+
"type": "bytes4"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"stateMutability": "view",
|
268
|
+
"type": "function"
|
269
|
+
},
|
225
270
|
{
|
226
271
|
"inputs": [],
|
227
272
|
"name": "linkToRegisteredNftId",
|
@@ -229,6 +274,19 @@
|
|
229
274
|
"stateMutability": "nonpayable",
|
230
275
|
"type": "function"
|
231
276
|
},
|
277
|
+
{
|
278
|
+
"inputs": [
|
279
|
+
{
|
280
|
+
"internalType": "address",
|
281
|
+
"name": "",
|
282
|
+
"type": "address"
|
283
|
+
}
|
284
|
+
],
|
285
|
+
"name": "setAuthority",
|
286
|
+
"outputs": [],
|
287
|
+
"stateMutability": "nonpayable",
|
288
|
+
"type": "function"
|
289
|
+
},
|
232
290
|
{
|
233
291
|
"inputs": [
|
234
292
|
{
|
@@ -127,19 +127,6 @@
|
|
127
127
|
"stateMutability": "view",
|
128
128
|
"type": "function"
|
129
129
|
},
|
130
|
-
{
|
131
|
-
"inputs": [],
|
132
|
-
"name": "getRegistryAddress",
|
133
|
-
"outputs": [
|
134
|
-
{
|
135
|
-
"internalType": "address",
|
136
|
-
"name": "",
|
137
|
-
"type": "address"
|
138
|
-
}
|
139
|
-
],
|
140
|
-
"stateMutability": "view",
|
141
|
-
"type": "function"
|
142
|
-
},
|
143
130
|
{
|
144
131
|
"inputs": [],
|
145
132
|
"name": "initializeERC165",
|
@@ -218,18 +205,18 @@
|
|
218
205
|
"type": "function"
|
219
206
|
}
|
220
207
|
],
|
221
|
-
"bytecode": "
|
222
|
-
"deployedBytecode": "
|
208
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610888806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063644c45e011610066578063644c45e01461012f578063675393bf14610157578063893d20e81461016a578063ada9652e14610172578063f7c34ee01461019557600080fd5b806301ffc9a7146100a3578063138461e0146100e5578063214cdb80146100ef57806336fc697e146101025780635ab1bd531461010a575b600080fd5b6100d06100b136600461072e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101a8565b005b6100ed6100fd36600461072e565b6103af565b6100ed6103dc565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100dc565b600080516020610833833981519152546040516001600160601b0390911681526020016100dc565b6100ed610165366004610774565b610422565b610117610530565b61018760008051602061083383398151915281565b6040519081526020016100dc565b6100ed6101a3366004610791565b610667565b600060008051602061083383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610217573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023b91906107ca565b1561026c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061027f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156102c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102eb91906107ca565b6103135760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610263565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038b91906107ec565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6103b76106de565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6103e46106de565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61042a6106de565b806001600160a01b03163b6000036104605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610263565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156104da575060408051601f3d908101601f191682019092526104d7918101906107ca565b60015b6105025760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610263565b8061052b5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610263565b505b50565b60008060008051602061083383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c491906107ca565b15610651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064b9190610815565b91505090565b54600160601b90046001600160a01b0316919050565b61066f6106de565b61067881610422565b6106806103dc565b6001600160a01b0382166106a75760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061083383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661072c57604051631afcd79f60e31b815260040160405180910390fd5b565b60006020828403121561074057600080fd5b81356001600160e01b03198116811461075857600080fd5b9392505050565b6001600160a01b038116811461052d57600080fd5b60006020828403121561078657600080fd5b81356107588161075f565b600080604083850312156107a457600080fd5b82356107af8161075f565b915060208301356107bf8161075f565b809150509250929050565b6000602082840312156107dc57600080fd5b8151801515811461075857600080fd5b6000602082840312156107fe57600080fd5b81516001600160601b038116811461075857600080fd5b60006020828403121561082757600080fd5b81516107588161075f56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220f8d4a371bb4886f8476f99a7c1ddf47027e1d4911ca19c85f25785091f9a252864736f6c63430008140033",
|
209
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063644c45e011610066578063644c45e01461012f578063675393bf14610157578063893d20e81461016a578063ada9652e14610172578063f7c34ee01461019557600080fd5b806301ffc9a7146100a3578063138461e0146100e5578063214cdb80146100ef57806336fc697e146101025780635ab1bd531461010a575b600080fd5b6100d06100b136600461072e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ed6101a8565b005b6100ed6100fd36600461072e565b6103af565b6100ed6103dc565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100dc565b600080516020610833833981519152546040516001600160601b0390911681526020016100dc565b6100ed610165366004610774565b610422565b610117610530565b61018760008051602061083383398151915281565b6040519081526020016100dc565b6100ed6101a3366004610791565b610667565b600060008051602061083383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610217573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023b91906107ca565b1561026c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061027f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156102c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102eb91906107ca565b6103135760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610263565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038b91906107ec565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6103b76106de565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6103e46106de565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61042a6106de565b806001600160a01b03163b6000036104605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610263565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156104da575060408051601f3d908101601f191682019092526104d7918101906107ca565b60015b6105025760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610263565b8061052b5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610263565b505b50565b60008060008051602061083383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c491906107ca565b15610651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064b9190610815565b91505090565b54600160601b90046001600160a01b0316919050565b61066f6106de565b61067881610422565b6106806103dc565b6001600160a01b0382166106a75760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061083383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661072c57604051631afcd79f60e31b815260040160405180910390fd5b565b60006020828403121561074057600080fd5b81356001600160e01b03198116811461075857600080fd5b9392505050565b6001600160a01b038116811461052d57600080fd5b60006020828403121561078657600080fd5b81356107588161075f565b600080604083850312156107a457600080fd5b82356107af8161075f565b915060208301356107bf8161075f565b809150509250929050565b6000602082840312156107dc57600080fd5b8151801515811461075857600080fd5b6000602082840312156107fe57600080fd5b81516001600160601b038116811461075857600080fd5b60006020828403121561082757600080fd5b81516107588161075f56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220f8d4a371bb4886f8476f99a7c1ddf47027e1d4911ca19c85f25785091f9a252864736f6c63430008140033",
|
223
210
|
"linkReferences": {
|
224
211
|
"contracts/types/NftId.sol": {
|
225
212
|
"NftIdLib": [
|
226
213
|
{
|
227
214
|
"length": 20,
|
228
|
-
"start":
|
215
|
+
"start": 509
|
229
216
|
},
|
230
217
|
{
|
231
218
|
"length": 20,
|
232
|
-
"start":
|
219
|
+
"start": 1414
|
233
220
|
}
|
234
221
|
]
|
235
222
|
}
|
@@ -239,11 +226,11 @@
|
|
239
226
|
"NftIdLib": [
|
240
227
|
{
|
241
228
|
"length": 20,
|
242
|
-
"start":
|
229
|
+
"start": 477
|
243
230
|
},
|
244
231
|
{
|
245
232
|
"length": 20,
|
246
|
-
"start":
|
233
|
+
"start": 1382
|
247
234
|
}
|
248
235
|
]
|
249
236
|
}
|
@@ -54,13 +54,36 @@
|
|
54
54
|
"inputs": [
|
55
55
|
{
|
56
56
|
"internalType": "NftId",
|
57
|
-
"name": "
|
57
|
+
"name": "policyNftId",
|
58
|
+
"type": "uint96"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"internalType": "ClaimId",
|
62
|
+
"name": "claimId",
|
63
|
+
"type": "uint16"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"internalType": "Amount",
|
67
|
+
"name": "amount",
|
68
|
+
"type": "uint96"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"name": "claimConfirmed",
|
72
|
+
"outputs": [],
|
73
|
+
"stateMutability": "nonpayable",
|
74
|
+
"type": "function"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
78
|
+
{
|
79
|
+
"internalType": "NftId",
|
80
|
+
"name": "policyNftId",
|
58
81
|
"type": "uint96"
|
59
82
|
},
|
60
83
|
{
|
61
|
-
"internalType": "
|
84
|
+
"internalType": "ClaimId",
|
62
85
|
"name": "claimId",
|
63
|
-
"type": "
|
86
|
+
"type": "uint16"
|
64
87
|
}
|
65
88
|
],
|
66
89
|
"name": "getBeneficiary",
|
@@ -87,19 +110,6 @@
|
|
87
110
|
"stateMutability": "view",
|
88
111
|
"type": "function"
|
89
112
|
},
|
90
|
-
{
|
91
|
-
"inputs": [],
|
92
|
-
"name": "getRegistryAddress",
|
93
|
-
"outputs": [
|
94
|
-
{
|
95
|
-
"internalType": "address",
|
96
|
-
"name": "",
|
97
|
-
"type": "address"
|
98
|
-
}
|
99
|
-
],
|
100
|
-
"stateMutability": "view",
|
101
|
-
"type": "function"
|
102
|
-
},
|
103
113
|
{
|
104
114
|
"inputs": [],
|
105
115
|
"name": "initializeERC165",
|
@@ -175,9 +185,9 @@
|
|
175
185
|
"type": "uint96"
|
176
186
|
},
|
177
187
|
{
|
178
|
-
"internalType": "
|
188
|
+
"internalType": "PayoutId",
|
179
189
|
"name": "payoutId",
|
180
|
-
"type": "
|
190
|
+
"type": "uint24"
|
181
191
|
},
|
182
192
|
{
|
183
193
|
"internalType": "address",
|
@@ -185,12 +195,25 @@
|
|
185
195
|
"type": "address"
|
186
196
|
},
|
187
197
|
{
|
188
|
-
"internalType": "
|
198
|
+
"internalType": "Amount",
|
189
199
|
"name": "amount",
|
190
|
-
"type": "
|
200
|
+
"type": "uint96"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"name": "payoutExecuted",
|
204
|
+
"outputs": [],
|
205
|
+
"stateMutability": "nonpayable",
|
206
|
+
"type": "function"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"inputs": [
|
210
|
+
{
|
211
|
+
"internalType": "NftId",
|
212
|
+
"name": "policyNftId",
|
213
|
+
"type": "uint96"
|
191
214
|
}
|
192
215
|
],
|
193
|
-
"name": "
|
216
|
+
"name": "policyActivated",
|
194
217
|
"outputs": [],
|
195
218
|
"stateMutability": "nonpayable",
|
196
219
|
"type": "function"
|
@@ -203,7 +226,7 @@
|
|
203
226
|
"type": "uint96"
|
204
227
|
}
|
205
228
|
],
|
206
|
-
"name": "
|
229
|
+
"name": "policyExpired",
|
207
230
|
"outputs": [],
|
208
231
|
"stateMutability": "nonpayable",
|
209
232
|
"type": "function"
|
@@ -241,8 +264,8 @@
|
|
241
264
|
"type": "function"
|
242
265
|
}
|
243
266
|
],
|
244
|
-
"bytecode": "
|
245
|
-
"deployedBytecode": "
|
267
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610753806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063675393bf1161008c578063b8ab37f411610066578063b8ab37f414610200578063c642e0de14610214578063d0030d43146101ba578063df86992d1461022757600080fd5b8063675393bf146101a75780636e75a77d146101ba578063b414004e146101cb57600080fd5b806301ffc9a7146100d4578063150b7a0214610116578063214cdb801461014e57806336fc697e146101635780635280d8231461016b5780635ab1bd5314610196575b600080fd5b6101016100e23660046104b3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101356101243660046104f2565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161010d565b61016161015c3660046104b3565b61023a565b005b610161610267565b61017e6101793660046105c2565b6102ad565b6040516001600160a01b03909116815260200161010d565b6001546001600160a01b031661017e565b6101616101b53660046105f7565b610340565b6101616101c8366004610614565b50565b6101f27f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0081565b60405190815260200161010d565b61016161020e366004610631565b50505050565b610161610222366004610695565b505050565b6101616102353660046105f7565b610452565b610242610463565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61026f610463565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006102c16001546001600160a01b031690565b604051631c5da14d60e11b81526bffffffffffffffffffffffff851660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033991906106de565b9392505050565b610348610463565b806001600160a01b03163b6000036103835760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156103fd575060408051601f3d908101601f191682019092526103fa918101906106fb565b60015b6104255760405163fdeac91f60e01b81526001600160a01b038216600482015260240161037a565b8061044e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161037a565b5050565b61045a610463565b6101c881610340565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166104b157604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156104c557600080fd5b81356001600160e01b03198116811461033957600080fd5b6001600160a01b03811681146101c857600080fd5b60008060008060006080868803121561050a57600080fd5b8535610515816104dd565b94506020860135610525816104dd565b935060408601359250606086013567ffffffffffffffff8082111561054957600080fd5b818801915088601f83011261055d57600080fd5b81358181111561056c57600080fd5b89602082850101111561057e57600080fd5b9699959850939650602001949392505050565b6bffffffffffffffffffffffff811681146101c857600080fd5b803561ffff811681146105bd57600080fd5b919050565b600080604083850312156105d557600080fd5b82356105e081610591565b91506105ee602084016105ab565b90509250929050565b60006020828403121561060957600080fd5b8135610339816104dd565b60006020828403121561062657600080fd5b813561033981610591565b6000806000806080858703121561064757600080fd5b843561065281610591565b9350602085013562ffffff8116811461066a57600080fd5b9250604085013561067a816104dd565b9150606085013561068a81610591565b939692955090935050565b6000806000606084860312156106aa57600080fd5b83356106b581610591565b92506106c3602085016105ab565b915060408401356106d381610591565b809150509250925092565b6000602082840312156106f057600080fd5b8151610339816104dd565b60006020828403121561070d57600080fd5b8151801515811461033957600080fdfea2646970667358221220edfa01ba2b3b547d8815e567a29ef031500768815d9f16aec7aed6e979ccfd3f64736f6c63430008140033",
|
268
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063675393bf1161008c578063b8ab37f411610066578063b8ab37f414610200578063c642e0de14610214578063d0030d43146101ba578063df86992d1461022757600080fd5b8063675393bf146101a75780636e75a77d146101ba578063b414004e146101cb57600080fd5b806301ffc9a7146100d4578063150b7a0214610116578063214cdb801461014e57806336fc697e146101635780635280d8231461016b5780635ab1bd5314610196575b600080fd5b6101016100e23660046104b3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101356101243660046104f2565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161010d565b61016161015c3660046104b3565b61023a565b005b610161610267565b61017e6101793660046105c2565b6102ad565b6040516001600160a01b03909116815260200161010d565b6001546001600160a01b031661017e565b6101616101b53660046105f7565b610340565b6101616101c8366004610614565b50565b6101f27f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0081565b60405190815260200161010d565b61016161020e366004610631565b50505050565b610161610222366004610695565b505050565b6101616102353660046105f7565b610452565b610242610463565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61026f610463565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006102c16001546001600160a01b031690565b604051631c5da14d60e11b81526bffffffffffffffffffffffff851660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033991906106de565b9392505050565b610348610463565b806001600160a01b03163b6000036103835760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156103fd575060408051601f3d908101601f191682019092526103fa918101906106fb565b60015b6104255760405163fdeac91f60e01b81526001600160a01b038216600482015260240161037a565b8061044e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161037a565b5050565b61045a610463565b6101c881610340565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166104b157604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156104c557600080fd5b81356001600160e01b03198116811461033957600080fd5b6001600160a01b03811681146101c857600080fd5b60008060008060006080868803121561050a57600080fd5b8535610515816104dd565b94506020860135610525816104dd565b935060408601359250606086013567ffffffffffffffff8082111561054957600080fd5b818801915088601f83011261055d57600080fd5b81358181111561056c57600080fd5b89602082850101111561057e57600080fd5b9699959850939650602001949392505050565b6bffffffffffffffffffffffff811681146101c857600080fd5b803561ffff811681146105bd57600080fd5b919050565b600080604083850312156105d557600080fd5b82356105e081610591565b91506105ee602084016105ab565b90509250929050565b60006020828403121561060957600080fd5b8135610339816104dd565b60006020828403121561062657600080fd5b813561033981610591565b6000806000806080858703121561064757600080fd5b843561065281610591565b9350602085013562ffffff8116811461066a57600080fd5b9250604085013561067a816104dd565b9150606085013561068a81610591565b939692955090935050565b6000806000606084860312156106aa57600080fd5b83356106b581610591565b92506106c3602085016105ab565b915060408401356106d381610591565b809150509250925092565b6000602082840312156106f057600080fd5b8151610339816104dd565b60006020828403121561070d57600080fd5b8151801515811461033957600080fdfea2646970667358221220edfa01ba2b3b547d8815e567a29ef031500768815d9f16aec7aed6e979ccfd3f64736f6c63430008140033",
|
246
269
|
"linkReferences": {},
|
247
270
|
"deployedLinkReferences": {}
|
248
271
|
}
|