@etherisc/gif-next 0.0.2-bb1081a-994 → 0.0.2-bb3faee-097
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +141 -23
- 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/{instance/service/IBundleService.sol/IBundleService.json → accounting/IAccountingService.sol/IAccountingService.json} +442 -379
- 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/distribution/Distribution.sol/Distribution.json +949 -0
- 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/Distribution.sol/Distribution.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +327 -285
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
- 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 +1484 -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 +2053 -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 +1439 -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 +1647 -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 +2585 -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 +533 -1361
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +678 -161
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +682 -2429
- 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 +1979 -714
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +696 -332
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +400 -101
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3792 -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 -49
- 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 +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- 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/oracle/IOracleService.sol/IOracleService.json +762 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
- 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/pool/BasicPool.sol/BasicPool.json +1242 -0
- 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/pool/IBundleService.sol/IBundleService.json +1033 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +394 -342
- 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 → pool}/Pool.sol/Pool.json +407 -378
- 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/product/BasicProduct.sol/BasicProduct.json +1159 -0
- 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/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +328 -290
- 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/product/IPolicyService.sol/IPolicyService.json +1036 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +479 -369
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +328 -194
- 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/{components/IProductComponent.sol/IProductComponent.json → product/Product.sol/Product.json} +632 -310
- 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 +72 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +529 -32
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +301 -210
- 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 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +1008 -120
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +367 -269
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +395 -86
- 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 +392 -65
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +322 -220
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -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/Component.sol/Component.json → shared/IComponent.sol/IComponent.json} +210 -193
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +269 -257
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +101 -20
- 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 +61 -22
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -10
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +148 -136
- 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 +91 -34
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +175 -60
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +163 -157
- 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 +2757 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +3201 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +855 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3065 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -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 +251 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -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 +289 -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/type/Timestamp.sol/TimestampLib.json +312 -0
- 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/upgradeability/IVersionable.sol/IVersionable.json +65 -0
- 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/upgradeability/Versionable.sol/Versionable.json +88 -0
- 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 +26 -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 +437 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +124 -51
- package/contracts/instance/IInstanceService.sol +99 -22
- package/contracts/instance/Instance.sol +258 -180
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +530 -191
- package/contracts/instance/InstanceService.sol +408 -270
- 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/{Cloneable.sol → base/Cloneable.sol} +4 -22
- 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 +10 -9
- package/contracts/instance/module/IComponents.sol +62 -0
- package/contracts/instance/module/IDistribution.sol +25 -10
- package/contracts/instance/module/IPolicy.sol +81 -21
- package/contracts/instance/module/IRisk.sol +6 -1
- package/contracts/{test/TestToken.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/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +630 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +88 -0
- 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 +83 -36
- package/contracts/registry/IRegistry.sol +107 -33
- package/contracts/registry/IRegistryService.sol +38 -41
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +494 -210
- package/contracts/registry/RegistryAdmin.sol +191 -0
- package/contracts/registry/RegistryAuthorization.sol +336 -0
- package/contracts/registry/RegistryService.sol +118 -139
- package/contracts/registry/RegistryServiceManager.sol +24 -33
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +525 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
- package/contracts/registry/TokenRegistry.sol +267 -62
- package/contracts/shared/Component.sol +214 -0
- package/contracts/shared/ComponentService.sol +687 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ContractLib.sol +312 -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 +17 -12
- package/contracts/shared/IPolicyHolder.sol +35 -0
- package/contracts/shared/IRegisterable.sol +23 -2
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +12 -5
- package/contracts/shared/InitializableERC165.sol +35 -0
- 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 +77 -87
- package/contracts/shared/PolicyHolder.sol +63 -0
- package/contracts/shared/Registerable.sol +49 -29
- package/contracts/shared/RegistryLinked.sol +38 -0
- package/contracts/shared/Service.sol +41 -34
- package/contracts/shared/TokenHandler.sol +327 -12
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +367 -0
- package/contracts/staking/IStakingService.sol +127 -0
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +797 -0
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingManager.sol +53 -0
- package/contracts/staking/StakingReader.sol +171 -0
- package/contracts/staking/StakingService.sol +321 -0
- package/contracts/staking/StakingServiceManager.sol +46 -0
- package/contracts/staking/StakingStore.sol +1362 -0
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +234 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +154 -0
- package/contracts/{types → type}/Blocknumber.sol +36 -12
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/ClaimId.sol +80 -0
- package/contracts/{types → type}/DistributorType.sol +2 -2
- package/contracts/type/Fee.sol +66 -0
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +28 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +307 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +6 -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 +120 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +48 -4
- package/contracts/type/String.sol +65 -0
- package/contracts/{types → type}/Timestamp.sol +36 -20
- package/contracts/type/UFixed.sol +263 -0
- package/contracts/{types → type}/Version.sol +59 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
- package/contracts/upgradeability/ProxyManager.sol +246 -0
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
- package/contracts/upgradeability/Versionable.sol +62 -0
- 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/IComponent.sol/IComponent.json +0 -502
- 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/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
- 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 -1034
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- 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 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
- 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/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1167
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -449
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -772
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -437
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -441
- 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/IPoolService.sol/IPoolService.json +0 -494
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1227
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -505
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -806
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -437
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -856
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -437
- 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 -547
- 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 -35
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -362
- 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/shared/Versionable.sol/Versionable.json +0 -228
- 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 -313
- 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 -608
- 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 -286
- 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/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/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 -257
- 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 -153
- 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/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- 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/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/Timestamp.sol/TimestampLib.json +0 -249
- 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 -247
- package/contracts/components/Distribution.sol +0 -143
- package/contracts/components/IComponent.sol +0 -50
- package/contracts/components/IDistributionComponent.sol +0 -47
- package/contracts/components/IPoolComponent.sol +0 -77
- package/contracts/components/IProductComponent.sol +0 -39
- package/contracts/components/Pool.sol +0 -257
- package/contracts/components/Product.sol +0 -263
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/BundleManager.sol +0 -125
- package/contracts/instance/InstanceAccessManager.sol +0 -298
- package/contracts/instance/ObjectManager.sol +0 -84
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/IAccess.sol +0 -48
- package/contracts/instance/module/ISetup.sol +0 -46
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/BundleService.sol +0 -299
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/DistributionService.sol +0 -106
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPolicyService.sol +0 -94
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -519
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -232
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -332
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/ERC165.sol +0 -25
- package/contracts/shared/ProxyManager.sol +0 -94
- package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
- package/contracts/shared/Versionable.sol +0 -147
- 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/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/test/Usdc.sol +0 -26
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/Fee.sol +0 -56
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -152
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -90
- package/contracts/types/UFixed.sol +0 -325
@@ -1,22 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "Product",
|
4
|
+
"sourceName": "contracts/product/Product.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
20
15
|
"type": "error"
|
21
16
|
},
|
22
17
|
{
|
@@ -25,41 +20,41 @@
|
|
25
20
|
"internalType": "address",
|
26
21
|
"name": "caller",
|
27
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
28
|
}
|
29
29
|
],
|
30
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"inputs": [
|
35
|
-
{
|
36
|
-
"internalType": "NftId",
|
37
|
-
"name": "instanceNftId",
|
38
|
-
"type": "uint96"
|
39
|
-
},
|
40
35
|
{
|
41
36
|
"internalType": "address",
|
42
|
-
"name": "
|
37
|
+
"name": "caller",
|
43
38
|
"type": "address"
|
44
39
|
}
|
45
40
|
],
|
46
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
47
42
|
"type": "error"
|
48
43
|
},
|
49
44
|
{
|
50
45
|
"inputs": [
|
51
46
|
{
|
52
47
|
"internalType": "address",
|
53
|
-
"name": "
|
48
|
+
"name": "authority",
|
54
49
|
"type": "address"
|
55
50
|
}
|
56
51
|
],
|
57
|
-
"name": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
58
53
|
"type": "error"
|
59
54
|
},
|
60
55
|
{
|
61
56
|
"inputs": [],
|
62
|
-
"name": "
|
57
|
+
"name": "ErrorComponentNameLengthZero",
|
63
58
|
"type": "error"
|
64
59
|
},
|
65
60
|
{
|
@@ -68,24 +63,23 @@
|
|
68
63
|
"internalType": "address",
|
69
64
|
"name": "caller",
|
70
65
|
"type": "address"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"internalType": "uint64",
|
74
|
-
"name": "requiredRoleIdNum",
|
75
|
-
"type": "uint64"
|
76
66
|
}
|
77
67
|
],
|
78
|
-
"name": "
|
68
|
+
"name": "ErrorComponentNotChainNft",
|
79
69
|
"type": "error"
|
80
70
|
},
|
81
71
|
{
|
82
|
-
"inputs": [
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
89
83
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
90
84
|
"type": "error"
|
91
85
|
},
|
@@ -94,30 +88,52 @@
|
|
94
88
|
"name": "ErrorComponentWalletAddressZero",
|
95
89
|
"type": "error"
|
96
90
|
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ErrorComponentWalletNotComponent",
|
94
|
+
"type": "error"
|
95
|
+
},
|
97
96
|
{
|
98
97
|
"inputs": [
|
99
98
|
{
|
100
|
-
"internalType": "
|
101
|
-
"name": "
|
102
|
-
"type": "
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "nftId",
|
101
|
+
"type": "uint96"
|
103
102
|
},
|
104
103
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
108
|
-
}
|
104
|
+
"internalType": "ObjectType",
|
105
|
+
"name": "objectType",
|
106
|
+
"type": "uint8"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
110
|
+
"type": "error"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [
|
109
114
|
{
|
110
|
-
"internalType": "
|
111
|
-
"name": "
|
112
|
-
"type": "
|
115
|
+
"internalType": "ObjectType",
|
116
|
+
"name": "requiredType",
|
117
|
+
"type": "uint8"
|
113
118
|
},
|
114
119
|
{
|
115
|
-
"internalType": "
|
116
|
-
"name": "
|
117
|
-
"type": "
|
120
|
+
"internalType": "ObjectType",
|
121
|
+
"name": "objectType",
|
122
|
+
"type": "uint8"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
126
|
+
"type": "error"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"inputs": [
|
130
|
+
{
|
131
|
+
"internalType": "NftId",
|
132
|
+
"name": "nftId",
|
133
|
+
"type": "uint96"
|
118
134
|
}
|
119
135
|
],
|
120
|
-
"name": "
|
136
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
121
137
|
"type": "error"
|
122
138
|
},
|
123
139
|
{
|
@@ -128,7 +144,28 @@
|
|
128
144
|
"type": "address"
|
129
145
|
}
|
130
146
|
],
|
131
|
-
"name": "
|
147
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
148
|
+
"type": "error"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [],
|
152
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
153
|
+
"type": "error"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"internalType": "NftId",
|
159
|
+
"name": "nftId",
|
160
|
+
"type": "uint96"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "ObjectType",
|
164
|
+
"name": "expectedObjectType",
|
165
|
+
"type": "uint8"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "ErrorNftOwnableInvalidType",
|
132
169
|
"type": "error"
|
133
170
|
},
|
134
171
|
{
|
@@ -139,7 +176,7 @@
|
|
139
176
|
"type": "address"
|
140
177
|
}
|
141
178
|
],
|
142
|
-
"name": "
|
179
|
+
"name": "ErrorNftOwnableNotOwner",
|
143
180
|
"type": "error"
|
144
181
|
},
|
145
182
|
{
|
@@ -155,28 +192,85 @@
|
|
155
192
|
},
|
156
193
|
{
|
157
194
|
"inputs": [],
|
158
|
-
"name": "
|
195
|
+
"name": "ErrorRegisterableNotActive",
|
196
|
+
"type": "error"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"inputs": [],
|
200
|
+
"name": "InvalidInitialization",
|
201
|
+
"type": "error"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [],
|
205
|
+
"name": "NotInitializing",
|
159
206
|
"type": "error"
|
160
207
|
},
|
161
208
|
{
|
209
|
+
"anonymous": false,
|
162
210
|
"inputs": [
|
163
211
|
{
|
212
|
+
"indexed": false,
|
164
213
|
"internalType": "address",
|
165
|
-
"name": "
|
214
|
+
"name": "authority",
|
166
215
|
"type": "address"
|
167
216
|
}
|
168
217
|
],
|
169
|
-
"name": "
|
170
|
-
"type": "
|
218
|
+
"name": "AuthorityUpdated",
|
219
|
+
"type": "event"
|
171
220
|
},
|
172
221
|
{
|
173
|
-
"
|
174
|
-
"
|
175
|
-
|
222
|
+
"anonymous": false,
|
223
|
+
"inputs": [
|
224
|
+
{
|
225
|
+
"indexed": false,
|
226
|
+
"internalType": "uint64",
|
227
|
+
"name": "version",
|
228
|
+
"type": "uint64"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"name": "Initialized",
|
232
|
+
"type": "event"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"anonymous": false,
|
236
|
+
"inputs": [
|
237
|
+
{
|
238
|
+
"indexed": false,
|
239
|
+
"internalType": "address",
|
240
|
+
"name": "tokenHandler",
|
241
|
+
"type": "address"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"indexed": false,
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "token",
|
247
|
+
"type": "address"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"indexed": false,
|
251
|
+
"internalType": "Amount",
|
252
|
+
"name": "limit",
|
253
|
+
"type": "uint96"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"indexed": false,
|
257
|
+
"internalType": "bool",
|
258
|
+
"name": "isMaxAmount",
|
259
|
+
"type": "bool"
|
260
|
+
}
|
261
|
+
],
|
262
|
+
"name": "LogComponentTokenHandlerApproved",
|
263
|
+
"type": "event"
|
176
264
|
},
|
177
265
|
{
|
178
266
|
"anonymous": false,
|
179
267
|
"inputs": [
|
268
|
+
{
|
269
|
+
"indexed": false,
|
270
|
+
"internalType": "address",
|
271
|
+
"name": "oldWallet",
|
272
|
+
"type": "address"
|
273
|
+
},
|
180
274
|
{
|
181
275
|
"indexed": false,
|
182
276
|
"internalType": "address",
|
@@ -213,34 +307,131 @@
|
|
213
307
|
"type": "event"
|
214
308
|
},
|
215
309
|
{
|
310
|
+
"anonymous": false,
|
216
311
|
"inputs": [
|
217
312
|
{
|
218
|
-
"
|
313
|
+
"indexed": false,
|
314
|
+
"internalType": "NftId",
|
315
|
+
"name": "nftId",
|
316
|
+
"type": "uint96"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"indexed": false,
|
320
|
+
"internalType": "address",
|
321
|
+
"name": "owner",
|
322
|
+
"type": "address"
|
323
|
+
}
|
324
|
+
],
|
325
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
326
|
+
"type": "event"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"inputs": [],
|
330
|
+
"name": "COMPONENT_LOCATION_V1",
|
331
|
+
"outputs": [
|
332
|
+
{
|
333
|
+
"internalType": "bytes32",
|
334
|
+
"name": "",
|
335
|
+
"type": "bytes32"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"stateMutability": "view",
|
339
|
+
"type": "function"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"inputs": [],
|
343
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
344
|
+
"outputs": [
|
345
|
+
{
|
346
|
+
"internalType": "bytes32",
|
347
|
+
"name": "",
|
348
|
+
"type": "bytes32"
|
349
|
+
}
|
350
|
+
],
|
351
|
+
"stateMutability": "view",
|
352
|
+
"type": "function"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"inputs": [],
|
356
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
357
|
+
"outputs": [
|
358
|
+
{
|
359
|
+
"internalType": "bytes32",
|
360
|
+
"name": "",
|
361
|
+
"type": "bytes32"
|
362
|
+
}
|
363
|
+
],
|
364
|
+
"stateMutability": "view",
|
365
|
+
"type": "function"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"inputs": [],
|
369
|
+
"name": "PRODUCT_STORAGE_LOCATION_V1",
|
370
|
+
"outputs": [
|
371
|
+
{
|
372
|
+
"internalType": "bytes32",
|
373
|
+
"name": "",
|
374
|
+
"type": "bytes32"
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"stateMutability": "view",
|
378
|
+
"type": "function"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"inputs": [],
|
382
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
383
|
+
"outputs": [
|
384
|
+
{
|
385
|
+
"internalType": "bytes32",
|
386
|
+
"name": "",
|
387
|
+
"type": "bytes32"
|
388
|
+
}
|
389
|
+
],
|
390
|
+
"stateMutability": "view",
|
391
|
+
"type": "function"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"inputs": [],
|
395
|
+
"name": "authority",
|
396
|
+
"outputs": [
|
397
|
+
{
|
398
|
+
"internalType": "address",
|
399
|
+
"name": "",
|
400
|
+
"type": "address"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"stateMutability": "view",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"inputs": [
|
408
|
+
{
|
409
|
+
"internalType": "Amount",
|
219
410
|
"name": "sumInsuredAmount",
|
220
|
-
"type": "
|
411
|
+
"type": "uint96"
|
221
412
|
},
|
222
413
|
{
|
223
414
|
"internalType": "RiskId",
|
224
|
-
"name": "
|
415
|
+
"name": "",
|
225
416
|
"type": "bytes8"
|
226
417
|
},
|
227
418
|
{
|
228
|
-
"internalType": "
|
229
|
-
"name": "
|
230
|
-
"type": "
|
419
|
+
"internalType": "Seconds",
|
420
|
+
"name": "",
|
421
|
+
"type": "uint40"
|
231
422
|
},
|
232
423
|
{
|
233
424
|
"internalType": "bytes",
|
234
|
-
"name": "
|
425
|
+
"name": "",
|
235
426
|
"type": "bytes"
|
236
427
|
}
|
237
428
|
],
|
238
429
|
"name": "calculateNetPremium",
|
239
430
|
"outputs": [
|
240
431
|
{
|
241
|
-
"internalType": "
|
432
|
+
"internalType": "Amount",
|
242
433
|
"name": "netPremiumAmount",
|
243
|
-
"type": "
|
434
|
+
"type": "uint96"
|
244
435
|
}
|
245
436
|
],
|
246
437
|
"stateMutability": "view",
|
@@ -249,9 +440,9 @@
|
|
249
440
|
{
|
250
441
|
"inputs": [
|
251
442
|
{
|
252
|
-
"internalType": "
|
443
|
+
"internalType": "Amount",
|
253
444
|
"name": "sumInsuredAmount",
|
254
|
-
"type": "
|
445
|
+
"type": "uint96"
|
255
446
|
},
|
256
447
|
{
|
257
448
|
"internalType": "RiskId",
|
@@ -259,9 +450,9 @@
|
|
259
450
|
"type": "bytes8"
|
260
451
|
},
|
261
452
|
{
|
262
|
-
"internalType": "
|
453
|
+
"internalType": "Seconds",
|
263
454
|
"name": "lifetime",
|
264
|
-
"type": "
|
455
|
+
"type": "uint40"
|
265
456
|
},
|
266
457
|
{
|
267
458
|
"internalType": "bytes",
|
@@ -282,9 +473,9 @@
|
|
282
473
|
"name": "calculatePremium",
|
283
474
|
"outputs": [
|
284
475
|
{
|
285
|
-
"internalType": "
|
476
|
+
"internalType": "Amount",
|
286
477
|
"name": "premiumAmount",
|
287
|
-
"type": "
|
478
|
+
"type": "uint96"
|
288
479
|
}
|
289
480
|
],
|
290
481
|
"stateMutability": "view",
|
@@ -292,12 +483,206 @@
|
|
292
483
|
},
|
293
484
|
{
|
294
485
|
"inputs": [],
|
295
|
-
"name": "
|
486
|
+
"name": "getAuthorization",
|
296
487
|
"outputs": [
|
297
488
|
{
|
298
|
-
"internalType": "
|
299
|
-
"name": "
|
300
|
-
"type": "
|
489
|
+
"internalType": "contract IAuthorization",
|
490
|
+
"name": "authorization",
|
491
|
+
"type": "address"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"stateMutability": "view",
|
495
|
+
"type": "function"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"inputs": [],
|
499
|
+
"name": "getComponentInfo",
|
500
|
+
"outputs": [
|
501
|
+
{
|
502
|
+
"components": [
|
503
|
+
{
|
504
|
+
"internalType": "string",
|
505
|
+
"name": "name",
|
506
|
+
"type": "string"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"internalType": "contract TokenHandler",
|
510
|
+
"name": "tokenHandler",
|
511
|
+
"type": "address"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"internalType": "bytes",
|
515
|
+
"name": "data",
|
516
|
+
"type": "bytes"
|
517
|
+
}
|
518
|
+
],
|
519
|
+
"internalType": "struct IComponents.ComponentInfo",
|
520
|
+
"name": "info",
|
521
|
+
"type": "tuple"
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"stateMutability": "view",
|
525
|
+
"type": "function"
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"inputs": [],
|
529
|
+
"name": "getInitialComponentInfo",
|
530
|
+
"outputs": [
|
531
|
+
{
|
532
|
+
"components": [
|
533
|
+
{
|
534
|
+
"internalType": "string",
|
535
|
+
"name": "name",
|
536
|
+
"type": "string"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"internalType": "contract TokenHandler",
|
540
|
+
"name": "tokenHandler",
|
541
|
+
"type": "address"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"internalType": "bytes",
|
545
|
+
"name": "data",
|
546
|
+
"type": "bytes"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"internalType": "struct IComponents.ComponentInfo",
|
550
|
+
"name": "info",
|
551
|
+
"type": "tuple"
|
552
|
+
}
|
553
|
+
],
|
554
|
+
"stateMutability": "view",
|
555
|
+
"type": "function"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"inputs": [],
|
559
|
+
"name": "getInitialFeeInfo",
|
560
|
+
"outputs": [
|
561
|
+
{
|
562
|
+
"components": [
|
563
|
+
{
|
564
|
+
"components": [
|
565
|
+
{
|
566
|
+
"internalType": "UFixed",
|
567
|
+
"name": "fractionalFee",
|
568
|
+
"type": "uint160"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"internalType": "Amount",
|
572
|
+
"name": "fixedFee",
|
573
|
+
"type": "uint96"
|
574
|
+
}
|
575
|
+
],
|
576
|
+
"internalType": "struct Fee",
|
577
|
+
"name": "productFee",
|
578
|
+
"type": "tuple"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"components": [
|
582
|
+
{
|
583
|
+
"internalType": "UFixed",
|
584
|
+
"name": "fractionalFee",
|
585
|
+
"type": "uint160"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"internalType": "Amount",
|
589
|
+
"name": "fixedFee",
|
590
|
+
"type": "uint96"
|
591
|
+
}
|
592
|
+
],
|
593
|
+
"internalType": "struct Fee",
|
594
|
+
"name": "processingFee",
|
595
|
+
"type": "tuple"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"components": [
|
599
|
+
{
|
600
|
+
"internalType": "UFixed",
|
601
|
+
"name": "fractionalFee",
|
602
|
+
"type": "uint160"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"internalType": "Amount",
|
606
|
+
"name": "fixedFee",
|
607
|
+
"type": "uint96"
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"internalType": "struct Fee",
|
611
|
+
"name": "distributionFee",
|
612
|
+
"type": "tuple"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"components": [
|
616
|
+
{
|
617
|
+
"internalType": "UFixed",
|
618
|
+
"name": "fractionalFee",
|
619
|
+
"type": "uint160"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"internalType": "Amount",
|
623
|
+
"name": "fixedFee",
|
624
|
+
"type": "uint96"
|
625
|
+
}
|
626
|
+
],
|
627
|
+
"internalType": "struct Fee",
|
628
|
+
"name": "minDistributionOwnerFee",
|
629
|
+
"type": "tuple"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"components": [
|
633
|
+
{
|
634
|
+
"internalType": "UFixed",
|
635
|
+
"name": "fractionalFee",
|
636
|
+
"type": "uint160"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"internalType": "Amount",
|
640
|
+
"name": "fixedFee",
|
641
|
+
"type": "uint96"
|
642
|
+
}
|
643
|
+
],
|
644
|
+
"internalType": "struct Fee",
|
645
|
+
"name": "poolFee",
|
646
|
+
"type": "tuple"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"components": [
|
650
|
+
{
|
651
|
+
"internalType": "UFixed",
|
652
|
+
"name": "fractionalFee",
|
653
|
+
"type": "uint160"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"internalType": "Amount",
|
657
|
+
"name": "fixedFee",
|
658
|
+
"type": "uint96"
|
659
|
+
}
|
660
|
+
],
|
661
|
+
"internalType": "struct Fee",
|
662
|
+
"name": "stakingFee",
|
663
|
+
"type": "tuple"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"components": [
|
667
|
+
{
|
668
|
+
"internalType": "UFixed",
|
669
|
+
"name": "fractionalFee",
|
670
|
+
"type": "uint160"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"internalType": "Amount",
|
674
|
+
"name": "fixedFee",
|
675
|
+
"type": "uint96"
|
676
|
+
}
|
677
|
+
],
|
678
|
+
"internalType": "struct Fee",
|
679
|
+
"name": "performanceFee",
|
680
|
+
"type": "tuple"
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"internalType": "struct IComponents.FeeInfo",
|
684
|
+
"name": "feeInfo",
|
685
|
+
"type": "tuple"
|
301
686
|
}
|
302
687
|
],
|
303
688
|
"stateMutability": "view",
|
@@ -315,38 +700,93 @@
|
|
315
700
|
"type": "uint96"
|
316
701
|
},
|
317
702
|
{
|
318
|
-
"internalType": "NftId",
|
319
|
-
"name": "parentNftId",
|
320
|
-
"type": "uint96"
|
703
|
+
"internalType": "NftId",
|
704
|
+
"name": "parentNftId",
|
705
|
+
"type": "uint96"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"internalType": "ObjectType",
|
709
|
+
"name": "objectType",
|
710
|
+
"type": "uint8"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"internalType": "bool",
|
714
|
+
"name": "isInterceptor",
|
715
|
+
"type": "bool"
|
716
|
+
},
|
717
|
+
{
|
718
|
+
"internalType": "address",
|
719
|
+
"name": "objectAddress",
|
720
|
+
"type": "address"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"internalType": "address",
|
724
|
+
"name": "initialOwner",
|
725
|
+
"type": "address"
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"internalType": "bytes",
|
729
|
+
"name": "data",
|
730
|
+
"type": "bytes"
|
731
|
+
}
|
732
|
+
],
|
733
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
734
|
+
"name": "info",
|
735
|
+
"type": "tuple"
|
736
|
+
}
|
737
|
+
],
|
738
|
+
"stateMutability": "view",
|
739
|
+
"type": "function"
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"inputs": [],
|
743
|
+
"name": "getInitialProductInfo",
|
744
|
+
"outputs": [
|
745
|
+
{
|
746
|
+
"components": [
|
747
|
+
{
|
748
|
+
"internalType": "bool",
|
749
|
+
"name": "isProcessingFundedClaims",
|
750
|
+
"type": "bool"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"internalType": "bool",
|
754
|
+
"name": "isInterceptingPolicyTransfers",
|
755
|
+
"type": "bool"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"internalType": "bool",
|
759
|
+
"name": "hasDistribution",
|
760
|
+
"type": "bool"
|
321
761
|
},
|
322
762
|
{
|
323
|
-
"internalType": "
|
324
|
-
"name": "
|
763
|
+
"internalType": "uint8",
|
764
|
+
"name": "expectedNumberOfOracles",
|
325
765
|
"type": "uint8"
|
326
766
|
},
|
327
767
|
{
|
328
|
-
"internalType": "
|
329
|
-
"name": "
|
330
|
-
"type": "
|
768
|
+
"internalType": "uint8",
|
769
|
+
"name": "numberOfOracles",
|
770
|
+
"type": "uint8"
|
331
771
|
},
|
332
772
|
{
|
333
|
-
"internalType": "
|
334
|
-
"name": "
|
335
|
-
"type": "
|
773
|
+
"internalType": "NftId",
|
774
|
+
"name": "poolNftId",
|
775
|
+
"type": "uint96"
|
336
776
|
},
|
337
777
|
{
|
338
|
-
"internalType": "
|
339
|
-
"name": "
|
340
|
-
"type": "
|
778
|
+
"internalType": "NftId",
|
779
|
+
"name": "distributionNftId",
|
780
|
+
"type": "uint96"
|
341
781
|
},
|
342
782
|
{
|
343
|
-
"internalType": "
|
344
|
-
"name": "
|
345
|
-
"type": "
|
783
|
+
"internalType": "NftId[]",
|
784
|
+
"name": "oracleNftId",
|
785
|
+
"type": "uint96[]"
|
346
786
|
}
|
347
787
|
],
|
348
|
-
"internalType": "struct
|
349
|
-
"name": "",
|
788
|
+
"internalType": "struct IComponents.ProductInfo",
|
789
|
+
"name": "poolInfo",
|
350
790
|
"type": "tuple"
|
351
791
|
}
|
352
792
|
],
|
@@ -366,19 +806,6 @@
|
|
366
806
|
"stateMutability": "view",
|
367
807
|
"type": "function"
|
368
808
|
},
|
369
|
-
{
|
370
|
-
"inputs": [],
|
371
|
-
"name": "getInstanceService",
|
372
|
-
"outputs": [
|
373
|
-
{
|
374
|
-
"internalType": "contract IInstanceService",
|
375
|
-
"name": "",
|
376
|
-
"type": "address"
|
377
|
-
}
|
378
|
-
],
|
379
|
-
"stateMutability": "view",
|
380
|
-
"type": "function"
|
381
|
-
},
|
382
809
|
{
|
383
810
|
"inputs": [],
|
384
811
|
"name": "getName",
|
@@ -420,12 +847,12 @@
|
|
420
847
|
},
|
421
848
|
{
|
422
849
|
"inputs": [],
|
423
|
-
"name": "
|
850
|
+
"name": "getRegistry",
|
424
851
|
"outputs": [
|
425
852
|
{
|
426
|
-
"internalType": "
|
427
|
-
"name": "
|
428
|
-
"type": "
|
853
|
+
"internalType": "contract IRegistry",
|
854
|
+
"name": "",
|
855
|
+
"type": "address"
|
429
856
|
}
|
430
857
|
],
|
431
858
|
"stateMutability": "view",
|
@@ -433,12 +860,12 @@
|
|
433
860
|
},
|
434
861
|
{
|
435
862
|
"inputs": [],
|
436
|
-
"name": "
|
863
|
+
"name": "getRelease",
|
437
864
|
"outputs": [
|
438
865
|
{
|
439
|
-
"internalType": "
|
440
|
-
"name": "
|
441
|
-
"type": "
|
866
|
+
"internalType": "VersionPart",
|
867
|
+
"name": "release",
|
868
|
+
"type": "uint8"
|
442
869
|
}
|
443
870
|
],
|
444
871
|
"stateMutability": "view",
|
@@ -446,11 +873,11 @@
|
|
446
873
|
},
|
447
874
|
{
|
448
875
|
"inputs": [],
|
449
|
-
"name": "
|
876
|
+
"name": "getToken",
|
450
877
|
"outputs": [
|
451
878
|
{
|
452
|
-
"internalType": "contract
|
453
|
-
"name": "",
|
879
|
+
"internalType": "contract IERC20Metadata",
|
880
|
+
"name": "token",
|
454
881
|
"type": "address"
|
455
882
|
}
|
456
883
|
],
|
@@ -459,11 +886,11 @@
|
|
459
886
|
},
|
460
887
|
{
|
461
888
|
"inputs": [],
|
462
|
-
"name": "
|
889
|
+
"name": "getTokenHandler",
|
463
890
|
"outputs": [
|
464
891
|
{
|
465
|
-
"internalType": "contract
|
466
|
-
"name": "",
|
892
|
+
"internalType": "contract TokenHandler",
|
893
|
+
"name": "tokenHandler",
|
467
894
|
"type": "address"
|
468
895
|
}
|
469
896
|
],
|
@@ -472,146 +899,12 @@
|
|
472
899
|
},
|
473
900
|
{
|
474
901
|
"inputs": [],
|
475
|
-
"name": "
|
902
|
+
"name": "getVersion",
|
476
903
|
"outputs": [
|
477
904
|
{
|
478
|
-
"
|
479
|
-
|
480
|
-
|
481
|
-
"name": "token",
|
482
|
-
"type": "address"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"internalType": "contract TokenHandler",
|
486
|
-
"name": "tokenHandler",
|
487
|
-
"type": "address"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"internalType": "NftId",
|
491
|
-
"name": "distributionNftId",
|
492
|
-
"type": "uint96"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "NftId",
|
496
|
-
"name": "poolNftId",
|
497
|
-
"type": "uint96"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"components": [
|
501
|
-
{
|
502
|
-
"internalType": "UFixed",
|
503
|
-
"name": "fractionalFee",
|
504
|
-
"type": "uint256"
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"internalType": "uint256",
|
508
|
-
"name": "fixedFee",
|
509
|
-
"type": "uint256"
|
510
|
-
}
|
511
|
-
],
|
512
|
-
"internalType": "struct Fee",
|
513
|
-
"name": "distributionFee",
|
514
|
-
"type": "tuple"
|
515
|
-
},
|
516
|
-
{
|
517
|
-
"components": [
|
518
|
-
{
|
519
|
-
"internalType": "UFixed",
|
520
|
-
"name": "fractionalFee",
|
521
|
-
"type": "uint256"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"internalType": "uint256",
|
525
|
-
"name": "fixedFee",
|
526
|
-
"type": "uint256"
|
527
|
-
}
|
528
|
-
],
|
529
|
-
"internalType": "struct Fee",
|
530
|
-
"name": "productFee",
|
531
|
-
"type": "tuple"
|
532
|
-
},
|
533
|
-
{
|
534
|
-
"components": [
|
535
|
-
{
|
536
|
-
"internalType": "UFixed",
|
537
|
-
"name": "fractionalFee",
|
538
|
-
"type": "uint256"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"internalType": "uint256",
|
542
|
-
"name": "fixedFee",
|
543
|
-
"type": "uint256"
|
544
|
-
}
|
545
|
-
],
|
546
|
-
"internalType": "struct Fee",
|
547
|
-
"name": "processingFee",
|
548
|
-
"type": "tuple"
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"components": [
|
552
|
-
{
|
553
|
-
"internalType": "UFixed",
|
554
|
-
"name": "fractionalFee",
|
555
|
-
"type": "uint256"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"internalType": "uint256",
|
559
|
-
"name": "fixedFee",
|
560
|
-
"type": "uint256"
|
561
|
-
}
|
562
|
-
],
|
563
|
-
"internalType": "struct Fee",
|
564
|
-
"name": "poolFee",
|
565
|
-
"type": "tuple"
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"components": [
|
569
|
-
{
|
570
|
-
"internalType": "UFixed",
|
571
|
-
"name": "fractionalFee",
|
572
|
-
"type": "uint256"
|
573
|
-
},
|
574
|
-
{
|
575
|
-
"internalType": "uint256",
|
576
|
-
"name": "fixedFee",
|
577
|
-
"type": "uint256"
|
578
|
-
}
|
579
|
-
],
|
580
|
-
"internalType": "struct Fee",
|
581
|
-
"name": "stakingFee",
|
582
|
-
"type": "tuple"
|
583
|
-
},
|
584
|
-
{
|
585
|
-
"components": [
|
586
|
-
{
|
587
|
-
"internalType": "UFixed",
|
588
|
-
"name": "fractionalFee",
|
589
|
-
"type": "uint256"
|
590
|
-
},
|
591
|
-
{
|
592
|
-
"internalType": "uint256",
|
593
|
-
"name": "fixedFee",
|
594
|
-
"type": "uint256"
|
595
|
-
}
|
596
|
-
],
|
597
|
-
"internalType": "struct Fee",
|
598
|
-
"name": "performanceFee",
|
599
|
-
"type": "tuple"
|
600
|
-
},
|
601
|
-
{
|
602
|
-
"internalType": "bool",
|
603
|
-
"name": "isIntercepting",
|
604
|
-
"type": "bool"
|
605
|
-
},
|
606
|
-
{
|
607
|
-
"internalType": "address",
|
608
|
-
"name": "wallet",
|
609
|
-
"type": "address"
|
610
|
-
}
|
611
|
-
],
|
612
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
613
|
-
"name": "setupInfo",
|
614
|
-
"type": "tuple"
|
905
|
+
"internalType": "Version",
|
906
|
+
"name": "version",
|
907
|
+
"type": "uint24"
|
615
908
|
}
|
616
909
|
],
|
617
910
|
"stateMutability": "view",
|
@@ -619,11 +912,11 @@
|
|
619
912
|
},
|
620
913
|
{
|
621
914
|
"inputs": [],
|
622
|
-
"name": "
|
915
|
+
"name": "getWallet",
|
623
916
|
"outputs": [
|
624
917
|
{
|
625
|
-
"internalType": "
|
626
|
-
"name": "
|
918
|
+
"internalType": "address",
|
919
|
+
"name": "walletAddress",
|
627
920
|
"type": "address"
|
628
921
|
}
|
629
922
|
],
|
@@ -632,12 +925,25 @@
|
|
632
925
|
},
|
633
926
|
{
|
634
927
|
"inputs": [],
|
635
|
-
"name": "
|
928
|
+
"name": "isActive",
|
636
929
|
"outputs": [
|
637
930
|
{
|
638
|
-
"internalType": "
|
639
|
-
"name": "
|
640
|
-
"type": "
|
931
|
+
"internalType": "bool",
|
932
|
+
"name": "active",
|
933
|
+
"type": "bool"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"stateMutability": "view",
|
937
|
+
"type": "function"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"inputs": [],
|
941
|
+
"name": "isConsumingScheduledOp",
|
942
|
+
"outputs": [
|
943
|
+
{
|
944
|
+
"internalType": "bytes4",
|
945
|
+
"name": "",
|
946
|
+
"type": "bytes4"
|
641
947
|
}
|
642
948
|
],
|
643
949
|
"stateMutability": "view",
|
@@ -658,15 +964,27 @@
|
|
658
964
|
},
|
659
965
|
{
|
660
966
|
"inputs": [],
|
661
|
-
"name": "
|
662
|
-
"outputs": [
|
663
|
-
|
967
|
+
"name": "isRegistered",
|
968
|
+
"outputs": [
|
969
|
+
{
|
970
|
+
"internalType": "bool",
|
971
|
+
"name": "",
|
972
|
+
"type": "bool"
|
973
|
+
}
|
974
|
+
],
|
975
|
+
"stateMutability": "view",
|
664
976
|
"type": "function"
|
665
977
|
},
|
666
978
|
{
|
667
979
|
"inputs": [],
|
668
|
-
"name": "
|
669
|
-
"outputs": [
|
980
|
+
"name": "linkToRegisteredNftId",
|
981
|
+
"outputs": [
|
982
|
+
{
|
983
|
+
"internalType": "NftId",
|
984
|
+
"name": "nftId",
|
985
|
+
"type": "uint96"
|
986
|
+
}
|
987
|
+
],
|
670
988
|
"stateMutability": "nonpayable",
|
671
989
|
"type": "function"
|
672
990
|
},
|
@@ -686,6 +1004,11 @@
|
|
686
1004
|
"internalType": "uint256",
|
687
1005
|
"name": "tokenId",
|
688
1006
|
"type": "uint256"
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"internalType": "address",
|
1010
|
+
"name": "operator",
|
1011
|
+
"type": "address"
|
689
1012
|
}
|
690
1013
|
],
|
691
1014
|
"name": "nftTransferFrom",
|
@@ -696,55 +1019,42 @@
|
|
696
1019
|
{
|
697
1020
|
"inputs": [
|
698
1021
|
{
|
699
|
-
"
|
700
|
-
|
701
|
-
|
702
|
-
"name": "fractionalFee",
|
703
|
-
"type": "uint256"
|
704
|
-
},
|
705
|
-
{
|
706
|
-
"internalType": "uint256",
|
707
|
-
"name": "fixedFee",
|
708
|
-
"type": "uint256"
|
709
|
-
}
|
710
|
-
],
|
711
|
-
"internalType": "struct Fee",
|
712
|
-
"name": "productFee",
|
713
|
-
"type": "tuple"
|
1022
|
+
"internalType": "NftId",
|
1023
|
+
"name": "policyNftId",
|
1024
|
+
"type": "uint96"
|
714
1025
|
},
|
715
1026
|
{
|
716
|
-
"
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
"name": "fixedFee",
|
725
|
-
"type": "uint256"
|
726
|
-
}
|
727
|
-
],
|
728
|
-
"internalType": "struct Fee",
|
729
|
-
"name": "processingFee",
|
730
|
-
"type": "tuple"
|
1027
|
+
"internalType": "ClaimId",
|
1028
|
+
"name": "claimId",
|
1029
|
+
"type": "uint16"
|
1030
|
+
},
|
1031
|
+
{
|
1032
|
+
"internalType": "Amount",
|
1033
|
+
"name": "availableAmount",
|
1034
|
+
"type": "uint96"
|
731
1035
|
}
|
732
1036
|
],
|
733
|
-
"name": "
|
1037
|
+
"name": "processFundedClaim",
|
734
1038
|
"outputs": [],
|
735
1039
|
"stateMutability": "nonpayable",
|
736
1040
|
"type": "function"
|
737
1041
|
},
|
738
1042
|
{
|
739
1043
|
"inputs": [
|
1044
|
+
{
|
1045
|
+
"internalType": "address",
|
1046
|
+
"name": "component",
|
1047
|
+
"type": "address"
|
1048
|
+
}
|
1049
|
+
],
|
1050
|
+
"name": "registerComponent",
|
1051
|
+
"outputs": [
|
740
1052
|
{
|
741
1053
|
"internalType": "NftId",
|
742
|
-
"name": "
|
1054
|
+
"name": "componentNftId",
|
743
1055
|
"type": "uint96"
|
744
1056
|
}
|
745
1057
|
],
|
746
|
-
"name": "setProductNftId",
|
747
|
-
"outputs": [],
|
748
1058
|
"stateMutability": "nonpayable",
|
749
1059
|
"type": "function"
|
750
1060
|
},
|
@@ -752,11 +1062,11 @@
|
|
752
1062
|
"inputs": [
|
753
1063
|
{
|
754
1064
|
"internalType": "address",
|
755
|
-
"name": "
|
1065
|
+
"name": "newAuthority",
|
756
1066
|
"type": "address"
|
757
1067
|
}
|
758
1068
|
],
|
759
|
-
"name": "
|
1069
|
+
"name": "setAuthority",
|
760
1070
|
"outputs": [],
|
761
1071
|
"stateMutability": "nonpayable",
|
762
1072
|
"type": "function"
|
@@ -781,9 +1091,21 @@
|
|
781
1091
|
"type": "function"
|
782
1092
|
},
|
783
1093
|
{
|
784
|
-
"inputs": [
|
785
|
-
|
786
|
-
|
1094
|
+
"inputs": [
|
1095
|
+
{
|
1096
|
+
"internalType": "Amount",
|
1097
|
+
"name": "amount",
|
1098
|
+
"type": "uint96"
|
1099
|
+
}
|
1100
|
+
],
|
1101
|
+
"name": "withdrawFees",
|
1102
|
+
"outputs": [
|
1103
|
+
{
|
1104
|
+
"internalType": "Amount",
|
1105
|
+
"name": "withdrawnAmount",
|
1106
|
+
"type": "uint96"
|
1107
|
+
}
|
1108
|
+
],
|
787
1109
|
"stateMutability": "nonpayable",
|
788
1110
|
"type": "function"
|
789
1111
|
}
|