@etherisc/gif-next 0.0.2-d39f345-355 → 0.0.2-d3a9310-013
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -10
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +304 -324
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +293 -275
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
- 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 +1472 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1423 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2551 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +569 -2034
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +517 -74
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +611 -2581
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1941 -698
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +529 -347
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +201 -170
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- 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 +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → oracle/IOracleService.sol/IOracleService.json} +339 -179
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +272 -241
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +339 -473
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +530 -457
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +384 -423
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +475 -483
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IApplicationService.sol/IApplicationService.json} +311 -216
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +331 -264
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +202 -177
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IRiskService.sol/IRiskService.json} +261 -203
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -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 +496 -31
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
- 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 +984 -128
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +390 -250
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +212 -109
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -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 +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +156 -131
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +573 -743
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +47 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +145 -100
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +95 -109
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
- 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 +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
- 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 +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- 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 +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -7
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +780 -0
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +169 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +144 -0
- package/contracts/authorization/IAuthorization.sol +27 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +320 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +247 -0
- package/contracts/distribution/DistributionService.sol +448 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +45 -0
- package/contracts/distribution/IDistributionService.sol +115 -0
- 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 +422 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +117 -74
- package/contracts/instance/IInstanceService.sol +83 -35
- package/contracts/instance/Instance.sol +245 -209
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +520 -205
- package/contracts/instance/InstanceService.sol +386 -365
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +298 -0
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +121 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +109 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +9 -11
- package/contracts/instance/module/IComponents.sol +44 -23
- package/contracts/instance/module/IDistribution.sol +25 -12
- package/contracts/instance/module/IPolicy.sol +67 -39
- package/contracts/instance/module/IRisk.sol +6 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +45 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
- package/contracts/oracle/IOracle.sol +41 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +154 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +162 -0
- package/contracts/pool/BasicPoolAuthorization.sol +81 -0
- package/contracts/pool/BundleService.sol +386 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +116 -0
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +170 -0
- package/contracts/pool/Pool.sol +333 -0
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +614 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +327 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +632 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +41 -31
- package/contracts/product/IClaimService.sol +136 -0
- package/contracts/product/IPolicyService.sol +102 -0
- package/contracts/product/IPricingService.sol +40 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +645 -0
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +306 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +493 -0
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +79 -40
- package/contracts/registry/IRegistry.sol +104 -30
- package/contracts/registry/IRegistryService.sol +34 -40
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +466 -197
- package/contracts/registry/RegistryAdmin.sol +188 -0
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +90 -131
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +520 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
- package/contracts/registry/TokenRegistry.sol +263 -65
- package/contracts/shared/Component.sol +210 -0
- package/contracts/shared/ComponentService.sol +679 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ContractLib.sol +311 -0
- package/contracts/shared/IComponent.sol +58 -0
- package/contracts/shared/IComponentService.sol +111 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +6 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +12 -5
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +194 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +36 -27
- package/contracts/shared/PolicyHolder.sol +23 -41
- package/contracts/shared/Registerable.sol +52 -20
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +36 -41
- package/contracts/shared/TokenHandler.sol +322 -13
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +195 -0
- package/contracts/staking/IStakingService.sol +170 -0
- package/contracts/staking/Staking.sol +605 -0
- package/contracts/staking/StakingLib.sol +281 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +199 -0
- package/contracts/staking/StakingService.sol +468 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +606 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +26 -3
- package/contracts/{types → type}/ClaimId.sol +6 -1
- package/contracts/{types → type}/Fee.sol +28 -26
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +21 -16
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +307 -0
- package/contracts/{types → type}/PayoutId.sol +10 -10
- package/contracts/{types → type}/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +75 -0
- package/contracts/type/RoleId.sol +180 -0
- package/contracts/type/Seconds.sol +105 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +41 -2
- package/contracts/type/String.sol +65 -0
- package/contracts/{types → type}/Timestamp.sol +16 -7
- package/contracts/type/UFixed.sol +262 -0
- package/contracts/{types → type}/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
- package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
- package/package.json +12 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1060
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -681
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1289
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -725
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1040
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -685
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1774
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1615
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -777
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1433
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -701
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -209
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -179
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -209
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -253
- package/contracts/components/Distribution.sol +0 -284
- package/contracts/components/IComponent.sol +0 -76
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -302
- package/contracts/components/Product.sol +0 -371
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -527
- package/contracts/instance/ObjectManager.sol +0 -82
- package/contracts/instance/base/ComponentService.sol +0 -121
- package/contracts/instance/base/KeyValueStore.sol +0 -180
- package/contracts/instance/base/Lifecycle.sol +0 -117
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -355
- package/contracts/instance/service/BundleService.sol +0 -443
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -239
- package/contracts/instance/service/DistributionService.sol +0 -431
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -102
- package/contracts/instance/service/IClaimService.sol +0 -92
- package/contracts/instance/service/IDistributionService.sol +0 -99
- package/contracts/instance/service/IPolicyService.sol +0 -139
- package/contracts/instance/service/IPoolService.sol +0 -102
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -575
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -336
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -210
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -324
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/Amount.sol +0 -70
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -157
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -97
- package/contracts/types/Seconds.sol +0 -54
- package/contracts/types/UFixed.sol +0 -326
- /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IBundleService",
|
4
|
+
"sourceName": "contracts/pool/IBundleService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -41,96 +41,238 @@
|
|
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
|
{
|
47
58
|
"internalType": "NftId",
|
48
|
-
"name": "
|
59
|
+
"name": "bundleNftId",
|
49
60
|
"type": "uint96"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"internalType": "StateId",
|
64
|
+
"name": "state",
|
65
|
+
"type": "uint8"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"internalType": "Timestamp",
|
69
|
+
"name": "expiredAt",
|
70
|
+
"type": "uint40"
|
50
71
|
}
|
51
72
|
],
|
52
|
-
"name": "
|
73
|
+
"name": "ErrorBundleServiceBundleNotOpen",
|
53
74
|
"type": "error"
|
54
75
|
},
|
55
76
|
{
|
56
77
|
"inputs": [
|
57
78
|
{
|
58
|
-
"internalType": "
|
59
|
-
"name": "
|
60
|
-
"type": "
|
79
|
+
"internalType": "NftId",
|
80
|
+
"name": "bundleNftId",
|
81
|
+
"type": "uint96"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "NftId",
|
85
|
+
"name": "expectedPool",
|
86
|
+
"type": "uint96"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "NftId",
|
90
|
+
"name": "actualPool",
|
91
|
+
"type": "uint96"
|
61
92
|
}
|
62
93
|
],
|
63
|
-
"name": "
|
94
|
+
"name": "ErrorBundleServiceBundlePoolMismatch",
|
64
95
|
"type": "error"
|
65
96
|
},
|
66
97
|
{
|
67
|
-
"inputs": [
|
68
|
-
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "NftId",
|
101
|
+
"name": "bundleNftId",
|
102
|
+
"type": "uint96"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "ErrorBundleServiceBundleUnknown",
|
69
106
|
"type": "error"
|
70
107
|
},
|
71
108
|
{
|
72
109
|
"inputs": [
|
73
110
|
{
|
74
|
-
"internalType": "
|
75
|
-
"name": "
|
76
|
-
"type": "
|
111
|
+
"internalType": "NftId",
|
112
|
+
"name": "bundleNftId",
|
113
|
+
"type": "uint96"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"internalType": "uint256",
|
117
|
+
"name": "openPoliciesCount",
|
118
|
+
"type": "uint256"
|
77
119
|
}
|
78
120
|
],
|
79
|
-
"name": "
|
121
|
+
"name": "ErrorBundleServiceBundleWithOpenPolicies",
|
122
|
+
"type": "error"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"inputs": [
|
126
|
+
{
|
127
|
+
"internalType": "NftId",
|
128
|
+
"name": "bundleNftId",
|
129
|
+
"type": "uint96"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"internalType": "Amount",
|
133
|
+
"name": "capacityAmount",
|
134
|
+
"type": "uint96"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"internalType": "Amount",
|
138
|
+
"name": "collateralAmount",
|
139
|
+
"type": "uint96"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"name": "ErrorBundleServiceCapacityInsufficient",
|
143
|
+
"type": "error"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"inputs": [],
|
147
|
+
"name": "ErrorBundleServiceExtensionLifetimeIsZero",
|
80
148
|
"type": "error"
|
81
149
|
},
|
82
150
|
{
|
83
151
|
"inputs": [
|
84
152
|
{
|
85
153
|
"internalType": "address",
|
86
|
-
"name": "
|
154
|
+
"name": "bundleOwner",
|
155
|
+
"type": "address"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"internalType": "address",
|
159
|
+
"name": "tokenHandlerAddress",
|
87
160
|
"type": "address"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "Amount",
|
164
|
+
"name": "amount",
|
165
|
+
"type": "uint96"
|
88
166
|
}
|
89
167
|
],
|
90
|
-
"name": "
|
168
|
+
"name": "ErrorBundleServiceInsufficientAllowance",
|
91
169
|
"type": "error"
|
92
170
|
},
|
93
171
|
{
|
94
172
|
"inputs": [
|
95
173
|
{
|
96
174
|
"internalType": "NftId",
|
97
|
-
"name": "
|
175
|
+
"name": "policyNftId",
|
98
176
|
"type": "uint96"
|
99
177
|
}
|
100
178
|
],
|
101
|
-
"name": "
|
179
|
+
"name": "ErrorBundleServicePolicyNotCloseable",
|
102
180
|
"type": "error"
|
103
181
|
},
|
104
182
|
{
|
105
183
|
"inputs": [
|
106
184
|
{
|
107
|
-
"internalType": "
|
108
|
-
"name": "
|
185
|
+
"internalType": "Amount",
|
186
|
+
"name": "amount",
|
109
187
|
"type": "uint96"
|
110
188
|
},
|
189
|
+
{
|
190
|
+
"internalType": "Amount",
|
191
|
+
"name": "limit",
|
192
|
+
"type": "uint96"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "ErrorBundleServiceUnstakeAmountExceedsLimit",
|
196
|
+
"type": "error"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"inputs": [
|
111
200
|
{
|
112
201
|
"internalType": "NftId",
|
113
|
-
"name": "
|
202
|
+
"name": "nftId",
|
114
203
|
"type": "uint96"
|
115
204
|
}
|
116
205
|
],
|
117
|
-
"name": "
|
206
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
118
207
|
"type": "error"
|
119
208
|
},
|
120
209
|
{
|
121
210
|
"inputs": [
|
122
211
|
{
|
123
|
-
"internalType": "
|
124
|
-
"name": "
|
212
|
+
"internalType": "address",
|
213
|
+
"name": "contractAddress",
|
214
|
+
"type": "address"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
218
|
+
"type": "error"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"inputs": [],
|
222
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
223
|
+
"type": "error"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"inputs": [
|
227
|
+
{
|
228
|
+
"internalType": "NftId",
|
229
|
+
"name": "nftId",
|
125
230
|
"type": "uint96"
|
126
231
|
},
|
127
232
|
{
|
128
|
-
"internalType": "
|
129
|
-
"name": "
|
130
|
-
"type": "
|
233
|
+
"internalType": "ObjectType",
|
234
|
+
"name": "expectedObjectType",
|
235
|
+
"type": "uint8"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"name": "ErrorNftOwnableInvalidType",
|
239
|
+
"type": "error"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"inputs": [
|
243
|
+
{
|
244
|
+
"internalType": "address",
|
245
|
+
"name": "account",
|
246
|
+
"type": "address"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"name": "ErrorNftOwnableNotOwner",
|
250
|
+
"type": "error"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"inputs": [
|
254
|
+
{
|
255
|
+
"internalType": "address",
|
256
|
+
"name": "registryAddress",
|
257
|
+
"type": "address"
|
131
258
|
}
|
132
259
|
],
|
133
|
-
"name": "
|
260
|
+
"name": "ErrorNotRegistry",
|
261
|
+
"type": "error"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"inputs": [],
|
265
|
+
"name": "ErrorRegisterableNotActive",
|
266
|
+
"type": "error"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"inputs": [],
|
270
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
271
|
+
"type": "error"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"inputs": [],
|
275
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
134
276
|
"type": "error"
|
135
277
|
},
|
136
278
|
{
|
@@ -149,18 +291,6 @@
|
|
149
291
|
{
|
150
292
|
"anonymous": false,
|
151
293
|
"inputs": [
|
152
|
-
{
|
153
|
-
"indexed": false,
|
154
|
-
"internalType": "NftId",
|
155
|
-
"name": "instanceNftId",
|
156
|
-
"type": "uint96"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"indexed": false,
|
160
|
-
"internalType": "NftId",
|
161
|
-
"name": "poolNftId",
|
162
|
-
"type": "uint96"
|
163
|
-
},
|
164
294
|
{
|
165
295
|
"indexed": false,
|
166
296
|
"internalType": "NftId",
|
@@ -168,7 +298,7 @@
|
|
168
298
|
"type": "uint96"
|
169
299
|
}
|
170
300
|
],
|
171
|
-
"name": "
|
301
|
+
"name": "LogBundleServiceBundleClosed",
|
172
302
|
"type": "event"
|
173
303
|
},
|
174
304
|
{
|
@@ -177,7 +307,7 @@
|
|
177
307
|
{
|
178
308
|
"indexed": false,
|
179
309
|
"internalType": "NftId",
|
180
|
-
"name": "
|
310
|
+
"name": "bundleNftId",
|
181
311
|
"type": "uint96"
|
182
312
|
},
|
183
313
|
{
|
@@ -188,12 +318,12 @@
|
|
188
318
|
},
|
189
319
|
{
|
190
320
|
"indexed": false,
|
191
|
-
"internalType": "
|
192
|
-
"name": "
|
193
|
-
"type": "
|
321
|
+
"internalType": "Seconds",
|
322
|
+
"name": "lifetime",
|
323
|
+
"type": "uint40"
|
194
324
|
}
|
195
325
|
],
|
196
|
-
"name": "
|
326
|
+
"name": "LogBundleServiceBundleCreated",
|
197
327
|
"type": "event"
|
198
328
|
},
|
199
329
|
{
|
@@ -202,17 +332,23 @@
|
|
202
332
|
{
|
203
333
|
"indexed": false,
|
204
334
|
"internalType": "NftId",
|
205
|
-
"name": "
|
335
|
+
"name": "bundleNftId",
|
206
336
|
"type": "uint96"
|
207
337
|
},
|
208
338
|
{
|
209
339
|
"indexed": false,
|
210
|
-
"internalType": "
|
211
|
-
"name": "
|
212
|
-
"type": "
|
340
|
+
"internalType": "Seconds",
|
341
|
+
"name": "lifetimeExtension",
|
342
|
+
"type": "uint40"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"indexed": false,
|
346
|
+
"internalType": "Timestamp",
|
347
|
+
"name": "extendedExpiredAt",
|
348
|
+
"type": "uint40"
|
213
349
|
}
|
214
350
|
],
|
215
|
-
"name": "
|
351
|
+
"name": "LogBundleServiceBundleExtended",
|
216
352
|
"type": "event"
|
217
353
|
},
|
218
354
|
{
|
@@ -221,101 +357,269 @@
|
|
221
357
|
{
|
222
358
|
"indexed": false,
|
223
359
|
"internalType": "NftId",
|
224
|
-
"name": "
|
360
|
+
"name": "bundleNftId",
|
225
361
|
"type": "uint96"
|
226
362
|
},
|
227
363
|
{
|
228
364
|
"indexed": false,
|
229
|
-
"internalType": "
|
230
|
-
"name": "
|
231
|
-
"type": "
|
365
|
+
"internalType": "Amount",
|
366
|
+
"name": "fixedFee",
|
367
|
+
"type": "uint96"
|
232
368
|
},
|
233
369
|
{
|
234
370
|
"indexed": false,
|
235
|
-
"internalType": "
|
236
|
-
"name": "
|
237
|
-
"type": "
|
371
|
+
"internalType": "UFixed",
|
372
|
+
"name": "fractionalFee",
|
373
|
+
"type": "uint160"
|
238
374
|
}
|
239
375
|
],
|
240
|
-
"name": "
|
376
|
+
"name": "LogBundleServiceBundleFeeUpdated",
|
241
377
|
"type": "event"
|
242
378
|
},
|
243
379
|
{
|
244
|
-
"
|
245
|
-
"name": "authority",
|
246
|
-
"outputs": [
|
247
|
-
{
|
248
|
-
"internalType": "address",
|
249
|
-
"name": "",
|
250
|
-
"type": "address"
|
251
|
-
}
|
252
|
-
],
|
253
|
-
"stateMutability": "view",
|
254
|
-
"type": "function"
|
255
|
-
},
|
256
|
-
{
|
380
|
+
"anonymous": false,
|
257
381
|
"inputs": [
|
258
382
|
{
|
383
|
+
"indexed": false,
|
259
384
|
"internalType": "NftId",
|
260
385
|
"name": "bundleNftId",
|
261
386
|
"type": "uint96"
|
262
387
|
}
|
263
388
|
],
|
264
|
-
"name": "
|
265
|
-
"
|
266
|
-
"stateMutability": "nonpayable",
|
267
|
-
"type": "function"
|
389
|
+
"name": "LogBundleServiceBundleLocked",
|
390
|
+
"type": "event"
|
268
391
|
},
|
269
392
|
{
|
393
|
+
"anonymous": false,
|
270
394
|
"inputs": [
|
271
395
|
{
|
272
|
-
"
|
273
|
-
"
|
274
|
-
"
|
275
|
-
|
276
|
-
{
|
277
|
-
"components": [
|
278
|
-
{
|
279
|
-
"internalType": "UFixed",
|
280
|
-
"name": "fractionalFee",
|
281
|
-
"type": "uint256"
|
282
|
-
},
|
283
|
-
{
|
284
|
-
"internalType": "uint256",
|
285
|
-
"name": "fixedFee",
|
286
|
-
"type": "uint256"
|
287
|
-
}
|
288
|
-
],
|
289
|
-
"internalType": "struct Fee",
|
290
|
-
"name": "fee",
|
291
|
-
"type": "tuple"
|
396
|
+
"indexed": false,
|
397
|
+
"internalType": "NftId",
|
398
|
+
"name": "bundleNftId",
|
399
|
+
"type": "uint96"
|
292
400
|
},
|
293
401
|
{
|
402
|
+
"indexed": false,
|
294
403
|
"internalType": "Amount",
|
295
|
-
"name": "
|
404
|
+
"name": "amount",
|
296
405
|
"type": "uint96"
|
297
|
-
},
|
298
|
-
{
|
299
|
-
"internalType": "Seconds",
|
300
|
-
"name": "lifetime",
|
301
|
-
"type": "uint40"
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"internalType": "bytes",
|
305
|
-
"name": "filter",
|
306
|
-
"type": "bytes"
|
307
406
|
}
|
308
407
|
],
|
309
|
-
"name": "
|
310
|
-
"
|
408
|
+
"name": "LogBundleServiceBundleStaked",
|
409
|
+
"type": "event"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"anonymous": false,
|
413
|
+
"inputs": [
|
311
414
|
{
|
415
|
+
"indexed": false,
|
312
416
|
"internalType": "NftId",
|
313
417
|
"name": "bundleNftId",
|
314
418
|
"type": "uint96"
|
315
419
|
}
|
316
420
|
],
|
317
|
-
"
|
318
|
-
"type": "
|
421
|
+
"name": "LogBundleServiceBundleUnlocked",
|
422
|
+
"type": "event"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"anonymous": false,
|
426
|
+
"inputs": [
|
427
|
+
{
|
428
|
+
"indexed": false,
|
429
|
+
"internalType": "NftId",
|
430
|
+
"name": "bundleNftId",
|
431
|
+
"type": "uint96"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"indexed": false,
|
435
|
+
"internalType": "Amount",
|
436
|
+
"name": "amount",
|
437
|
+
"type": "uint96"
|
438
|
+
}
|
439
|
+
],
|
440
|
+
"name": "LogBundleServiceBundleUnstaked",
|
441
|
+
"type": "event"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"anonymous": false,
|
445
|
+
"inputs": [
|
446
|
+
{
|
447
|
+
"indexed": false,
|
448
|
+
"internalType": "NftId",
|
449
|
+
"name": "bundleNftId",
|
450
|
+
"type": "uint96"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"indexed": false,
|
454
|
+
"internalType": "NftId",
|
455
|
+
"name": "policyNftId",
|
456
|
+
"type": "uint96"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"indexed": false,
|
460
|
+
"internalType": "Amount",
|
461
|
+
"name": "collateralAmount",
|
462
|
+
"type": "uint96"
|
463
|
+
}
|
464
|
+
],
|
465
|
+
"name": "LogBundleServiceCollateralLocked",
|
466
|
+
"type": "event"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"anonymous": false,
|
470
|
+
"inputs": [
|
471
|
+
{
|
472
|
+
"indexed": false,
|
473
|
+
"internalType": "NftId",
|
474
|
+
"name": "bundleNftId",
|
475
|
+
"type": "uint96"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"indexed": false,
|
479
|
+
"internalType": "NftId",
|
480
|
+
"name": "policyNftId",
|
481
|
+
"type": "uint96"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"indexed": false,
|
485
|
+
"internalType": "Amount",
|
486
|
+
"name": "collateralAmount",
|
487
|
+
"type": "uint96"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"name": "LogBundleServiceCollateralReleased",
|
491
|
+
"type": "event"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"anonymous": false,
|
495
|
+
"inputs": [
|
496
|
+
{
|
497
|
+
"indexed": false,
|
498
|
+
"internalType": "NftId",
|
499
|
+
"name": "nftId",
|
500
|
+
"type": "uint96"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"indexed": false,
|
504
|
+
"internalType": "address",
|
505
|
+
"name": "owner",
|
506
|
+
"type": "address"
|
507
|
+
}
|
508
|
+
],
|
509
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
510
|
+
"type": "event"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"inputs": [],
|
514
|
+
"name": "authority",
|
515
|
+
"outputs": [
|
516
|
+
{
|
517
|
+
"internalType": "address",
|
518
|
+
"name": "",
|
519
|
+
"type": "address"
|
520
|
+
}
|
521
|
+
],
|
522
|
+
"stateMutability": "view",
|
523
|
+
"type": "function"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"inputs": [
|
527
|
+
{
|
528
|
+
"internalType": "contract IInstance",
|
529
|
+
"name": "instance",
|
530
|
+
"type": "address"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"internalType": "NftId",
|
534
|
+
"name": "bundleNftId",
|
535
|
+
"type": "uint96"
|
536
|
+
}
|
537
|
+
],
|
538
|
+
"name": "close",
|
539
|
+
"outputs": [
|
540
|
+
{
|
541
|
+
"internalType": "Amount",
|
542
|
+
"name": "balanceAmount",
|
543
|
+
"type": "uint96"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"internalType": "Amount",
|
547
|
+
"name": "feeAmount",
|
548
|
+
"type": "uint96"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"stateMutability": "nonpayable",
|
552
|
+
"type": "function"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"inputs": [
|
556
|
+
{
|
557
|
+
"internalType": "address",
|
558
|
+
"name": "owner",
|
559
|
+
"type": "address"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"components": [
|
563
|
+
{
|
564
|
+
"internalType": "UFixed",
|
565
|
+
"name": "fractionalFee",
|
566
|
+
"type": "uint160"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"internalType": "Amount",
|
570
|
+
"name": "fixedFee",
|
571
|
+
"type": "uint96"
|
572
|
+
}
|
573
|
+
],
|
574
|
+
"internalType": "struct Fee",
|
575
|
+
"name": "fee",
|
576
|
+
"type": "tuple"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"internalType": "Seconds",
|
580
|
+
"name": "lifetime",
|
581
|
+
"type": "uint40"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"internalType": "bytes",
|
585
|
+
"name": "filter",
|
586
|
+
"type": "bytes"
|
587
|
+
}
|
588
|
+
],
|
589
|
+
"name": "create",
|
590
|
+
"outputs": [
|
591
|
+
{
|
592
|
+
"internalType": "NftId",
|
593
|
+
"name": "bundleNftId",
|
594
|
+
"type": "uint96"
|
595
|
+
}
|
596
|
+
],
|
597
|
+
"stateMutability": "nonpayable",
|
598
|
+
"type": "function"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"inputs": [
|
602
|
+
{
|
603
|
+
"internalType": "NftId",
|
604
|
+
"name": "bundleNftId",
|
605
|
+
"type": "uint96"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"internalType": "Seconds",
|
609
|
+
"name": "lifetimeExtension",
|
610
|
+
"type": "uint40"
|
611
|
+
}
|
612
|
+
],
|
613
|
+
"name": "extend",
|
614
|
+
"outputs": [
|
615
|
+
{
|
616
|
+
"internalType": "Timestamp",
|
617
|
+
"name": "extendedExpiredAt",
|
618
|
+
"type": "uint40"
|
619
|
+
}
|
620
|
+
],
|
621
|
+
"stateMutability": "nonpayable",
|
622
|
+
"type": "function"
|
319
623
|
},
|
320
624
|
{
|
321
625
|
"inputs": [],
|
@@ -421,12 +725,25 @@
|
|
421
725
|
},
|
422
726
|
{
|
423
727
|
"inputs": [],
|
424
|
-
"name": "
|
728
|
+
"name": "getRelease",
|
425
729
|
"outputs": [
|
426
730
|
{
|
427
|
-
"internalType": "
|
428
|
-
"name": "",
|
429
|
-
"type": "
|
731
|
+
"internalType": "VersionPart",
|
732
|
+
"name": "release",
|
733
|
+
"type": "uint8"
|
734
|
+
}
|
735
|
+
],
|
736
|
+
"stateMutability": "view",
|
737
|
+
"type": "function"
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"inputs": [],
|
741
|
+
"name": "getRoleId",
|
742
|
+
"outputs": [
|
743
|
+
{
|
744
|
+
"internalType": "RoleId",
|
745
|
+
"name": "serviceRoleId",
|
746
|
+
"type": "uint64"
|
430
747
|
}
|
431
748
|
],
|
432
749
|
"stateMutability": "view",
|
@@ -463,6 +780,19 @@
|
|
463
780
|
"stateMutability": "nonpayable",
|
464
781
|
"type": "function"
|
465
782
|
},
|
783
|
+
{
|
784
|
+
"inputs": [],
|
785
|
+
"name": "isActive",
|
786
|
+
"outputs": [
|
787
|
+
{
|
788
|
+
"internalType": "bool",
|
789
|
+
"name": "active",
|
790
|
+
"type": "bool"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"stateMutability": "view",
|
794
|
+
"type": "function"
|
795
|
+
},
|
466
796
|
{
|
467
797
|
"inputs": [],
|
468
798
|
"name": "isConsumingScheduledOp",
|
@@ -479,7 +809,13 @@
|
|
479
809
|
{
|
480
810
|
"inputs": [],
|
481
811
|
"name": "linkToRegisteredNftId",
|
482
|
-
"outputs": [
|
812
|
+
"outputs": [
|
813
|
+
{
|
814
|
+
"internalType": "NftId",
|
815
|
+
"name": "",
|
816
|
+
"type": "uint96"
|
817
|
+
}
|
818
|
+
],
|
483
819
|
"stateMutability": "nonpayable",
|
484
820
|
"type": "function"
|
485
821
|
},
|
@@ -492,105 +828,18 @@
|
|
492
828
|
},
|
493
829
|
{
|
494
830
|
"internalType": "NftId",
|
495
|
-
"name": "
|
831
|
+
"name": "policyNftId",
|
496
832
|
"type": "uint96"
|
497
833
|
},
|
498
834
|
{
|
499
835
|
"internalType": "NftId",
|
500
|
-
"name": "
|
836
|
+
"name": "bundleNftId",
|
501
837
|
"type": "uint96"
|
502
838
|
},
|
503
839
|
{
|
504
|
-
"
|
505
|
-
|
506
|
-
|
507
|
-
"name": "productNftId",
|
508
|
-
"type": "uint96"
|
509
|
-
},
|
510
|
-
{
|
511
|
-
"internalType": "NftId",
|
512
|
-
"name": "bundleNftId",
|
513
|
-
"type": "uint96"
|
514
|
-
},
|
515
|
-
{
|
516
|
-
"internalType": "ReferralId",
|
517
|
-
"name": "referralId",
|
518
|
-
"type": "bytes8"
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"internalType": "RiskId",
|
522
|
-
"name": "riskId",
|
523
|
-
"type": "bytes8"
|
524
|
-
},
|
525
|
-
{
|
526
|
-
"internalType": "uint256",
|
527
|
-
"name": "sumInsuredAmount",
|
528
|
-
"type": "uint256"
|
529
|
-
},
|
530
|
-
{
|
531
|
-
"internalType": "uint256",
|
532
|
-
"name": "premiumAmount",
|
533
|
-
"type": "uint256"
|
534
|
-
},
|
535
|
-
{
|
536
|
-
"internalType": "uint256",
|
537
|
-
"name": "premiumPaidAmount",
|
538
|
-
"type": "uint256"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"internalType": "Seconds",
|
542
|
-
"name": "lifetime",
|
543
|
-
"type": "uint40"
|
544
|
-
},
|
545
|
-
{
|
546
|
-
"internalType": "bytes",
|
547
|
-
"name": "applicationData",
|
548
|
-
"type": "bytes"
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"internalType": "bytes",
|
552
|
-
"name": "policyData",
|
553
|
-
"type": "bytes"
|
554
|
-
},
|
555
|
-
{
|
556
|
-
"internalType": "uint16",
|
557
|
-
"name": "claimsCount",
|
558
|
-
"type": "uint16"
|
559
|
-
},
|
560
|
-
{
|
561
|
-
"internalType": "uint16",
|
562
|
-
"name": "openClaimsCount",
|
563
|
-
"type": "uint16"
|
564
|
-
},
|
565
|
-
{
|
566
|
-
"internalType": "Amount",
|
567
|
-
"name": "payoutAmount",
|
568
|
-
"type": "uint96"
|
569
|
-
},
|
570
|
-
{
|
571
|
-
"internalType": "Timestamp",
|
572
|
-
"name": "activatedAt",
|
573
|
-
"type": "uint40"
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"internalType": "Timestamp",
|
577
|
-
"name": "expiredAt",
|
578
|
-
"type": "uint40"
|
579
|
-
},
|
580
|
-
{
|
581
|
-
"internalType": "Timestamp",
|
582
|
-
"name": "closedAt",
|
583
|
-
"type": "uint40"
|
584
|
-
}
|
585
|
-
],
|
586
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
587
|
-
"name": "applicationInfo",
|
588
|
-
"type": "tuple"
|
589
|
-
},
|
590
|
-
{
|
591
|
-
"internalType": "uint256",
|
592
|
-
"name": "premiumAmount",
|
593
|
-
"type": "uint256"
|
840
|
+
"internalType": "Amount",
|
841
|
+
"name": "collateralAmount",
|
842
|
+
"type": "uint96"
|
594
843
|
}
|
595
844
|
],
|
596
845
|
"name": "lockCollateral",
|
@@ -600,100 +849,28 @@
|
|
600
849
|
},
|
601
850
|
{
|
602
851
|
"inputs": [
|
852
|
+
{
|
853
|
+
"internalType": "contract InstanceStore",
|
854
|
+
"name": "instanceStore",
|
855
|
+
"type": "address"
|
856
|
+
},
|
603
857
|
{
|
604
858
|
"internalType": "NftId",
|
605
|
-
"name": "
|
859
|
+
"name": "policyNftId",
|
606
860
|
"type": "uint96"
|
607
861
|
},
|
608
862
|
{
|
609
|
-
"
|
610
|
-
|
611
|
-
|
612
|
-
"name": "netPremiumAmount",
|
613
|
-
"type": "uint256"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"internalType": "uint256",
|
617
|
-
"name": "fullPremiumAmount",
|
618
|
-
"type": "uint256"
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"internalType": "uint256",
|
622
|
-
"name": "premiumAmount",
|
623
|
-
"type": "uint256"
|
624
|
-
},
|
625
|
-
{
|
626
|
-
"internalType": "uint256",
|
627
|
-
"name": "productFeeFixAmount",
|
628
|
-
"type": "uint256"
|
629
|
-
},
|
630
|
-
{
|
631
|
-
"internalType": "uint256",
|
632
|
-
"name": "poolFeeFixAmount",
|
633
|
-
"type": "uint256"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"internalType": "uint256",
|
637
|
-
"name": "bundleFeeFixAmount",
|
638
|
-
"type": "uint256"
|
639
|
-
},
|
640
|
-
{
|
641
|
-
"internalType": "uint256",
|
642
|
-
"name": "distributionFeeFixAmount",
|
643
|
-
"type": "uint256"
|
644
|
-
},
|
645
|
-
{
|
646
|
-
"internalType": "uint256",
|
647
|
-
"name": "productFeeVarAmount",
|
648
|
-
"type": "uint256"
|
649
|
-
},
|
650
|
-
{
|
651
|
-
"internalType": "uint256",
|
652
|
-
"name": "poolFeeVarAmount",
|
653
|
-
"type": "uint256"
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"internalType": "uint256",
|
657
|
-
"name": "bundleFeeVarAmount",
|
658
|
-
"type": "uint256"
|
659
|
-
},
|
660
|
-
{
|
661
|
-
"internalType": "uint256",
|
662
|
-
"name": "distributionFeeVarAmount",
|
663
|
-
"type": "uint256"
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"internalType": "uint256",
|
667
|
-
"name": "distributionOwnerFeeFixAmount",
|
668
|
-
"type": "uint256"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"internalType": "uint256",
|
672
|
-
"name": "distributionOwnerFeeVarAmount",
|
673
|
-
"type": "uint256"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"internalType": "uint256",
|
677
|
-
"name": "commissionAmount",
|
678
|
-
"type": "uint256"
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"internalType": "uint256",
|
682
|
-
"name": "discountAmount",
|
683
|
-
"type": "uint256"
|
684
|
-
}
|
685
|
-
],
|
686
|
-
"internalType": "struct IPolicy.Premium",
|
687
|
-
"name": "premium",
|
688
|
-
"type": "tuple"
|
863
|
+
"internalType": "NftId",
|
864
|
+
"name": "bundleNftId",
|
865
|
+
"type": "uint96"
|
689
866
|
},
|
690
867
|
{
|
691
868
|
"internalType": "Amount",
|
692
|
-
"name": "
|
869
|
+
"name": "collateralAmount",
|
693
870
|
"type": "uint96"
|
694
871
|
}
|
695
872
|
],
|
696
|
-
"name": "
|
873
|
+
"name": "releaseCollateral",
|
697
874
|
"outputs": [],
|
698
875
|
"stateMutability": "nonpayable",
|
699
876
|
"type": "function"
|
@@ -702,122 +879,41 @@
|
|
702
879
|
"inputs": [
|
703
880
|
{
|
704
881
|
"internalType": "address",
|
705
|
-
"name": "poolAddress",
|
706
|
-
"type": "address"
|
707
|
-
}
|
708
|
-
],
|
709
|
-
"name": "register",
|
710
|
-
"outputs": [
|
711
|
-
{
|
712
|
-
"internalType": "NftId",
|
713
882
|
"name": "",
|
714
|
-
"type": "
|
883
|
+
"type": "address"
|
715
884
|
}
|
716
885
|
],
|
886
|
+
"name": "setAuthority",
|
887
|
+
"outputs": [],
|
717
888
|
"stateMutability": "nonpayable",
|
718
889
|
"type": "function"
|
719
890
|
},
|
720
891
|
{
|
721
892
|
"inputs": [
|
722
|
-
{
|
723
|
-
"internalType": "contract IInstance",
|
724
|
-
"name": "instance",
|
725
|
-
"type": "address"
|
726
|
-
},
|
727
893
|
{
|
728
894
|
"internalType": "NftId",
|
729
|
-
"name": "
|
895
|
+
"name": "bundleNftId",
|
730
896
|
"type": "uint96"
|
731
897
|
},
|
732
898
|
{
|
733
899
|
"components": [
|
734
900
|
{
|
735
|
-
"internalType": "
|
736
|
-
"name": "
|
737
|
-
"type": "
|
738
|
-
},
|
739
|
-
{
|
740
|
-
"internalType": "NftId",
|
741
|
-
"name": "bundleNftId",
|
742
|
-
"type": "uint96"
|
743
|
-
},
|
744
|
-
{
|
745
|
-
"internalType": "ReferralId",
|
746
|
-
"name": "referralId",
|
747
|
-
"type": "bytes8"
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"internalType": "RiskId",
|
751
|
-
"name": "riskId",
|
752
|
-
"type": "bytes8"
|
753
|
-
},
|
754
|
-
{
|
755
|
-
"internalType": "uint256",
|
756
|
-
"name": "sumInsuredAmount",
|
757
|
-
"type": "uint256"
|
758
|
-
},
|
759
|
-
{
|
760
|
-
"internalType": "uint256",
|
761
|
-
"name": "premiumAmount",
|
762
|
-
"type": "uint256"
|
763
|
-
},
|
764
|
-
{
|
765
|
-
"internalType": "uint256",
|
766
|
-
"name": "premiumPaidAmount",
|
767
|
-
"type": "uint256"
|
768
|
-
},
|
769
|
-
{
|
770
|
-
"internalType": "Seconds",
|
771
|
-
"name": "lifetime",
|
772
|
-
"type": "uint40"
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"internalType": "bytes",
|
776
|
-
"name": "applicationData",
|
777
|
-
"type": "bytes"
|
778
|
-
},
|
779
|
-
{
|
780
|
-
"internalType": "bytes",
|
781
|
-
"name": "policyData",
|
782
|
-
"type": "bytes"
|
783
|
-
},
|
784
|
-
{
|
785
|
-
"internalType": "uint16",
|
786
|
-
"name": "claimsCount",
|
787
|
-
"type": "uint16"
|
788
|
-
},
|
789
|
-
{
|
790
|
-
"internalType": "uint16",
|
791
|
-
"name": "openClaimsCount",
|
792
|
-
"type": "uint16"
|
901
|
+
"internalType": "UFixed",
|
902
|
+
"name": "fractionalFee",
|
903
|
+
"type": "uint160"
|
793
904
|
},
|
794
905
|
{
|
795
906
|
"internalType": "Amount",
|
796
|
-
"name": "
|
907
|
+
"name": "fixedFee",
|
797
908
|
"type": "uint96"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"internalType": "Timestamp",
|
801
|
-
"name": "activatedAt",
|
802
|
-
"type": "uint40"
|
803
|
-
},
|
804
|
-
{
|
805
|
-
"internalType": "Timestamp",
|
806
|
-
"name": "expiredAt",
|
807
|
-
"type": "uint40"
|
808
|
-
},
|
809
|
-
{
|
810
|
-
"internalType": "Timestamp",
|
811
|
-
"name": "closedAt",
|
812
|
-
"type": "uint40"
|
813
909
|
}
|
814
910
|
],
|
815
|
-
"internalType": "struct
|
816
|
-
"name": "
|
911
|
+
"internalType": "struct Fee",
|
912
|
+
"name": "fee",
|
817
913
|
"type": "tuple"
|
818
914
|
}
|
819
915
|
],
|
820
|
-
"name": "
|
916
|
+
"name": "setFee",
|
821
917
|
"outputs": [],
|
822
918
|
"stateMutability": "nonpayable",
|
823
919
|
"type": "function"
|
@@ -825,25 +921,17 @@
|
|
825
921
|
{
|
826
922
|
"inputs": [
|
827
923
|
{
|
828
|
-
"internalType": "
|
829
|
-
"name": "",
|
830
|
-
"type": "
|
831
|
-
}
|
832
|
-
],
|
833
|
-
"name": "setAuthority",
|
834
|
-
"outputs": [],
|
835
|
-
"stateMutability": "nonpayable",
|
836
|
-
"type": "function"
|
837
|
-
},
|
838
|
-
{
|
839
|
-
"inputs": [
|
924
|
+
"internalType": "NftId",
|
925
|
+
"name": "bundleNftId",
|
926
|
+
"type": "uint96"
|
927
|
+
},
|
840
928
|
{
|
841
|
-
"internalType": "
|
842
|
-
"name": "
|
843
|
-
"type": "
|
929
|
+
"internalType": "bool",
|
930
|
+
"name": "locked",
|
931
|
+
"type": "bool"
|
844
932
|
}
|
845
933
|
],
|
846
|
-
"name": "
|
934
|
+
"name": "setLocked",
|
847
935
|
"outputs": [],
|
848
936
|
"stateMutability": "nonpayable",
|
849
937
|
"type": "function"
|
@@ -851,71 +939,27 @@
|
|
851
939
|
{
|
852
940
|
"inputs": [
|
853
941
|
{
|
854
|
-
"
|
855
|
-
|
856
|
-
|
857
|
-
"name": "fractionalFee",
|
858
|
-
"type": "uint256"
|
859
|
-
},
|
860
|
-
{
|
861
|
-
"internalType": "uint256",
|
862
|
-
"name": "fixedFee",
|
863
|
-
"type": "uint256"
|
864
|
-
}
|
865
|
-
],
|
866
|
-
"internalType": "struct Fee",
|
867
|
-
"name": "poolFee",
|
868
|
-
"type": "tuple"
|
942
|
+
"internalType": "contract InstanceReader",
|
943
|
+
"name": "instanceReader",
|
944
|
+
"type": "address"
|
869
945
|
},
|
870
946
|
{
|
871
|
-
"
|
872
|
-
|
873
|
-
|
874
|
-
"name": "fractionalFee",
|
875
|
-
"type": "uint256"
|
876
|
-
},
|
877
|
-
{
|
878
|
-
"internalType": "uint256",
|
879
|
-
"name": "fixedFee",
|
880
|
-
"type": "uint256"
|
881
|
-
}
|
882
|
-
],
|
883
|
-
"internalType": "struct Fee",
|
884
|
-
"name": "stakingFee",
|
885
|
-
"type": "tuple"
|
947
|
+
"internalType": "contract InstanceStore",
|
948
|
+
"name": "instanceStore",
|
949
|
+
"type": "address"
|
886
950
|
},
|
887
951
|
{
|
888
|
-
"
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
"type": "uint256"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"internalType": "uint256",
|
896
|
-
"name": "fixedFee",
|
897
|
-
"type": "uint256"
|
898
|
-
}
|
899
|
-
],
|
900
|
-
"internalType": "struct Fee",
|
901
|
-
"name": "performanceFee",
|
902
|
-
"type": "tuple"
|
903
|
-
}
|
904
|
-
],
|
905
|
-
"name": "setFees",
|
906
|
-
"outputs": [],
|
907
|
-
"stateMutability": "nonpayable",
|
908
|
-
"type": "function"
|
909
|
-
},
|
910
|
-
{
|
911
|
-
"inputs": [
|
952
|
+
"internalType": "NftId",
|
953
|
+
"name": "bundleNftId",
|
954
|
+
"type": "uint96"
|
955
|
+
},
|
912
956
|
{
|
913
|
-
"internalType": "
|
914
|
-
"name": "
|
915
|
-
"type": "
|
957
|
+
"internalType": "Amount",
|
958
|
+
"name": "amount",
|
959
|
+
"type": "uint96"
|
916
960
|
}
|
917
961
|
],
|
918
|
-
"name": "
|
962
|
+
"name": "stake",
|
919
963
|
"outputs": [],
|
920
964
|
"stateMutability": "nonpayable",
|
921
965
|
"type": "function"
|
@@ -939,6 +983,35 @@
|
|
939
983
|
"stateMutability": "view",
|
940
984
|
"type": "function"
|
941
985
|
},
|
986
|
+
{
|
987
|
+
"inputs": [
|
988
|
+
{
|
989
|
+
"internalType": "contract InstanceStore",
|
990
|
+
"name": "instanceStore",
|
991
|
+
"type": "address"
|
992
|
+
},
|
993
|
+
{
|
994
|
+
"internalType": "NftId",
|
995
|
+
"name": "bundleNftId",
|
996
|
+
"type": "uint96"
|
997
|
+
},
|
998
|
+
{
|
999
|
+
"internalType": "Amount",
|
1000
|
+
"name": "amount",
|
1001
|
+
"type": "uint96"
|
1002
|
+
}
|
1003
|
+
],
|
1004
|
+
"name": "unstake",
|
1005
|
+
"outputs": [
|
1006
|
+
{
|
1007
|
+
"internalType": "Amount",
|
1008
|
+
"name": "unstakedAmount",
|
1009
|
+
"type": "uint96"
|
1010
|
+
}
|
1011
|
+
],
|
1012
|
+
"stateMutability": "nonpayable",
|
1013
|
+
"type": "function"
|
1014
|
+
},
|
942
1015
|
{
|
943
1016
|
"inputs": [
|
944
1017
|
{
|