@etherisc/gif-next 0.0.2-bcecc4c-647 → 0.0.2-bd1522a-487
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +46 -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 +495 -254
- 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/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +273 -16
- 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 +391 -199
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +139 -15
- 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 +140 -479
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +261 -27
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +81 -385
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +378 -355
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +133 -119
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +83 -197
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +248 -122
- 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 +1445 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -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 +1388 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -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 +222 -38
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +140 -95
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +241 -126
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +733 -323
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +205 -90
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1030 -302
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +168 -280
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +96 -96
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +665 -518
- 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/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/mock/Dip.sol/Dip.json +2 -2
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +108 -355
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +243 -29
- 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 +91 -140
- 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 +84 -323
- 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 +113 -402
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +261 -27
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +193 -415
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +113 -135
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +105 -141
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +113 -229
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +348 -323
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +103 -409
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +518 -564
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +148 -102
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +194 -178
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +100 -90
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +234 -412
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +261 -27
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +224 -212
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -313
- 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 +232 -410
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -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 +334 -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 +540 -95
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +639 -367
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
- 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 +1954 -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 +423 -245
- 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 +67 -277
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +500 -640
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +132 -128
- 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 +597 -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 +80 -100
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +445 -282
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +91 -140
- 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 +83 -322
- 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 +585 -12
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -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 +187 -134
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +148 -16
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +264 -381
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
- 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 +126 -95
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +31 -63
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +201 -164
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -85
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +185 -130
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +65 -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/Blocknumber.sol/BlocknumberLib.json +2 -2
- 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 +33 -31
- 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 +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
- 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/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- 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 +23 -4
- 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 +101 -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 +338 -225
- package/contracts/authorization/AccessAdminLib.sol +183 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +350 -203
- package/contracts/authorization/IAccess.sol +1 -0
- package/contracts/authorization/IAccessAdmin.sol +69 -35
- package/contracts/authorization/IAuthorization.sol +33 -7
- package/contracts/authorization/IServiceAuthorization.sol +3 -1
- package/contracts/authorization/ServiceAuthorization.sol +26 -10
- package/contracts/distribution/BasicDistribution.sol +20 -17
- package/contracts/distribution/BasicDistributionAuthorization.sol +22 -9
- package/contracts/distribution/Distribution.sol +37 -88
- package/contracts/distribution/DistributionService.sol +152 -104
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +1 -10
- package/contracts/distribution/IDistributionService.sol +31 -25
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +63 -44
- package/contracts/instance/IInstanceService.sol +22 -30
- package/contracts/instance/Instance.sol +113 -71
- package/contracts/instance/InstanceAdmin.sol +287 -103
- package/contracts/instance/InstanceAuthorizationV3.sol +92 -61
- package/contracts/instance/InstanceReader.sol +288 -43
- package/contracts/instance/InstanceService.sol +208 -189
- 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 +11 -4
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IComponents.sol +14 -15
- package/contracts/instance/module/IDistribution.sol +5 -2
- package/contracts/instance/module/IPolicy.sol +26 -25
- package/contracts/instance/module/IRisk.sol +3 -0
- package/contracts/mock/Dip.sol +1 -1
- package/contracts/oracle/BasicOracle.sol +1 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +7 -19
- package/contracts/oracle/OracleService.sol +113 -81
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +37 -28
- package/contracts/pool/BasicPoolAuthorization.sol +32 -11
- package/contracts/pool/BundleService.sol +131 -160
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +22 -35
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +90 -80
- package/contracts/pool/Pool.sol +140 -129
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +514 -301
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +87 -43
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +12 -45
- package/contracts/product/BasicProductAuthorization.sol +24 -11
- package/contracts/product/ClaimService.sol +368 -153
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +9 -2
- package/contracts/product/IClaimService.sol +44 -8
- package/contracts/product/IPolicyService.sol +53 -36
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +27 -5
- package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
- package/contracts/product/PolicyService.sol +458 -270
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +71 -62
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +168 -93
- package/contracts/product/RiskService.sol +154 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +60 -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 +357 -203
- package/contracts/registry/RegistryAdmin.sol +162 -269
- package/contracts/registry/RegistryAuthorization.sol +267 -0
- package/contracts/registry/RegistryService.sol +37 -48
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +253 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +272 -240
- package/contracts/registry/ServiceAuthorizationV3.sol +183 -52
- package/contracts/registry/TokenRegistry.sol +6 -8
- package/contracts/shared/Component.sol +65 -135
- package/contracts/shared/ComponentService.sol +436 -378
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ComponentVerifyingService.sol +28 -17
- package/contracts/shared/ContractLib.sol +281 -0
- package/contracts/shared/IComponent.sol +5 -17
- package/contracts/shared/IComponentService.sol +42 -38
- 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 +10 -2
- package/contracts/shared/InstanceLinkedComponent.sol +73 -50
- 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 +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +15 -32
- package/contracts/shared/TokenHandler.sol +310 -26
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +19 -11
- package/contracts/staking/IStakingService.sol +16 -4
- package/contracts/staking/Staking.sol +103 -73
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +18 -21
- package/contracts/staking/StakingService.sol +90 -37
- package/contracts/staking/StakingServiceManager.sol +6 -5
- package/contracts/staking/StakingStore.sol +2 -1
- package/contracts/staking/TargetManagerLib.sol +7 -3
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/Blocknumber.sol +7 -1
- 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 +57 -34
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +38 -6
- package/contracts/type/RoleId.sol +23 -15
- package/contracts/type/Seconds.sol +8 -0
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/Timestamp.sol +10 -5
- package/contracts/type/UFixed.sol +13 -119
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/ProxyManager.sol +68 -34
- package/contracts/upgradeability/Versionable.sol +2 -2
- package/package.json +5 -4
- 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/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- 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/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
- 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/instance/module/IAccess.sol +0 -46
- 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
|
{
|
@@ -117,6 +144,22 @@
|
|
117
144
|
"name": "ErrorPoolServiceBundlePoolMismatch",
|
118
145
|
"type": "error"
|
119
146
|
},
|
147
|
+
{
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"internalType": "Amount",
|
151
|
+
"name": "amount",
|
152
|
+
"type": "uint96"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"internalType": "Amount",
|
156
|
+
"name": "limit",
|
157
|
+
"type": "uint96"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "ErrorPoolServiceFeesWithdrawAmountExceedsLimit",
|
161
|
+
"type": "error"
|
162
|
+
},
|
120
163
|
{
|
121
164
|
"inputs": [
|
122
165
|
{
|
@@ -142,26 +185,58 @@
|
|
142
185
|
},
|
143
186
|
{
|
144
187
|
"internalType": "Amount",
|
145
|
-
"name": "
|
188
|
+
"name": "maxBalanceAmount",
|
146
189
|
"type": "uint96"
|
147
190
|
},
|
148
191
|
{
|
149
192
|
"internalType": "Amount",
|
150
|
-
"name": "
|
193
|
+
"name": "currentBalanceAmount",
|
151
194
|
"type": "uint96"
|
152
195
|
},
|
153
196
|
{
|
154
197
|
"internalType": "Amount",
|
155
|
-
"name": "
|
198
|
+
"name": "transferAmount",
|
199
|
+
"type": "uint96"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorPoolServiceMaxBalanceAmountExceeded",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "NftId",
|
209
|
+
"name": "policyNftId",
|
210
|
+
"type": "uint96"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"internalType": "NftId",
|
214
|
+
"name": "productNftId",
|
215
|
+
"type": "uint96"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "NftId",
|
219
|
+
"name": "expectedProductNftId",
|
220
|
+
"type": "uint96"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "ErrorPoolServicePolicyPoolMismatch",
|
224
|
+
"type": "error"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"inputs": [
|
228
|
+
{
|
229
|
+
"internalType": "NftId",
|
230
|
+
"name": "poolNftId",
|
156
231
|
"type": "uint96"
|
157
232
|
}
|
158
233
|
],
|
159
|
-
"name": "
|
234
|
+
"name": "ErrorPoolServicePoolNotExternallyManaged",
|
160
235
|
"type": "error"
|
161
236
|
},
|
162
237
|
{
|
163
238
|
"inputs": [],
|
164
|
-
"name": "
|
239
|
+
"name": "ErrorRegisterableNotActive",
|
165
240
|
"type": "error"
|
166
241
|
},
|
167
242
|
{
|
@@ -230,6 +305,12 @@
|
|
230
305
|
{
|
231
306
|
"anonymous": false,
|
232
307
|
"inputs": [
|
308
|
+
{
|
309
|
+
"indexed": false,
|
310
|
+
"internalType": "NftId",
|
311
|
+
"name": "instanceNftId",
|
312
|
+
"type": "uint96"
|
313
|
+
},
|
233
314
|
{
|
234
315
|
"indexed": false,
|
235
316
|
"internalType": "NftId",
|
@@ -238,12 +319,24 @@
|
|
238
319
|
},
|
239
320
|
{
|
240
321
|
"indexed": false,
|
241
|
-
"internalType": "
|
242
|
-
"name": "
|
243
|
-
"type": "
|
322
|
+
"internalType": "NftId",
|
323
|
+
"name": "bundleNftId",
|
324
|
+
"type": "uint96"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"indexed": false,
|
328
|
+
"internalType": "Amount",
|
329
|
+
"name": "amount",
|
330
|
+
"type": "uint96"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "Amount",
|
335
|
+
"name": "netAmount",
|
336
|
+
"type": "uint96"
|
244
337
|
}
|
245
338
|
],
|
246
|
-
"name": "
|
339
|
+
"name": "LogPoolServiceBundleStaked",
|
247
340
|
"type": "event"
|
248
341
|
},
|
249
342
|
{
|
@@ -280,7 +373,7 @@
|
|
280
373
|
"type": "uint96"
|
281
374
|
}
|
282
375
|
],
|
283
|
-
"name": "
|
376
|
+
"name": "LogPoolServiceBundleUnstaked",
|
284
377
|
"type": "event"
|
285
378
|
},
|
286
379
|
{
|
@@ -289,101 +382,139 @@
|
|
289
382
|
{
|
290
383
|
"indexed": false,
|
291
384
|
"internalType": "NftId",
|
292
|
-
"name": "
|
385
|
+
"name": "bundleNftId",
|
293
386
|
"type": "uint96"
|
294
387
|
},
|
295
388
|
{
|
296
389
|
"indexed": false,
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
299
|
-
"type": "
|
390
|
+
"internalType": "address",
|
391
|
+
"name": "recipient",
|
392
|
+
"type": "address"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"indexed": false,
|
396
|
+
"internalType": "address",
|
397
|
+
"name": "tokenAddress",
|
398
|
+
"type": "address"
|
300
399
|
},
|
301
400
|
{
|
302
401
|
"indexed": false,
|
303
402
|
"internalType": "Amount",
|
304
|
-
"name": "
|
403
|
+
"name": "amount",
|
305
404
|
"type": "uint96"
|
306
405
|
}
|
307
406
|
],
|
308
|
-
"name": "
|
407
|
+
"name": "LogPoolServiceFeesWithdrawn",
|
309
408
|
"type": "event"
|
310
409
|
},
|
311
410
|
{
|
312
|
-
"
|
313
|
-
"
|
314
|
-
"outputs": [
|
411
|
+
"anonymous": false,
|
412
|
+
"inputs": [
|
315
413
|
{
|
316
|
-
"
|
317
|
-
"
|
318
|
-
"
|
414
|
+
"indexed": false,
|
415
|
+
"internalType": "NftId",
|
416
|
+
"name": "poolNftId",
|
417
|
+
"type": "uint96"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"indexed": false,
|
421
|
+
"internalType": "Amount",
|
422
|
+
"name": "previousMaxCapitalAmount",
|
423
|
+
"type": "uint96"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"indexed": false,
|
427
|
+
"internalType": "Amount",
|
428
|
+
"name": "currentMaxCapitalAmount",
|
429
|
+
"type": "uint96"
|
319
430
|
}
|
320
431
|
],
|
321
|
-
"
|
322
|
-
"type": "
|
432
|
+
"name": "LogPoolServiceMaxBalanceAmountUpdated",
|
433
|
+
"type": "event"
|
323
434
|
},
|
324
435
|
{
|
436
|
+
"anonymous": false,
|
325
437
|
"inputs": [
|
326
438
|
{
|
327
|
-
"
|
328
|
-
"
|
329
|
-
"
|
439
|
+
"indexed": false,
|
440
|
+
"internalType": "NftId",
|
441
|
+
"name": "policyNftId",
|
442
|
+
"type": "uint96"
|
330
443
|
},
|
331
444
|
{
|
332
|
-
"
|
333
|
-
"
|
334
|
-
"
|
445
|
+
"indexed": false,
|
446
|
+
"internalType": "ClaimId",
|
447
|
+
"name": "claimId",
|
448
|
+
"type": "uint16"
|
335
449
|
},
|
336
450
|
{
|
451
|
+
"indexed": false,
|
337
452
|
"internalType": "Amount",
|
338
|
-
"name": "
|
453
|
+
"name": "availableAmount",
|
339
454
|
"type": "uint96"
|
340
455
|
}
|
341
456
|
],
|
342
|
-
"name": "
|
343
|
-
"
|
457
|
+
"name": "LogPoolServiceProcessFundedClaim",
|
458
|
+
"type": "event"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"anonymous": false,
|
462
|
+
"inputs": [
|
344
463
|
{
|
345
|
-
"
|
346
|
-
"
|
464
|
+
"indexed": false,
|
465
|
+
"internalType": "NftId",
|
466
|
+
"name": "poolNftId",
|
347
467
|
"type": "uint96"
|
348
468
|
},
|
349
469
|
{
|
470
|
+
"indexed": false,
|
471
|
+
"internalType": "address",
|
472
|
+
"name": "poolOwner",
|
473
|
+
"type": "address"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"indexed": false,
|
350
477
|
"internalType": "Amount",
|
351
|
-
"name": "
|
478
|
+
"name": "amount",
|
352
479
|
"type": "uint96"
|
353
480
|
}
|
354
481
|
],
|
355
|
-
"
|
356
|
-
"type": "
|
482
|
+
"name": "LogPoolServiceWalletDefunded",
|
483
|
+
"type": "event"
|
357
484
|
},
|
358
485
|
{
|
486
|
+
"anonymous": false,
|
359
487
|
"inputs": [
|
360
488
|
{
|
361
|
-
"
|
362
|
-
"name": "instanceReader",
|
363
|
-
"type": "address"
|
364
|
-
},
|
365
|
-
{
|
489
|
+
"indexed": false,
|
366
490
|
"internalType": "NftId",
|
367
|
-
"name": "
|
491
|
+
"name": "poolNftId",
|
368
492
|
"type": "uint96"
|
369
493
|
},
|
370
494
|
{
|
495
|
+
"indexed": false,
|
496
|
+
"internalType": "address",
|
497
|
+
"name": "poolOwner",
|
498
|
+
"type": "address"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"indexed": false,
|
371
502
|
"internalType": "Amount",
|
372
|
-
"name": "
|
503
|
+
"name": "amount",
|
373
504
|
"type": "uint96"
|
374
505
|
}
|
375
506
|
],
|
376
|
-
"name": "
|
507
|
+
"name": "LogPoolServiceWalletFunded",
|
508
|
+
"type": "event"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"inputs": [],
|
512
|
+
"name": "authority",
|
377
513
|
"outputs": [
|
378
514
|
{
|
379
|
-
"internalType": "
|
380
|
-
"name": "
|
381
|
-
"type": "
|
382
|
-
},
|
383
|
-
{
|
384
|
-
"internalType": "Amount",
|
385
|
-
"name": "totalCollateralAmount",
|
386
|
-
"type": "uint96"
|
515
|
+
"internalType": "address",
|
516
|
+
"name": "",
|
517
|
+
"type": "address"
|
387
518
|
}
|
388
519
|
],
|
389
520
|
"stateMutability": "view",
|
@@ -404,52 +535,27 @@
|
|
404
535
|
},
|
405
536
|
{
|
406
537
|
"inputs": [
|
407
|
-
{
|
408
|
-
"internalType": "address",
|
409
|
-
"name": "owner",
|
410
|
-
"type": "address"
|
411
|
-
},
|
412
|
-
{
|
413
|
-
"components": [
|
414
|
-
{
|
415
|
-
"internalType": "UFixed",
|
416
|
-
"name": "fractionalFee",
|
417
|
-
"type": "uint256"
|
418
|
-
},
|
419
|
-
{
|
420
|
-
"internalType": "uint256",
|
421
|
-
"name": "fixedFee",
|
422
|
-
"type": "uint256"
|
423
|
-
}
|
424
|
-
],
|
425
|
-
"internalType": "struct Fee",
|
426
|
-
"name": "fee",
|
427
|
-
"type": "tuple"
|
428
|
-
},
|
429
538
|
{
|
430
539
|
"internalType": "Amount",
|
431
|
-
"name": "
|
540
|
+
"name": "amount",
|
432
541
|
"type": "uint96"
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"internalType": "Seconds",
|
436
|
-
"name": "lifetime",
|
437
|
-
"type": "uint40"
|
438
|
-
},
|
439
|
-
{
|
440
|
-
"internalType": "bytes",
|
441
|
-
"name": "filter",
|
442
|
-
"type": "bytes"
|
443
542
|
}
|
444
543
|
],
|
445
|
-
"name": "
|
446
|
-
"outputs": [
|
544
|
+
"name": "defundPoolWallet",
|
545
|
+
"outputs": [],
|
546
|
+
"stateMutability": "nonpayable",
|
547
|
+
"type": "function"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"inputs": [
|
447
551
|
{
|
448
|
-
"internalType": "
|
449
|
-
"name": "
|
552
|
+
"internalType": "Amount",
|
553
|
+
"name": "amount",
|
450
554
|
"type": "uint96"
|
451
555
|
}
|
452
556
|
],
|
557
|
+
"name": "fundPoolWallet",
|
558
|
+
"outputs": [],
|
453
559
|
"stateMutability": "nonpayable",
|
454
560
|
"type": "function"
|
455
561
|
},
|
@@ -555,6 +661,19 @@
|
|
555
661
|
"stateMutability": "view",
|
556
662
|
"type": "function"
|
557
663
|
},
|
664
|
+
{
|
665
|
+
"inputs": [],
|
666
|
+
"name": "getRelease",
|
667
|
+
"outputs": [
|
668
|
+
{
|
669
|
+
"internalType": "VersionPart",
|
670
|
+
"name": "release",
|
671
|
+
"type": "uint8"
|
672
|
+
}
|
673
|
+
],
|
674
|
+
"stateMutability": "view",
|
675
|
+
"type": "function"
|
676
|
+
},
|
558
677
|
{
|
559
678
|
"inputs": [],
|
560
679
|
"name": "getRoleId",
|
@@ -565,7 +684,7 @@
|
|
565
684
|
"type": "uint64"
|
566
685
|
}
|
567
686
|
],
|
568
|
-
"stateMutability": "
|
687
|
+
"stateMutability": "view",
|
569
688
|
"type": "function"
|
570
689
|
},
|
571
690
|
{
|
@@ -599,6 +718,19 @@
|
|
599
718
|
"stateMutability": "nonpayable",
|
600
719
|
"type": "function"
|
601
720
|
},
|
721
|
+
{
|
722
|
+
"inputs": [],
|
723
|
+
"name": "isActive",
|
724
|
+
"outputs": [
|
725
|
+
{
|
726
|
+
"internalType": "bool",
|
727
|
+
"name": "active",
|
728
|
+
"type": "bool"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"stateMutability": "view",
|
732
|
+
"type": "function"
|
733
|
+
},
|
602
734
|
{
|
603
735
|
"inputs": [],
|
604
736
|
"name": "isConsumingScheduledOp",
|
@@ -678,108 +810,21 @@
|
|
678
810
|
"inputs": [
|
679
811
|
{
|
680
812
|
"internalType": "NftId",
|
681
|
-
"name": "
|
813
|
+
"name": "policyNftId",
|
682
814
|
"type": "uint96"
|
683
815
|
},
|
684
816
|
{
|
685
|
-
"
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
"name": "distributionFeeAndCommissionAmount",
|
694
|
-
"type": "uint96"
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"internalType": "Amount",
|
698
|
-
"name": "poolPremiumAndFeeAmount",
|
699
|
-
"type": "uint96"
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"internalType": "uint256",
|
703
|
-
"name": "netPremiumAmount",
|
704
|
-
"type": "uint256"
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"internalType": "uint256",
|
708
|
-
"name": "fullPremiumAmount",
|
709
|
-
"type": "uint256"
|
710
|
-
},
|
711
|
-
{
|
712
|
-
"internalType": "uint256",
|
713
|
-
"name": "premiumAmount",
|
714
|
-
"type": "uint256"
|
715
|
-
},
|
716
|
-
{
|
717
|
-
"internalType": "uint256",
|
718
|
-
"name": "productFeeFixAmount",
|
719
|
-
"type": "uint256"
|
720
|
-
},
|
721
|
-
{
|
722
|
-
"internalType": "uint256",
|
723
|
-
"name": "poolFeeFixAmount",
|
724
|
-
"type": "uint256"
|
725
|
-
},
|
726
|
-
{
|
727
|
-
"internalType": "uint256",
|
728
|
-
"name": "bundleFeeFixAmount",
|
729
|
-
"type": "uint256"
|
730
|
-
},
|
731
|
-
{
|
732
|
-
"internalType": "uint256",
|
733
|
-
"name": "distributionFeeFixAmount",
|
734
|
-
"type": "uint256"
|
735
|
-
},
|
736
|
-
{
|
737
|
-
"internalType": "uint256",
|
738
|
-
"name": "productFeeVarAmount",
|
739
|
-
"type": "uint256"
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"internalType": "uint256",
|
743
|
-
"name": "poolFeeVarAmount",
|
744
|
-
"type": "uint256"
|
745
|
-
},
|
746
|
-
{
|
747
|
-
"internalType": "uint256",
|
748
|
-
"name": "bundleFeeVarAmount",
|
749
|
-
"type": "uint256"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"internalType": "uint256",
|
753
|
-
"name": "distributionFeeVarAmount",
|
754
|
-
"type": "uint256"
|
755
|
-
},
|
756
|
-
{
|
757
|
-
"internalType": "uint256",
|
758
|
-
"name": "distributionOwnerFeeFixAmount",
|
759
|
-
"type": "uint256"
|
760
|
-
},
|
761
|
-
{
|
762
|
-
"internalType": "uint256",
|
763
|
-
"name": "distributionOwnerFeeVarAmount",
|
764
|
-
"type": "uint256"
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"internalType": "uint256",
|
768
|
-
"name": "commissionAmount",
|
769
|
-
"type": "uint256"
|
770
|
-
},
|
771
|
-
{
|
772
|
-
"internalType": "uint256",
|
773
|
-
"name": "discountAmount",
|
774
|
-
"type": "uint256"
|
775
|
-
}
|
776
|
-
],
|
777
|
-
"internalType": "struct IPolicy.Premium",
|
778
|
-
"name": "premium",
|
779
|
-
"type": "tuple"
|
817
|
+
"internalType": "ClaimId",
|
818
|
+
"name": "claimId",
|
819
|
+
"type": "uint16"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"internalType": "Amount",
|
823
|
+
"name": "availableAmount",
|
824
|
+
"type": "uint96"
|
780
825
|
}
|
781
826
|
],
|
782
|
-
"name": "
|
827
|
+
"name": "processFundedClaim",
|
783
828
|
"outputs": [],
|
784
829
|
"stateMutability": "nonpayable",
|
785
830
|
"type": "function"
|
@@ -787,45 +832,83 @@
|
|
787
832
|
{
|
788
833
|
"inputs": [
|
789
834
|
{
|
790
|
-
"internalType": "contract
|
791
|
-
"name": "
|
835
|
+
"internalType": "contract InstanceReader",
|
836
|
+
"name": "instanceReader",
|
792
837
|
"type": "address"
|
793
838
|
},
|
794
839
|
{
|
795
|
-
"internalType": "
|
796
|
-
"name": "
|
840
|
+
"internalType": "contract InstanceStore",
|
841
|
+
"name": "instanceStore",
|
797
842
|
"type": "address"
|
798
843
|
},
|
844
|
+
{
|
845
|
+
"internalType": "NftId",
|
846
|
+
"name": "productNftId",
|
847
|
+
"type": "uint96"
|
848
|
+
},
|
799
849
|
{
|
800
850
|
"internalType": "NftId",
|
801
851
|
"name": "policyNftId",
|
802
852
|
"type": "uint96"
|
803
853
|
},
|
854
|
+
{
|
855
|
+
"internalType": "NftId",
|
856
|
+
"name": "bundleNftId",
|
857
|
+
"type": "uint96"
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"internalType": "PayoutId",
|
861
|
+
"name": "payoutId",
|
862
|
+
"type": "uint40"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"internalType": "Amount",
|
866
|
+
"name": "payoutAmount",
|
867
|
+
"type": "uint96"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"internalType": "address",
|
871
|
+
"name": "payoutBeneficiary",
|
872
|
+
"type": "address"
|
873
|
+
}
|
874
|
+
],
|
875
|
+
"name": "processPayout",
|
876
|
+
"outputs": [],
|
877
|
+
"stateMutability": "nonpayable",
|
878
|
+
"type": "function"
|
879
|
+
},
|
880
|
+
{
|
881
|
+
"inputs": [
|
882
|
+
{
|
883
|
+
"internalType": "NftId",
|
884
|
+
"name": "bundleNftId",
|
885
|
+
"type": "uint96"
|
886
|
+
},
|
804
887
|
{
|
805
888
|
"components": [
|
806
889
|
{
|
807
|
-
"internalType": "
|
808
|
-
"name": "
|
890
|
+
"internalType": "Amount",
|
891
|
+
"name": "productFeeAmount",
|
809
892
|
"type": "uint96"
|
810
893
|
},
|
811
894
|
{
|
812
|
-
"internalType": "
|
813
|
-
"name": "
|
895
|
+
"internalType": "Amount",
|
896
|
+
"name": "distributionFeeAndCommissionAmount",
|
814
897
|
"type": "uint96"
|
815
898
|
},
|
816
899
|
{
|
817
|
-
"internalType": "
|
818
|
-
"name": "
|
819
|
-
"type": "
|
900
|
+
"internalType": "Amount",
|
901
|
+
"name": "poolPremiumAndFeeAmount",
|
902
|
+
"type": "uint96"
|
820
903
|
},
|
821
904
|
{
|
822
|
-
"internalType": "
|
823
|
-
"name": "
|
824
|
-
"type": "
|
905
|
+
"internalType": "Amount",
|
906
|
+
"name": "netPremiumAmount",
|
907
|
+
"type": "uint96"
|
825
908
|
},
|
826
909
|
{
|
827
910
|
"internalType": "Amount",
|
828
|
-
"name": "
|
911
|
+
"name": "fullPremiumAmount",
|
829
912
|
"type": "uint96"
|
830
913
|
},
|
831
914
|
{
|
@@ -835,71 +918,71 @@
|
|
835
918
|
},
|
836
919
|
{
|
837
920
|
"internalType": "Amount",
|
838
|
-
"name": "
|
921
|
+
"name": "productFeeFixAmount",
|
839
922
|
"type": "uint96"
|
840
923
|
},
|
841
924
|
{
|
842
|
-
"internalType": "
|
843
|
-
"name": "
|
844
|
-
"type": "
|
925
|
+
"internalType": "Amount",
|
926
|
+
"name": "poolFeeFixAmount",
|
927
|
+
"type": "uint96"
|
845
928
|
},
|
846
929
|
{
|
847
|
-
"internalType": "
|
848
|
-
"name": "
|
849
|
-
"type": "
|
930
|
+
"internalType": "Amount",
|
931
|
+
"name": "bundleFeeFixAmount",
|
932
|
+
"type": "uint96"
|
850
933
|
},
|
851
934
|
{
|
852
|
-
"internalType": "
|
853
|
-
"name": "
|
854
|
-
"type": "
|
935
|
+
"internalType": "Amount",
|
936
|
+
"name": "distributionFeeFixAmount",
|
937
|
+
"type": "uint96"
|
855
938
|
},
|
856
939
|
{
|
857
|
-
"internalType": "
|
858
|
-
"name": "
|
859
|
-
"type": "
|
940
|
+
"internalType": "Amount",
|
941
|
+
"name": "productFeeVarAmount",
|
942
|
+
"type": "uint96"
|
860
943
|
},
|
861
944
|
{
|
862
|
-
"internalType": "
|
863
|
-
"name": "
|
864
|
-
"type": "
|
945
|
+
"internalType": "Amount",
|
946
|
+
"name": "poolFeeVarAmount",
|
947
|
+
"type": "uint96"
|
865
948
|
},
|
866
949
|
{
|
867
950
|
"internalType": "Amount",
|
868
|
-
"name": "
|
951
|
+
"name": "bundleFeeVarAmount",
|
869
952
|
"type": "uint96"
|
870
953
|
},
|
871
954
|
{
|
872
955
|
"internalType": "Amount",
|
873
|
-
"name": "
|
956
|
+
"name": "distributionFeeVarAmount",
|
874
957
|
"type": "uint96"
|
875
958
|
},
|
876
959
|
{
|
877
|
-
"internalType": "
|
878
|
-
"name": "
|
879
|
-
"type": "
|
960
|
+
"internalType": "Amount",
|
961
|
+
"name": "distributionOwnerFeeFixAmount",
|
962
|
+
"type": "uint96"
|
880
963
|
},
|
881
964
|
{
|
882
|
-
"internalType": "
|
883
|
-
"name": "
|
884
|
-
"type": "
|
965
|
+
"internalType": "Amount",
|
966
|
+
"name": "distributionOwnerFeeVarAmount",
|
967
|
+
"type": "uint96"
|
885
968
|
},
|
886
969
|
{
|
887
|
-
"internalType": "
|
888
|
-
"name": "
|
889
|
-
"type": "
|
970
|
+
"internalType": "Amount",
|
971
|
+
"name": "commissionAmount",
|
972
|
+
"type": "uint96"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"internalType": "Amount",
|
976
|
+
"name": "discountAmount",
|
977
|
+
"type": "uint96"
|
890
978
|
}
|
891
979
|
],
|
892
|
-
"internalType": "struct IPolicy.
|
893
|
-
"name": "
|
980
|
+
"internalType": "struct IPolicy.PremiumInfo",
|
981
|
+
"name": "premium",
|
894
982
|
"type": "tuple"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"internalType": "Amount",
|
898
|
-
"name": "payoutAmount",
|
899
|
-
"type": "uint96"
|
900
983
|
}
|
901
984
|
],
|
902
|
-
"name": "
|
985
|
+
"name": "processSale",
|
903
986
|
"outputs": [],
|
904
987
|
"stateMutability": "nonpayable",
|
905
988
|
"type": "function"
|
@@ -911,11 +994,6 @@
|
|
911
994
|
"name": "instance",
|
912
995
|
"type": "address"
|
913
996
|
},
|
914
|
-
{
|
915
|
-
"internalType": "address",
|
916
|
-
"name": "token",
|
917
|
-
"type": "address"
|
918
|
-
},
|
919
997
|
{
|
920
998
|
"internalType": "NftId",
|
921
999
|
"name": "policyNftId",
|
@@ -953,11 +1031,6 @@
|
|
953
1031
|
"name": "premiumAmount",
|
954
1032
|
"type": "uint96"
|
955
1033
|
},
|
956
|
-
{
|
957
|
-
"internalType": "Amount",
|
958
|
-
"name": "premiumPaidAmount",
|
959
|
-
"type": "uint96"
|
960
|
-
},
|
961
1034
|
{
|
962
1035
|
"internalType": "Seconds",
|
963
1036
|
"name": "lifetime",
|
@@ -1032,87 +1105,15 @@
|
|
1032
1105
|
"stateMutability": "nonpayable",
|
1033
1106
|
"type": "function"
|
1034
1107
|
},
|
1035
|
-
{
|
1036
|
-
"inputs": [
|
1037
|
-
{
|
1038
|
-
"internalType": "RoleId",
|
1039
|
-
"name": "bundleOwnerRole",
|
1040
|
-
"type": "uint64"
|
1041
|
-
}
|
1042
|
-
],
|
1043
|
-
"name": "setBundleOwnerRole",
|
1044
|
-
"outputs": [],
|
1045
|
-
"stateMutability": "nonpayable",
|
1046
|
-
"type": "function"
|
1047
|
-
},
|
1048
|
-
{
|
1049
|
-
"inputs": [
|
1050
|
-
{
|
1051
|
-
"components": [
|
1052
|
-
{
|
1053
|
-
"internalType": "UFixed",
|
1054
|
-
"name": "fractionalFee",
|
1055
|
-
"type": "uint256"
|
1056
|
-
},
|
1057
|
-
{
|
1058
|
-
"internalType": "uint256",
|
1059
|
-
"name": "fixedFee",
|
1060
|
-
"type": "uint256"
|
1061
|
-
}
|
1062
|
-
],
|
1063
|
-
"internalType": "struct Fee",
|
1064
|
-
"name": "poolFee",
|
1065
|
-
"type": "tuple"
|
1066
|
-
},
|
1067
|
-
{
|
1068
|
-
"components": [
|
1069
|
-
{
|
1070
|
-
"internalType": "UFixed",
|
1071
|
-
"name": "fractionalFee",
|
1072
|
-
"type": "uint256"
|
1073
|
-
},
|
1074
|
-
{
|
1075
|
-
"internalType": "uint256",
|
1076
|
-
"name": "fixedFee",
|
1077
|
-
"type": "uint256"
|
1078
|
-
}
|
1079
|
-
],
|
1080
|
-
"internalType": "struct Fee",
|
1081
|
-
"name": "stakingFee",
|
1082
|
-
"type": "tuple"
|
1083
|
-
},
|
1084
|
-
{
|
1085
|
-
"components": [
|
1086
|
-
{
|
1087
|
-
"internalType": "UFixed",
|
1088
|
-
"name": "fractionalFee",
|
1089
|
-
"type": "uint256"
|
1090
|
-
},
|
1091
|
-
{
|
1092
|
-
"internalType": "uint256",
|
1093
|
-
"name": "fixedFee",
|
1094
|
-
"type": "uint256"
|
1095
|
-
}
|
1096
|
-
],
|
1097
|
-
"internalType": "struct Fee",
|
1098
|
-
"name": "performanceFee",
|
1099
|
-
"type": "tuple"
|
1100
|
-
}
|
1101
|
-
],
|
1102
|
-
"name": "setFees",
|
1103
|
-
"outputs": [],
|
1104
|
-
"stateMutability": "nonpayable",
|
1105
|
-
"type": "function"
|
1106
|
-
},
|
1107
1108
|
{
|
1108
1109
|
"inputs": [
|
1109
1110
|
{
|
1110
1111
|
"internalType": "Amount",
|
1111
|
-
"name": "
|
1112
|
+
"name": "maxBalanceAmount",
|
1112
1113
|
"type": "uint96"
|
1113
1114
|
}
|
1114
1115
|
],
|
1115
|
-
"name": "
|
1116
|
+
"name": "setMaxBalanceAmount",
|
1116
1117
|
"outputs": [],
|
1117
1118
|
"stateMutability": "nonpayable",
|
1118
1119
|
"type": "function"
|
@@ -1196,6 +1197,30 @@
|
|
1196
1197
|
"outputs": [],
|
1197
1198
|
"stateMutability": "nonpayable",
|
1198
1199
|
"type": "function"
|
1200
|
+
},
|
1201
|
+
{
|
1202
|
+
"inputs": [
|
1203
|
+
{
|
1204
|
+
"internalType": "NftId",
|
1205
|
+
"name": "bundleNftId",
|
1206
|
+
"type": "uint96"
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
"internalType": "Amount",
|
1210
|
+
"name": "amount",
|
1211
|
+
"type": "uint96"
|
1212
|
+
}
|
1213
|
+
],
|
1214
|
+
"name": "withdrawBundleFees",
|
1215
|
+
"outputs": [
|
1216
|
+
{
|
1217
|
+
"internalType": "Amount",
|
1218
|
+
"name": "withdrawnAmount",
|
1219
|
+
"type": "uint96"
|
1220
|
+
}
|
1221
|
+
],
|
1222
|
+
"stateMutability": "nonpayable",
|
1223
|
+
"type": "function"
|
1199
1224
|
}
|
1200
1225
|
],
|
1201
1226
|
"bytecode": "0x",
|