@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
@@ -41,6 +41,17 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [
|
46
57
|
{
|
@@ -68,6 +79,22 @@
|
|
68
79
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
80
|
"type": "error"
|
70
81
|
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "nftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "expectedObjectType",
|
92
|
+
"type": "uint8"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableInvalidType",
|
96
|
+
"type": "error"
|
97
|
+
},
|
71
98
|
{
|
72
99
|
"inputs": [
|
73
100
|
{
|
@@ -90,11 +117,6 @@
|
|
90
117
|
"name": "ErrorNotRegistry",
|
91
118
|
"type": "error"
|
92
119
|
},
|
93
|
-
{
|
94
|
-
"inputs": [],
|
95
|
-
"name": "ErrorPoolServiceAmountIsZero",
|
96
|
-
"type": "error"
|
97
|
-
},
|
98
120
|
{
|
99
121
|
"inputs": [
|
100
122
|
{
|
@@ -147,52 +169,58 @@
|
|
147
169
|
},
|
148
170
|
{
|
149
171
|
"internalType": "Amount",
|
150
|
-
"name": "
|
172
|
+
"name": "maxBalanceAmount",
|
151
173
|
"type": "uint96"
|
152
174
|
},
|
153
175
|
{
|
154
176
|
"internalType": "Amount",
|
155
|
-
"name": "
|
177
|
+
"name": "currentBalanceAmount",
|
156
178
|
"type": "uint96"
|
157
179
|
},
|
158
180
|
{
|
159
181
|
"internalType": "Amount",
|
160
|
-
"name": "
|
182
|
+
"name": "transferAmount",
|
161
183
|
"type": "uint96"
|
162
184
|
}
|
163
185
|
],
|
164
|
-
"name": "
|
186
|
+
"name": "ErrorPoolServiceMaxBalanceAmountExceeded",
|
165
187
|
"type": "error"
|
166
188
|
},
|
167
189
|
{
|
168
190
|
"inputs": [
|
169
191
|
{
|
170
|
-
"internalType": "
|
171
|
-
"name": "
|
172
|
-
"type": "
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "policyNftId",
|
194
|
+
"type": "uint96"
|
173
195
|
},
|
174
196
|
{
|
175
|
-
"internalType": "
|
176
|
-
"name": "
|
177
|
-
"type": "
|
197
|
+
"internalType": "NftId",
|
198
|
+
"name": "productNftId",
|
199
|
+
"type": "uint96"
|
178
200
|
},
|
179
201
|
{
|
180
|
-
"internalType": "
|
181
|
-
"name": "
|
182
|
-
"type": "
|
183
|
-
}
|
202
|
+
"internalType": "NftId",
|
203
|
+
"name": "expectedProductNftId",
|
204
|
+
"type": "uint96"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"name": "ErrorPoolServicePolicyPoolMismatch",
|
208
|
+
"type": "error"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"inputs": [
|
184
212
|
{
|
185
|
-
"internalType": "
|
186
|
-
"name": "
|
187
|
-
"type": "
|
213
|
+
"internalType": "NftId",
|
214
|
+
"name": "poolNftId",
|
215
|
+
"type": "uint96"
|
188
216
|
}
|
189
217
|
],
|
190
|
-
"name": "
|
218
|
+
"name": "ErrorPoolServicePoolNotExternallyManaged",
|
191
219
|
"type": "error"
|
192
220
|
},
|
193
221
|
{
|
194
222
|
"inputs": [],
|
195
|
-
"name": "
|
223
|
+
"name": "ErrorRegisterableNotActive",
|
196
224
|
"type": "error"
|
197
225
|
},
|
198
226
|
{
|
@@ -261,6 +289,12 @@
|
|
261
289
|
{
|
262
290
|
"anonymous": false,
|
263
291
|
"inputs": [
|
292
|
+
{
|
293
|
+
"indexed": false,
|
294
|
+
"internalType": "NftId",
|
295
|
+
"name": "instanceNftId",
|
296
|
+
"type": "uint96"
|
297
|
+
},
|
264
298
|
{
|
265
299
|
"indexed": false,
|
266
300
|
"internalType": "NftId",
|
@@ -269,12 +303,24 @@
|
|
269
303
|
},
|
270
304
|
{
|
271
305
|
"indexed": false,
|
272
|
-
"internalType": "
|
273
|
-
"name": "
|
274
|
-
"type": "
|
306
|
+
"internalType": "NftId",
|
307
|
+
"name": "bundleNftId",
|
308
|
+
"type": "uint96"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"indexed": false,
|
312
|
+
"internalType": "Amount",
|
313
|
+
"name": "amount",
|
314
|
+
"type": "uint96"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"indexed": false,
|
318
|
+
"internalType": "Amount",
|
319
|
+
"name": "netAmount",
|
320
|
+
"type": "uint96"
|
275
321
|
}
|
276
322
|
],
|
277
|
-
"name": "
|
323
|
+
"name": "LogPoolServiceBundleStaked",
|
278
324
|
"type": "event"
|
279
325
|
},
|
280
326
|
{
|
@@ -311,7 +357,7 @@
|
|
311
357
|
"type": "uint96"
|
312
358
|
}
|
313
359
|
],
|
314
|
-
"name": "
|
360
|
+
"name": "LogPoolServiceBundleUnstaked",
|
315
361
|
"type": "event"
|
316
362
|
},
|
317
363
|
{
|
@@ -320,29 +366,48 @@
|
|
320
366
|
{
|
321
367
|
"indexed": false,
|
322
368
|
"internalType": "NftId",
|
323
|
-
"name": "
|
369
|
+
"name": "poolNftId",
|
324
370
|
"type": "uint96"
|
325
371
|
},
|
326
372
|
{
|
327
373
|
"indexed": false,
|
328
|
-
"internalType": "
|
329
|
-
"name": "
|
374
|
+
"internalType": "Amount",
|
375
|
+
"name": "previousMaxCapitalAmount",
|
330
376
|
"type": "uint96"
|
331
377
|
},
|
378
|
+
{
|
379
|
+
"indexed": false,
|
380
|
+
"internalType": "Amount",
|
381
|
+
"name": "currentMaxCapitalAmount",
|
382
|
+
"type": "uint96"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"name": "LogPoolServiceMaxBalanceAmountUpdated",
|
386
|
+
"type": "event"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"anonymous": false,
|
390
|
+
"inputs": [
|
332
391
|
{
|
333
392
|
"indexed": false,
|
334
393
|
"internalType": "NftId",
|
335
|
-
"name": "
|
394
|
+
"name": "policyNftId",
|
336
395
|
"type": "uint96"
|
337
396
|
},
|
397
|
+
{
|
398
|
+
"indexed": false,
|
399
|
+
"internalType": "ClaimId",
|
400
|
+
"name": "claimId",
|
401
|
+
"type": "uint16"
|
402
|
+
},
|
338
403
|
{
|
339
404
|
"indexed": false,
|
340
405
|
"internalType": "Amount",
|
341
|
-
"name": "
|
406
|
+
"name": "availableAmount",
|
342
407
|
"type": "uint96"
|
343
408
|
}
|
344
409
|
],
|
345
|
-
"name": "
|
410
|
+
"name": "LogPoolServiceProcessFundedClaim",
|
346
411
|
"type": "event"
|
347
412
|
},
|
348
413
|
{
|
@@ -354,20 +419,45 @@
|
|
354
419
|
"name": "poolNftId",
|
355
420
|
"type": "uint96"
|
356
421
|
},
|
422
|
+
{
|
423
|
+
"indexed": false,
|
424
|
+
"internalType": "address",
|
425
|
+
"name": "poolOwner",
|
426
|
+
"type": "address"
|
427
|
+
},
|
357
428
|
{
|
358
429
|
"indexed": false,
|
359
430
|
"internalType": "Amount",
|
360
|
-
"name": "
|
431
|
+
"name": "amount",
|
432
|
+
"type": "uint96"
|
433
|
+
}
|
434
|
+
],
|
435
|
+
"name": "LogPoolServiceWalletDefunded",
|
436
|
+
"type": "event"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"anonymous": false,
|
440
|
+
"inputs": [
|
441
|
+
{
|
442
|
+
"indexed": false,
|
443
|
+
"internalType": "NftId",
|
444
|
+
"name": "poolNftId",
|
361
445
|
"type": "uint96"
|
362
446
|
},
|
447
|
+
{
|
448
|
+
"indexed": false,
|
449
|
+
"internalType": "address",
|
450
|
+
"name": "poolOwner",
|
451
|
+
"type": "address"
|
452
|
+
},
|
363
453
|
{
|
364
454
|
"indexed": false,
|
365
455
|
"internalType": "Amount",
|
366
|
-
"name": "
|
456
|
+
"name": "amount",
|
367
457
|
"type": "uint96"
|
368
458
|
}
|
369
459
|
],
|
370
|
-
"name": "
|
460
|
+
"name": "LogPoolServiceWalletFunded",
|
371
461
|
"type": "event"
|
372
462
|
},
|
373
463
|
{
|
@@ -405,12 +495,12 @@
|
|
405
495
|
"outputs": [
|
406
496
|
{
|
407
497
|
"internalType": "Amount",
|
408
|
-
"name": "
|
498
|
+
"name": "totalCollateralAmount",
|
409
499
|
"type": "uint96"
|
410
500
|
},
|
411
501
|
{
|
412
502
|
"internalType": "Amount",
|
413
|
-
"name": "
|
503
|
+
"name": "localCollateralAmount",
|
414
504
|
"type": "uint96"
|
415
505
|
}
|
416
506
|
],
|
@@ -438,14 +528,24 @@
|
|
438
528
|
"name": "calculateRequiredCollateral",
|
439
529
|
"outputs": [
|
440
530
|
{
|
441
|
-
"internalType": "
|
442
|
-
"name": "
|
531
|
+
"internalType": "NftId",
|
532
|
+
"name": "poolNftId",
|
443
533
|
"type": "uint96"
|
444
534
|
},
|
445
535
|
{
|
446
536
|
"internalType": "Amount",
|
447
537
|
"name": "totalCollateralAmount",
|
448
538
|
"type": "uint96"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"internalType": "Amount",
|
542
|
+
"name": "localCollateralAmount",
|
543
|
+
"type": "uint96"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"internalType": "bool",
|
547
|
+
"name": "poolIsVerifyingApplications",
|
548
|
+
"type": "bool"
|
449
549
|
}
|
450
550
|
],
|
451
551
|
"stateMutability": "view",
|
@@ -466,57 +566,27 @@
|
|
466
566
|
},
|
467
567
|
{
|
468
568
|
"inputs": [
|
469
|
-
{
|
470
|
-
"internalType": "address",
|
471
|
-
"name": "owner",
|
472
|
-
"type": "address"
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"components": [
|
476
|
-
{
|
477
|
-
"internalType": "UFixed",
|
478
|
-
"name": "fractionalFee",
|
479
|
-
"type": "uint256"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"internalType": "uint256",
|
483
|
-
"name": "fixedFee",
|
484
|
-
"type": "uint256"
|
485
|
-
}
|
486
|
-
],
|
487
|
-
"internalType": "struct Fee",
|
488
|
-
"name": "fee",
|
489
|
-
"type": "tuple"
|
490
|
-
},
|
491
569
|
{
|
492
570
|
"internalType": "Amount",
|
493
|
-
"name": "
|
571
|
+
"name": "amount",
|
494
572
|
"type": "uint96"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"internalType": "Seconds",
|
498
|
-
"name": "lifetime",
|
499
|
-
"type": "uint40"
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"internalType": "bytes",
|
503
|
-
"name": "filter",
|
504
|
-
"type": "bytes"
|
505
573
|
}
|
506
574
|
],
|
507
|
-
"name": "
|
508
|
-
"outputs": [
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
575
|
+
"name": "defundPoolWallet",
|
576
|
+
"outputs": [],
|
577
|
+
"stateMutability": "nonpayable",
|
578
|
+
"type": "function"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"inputs": [
|
514
582
|
{
|
515
583
|
"internalType": "Amount",
|
516
|
-
"name": "
|
584
|
+
"name": "amount",
|
517
585
|
"type": "uint96"
|
518
586
|
}
|
519
587
|
],
|
588
|
+
"name": "fundPoolWallet",
|
589
|
+
"outputs": [],
|
520
590
|
"stateMutability": "nonpayable",
|
521
591
|
"type": "function"
|
522
592
|
},
|
@@ -622,6 +692,19 @@
|
|
622
692
|
"stateMutability": "view",
|
623
693
|
"type": "function"
|
624
694
|
},
|
695
|
+
{
|
696
|
+
"inputs": [],
|
697
|
+
"name": "getRelease",
|
698
|
+
"outputs": [
|
699
|
+
{
|
700
|
+
"internalType": "VersionPart",
|
701
|
+
"name": "release",
|
702
|
+
"type": "uint8"
|
703
|
+
}
|
704
|
+
],
|
705
|
+
"stateMutability": "view",
|
706
|
+
"type": "function"
|
707
|
+
},
|
625
708
|
{
|
626
709
|
"inputs": [],
|
627
710
|
"name": "getRoleId",
|
@@ -632,7 +715,7 @@
|
|
632
715
|
"type": "uint64"
|
633
716
|
}
|
634
717
|
],
|
635
|
-
"stateMutability": "
|
718
|
+
"stateMutability": "view",
|
636
719
|
"type": "function"
|
637
720
|
},
|
638
721
|
{
|
@@ -666,6 +749,19 @@
|
|
666
749
|
"stateMutability": "nonpayable",
|
667
750
|
"type": "function"
|
668
751
|
},
|
752
|
+
{
|
753
|
+
"inputs": [],
|
754
|
+
"name": "isActive",
|
755
|
+
"outputs": [
|
756
|
+
{
|
757
|
+
"internalType": "bool",
|
758
|
+
"name": "active",
|
759
|
+
"type": "bool"
|
760
|
+
}
|
761
|
+
],
|
762
|
+
"stateMutability": "view",
|
763
|
+
"type": "function"
|
764
|
+
},
|
669
765
|
{
|
670
766
|
"inputs": [],
|
671
767
|
"name": "isConsumingScheduledOp",
|
@@ -745,108 +841,21 @@
|
|
745
841
|
"inputs": [
|
746
842
|
{
|
747
843
|
"internalType": "NftId",
|
748
|
-
"name": "
|
844
|
+
"name": "policyNftId",
|
749
845
|
"type": "uint96"
|
750
846
|
},
|
751
847
|
{
|
752
|
-
"
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
"name": "distributionFeeAndCommissionAmount",
|
761
|
-
"type": "uint96"
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"internalType": "Amount",
|
765
|
-
"name": "poolPremiumAndFeeAmount",
|
766
|
-
"type": "uint96"
|
767
|
-
},
|
768
|
-
{
|
769
|
-
"internalType": "uint256",
|
770
|
-
"name": "netPremiumAmount",
|
771
|
-
"type": "uint256"
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"internalType": "uint256",
|
775
|
-
"name": "fullPremiumAmount",
|
776
|
-
"type": "uint256"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"internalType": "uint256",
|
780
|
-
"name": "premiumAmount",
|
781
|
-
"type": "uint256"
|
782
|
-
},
|
783
|
-
{
|
784
|
-
"internalType": "uint256",
|
785
|
-
"name": "productFeeFixAmount",
|
786
|
-
"type": "uint256"
|
787
|
-
},
|
788
|
-
{
|
789
|
-
"internalType": "uint256",
|
790
|
-
"name": "poolFeeFixAmount",
|
791
|
-
"type": "uint256"
|
792
|
-
},
|
793
|
-
{
|
794
|
-
"internalType": "uint256",
|
795
|
-
"name": "bundleFeeFixAmount",
|
796
|
-
"type": "uint256"
|
797
|
-
},
|
798
|
-
{
|
799
|
-
"internalType": "uint256",
|
800
|
-
"name": "distributionFeeFixAmount",
|
801
|
-
"type": "uint256"
|
802
|
-
},
|
803
|
-
{
|
804
|
-
"internalType": "uint256",
|
805
|
-
"name": "productFeeVarAmount",
|
806
|
-
"type": "uint256"
|
807
|
-
},
|
808
|
-
{
|
809
|
-
"internalType": "uint256",
|
810
|
-
"name": "poolFeeVarAmount",
|
811
|
-
"type": "uint256"
|
812
|
-
},
|
813
|
-
{
|
814
|
-
"internalType": "uint256",
|
815
|
-
"name": "bundleFeeVarAmount",
|
816
|
-
"type": "uint256"
|
817
|
-
},
|
818
|
-
{
|
819
|
-
"internalType": "uint256",
|
820
|
-
"name": "distributionFeeVarAmount",
|
821
|
-
"type": "uint256"
|
822
|
-
},
|
823
|
-
{
|
824
|
-
"internalType": "uint256",
|
825
|
-
"name": "distributionOwnerFeeFixAmount",
|
826
|
-
"type": "uint256"
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"internalType": "uint256",
|
830
|
-
"name": "distributionOwnerFeeVarAmount",
|
831
|
-
"type": "uint256"
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"internalType": "uint256",
|
835
|
-
"name": "commissionAmount",
|
836
|
-
"type": "uint256"
|
837
|
-
},
|
838
|
-
{
|
839
|
-
"internalType": "uint256",
|
840
|
-
"name": "discountAmount",
|
841
|
-
"type": "uint256"
|
842
|
-
}
|
843
|
-
],
|
844
|
-
"internalType": "struct IPolicy.Premium",
|
845
|
-
"name": "premium",
|
846
|
-
"type": "tuple"
|
848
|
+
"internalType": "ClaimId",
|
849
|
+
"name": "claimId",
|
850
|
+
"type": "uint16"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"internalType": "Amount",
|
854
|
+
"name": "availableAmount",
|
855
|
+
"type": "uint96"
|
847
856
|
}
|
848
857
|
],
|
849
|
-
"name": "
|
858
|
+
"name": "processFundedClaim",
|
850
859
|
"outputs": [],
|
851
860
|
"stateMutability": "nonpayable",
|
852
861
|
"type": "function"
|
@@ -900,11 +909,6 @@
|
|
900
909
|
"name": "premiumAmount",
|
901
910
|
"type": "uint96"
|
902
911
|
},
|
903
|
-
{
|
904
|
-
"internalType": "Amount",
|
905
|
-
"name": "premiumPaidAmount",
|
906
|
-
"type": "uint96"
|
907
|
-
},
|
908
912
|
{
|
909
913
|
"internalType": "Seconds",
|
910
914
|
"name": "lifetime",
|
@@ -966,7 +970,117 @@
|
|
966
970
|
"type": "uint96"
|
967
971
|
}
|
968
972
|
],
|
969
|
-
"name": "
|
973
|
+
"name": "processPayout",
|
974
|
+
"outputs": [],
|
975
|
+
"stateMutability": "nonpayable",
|
976
|
+
"type": "function"
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"inputs": [
|
980
|
+
{
|
981
|
+
"internalType": "NftId",
|
982
|
+
"name": "bundleNftId",
|
983
|
+
"type": "uint96"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"components": [
|
987
|
+
{
|
988
|
+
"internalType": "Amount",
|
989
|
+
"name": "productFeeAmount",
|
990
|
+
"type": "uint96"
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"internalType": "Amount",
|
994
|
+
"name": "distributionFeeAndCommissionAmount",
|
995
|
+
"type": "uint96"
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"internalType": "Amount",
|
999
|
+
"name": "poolPremiumAndFeeAmount",
|
1000
|
+
"type": "uint96"
|
1001
|
+
},
|
1002
|
+
{
|
1003
|
+
"internalType": "Amount",
|
1004
|
+
"name": "netPremiumAmount",
|
1005
|
+
"type": "uint96"
|
1006
|
+
},
|
1007
|
+
{
|
1008
|
+
"internalType": "Amount",
|
1009
|
+
"name": "fullPremiumAmount",
|
1010
|
+
"type": "uint96"
|
1011
|
+
},
|
1012
|
+
{
|
1013
|
+
"internalType": "Amount",
|
1014
|
+
"name": "premiumAmount",
|
1015
|
+
"type": "uint96"
|
1016
|
+
},
|
1017
|
+
{
|
1018
|
+
"internalType": "Amount",
|
1019
|
+
"name": "productFeeFixAmount",
|
1020
|
+
"type": "uint96"
|
1021
|
+
},
|
1022
|
+
{
|
1023
|
+
"internalType": "Amount",
|
1024
|
+
"name": "poolFeeFixAmount",
|
1025
|
+
"type": "uint96"
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"internalType": "Amount",
|
1029
|
+
"name": "bundleFeeFixAmount",
|
1030
|
+
"type": "uint96"
|
1031
|
+
},
|
1032
|
+
{
|
1033
|
+
"internalType": "Amount",
|
1034
|
+
"name": "distributionFeeFixAmount",
|
1035
|
+
"type": "uint96"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"internalType": "Amount",
|
1039
|
+
"name": "productFeeVarAmount",
|
1040
|
+
"type": "uint96"
|
1041
|
+
},
|
1042
|
+
{
|
1043
|
+
"internalType": "Amount",
|
1044
|
+
"name": "poolFeeVarAmount",
|
1045
|
+
"type": "uint96"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"internalType": "Amount",
|
1049
|
+
"name": "bundleFeeVarAmount",
|
1050
|
+
"type": "uint96"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"internalType": "Amount",
|
1054
|
+
"name": "distributionFeeVarAmount",
|
1055
|
+
"type": "uint96"
|
1056
|
+
},
|
1057
|
+
{
|
1058
|
+
"internalType": "Amount",
|
1059
|
+
"name": "distributionOwnerFeeFixAmount",
|
1060
|
+
"type": "uint96"
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"internalType": "Amount",
|
1064
|
+
"name": "distributionOwnerFeeVarAmount",
|
1065
|
+
"type": "uint96"
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
"internalType": "Amount",
|
1069
|
+
"name": "commissionAmount",
|
1070
|
+
"type": "uint96"
|
1071
|
+
},
|
1072
|
+
{
|
1073
|
+
"internalType": "Amount",
|
1074
|
+
"name": "discountAmount",
|
1075
|
+
"type": "uint96"
|
1076
|
+
}
|
1077
|
+
],
|
1078
|
+
"internalType": "struct IPolicy.PremiumInfo",
|
1079
|
+
"name": "premium",
|
1080
|
+
"type": "tuple"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"name": "processSale",
|
970
1084
|
"outputs": [],
|
971
1085
|
"stateMutability": "nonpayable",
|
972
1086
|
"type": "function"
|
@@ -1020,11 +1134,6 @@
|
|
1020
1134
|
"name": "premiumAmount",
|
1021
1135
|
"type": "uint96"
|
1022
1136
|
},
|
1023
|
-
{
|
1024
|
-
"internalType": "Amount",
|
1025
|
-
"name": "premiumPaidAmount",
|
1026
|
-
"type": "uint96"
|
1027
|
-
},
|
1028
1137
|
{
|
1029
1138
|
"internalType": "Seconds",
|
1030
1139
|
"name": "lifetime",
|
@@ -1099,28 +1208,15 @@
|
|
1099
1208
|
"stateMutability": "nonpayable",
|
1100
1209
|
"type": "function"
|
1101
1210
|
},
|
1102
|
-
{
|
1103
|
-
"inputs": [
|
1104
|
-
{
|
1105
|
-
"internalType": "RoleId",
|
1106
|
-
"name": "bundleOwnerRole",
|
1107
|
-
"type": "uint64"
|
1108
|
-
}
|
1109
|
-
],
|
1110
|
-
"name": "setBundleOwnerRole",
|
1111
|
-
"outputs": [],
|
1112
|
-
"stateMutability": "nonpayable",
|
1113
|
-
"type": "function"
|
1114
|
-
},
|
1115
1211
|
{
|
1116
1212
|
"inputs": [
|
1117
1213
|
{
|
1118
1214
|
"internalType": "Amount",
|
1119
|
-
"name": "
|
1215
|
+
"name": "maxBalanceAmount",
|
1120
1216
|
"type": "uint96"
|
1121
1217
|
}
|
1122
1218
|
],
|
1123
|
-
"name": "
|
1219
|
+
"name": "setMaxBalanceAmount",
|
1124
1220
|
"outputs": [],
|
1125
1221
|
"stateMutability": "nonpayable",
|
1126
1222
|
"type": "function"
|