@etherisc/gif-next 0.0.2-d437d8d-974 → 0.0.2-d43ca2d-657
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +27 -6
- 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 +166 -59
- 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 -18
- 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 +192 -212
- 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 +132 -128
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +196 -95
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +142 -69
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +119 -110
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -2
- 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 +2025 -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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +232 -164
- 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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -151
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +321 -183
- 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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +632 -231
- 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 +147 -42
- 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 +182 -85
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +312 -135
- 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 +525 -84
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +134 -157
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +110 -49
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +207 -116
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -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 +2 -2
- 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 +151 -171
- 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 +113 -104
- 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 +127 -123
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +156 -81
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +130 -45
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +146 -142
- 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 +161 -156
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +124 -75
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +74 -35
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +133 -135
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +298 -187
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +146 -153
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +421 -264
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +146 -49
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +135 -54
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +106 -45
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +186 -136
- 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 +328 -131
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +146 -69
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +89 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +206 -10
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +154 -21
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +105 -52
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +172 -117
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +55 -2
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +264 -130
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +140 -63
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +185 -115
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +123 -54
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +182 -132
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +117 -63
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +115 -42
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +98 -17
- 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 +142 -53
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +257 -254
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +112 -183
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +102 -37
- 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 +406 -250
- 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 +3 -3
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +105 -83
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -480
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +139 -76
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +60 -2
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +454 -5
- 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 +92 -65
- 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 +113 -104
- 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 +1 -1
- 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/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +126 -122
- 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 +18 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +3 -3
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -38
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +60 -2
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +388 -35
- 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 +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +110 -101
- 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 +3 -3
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +192 -171
- 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 +127 -53
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +103 -62
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +106 -41
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +145 -104
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +3 -3
- 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/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 +79 -27
- 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 +195 -128
- package/contracts/authorization/AccessManagerCloneable.sol +136 -3
- package/contracts/authorization/Authorization.sol +111 -39
- package/contracts/authorization/IAccess.sol +1 -0
- package/contracts/authorization/IAccessAdmin.sol +10 -5
- 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 +32 -40
- package/contracts/distribution/DistributionService.sol +86 -65
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +5 -6
- 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 +436 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +11 -4
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -4
- package/contracts/examples/unpermissioned/SimplePool.sol +37 -6
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +38 -23
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +38 -34
- package/contracts/instance/IInstance.sol +12 -9
- package/contracts/instance/IInstanceService.sol +9 -29
- package/contracts/instance/Instance.sol +40 -34
- package/contracts/instance/InstanceAdmin.sol +114 -73
- package/contracts/instance/InstanceAuthorizationV3.sol +51 -32
- package/contracts/instance/InstanceReader.sol +171 -20
- package/contracts/instance/InstanceService.sol +86 -149
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/RiskSet.sol +117 -0
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +2 -1
- package/contracts/instance/base/ObjectSet.sol +24 -25
- package/contracts/instance/module/IComponents.sol +10 -6
- package/contracts/instance/module/IPolicy.sol +4 -3
- 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 +5 -16
- package/contracts/oracle/OracleService.sol +110 -80
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +33 -24
- package/contracts/pool/BasicPoolAuthorization.sol +12 -2
- package/contracts/pool/BundleService.sol +74 -87
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +2 -15
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +30 -37
- package/contracts/pool/Pool.sol +141 -122
- package/contracts/pool/PoolService.sol +265 -159
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +32 -21
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +8 -12
- package/contracts/product/BasicProductAuthorization.sol +1 -3
- package/contracts/product/ClaimService.sol +298 -127
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +5 -2
- package/contracts/product/IClaimService.sol +16 -2
- package/contracts/product/IPolicyService.sol +25 -10
- package/contracts/product/IPricingService.sol +9 -9
- package/contracts/product/IProductComponent.sol +23 -3
- package/contracts/product/PolicyService.sol +296 -198
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +14 -14
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +100 -74
- package/contracts/product/RiskService.sol +79 -25
- package/contracts/product/RiskServiceManager.sol +4 -4
- package/contracts/registry/ChainNft.sol +10 -11
- package/contracts/registry/IRegistry.sol +14 -18
- 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 +32 -8
- package/contracts/registry/RegistryAdmin.sol +121 -241
- package/contracts/registry/RegistryService.sol +36 -47
- 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 +257 -237
- package/contracts/registry/ServiceAuthorizationV3.sol +93 -50
- package/contracts/registry/TokenRegistry.sol +5 -7
- package/contracts/shared/Component.sol +67 -109
- package/contracts/shared/ComponentService.sol +381 -332
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ComponentVerifyingService.sol +27 -16
- package/contracts/shared/ContractLib.sol +223 -9
- package/contracts/shared/IComponent.sol +8 -17
- package/contracts/shared/IComponentService.sol +45 -37
- package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InstanceLinkedComponent.sol +68 -43
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +26 -6
- package/contracts/shared/PolicyHolder.sol +5 -1
- package/contracts/shared/Registerable.sol +53 -19
- package/contracts/shared/RegistryLinked.sol +7 -13
- package/contracts/shared/Service.sol +13 -30
- package/contracts/shared/TokenHandler.sol +316 -66
- package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
- package/contracts/staking/IStaking.sol +9 -4
- package/contracts/staking/IStakingService.sol +0 -3
- package/contracts/staking/Staking.sol +64 -36
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +12 -5
- package/contracts/staking/StakingService.sol +56 -24
- package/contracts/staking/StakingServiceManager.sol +2 -2
- 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 +11 -0
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +35 -4
- package/contracts/type/RoleId.sol +4 -13
- package/contracts/type/StateId.sol +14 -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/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/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
|
{
|
@@ -159,9 +186,41 @@
|
|
159
186
|
"name": "ErrorPoolServiceMaxBalanceAmountExceeded",
|
160
187
|
"type": "error"
|
161
188
|
},
|
189
|
+
{
|
190
|
+
"inputs": [
|
191
|
+
{
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "policyNftId",
|
194
|
+
"type": "uint96"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"internalType": "NftId",
|
198
|
+
"name": "productNftId",
|
199
|
+
"type": "uint96"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"internalType": "NftId",
|
203
|
+
"name": "expectedProductNftId",
|
204
|
+
"type": "uint96"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"name": "ErrorPoolServicePolicyPoolMismatch",
|
208
|
+
"type": "error"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"inputs": [
|
212
|
+
{
|
213
|
+
"internalType": "NftId",
|
214
|
+
"name": "poolNftId",
|
215
|
+
"type": "uint96"
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"name": "ErrorPoolServicePoolNotExternallyManaged",
|
219
|
+
"type": "error"
|
220
|
+
},
|
162
221
|
{
|
163
222
|
"inputs": [],
|
164
|
-
"name": "
|
223
|
+
"name": "ErrorRegisterableNotActive",
|
165
224
|
"type": "error"
|
166
225
|
},
|
167
226
|
{
|
@@ -230,6 +289,12 @@
|
|
230
289
|
{
|
231
290
|
"anonymous": false,
|
232
291
|
"inputs": [
|
292
|
+
{
|
293
|
+
"indexed": false,
|
294
|
+
"internalType": "NftId",
|
295
|
+
"name": "instanceNftId",
|
296
|
+
"type": "uint96"
|
297
|
+
},
|
233
298
|
{
|
234
299
|
"indexed": false,
|
235
300
|
"internalType": "NftId",
|
@@ -238,12 +303,24 @@
|
|
238
303
|
},
|
239
304
|
{
|
240
305
|
"indexed": false,
|
241
|
-
"internalType": "
|
242
|
-
"name": "
|
243
|
-
"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"
|
244
321
|
}
|
245
322
|
],
|
246
|
-
"name": "
|
323
|
+
"name": "LogPoolServiceBundleStaked",
|
247
324
|
"type": "event"
|
248
325
|
},
|
249
326
|
{
|
@@ -280,7 +357,7 @@
|
|
280
357
|
"type": "uint96"
|
281
358
|
}
|
282
359
|
],
|
283
|
-
"name": "
|
360
|
+
"name": "LogPoolServiceBundleUnstaked",
|
284
361
|
"type": "event"
|
285
362
|
},
|
286
363
|
{
|
@@ -289,29 +366,48 @@
|
|
289
366
|
{
|
290
367
|
"indexed": false,
|
291
368
|
"internalType": "NftId",
|
292
|
-
"name": "
|
369
|
+
"name": "poolNftId",
|
293
370
|
"type": "uint96"
|
294
371
|
},
|
295
372
|
{
|
296
373
|
"indexed": false,
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
374
|
+
"internalType": "Amount",
|
375
|
+
"name": "previousMaxCapitalAmount",
|
299
376
|
"type": "uint96"
|
300
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": [
|
301
391
|
{
|
302
392
|
"indexed": false,
|
303
393
|
"internalType": "NftId",
|
304
|
-
"name": "
|
394
|
+
"name": "policyNftId",
|
305
395
|
"type": "uint96"
|
306
396
|
},
|
397
|
+
{
|
398
|
+
"indexed": false,
|
399
|
+
"internalType": "ClaimId",
|
400
|
+
"name": "claimId",
|
401
|
+
"type": "uint16"
|
402
|
+
},
|
307
403
|
{
|
308
404
|
"indexed": false,
|
309
405
|
"internalType": "Amount",
|
310
|
-
"name": "
|
406
|
+
"name": "availableAmount",
|
311
407
|
"type": "uint96"
|
312
408
|
}
|
313
409
|
],
|
314
|
-
"name": "
|
410
|
+
"name": "LogPoolServiceProcessFundedClaim",
|
315
411
|
"type": "event"
|
316
412
|
},
|
317
413
|
{
|
@@ -323,20 +419,45 @@
|
|
323
419
|
"name": "poolNftId",
|
324
420
|
"type": "uint96"
|
325
421
|
},
|
422
|
+
{
|
423
|
+
"indexed": false,
|
424
|
+
"internalType": "address",
|
425
|
+
"name": "poolOwner",
|
426
|
+
"type": "address"
|
427
|
+
},
|
326
428
|
{
|
327
429
|
"indexed": false,
|
328
430
|
"internalType": "Amount",
|
329
|
-
"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",
|
330
445
|
"type": "uint96"
|
331
446
|
},
|
447
|
+
{
|
448
|
+
"indexed": false,
|
449
|
+
"internalType": "address",
|
450
|
+
"name": "poolOwner",
|
451
|
+
"type": "address"
|
452
|
+
},
|
332
453
|
{
|
333
454
|
"indexed": false,
|
334
455
|
"internalType": "Amount",
|
335
|
-
"name": "
|
456
|
+
"name": "amount",
|
336
457
|
"type": "uint96"
|
337
458
|
}
|
338
459
|
],
|
339
|
-
"name": "
|
460
|
+
"name": "LogPoolServiceWalletFunded",
|
340
461
|
"type": "event"
|
341
462
|
},
|
342
463
|
{
|
@@ -374,12 +495,12 @@
|
|
374
495
|
"outputs": [
|
375
496
|
{
|
376
497
|
"internalType": "Amount",
|
377
|
-
"name": "
|
498
|
+
"name": "totalCollateralAmount",
|
378
499
|
"type": "uint96"
|
379
500
|
},
|
380
501
|
{
|
381
502
|
"internalType": "Amount",
|
382
|
-
"name": "
|
503
|
+
"name": "localCollateralAmount",
|
383
504
|
"type": "uint96"
|
384
505
|
}
|
385
506
|
],
|
@@ -407,14 +528,24 @@
|
|
407
528
|
"name": "calculateRequiredCollateral",
|
408
529
|
"outputs": [
|
409
530
|
{
|
410
|
-
"internalType": "
|
411
|
-
"name": "
|
531
|
+
"internalType": "NftId",
|
532
|
+
"name": "poolNftId",
|
412
533
|
"type": "uint96"
|
413
534
|
},
|
414
535
|
{
|
415
536
|
"internalType": "Amount",
|
416
537
|
"name": "totalCollateralAmount",
|
417
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"
|
418
549
|
}
|
419
550
|
],
|
420
551
|
"stateMutability": "view",
|
@@ -435,57 +566,6 @@
|
|
435
566
|
},
|
436
567
|
{
|
437
568
|
"inputs": [
|
438
|
-
{
|
439
|
-
"internalType": "address",
|
440
|
-
"name": "owner",
|
441
|
-
"type": "address"
|
442
|
-
},
|
443
|
-
{
|
444
|
-
"components": [
|
445
|
-
{
|
446
|
-
"internalType": "UFixed",
|
447
|
-
"name": "fractionalFee",
|
448
|
-
"type": "uint256"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "uint256",
|
452
|
-
"name": "fixedFee",
|
453
|
-
"type": "uint256"
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"internalType": "struct Fee",
|
457
|
-
"name": "fee",
|
458
|
-
"type": "tuple"
|
459
|
-
},
|
460
|
-
{
|
461
|
-
"internalType": "Seconds",
|
462
|
-
"name": "lifetime",
|
463
|
-
"type": "uint40"
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"internalType": "bytes",
|
467
|
-
"name": "filter",
|
468
|
-
"type": "bytes"
|
469
|
-
}
|
470
|
-
],
|
471
|
-
"name": "createBundle",
|
472
|
-
"outputs": [
|
473
|
-
{
|
474
|
-
"internalType": "NftId",
|
475
|
-
"name": "bundleNftId",
|
476
|
-
"type": "uint96"
|
477
|
-
}
|
478
|
-
],
|
479
|
-
"stateMutability": "nonpayable",
|
480
|
-
"type": "function"
|
481
|
-
},
|
482
|
-
{
|
483
|
-
"inputs": [
|
484
|
-
{
|
485
|
-
"internalType": "NftId",
|
486
|
-
"name": "poolNftId",
|
487
|
-
"type": "uint96"
|
488
|
-
},
|
489
569
|
{
|
490
570
|
"internalType": "Amount",
|
491
571
|
"name": "amount",
|
@@ -499,11 +579,6 @@
|
|
499
579
|
},
|
500
580
|
{
|
501
581
|
"inputs": [
|
502
|
-
{
|
503
|
-
"internalType": "NftId",
|
504
|
-
"name": "poolNftId",
|
505
|
-
"type": "uint96"
|
506
|
-
},
|
507
582
|
{
|
508
583
|
"internalType": "Amount",
|
509
584
|
"name": "amount",
|
@@ -617,6 +692,19 @@
|
|
617
692
|
"stateMutability": "view",
|
618
693
|
"type": "function"
|
619
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
|
+
},
|
620
708
|
{
|
621
709
|
"inputs": [],
|
622
710
|
"name": "getRoleId",
|
@@ -627,7 +715,7 @@
|
|
627
715
|
"type": "uint64"
|
628
716
|
}
|
629
717
|
],
|
630
|
-
"stateMutability": "
|
718
|
+
"stateMutability": "view",
|
631
719
|
"type": "function"
|
632
720
|
},
|
633
721
|
{
|
@@ -661,6 +749,19 @@
|
|
661
749
|
"stateMutability": "nonpayable",
|
662
750
|
"type": "function"
|
663
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
|
+
},
|
664
765
|
{
|
665
766
|
"inputs": [],
|
666
767
|
"name": "isConsumingScheduledOp",
|
@@ -740,108 +841,21 @@
|
|
740
841
|
"inputs": [
|
741
842
|
{
|
742
843
|
"internalType": "NftId",
|
743
|
-
"name": "
|
844
|
+
"name": "policyNftId",
|
744
845
|
"type": "uint96"
|
745
846
|
},
|
746
847
|
{
|
747
|
-
"
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
"name": "distributionFeeAndCommissionAmount",
|
756
|
-
"type": "uint96"
|
757
|
-
},
|
758
|
-
{
|
759
|
-
"internalType": "Amount",
|
760
|
-
"name": "poolPremiumAndFeeAmount",
|
761
|
-
"type": "uint96"
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"internalType": "Amount",
|
765
|
-
"name": "netPremiumAmount",
|
766
|
-
"type": "uint96"
|
767
|
-
},
|
768
|
-
{
|
769
|
-
"internalType": "Amount",
|
770
|
-
"name": "fullPremiumAmount",
|
771
|
-
"type": "uint96"
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"internalType": "Amount",
|
775
|
-
"name": "premiumAmount",
|
776
|
-
"type": "uint96"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"internalType": "Amount",
|
780
|
-
"name": "productFeeFixAmount",
|
781
|
-
"type": "uint96"
|
782
|
-
},
|
783
|
-
{
|
784
|
-
"internalType": "Amount",
|
785
|
-
"name": "poolFeeFixAmount",
|
786
|
-
"type": "uint96"
|
787
|
-
},
|
788
|
-
{
|
789
|
-
"internalType": "Amount",
|
790
|
-
"name": "bundleFeeFixAmount",
|
791
|
-
"type": "uint96"
|
792
|
-
},
|
793
|
-
{
|
794
|
-
"internalType": "Amount",
|
795
|
-
"name": "distributionFeeFixAmount",
|
796
|
-
"type": "uint96"
|
797
|
-
},
|
798
|
-
{
|
799
|
-
"internalType": "Amount",
|
800
|
-
"name": "productFeeVarAmount",
|
801
|
-
"type": "uint96"
|
802
|
-
},
|
803
|
-
{
|
804
|
-
"internalType": "Amount",
|
805
|
-
"name": "poolFeeVarAmount",
|
806
|
-
"type": "uint96"
|
807
|
-
},
|
808
|
-
{
|
809
|
-
"internalType": "Amount",
|
810
|
-
"name": "bundleFeeVarAmount",
|
811
|
-
"type": "uint96"
|
812
|
-
},
|
813
|
-
{
|
814
|
-
"internalType": "Amount",
|
815
|
-
"name": "distributionFeeVarAmount",
|
816
|
-
"type": "uint96"
|
817
|
-
},
|
818
|
-
{
|
819
|
-
"internalType": "Amount",
|
820
|
-
"name": "distributionOwnerFeeFixAmount",
|
821
|
-
"type": "uint96"
|
822
|
-
},
|
823
|
-
{
|
824
|
-
"internalType": "Amount",
|
825
|
-
"name": "distributionOwnerFeeVarAmount",
|
826
|
-
"type": "uint96"
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"internalType": "Amount",
|
830
|
-
"name": "commissionAmount",
|
831
|
-
"type": "uint96"
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"internalType": "Amount",
|
835
|
-
"name": "discountAmount",
|
836
|
-
"type": "uint96"
|
837
|
-
}
|
838
|
-
],
|
839
|
-
"internalType": "struct IPolicy.PremiumInfo",
|
840
|
-
"name": "premium",
|
841
|
-
"type": "tuple"
|
848
|
+
"internalType": "ClaimId",
|
849
|
+
"name": "claimId",
|
850
|
+
"type": "uint16"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"internalType": "Amount",
|
854
|
+
"name": "availableAmount",
|
855
|
+
"type": "uint96"
|
842
856
|
}
|
843
857
|
],
|
844
|
-
"name": "
|
858
|
+
"name": "processFundedClaim",
|
845
859
|
"outputs": [],
|
846
860
|
"stateMutability": "nonpayable",
|
847
861
|
"type": "function"
|
@@ -956,7 +970,117 @@
|
|
956
970
|
"type": "uint96"
|
957
971
|
}
|
958
972
|
],
|
959
|
-
"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",
|
960
1084
|
"outputs": [],
|
961
1085
|
"stateMutability": "nonpayable",
|
962
1086
|
"type": "function"
|
@@ -1084,19 +1208,6 @@
|
|
1084
1208
|
"stateMutability": "nonpayable",
|
1085
1209
|
"type": "function"
|
1086
1210
|
},
|
1087
|
-
{
|
1088
|
-
"inputs": [
|
1089
|
-
{
|
1090
|
-
"internalType": "RoleId",
|
1091
|
-
"name": "bundleOwnerRole",
|
1092
|
-
"type": "uint64"
|
1093
|
-
}
|
1094
|
-
],
|
1095
|
-
"name": "setBundleOwnerRole",
|
1096
|
-
"outputs": [],
|
1097
|
-
"stateMutability": "nonpayable",
|
1098
|
-
"type": "function"
|
1099
|
-
},
|
1100
1211
|
{
|
1101
1212
|
"inputs": [
|
1102
1213
|
{
|