@etherisc/gif-next 0.0.2-d67ce7f-686 → 0.0.2-d6a50e7-658
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +32 -8
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +158 -70
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +97 -37
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +175 -371
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +115 -295
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +239 -295
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +125 -119
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +115 -143
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +127 -64
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2040 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2408 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +130 -61
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +165 -157
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +317 -143
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +58 -85
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +927 -262
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +131 -266
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +102 -92
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +692 -443
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +127 -323
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +102 -130
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +103 -283
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +125 -305
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +170 -337
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +111 -133
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +86 -67
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +124 -163
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +303 -207
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +122 -313
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +384 -410
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +122 -104
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +134 -184
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +91 -93
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +238 -357
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +421 -222
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +142 -108
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +94 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +303 -9
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +302 -150
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +136 -83
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +235 -202
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +57 -4
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +347 -378
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +115 -109
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +227 -314
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +120 -122
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +236 -355
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +315 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +521 -95
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +275 -160
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +412 -246
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +89 -240
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +502 -617
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +137 -133
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +448 -260
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +102 -130
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
- 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 +55 -2
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +102 -282
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
- 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 +57 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +674 -49
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +55 -23
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +64 -94
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +217 -359
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +119 -104
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +100 -171
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +98 -84
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +149 -108
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +55 -24
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +33 -9
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +3 -3
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +118 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +3 -3
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +16 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +192 -124
- package/contracts/authorization/AccessManagerCloneable.sol +136 -3
- package/contracts/authorization/Authorization.sol +111 -40
- package/contracts/authorization/IAccess.sol +1 -0
- package/contracts/authorization/IAccessAdmin.sol +10 -6
- package/contracts/authorization/IAuthorization.sol +13 -7
- package/contracts/authorization/IServiceAuthorization.sol +3 -1
- package/contracts/authorization/ServiceAuthorization.sol +26 -10
- package/contracts/distribution/BasicDistribution.sol +8 -7
- package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
- package/contracts/distribution/Distribution.sol +33 -41
- package/contracts/distribution/DistributionService.sol +112 -91
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +14 -11
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +90 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +438 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +370 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +16 -36
- package/contracts/instance/IInstanceService.sol +9 -29
- package/contracts/instance/Instance.sol +47 -66
- package/contracts/instance/InstanceAdmin.sol +133 -73
- package/contracts/instance/InstanceAuthorizationV3.sol +55 -34
- package/contracts/instance/InstanceReader.sol +218 -27
- package/contracts/instance/InstanceService.sol +125 -164
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +23 -2
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +10 -1
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IComponents.sol +14 -10
- package/contracts/instance/module/IPolicy.sol +25 -24
- package/contracts/instance/module/IRisk.sol +3 -0
- package/contracts/oracle/BasicOracle.sol +0 -1
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +7 -17
- package/contracts/oracle/OracleService.sol +113 -81
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +35 -26
- package/contracts/pool/BasicPoolAuthorization.sol +14 -4
- package/contracts/pool/BundleService.sol +105 -117
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +8 -20
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +52 -48
- package/contracts/pool/Pool.sol +145 -128
- package/contracts/pool/PoolService.sol +297 -207
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +72 -43
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +11 -12
- package/contracts/product/BasicProductAuthorization.sol +1 -3
- package/contracts/product/ClaimService.sol +422 -138
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +6 -2
- package/contracts/product/IClaimService.sol +43 -7
- package/contracts/product/IPolicyService.sol +42 -37
- package/contracts/product/IPricingService.sol +10 -10
- package/contracts/product/IProductComponent.sol +27 -5
- package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
- package/contracts/product/PolicyService.sol +477 -283
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +66 -62
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +143 -91
- package/contracts/product/RiskService.sol +151 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +58 -28
- package/contracts/registry/IRegistryService.sol +5 -12
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +353 -203
- package/contracts/registry/RegistryAdmin.sol +161 -182
- package/contracts/registry/RegistryService.sol +37 -48
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +245 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +258 -232
- package/contracts/registry/ServiceAuthorizationV3.sol +94 -52
- package/contracts/registry/TokenRegistry.sol +6 -8
- package/contracts/shared/Component.sol +72 -127
- package/contracts/shared/ComponentService.sol +427 -377
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ComponentVerifyingService.sol +28 -17
- package/contracts/shared/ContractLib.sol +252 -0
- package/contracts/shared/IComponent.sol +8 -18
- package/contracts/shared/IComponentService.sol +45 -37
- package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +2 -2
- package/contracts/shared/InstanceLinkedComponent.sol +72 -47
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +29 -9
- package/contracts/shared/PolicyHolder.sol +15 -52
- package/contracts/shared/Registerable.sol +55 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +15 -32
- package/contracts/shared/TokenHandler.sol +356 -29
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +11 -5
- package/contracts/staking/IStakingService.sol +0 -3
- package/contracts/staking/StakeManagerLib.sol +18 -25
- package/contracts/staking/Staking.sol +71 -61
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +12 -5
- package/contracts/staking/StakingService.sol +57 -25
- package/contracts/staking/StakingServiceManager.sol +2 -2
- package/contracts/staking/TargetManagerLib.sol +7 -3
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +36 -17
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +35 -4
- package/contracts/type/RoleId.sol +4 -13
- package/contracts/type/Seconds.sol +8 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +13 -119
- package/contracts/type/Version.sol +15 -5
- package/contracts/upgradeability/ProxyManager.sol +68 -34
- package/contracts/upgradeability/Versionable.sol +2 -2
- package/package.json +4 -3
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/IModuleAuthorization.sol +0 -21
- package/contracts/authorization/ModuleAuthorization.sol +0 -78
- package/contracts/product/ProductService.sol +0 -99
- package/contracts/product/ProductServiceManager.sol +0 -39
- package/contracts/shared/InitializableCustom.sol +0 -177
@@ -45,117 +45,144 @@
|
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
47
|
"internalType": "address",
|
48
|
-
"name": "
|
49
|
-
"type": "address"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"internalType": "address",
|
53
|
-
"name": "tokenHandlerAddress",
|
48
|
+
"name": "authority",
|
54
49
|
"type": "address"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"internalType": "uint256",
|
58
|
-
"name": "amount",
|
59
|
-
"type": "uint256"
|
60
50
|
}
|
61
51
|
],
|
62
|
-
"name": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
63
53
|
"type": "error"
|
64
54
|
},
|
65
55
|
{
|
66
56
|
"inputs": [
|
67
57
|
{
|
68
58
|
"internalType": "NftId",
|
69
|
-
"name": "
|
59
|
+
"name": "nftId",
|
70
60
|
"type": "uint96"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"internalType": "uint16",
|
74
|
-
"name": "openClaimsCount",
|
75
|
-
"type": "uint16"
|
76
61
|
}
|
77
62
|
],
|
78
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
79
64
|
"type": "error"
|
80
65
|
},
|
81
66
|
{
|
82
67
|
"inputs": [
|
83
68
|
{
|
84
|
-
"internalType": "
|
85
|
-
"name": "
|
86
|
-
"type": "
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "contractAddress",
|
71
|
+
"type": "address"
|
87
72
|
}
|
88
73
|
],
|
89
|
-
"name": "
|
74
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [],
|
79
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
90
80
|
"type": "error"
|
91
81
|
},
|
92
82
|
{
|
93
83
|
"inputs": [
|
94
84
|
{
|
95
85
|
"internalType": "NftId",
|
96
|
-
"name": "
|
86
|
+
"name": "nftId",
|
97
87
|
"type": "uint96"
|
98
88
|
},
|
99
89
|
{
|
100
|
-
"internalType": "
|
101
|
-
"name": "
|
102
|
-
"type": "
|
103
|
-
}
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "expectedObjectType",
|
92
|
+
"type": "uint8"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableInvalidType",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [
|
104
100
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "account",
|
103
|
+
"type": "address"
|
108
104
|
}
|
109
105
|
],
|
110
|
-
"name": "
|
106
|
+
"name": "ErrorNftOwnableNotOwner",
|
111
107
|
"type": "error"
|
112
108
|
},
|
113
109
|
{
|
114
110
|
"inputs": [
|
115
111
|
{
|
116
|
-
"internalType": "
|
117
|
-
"name": "
|
118
|
-
"type": "
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "registryAddress",
|
114
|
+
"type": "address"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "ErrorNotRegistry",
|
118
|
+
"type": "error"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"inputs": [
|
122
|
+
{
|
123
|
+
"internalType": "address",
|
124
|
+
"name": "policyOwner",
|
125
|
+
"type": "address"
|
119
126
|
},
|
120
127
|
{
|
121
|
-
"internalType": "
|
122
|
-
"name": "
|
123
|
-
"type": "
|
128
|
+
"internalType": "address",
|
129
|
+
"name": "tokenHandler",
|
130
|
+
"type": "address"
|
124
131
|
},
|
125
132
|
{
|
126
|
-
"internalType": "
|
127
|
-
"name": "
|
128
|
-
"type": "
|
133
|
+
"internalType": "uint256",
|
134
|
+
"name": "premiumAmount",
|
135
|
+
"type": "uint256"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"internalType": "uint256",
|
139
|
+
"name": "allowance",
|
140
|
+
"type": "uint256"
|
129
141
|
}
|
130
142
|
],
|
131
|
-
"name": "
|
143
|
+
"name": "ErrorPolicyServiceAllowanceInsufficient",
|
132
144
|
"type": "error"
|
133
145
|
},
|
134
146
|
{
|
135
147
|
"inputs": [
|
136
148
|
{
|
137
|
-
"internalType": "
|
138
|
-
"name": "
|
139
|
-
"type": "
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "policyOwner",
|
151
|
+
"type": "address"
|
140
152
|
},
|
141
153
|
{
|
142
|
-
"internalType": "
|
143
|
-
"name": "
|
144
|
-
"type": "
|
154
|
+
"internalType": "uint256",
|
155
|
+
"name": "premiumAmount",
|
156
|
+
"type": "uint256"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"internalType": "uint256",
|
160
|
+
"name": "balance",
|
161
|
+
"type": "uint256"
|
145
162
|
}
|
146
163
|
],
|
147
|
-
"name": "
|
164
|
+
"name": "ErrorPolicyServiceBalanceInsufficient",
|
148
165
|
"type": "error"
|
149
166
|
},
|
150
167
|
{
|
151
168
|
"inputs": [
|
152
169
|
{
|
153
|
-
"internalType": "
|
154
|
-
"name": "
|
155
|
-
"type": "
|
170
|
+
"internalType": "address",
|
171
|
+
"name": "customer",
|
172
|
+
"type": "address"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"internalType": "address",
|
176
|
+
"name": "tokenHandlerAddress",
|
177
|
+
"type": "address"
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"internalType": "uint256",
|
181
|
+
"name": "amount",
|
182
|
+
"type": "uint256"
|
156
183
|
}
|
157
184
|
],
|
158
|
-
"name": "
|
185
|
+
"name": "ErrorPolicyServiceInsufficientAllowance",
|
159
186
|
"type": "error"
|
160
187
|
},
|
161
188
|
{
|
@@ -166,108 +193,97 @@
|
|
166
193
|
"type": "uint96"
|
167
194
|
},
|
168
195
|
{
|
169
|
-
"internalType": "
|
170
|
-
"name": "
|
171
|
-
"type": "
|
196
|
+
"internalType": "uint16",
|
197
|
+
"name": "openClaimsCount",
|
198
|
+
"type": "uint16"
|
172
199
|
}
|
173
200
|
],
|
174
|
-
"name": "
|
201
|
+
"name": "ErrorPolicyServiceOpenClaims",
|
175
202
|
"type": "error"
|
176
203
|
},
|
177
204
|
{
|
178
205
|
"inputs": [
|
179
206
|
{
|
180
207
|
"internalType": "NftId",
|
181
|
-
"name": "
|
208
|
+
"name": "policyNftId",
|
182
209
|
"type": "uint96"
|
183
210
|
}
|
184
211
|
],
|
185
|
-
"name": "
|
212
|
+
"name": "ErrorPolicyServicePolicyAlreadyActivated",
|
186
213
|
"type": "error"
|
187
214
|
},
|
188
215
|
{
|
189
216
|
"inputs": [
|
190
217
|
{
|
191
|
-
"internalType": "
|
192
|
-
"name": "
|
193
|
-
"type": "
|
194
|
-
}
|
195
|
-
],
|
196
|
-
"name": "ErrorNftOwnableContractNotRegistered",
|
197
|
-
"type": "error"
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"inputs": [],
|
201
|
-
"name": "ErrorNftOwnableInitialOwnerZero",
|
202
|
-
"type": "error"
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"inputs": [
|
218
|
+
"internalType": "NftId",
|
219
|
+
"name": "policyNftId",
|
220
|
+
"type": "uint96"
|
221
|
+
},
|
206
222
|
{
|
207
|
-
"internalType": "
|
208
|
-
"name": "
|
209
|
-
"type": "
|
223
|
+
"internalType": "Timestamp",
|
224
|
+
"name": "lowerLimit",
|
225
|
+
"type": "uint40"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"internalType": "Timestamp",
|
229
|
+
"name": "expiredAt",
|
230
|
+
"type": "uint40"
|
210
231
|
}
|
211
232
|
],
|
212
|
-
"name": "
|
233
|
+
"name": "ErrorPolicyServicePolicyExpirationTooEarly",
|
213
234
|
"type": "error"
|
214
235
|
},
|
215
236
|
{
|
216
237
|
"inputs": [
|
217
238
|
{
|
218
|
-
"internalType": "
|
219
|
-
"name": "
|
220
|
-
"type": "
|
239
|
+
"internalType": "NftId",
|
240
|
+
"name": "policyNftId",
|
241
|
+
"type": "uint96"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"internalType": "Timestamp",
|
245
|
+
"name": "upperLimit",
|
246
|
+
"type": "uint40"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"internalType": "Timestamp",
|
250
|
+
"name": "expiredAt",
|
251
|
+
"type": "uint40"
|
221
252
|
}
|
222
253
|
],
|
223
|
-
"name": "
|
254
|
+
"name": "ErrorPolicyServicePolicyExpirationTooLate",
|
224
255
|
"type": "error"
|
225
256
|
},
|
226
257
|
{
|
227
258
|
"inputs": [
|
228
259
|
{
|
229
|
-
"internalType": "
|
230
|
-
"name": "
|
231
|
-
"type": "
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"internalType": "address",
|
235
|
-
"name": "tokenHandler",
|
236
|
-
"type": "address"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"internalType": "uint256",
|
240
|
-
"name": "premiumAmount",
|
241
|
-
"type": "uint256"
|
260
|
+
"internalType": "NftId",
|
261
|
+
"name": "policyNftId",
|
262
|
+
"type": "uint96"
|
242
263
|
},
|
243
264
|
{
|
244
|
-
"internalType": "
|
245
|
-
"name": "
|
246
|
-
"type": "
|
265
|
+
"internalType": "Timestamp",
|
266
|
+
"name": "expiredAt",
|
267
|
+
"type": "uint40"
|
247
268
|
}
|
248
269
|
],
|
249
|
-
"name": "
|
270
|
+
"name": "ErrorPolicyServicePolicyHasNotExpired",
|
250
271
|
"type": "error"
|
251
272
|
},
|
252
273
|
{
|
253
274
|
"inputs": [
|
254
275
|
{
|
255
|
-
"internalType": "
|
256
|
-
"name": "
|
257
|
-
"type": "
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"internalType": "uint256",
|
261
|
-
"name": "premiumAmount",
|
262
|
-
"type": "uint256"
|
276
|
+
"internalType": "NftId",
|
277
|
+
"name": "policyNftId",
|
278
|
+
"type": "uint96"
|
263
279
|
},
|
264
280
|
{
|
265
|
-
"internalType": "
|
266
|
-
"name": "
|
267
|
-
"type": "
|
281
|
+
"internalType": "StateId",
|
282
|
+
"name": "state",
|
283
|
+
"type": "uint8"
|
268
284
|
}
|
269
285
|
],
|
270
|
-
"name": "
|
286
|
+
"name": "ErrorPolicyServicePolicyNotActive",
|
271
287
|
"type": "error"
|
272
288
|
},
|
273
289
|
{
|
@@ -278,7 +294,7 @@
|
|
278
294
|
"type": "uint96"
|
279
295
|
}
|
280
296
|
],
|
281
|
-
"name": "
|
297
|
+
"name": "ErrorPolicyServicePolicyNotCloseable",
|
282
298
|
"type": "error"
|
283
299
|
},
|
284
300
|
{
|
@@ -330,32 +346,11 @@
|
|
330
346
|
"internalType": "NftId",
|
331
347
|
"name": "policyNftId",
|
332
348
|
"type": "uint96"
|
333
|
-
},
|
334
|
-
{
|
335
|
-
"internalType": "Amount",
|
336
|
-
"name": "premiumPaidAmount",
|
337
|
-
"type": "uint96"
|
338
349
|
}
|
339
350
|
],
|
340
351
|
"name": "ErrorPolicyServicePremiumAlreadyPaid",
|
341
352
|
"type": "error"
|
342
353
|
},
|
343
|
-
{
|
344
|
-
"inputs": [
|
345
|
-
{
|
346
|
-
"internalType": "uint256",
|
347
|
-
"name": "premiumExpectedAmount",
|
348
|
-
"type": "uint256"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"internalType": "uint256",
|
352
|
-
"name": "premiumToBePaidAmount",
|
353
|
-
"type": "uint256"
|
354
|
-
}
|
355
|
-
],
|
356
|
-
"name": "ErrorPolicyServicePremiumHigherThanExpected",
|
357
|
-
"type": "error"
|
358
|
-
},
|
359
354
|
{
|
360
355
|
"inputs": [
|
361
356
|
{
|
@@ -388,14 +383,9 @@
|
|
388
383
|
"internalType": "Amount",
|
389
384
|
"name": "premiumAmount",
|
390
385
|
"type": "uint96"
|
391
|
-
},
|
392
|
-
{
|
393
|
-
"internalType": "Amount",
|
394
|
-
"name": "premiumPaidAmount",
|
395
|
-
"type": "uint96"
|
396
386
|
}
|
397
387
|
],
|
398
|
-
"name": "
|
388
|
+
"name": "ErrorPolicyServicePremiumNotPaid",
|
399
389
|
"type": "error"
|
400
390
|
},
|
401
391
|
{
|
@@ -421,7 +411,7 @@
|
|
421
411
|
},
|
422
412
|
{
|
423
413
|
"inputs": [],
|
424
|
-
"name": "
|
414
|
+
"name": "ErrorRegisterableNotActive",
|
425
415
|
"type": "error"
|
426
416
|
},
|
427
417
|
{
|
@@ -437,6 +427,63 @@
|
|
437
427
|
"name": "AuthorityUpdated",
|
438
428
|
"type": "event"
|
439
429
|
},
|
430
|
+
{
|
431
|
+
"anonymous": false,
|
432
|
+
"inputs": [
|
433
|
+
{
|
434
|
+
"indexed": false,
|
435
|
+
"internalType": "NftId",
|
436
|
+
"name": "policyNftId",
|
437
|
+
"type": "uint96"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"indexed": false,
|
441
|
+
"internalType": "Timestamp",
|
442
|
+
"name": "activatedAt",
|
443
|
+
"type": "uint40"
|
444
|
+
}
|
445
|
+
],
|
446
|
+
"name": "LogPolicyServicePolicyActivated",
|
447
|
+
"type": "event"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"anonymous": false,
|
451
|
+
"inputs": [
|
452
|
+
{
|
453
|
+
"indexed": false,
|
454
|
+
"internalType": "NftId",
|
455
|
+
"name": "policyNftId",
|
456
|
+
"type": "uint96"
|
457
|
+
}
|
458
|
+
],
|
459
|
+
"name": "LogPolicyServicePolicyClosed",
|
460
|
+
"type": "event"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"anonymous": false,
|
464
|
+
"inputs": [
|
465
|
+
{
|
466
|
+
"indexed": false,
|
467
|
+
"internalType": "NftId",
|
468
|
+
"name": "policyNftId",
|
469
|
+
"type": "uint96"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"indexed": false,
|
473
|
+
"internalType": "Amount",
|
474
|
+
"name": "premiumAmount",
|
475
|
+
"type": "uint96"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"indexed": false,
|
479
|
+
"internalType": "Timestamp",
|
480
|
+
"name": "activatedAt",
|
481
|
+
"type": "uint40"
|
482
|
+
}
|
483
|
+
],
|
484
|
+
"name": "LogPolicyServicePolicyCreated",
|
485
|
+
"type": "event"
|
486
|
+
},
|
440
487
|
{
|
441
488
|
"anonymous": false,
|
442
489
|
"inputs": [
|
@@ -459,6 +506,12 @@
|
|
459
506
|
"name": "policyNftId",
|
460
507
|
"type": "uint96"
|
461
508
|
},
|
509
|
+
{
|
510
|
+
"indexed": false,
|
511
|
+
"internalType": "Timestamp",
|
512
|
+
"name": "originalExpiredAt",
|
513
|
+
"type": "uint40"
|
514
|
+
},
|
462
515
|
{
|
463
516
|
"indexed": false,
|
464
517
|
"internalType": "Timestamp",
|
@@ -469,6 +522,25 @@
|
|
469
522
|
"name": "LogPolicyServicePolicyExpirationUpdated",
|
470
523
|
"type": "event"
|
471
524
|
},
|
525
|
+
{
|
526
|
+
"anonymous": false,
|
527
|
+
"inputs": [
|
528
|
+
{
|
529
|
+
"indexed": false,
|
530
|
+
"internalType": "NftId",
|
531
|
+
"name": "policyNftId",
|
532
|
+
"type": "uint96"
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"indexed": false,
|
536
|
+
"internalType": "Amount",
|
537
|
+
"name": "premiumAmount",
|
538
|
+
"type": "uint96"
|
539
|
+
}
|
540
|
+
],
|
541
|
+
"name": "LogPolicyServicePolicyPremiumCollected",
|
542
|
+
"type": "event"
|
543
|
+
},
|
472
544
|
{
|
473
545
|
"inputs": [
|
474
546
|
{
|
@@ -520,18 +592,13 @@
|
|
520
592
|
"name": "policyNftId",
|
521
593
|
"type": "uint96"
|
522
594
|
},
|
523
|
-
{
|
524
|
-
"internalType": "bool",
|
525
|
-
"name": "requirePremiumPayment",
|
526
|
-
"type": "bool"
|
527
|
-
},
|
528
595
|
{
|
529
596
|
"internalType": "Timestamp",
|
530
597
|
"name": "activateAt",
|
531
598
|
"type": "uint40"
|
532
599
|
}
|
533
600
|
],
|
534
|
-
"name": "
|
601
|
+
"name": "collectPremium",
|
535
602
|
"outputs": [],
|
536
603
|
"stateMutability": "nonpayable",
|
537
604
|
"type": "function"
|
@@ -540,7 +607,7 @@
|
|
540
607
|
"inputs": [
|
541
608
|
{
|
542
609
|
"internalType": "NftId",
|
543
|
-
"name": "
|
610
|
+
"name": "applicationNftId",
|
544
611
|
"type": "uint96"
|
545
612
|
},
|
546
613
|
{
|
@@ -549,8 +616,14 @@
|
|
549
616
|
"type": "uint40"
|
550
617
|
}
|
551
618
|
],
|
552
|
-
"name": "
|
553
|
-
"outputs": [
|
619
|
+
"name": "createPolicy",
|
620
|
+
"outputs": [
|
621
|
+
{
|
622
|
+
"internalType": "Amount",
|
623
|
+
"name": "premiumAmount",
|
624
|
+
"type": "uint96"
|
625
|
+
}
|
626
|
+
],
|
554
627
|
"stateMutability": "nonpayable",
|
555
628
|
"type": "function"
|
556
629
|
},
|
@@ -591,6 +664,35 @@
|
|
591
664
|
"stateMutability": "nonpayable",
|
592
665
|
"type": "function"
|
593
666
|
},
|
667
|
+
{
|
668
|
+
"inputs": [
|
669
|
+
{
|
670
|
+
"internalType": "contract IInstance",
|
671
|
+
"name": "instance",
|
672
|
+
"type": "address"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"internalType": "NftId",
|
676
|
+
"name": "policyNftId",
|
677
|
+
"type": "uint96"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"internalType": "Timestamp",
|
681
|
+
"name": "expireAt",
|
682
|
+
"type": "uint40"
|
683
|
+
}
|
684
|
+
],
|
685
|
+
"name": "expirePolicy",
|
686
|
+
"outputs": [
|
687
|
+
{
|
688
|
+
"internalType": "Timestamp",
|
689
|
+
"name": "expiredAt",
|
690
|
+
"type": "uint40"
|
691
|
+
}
|
692
|
+
],
|
693
|
+
"stateMutability": "nonpayable",
|
694
|
+
"type": "function"
|
695
|
+
},
|
594
696
|
{
|
595
697
|
"inputs": [],
|
596
698
|
"name": "getDomain",
|
@@ -693,6 +795,19 @@
|
|
693
795
|
"stateMutability": "view",
|
694
796
|
"type": "function"
|
695
797
|
},
|
798
|
+
{
|
799
|
+
"inputs": [],
|
800
|
+
"name": "getRelease",
|
801
|
+
"outputs": [
|
802
|
+
{
|
803
|
+
"internalType": "VersionPart",
|
804
|
+
"name": "release",
|
805
|
+
"type": "uint8"
|
806
|
+
}
|
807
|
+
],
|
808
|
+
"stateMutability": "view",
|
809
|
+
"type": "function"
|
810
|
+
},
|
696
811
|
{
|
697
812
|
"inputs": [],
|
698
813
|
"name": "getRoleId",
|
@@ -703,7 +818,7 @@
|
|
703
818
|
"type": "uint64"
|
704
819
|
}
|
705
820
|
],
|
706
|
-
"stateMutability": "
|
821
|
+
"stateMutability": "view",
|
707
822
|
"type": "function"
|
708
823
|
},
|
709
824
|
{
|
@@ -737,6 +852,19 @@
|
|
737
852
|
"stateMutability": "nonpayable",
|
738
853
|
"type": "function"
|
739
854
|
},
|
855
|
+
{
|
856
|
+
"inputs": [],
|
857
|
+
"name": "isActive",
|
858
|
+
"outputs": [
|
859
|
+
{
|
860
|
+
"internalType": "bool",
|
861
|
+
"name": "active",
|
862
|
+
"type": "bool"
|
863
|
+
}
|
864
|
+
],
|
865
|
+
"stateMutability": "view",
|
866
|
+
"type": "function"
|
867
|
+
},
|
740
868
|
{
|
741
869
|
"inputs": [],
|
742
870
|
"name": "isConsumingScheduledOp",
|
@@ -763,6 +891,30 @@
|
|
763
891
|
"stateMutability": "nonpayable",
|
764
892
|
"type": "function"
|
765
893
|
},
|
894
|
+
{
|
895
|
+
"inputs": [
|
896
|
+
{
|
897
|
+
"internalType": "contract InstanceReader",
|
898
|
+
"name": "instanceReader",
|
899
|
+
"type": "address"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"internalType": "NftId",
|
903
|
+
"name": "policyNftId",
|
904
|
+
"type": "uint96"
|
905
|
+
}
|
906
|
+
],
|
907
|
+
"name": "policyIsCloseable",
|
908
|
+
"outputs": [
|
909
|
+
{
|
910
|
+
"internalType": "bool",
|
911
|
+
"name": "isCloseable",
|
912
|
+
"type": "bool"
|
913
|
+
}
|
914
|
+
],
|
915
|
+
"stateMutability": "view",
|
916
|
+
"type": "function"
|
917
|
+
},
|
766
918
|
{
|
767
919
|
"inputs": [
|
768
920
|
{
|