@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e7a5428-226
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/authorization/IAccess.sol/IAccess.json +10 -0
- 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 +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +146 -607
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +767 -301
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +288 -118
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +152 -273
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +553 -77
- 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 +595 -96
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +497 -75
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +617 -250
- 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 +1789 -713
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -220
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +204 -96
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1109 -817
- 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 +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- 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/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 +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +582 -235
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +278 -96
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +398 -49
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +151 -394
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +770 -365
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +148 -682
- 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 +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +940 -518
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +283 -97
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +382 -166
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +222 -92
- 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 +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +502 -230
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +251 -113
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +436 -101
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +202 -80
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +291 -264
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +295 -150
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +564 -292
- 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 +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +259 -97
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +262 -299
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +220 -122
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +322 -596
- 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 +454 -42
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +275 -193
- 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 +806 -97
- 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 +1061 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +320 -312
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +206 -94
- 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 +257 -147
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +92 -277
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +632 -542
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +241 -115
- 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 +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +99 -94
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +549 -228
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +138 -130
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +51 -19
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
- 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 +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +131 -366
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +61 -104
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
- 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 +45 -55
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -98
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1388 -635
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1703 -957
- 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/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 +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +274 -92
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +544 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +751 -212
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +215 -85
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2637 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +657 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +81 -17
- 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 +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
- 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 +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
- 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 +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
- 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 +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
- 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 +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 +126 -142
- package/contracts/distribution/DistributionService.sol +288 -137
- package/contracts/distribution/DistributionServiceManager.sol +13 -25
- package/contracts/distribution/IDistributionComponent.sol +22 -43
- package/contracts/distribution/IDistributionService.sol +61 -27
- 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 +117 -49
- package/contracts/instance/IInstanceService.sol +80 -46
- package/contracts/instance/Instance.sol +252 -133
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +499 -233
- package/contracts/instance/InstanceService.sol +370 -218
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +94 -55
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +16 -13
- package/contracts/instance/base/Cloneable.sol +2 -25
- 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 +6 -5
- package/contracts/instance/module/IComponents.sol +30 -20
- package/contracts/instance/module/IDistribution.sol +21 -9
- package/contracts/instance/module/IPolicy.sol +50 -29
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/mock/Dip.sol +26 -0
- 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 +225 -152
- package/contracts/pool/BundleServiceManager.sol +13 -25
- package/contracts/pool/IBundleService.sol +44 -34
- package/contracts/pool/IPoolComponent.sol +20 -70
- package/contracts/pool/IPoolService.sol +99 -76
- package/contracts/pool/Pool.sol +198 -164
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +448 -255
- package/contracts/pool/PoolServiceManager.sol +12 -24
- package/contracts/product/ApplicationService.sol +160 -86
- package/contracts/product/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +389 -195
- package/contracts/product/ClaimServiceManager.sol +12 -9
- package/contracts/product/IApplicationService.sol +30 -4
- package/contracts/product/IClaimService.sol +52 -9
- package/contracts/product/IPolicyService.sol +62 -38
- package/contracts/product/IPricingService.sol +12 -11
- package/contracts/product/IProductComponent.sol +29 -9
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +450 -276
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +12 -27
- package/contracts/product/PricingService.sol +97 -91
- package/contracts/product/PricingServiceManager.sol +12 -24
- package/contracts/product/Product.sol +263 -147
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -39
- package/contracts/registry/IRegistry.sol +99 -38
- package/contracts/registry/IRegistryService.sol +26 -43
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +439 -232
- package/contracts/registry/RegistryAdmin.sol +188 -0
- package/contracts/registry/RegistryAuthorization.sol +309 -0
- package/contracts/registry/RegistryService.sol +66 -152
- package/contracts/registry/RegistryServiceManager.sol +23 -30
- 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 +211 -81
- package/contracts/shared/Component.sol +71 -143
- package/contracts/shared/ComponentService.sol +460 -369
- package/contracts/shared/ComponentServiceManager.sol +10 -7
- package/contracts/shared/ContractLib.sol +312 -0
- package/contracts/shared/IComponent.sol +7 -23
- package/contracts/shared/IComponentService.sol +51 -31
- package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
- package/contracts/shared/IKeyValueStore.sol +3 -2
- package/contracts/shared/ILifecycle.sol +3 -2
- package/contracts/shared/INftOwnable.sol +5 -1
- package/contracts/shared/IPolicyHolder.sol +12 -17
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +11 -6
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +95 -46
- package/contracts/shared/KeyValueStore.sol +32 -70
- package/contracts/shared/Lifecycle.sol +30 -63
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +35 -24
- package/contracts/shared/PolicyHolder.sol +19 -50
- package/contracts/shared/Registerable.sol +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +32 -42
- package/contracts/shared/TokenHandler.sol +310 -26
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +229 -42
- package/contracts/staking/IStakingService.sol +98 -76
- package/contracts/staking/Staking.sol +633 -99
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +25 -20
- package/contracts/staking/StakingReader.sol +151 -0
- package/contracts/staking/StakingService.sol +174 -53
- package/contracts/staking/StakingServiceManager.sol +13 -8
- package/contracts/staking/StakingStore.sol +973 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +43 -3
- package/contracts/type/Blocknumber.sol +34 -16
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +9 -9
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +16 -4
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +204 -62
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +39 -7
- package/contracts/type/RoleId.sol +122 -80
- package/contracts/type/Seconds.sol +62 -1
- package/contracts/type/Selector.sol +107 -0
- package/contracts/type/StateId.sol +41 -2
- package/contracts/type/String.sol +65 -0
- package/contracts/type/Timestamp.sol +20 -9
- package/contracts/type/UFixed.sol +62 -125
- package/contracts/type/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
- package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
- package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
- package/package.json +12 -8
- 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/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- 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/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -381
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -636
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -688
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- 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 -569
- 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/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
- package/contracts/instance/base/ObjectManager.sol +0 -82
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/product/IProductService.sol +0 -33
- package/contracts/product/ProductService.sol +0 -122
- package/contracts/product/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -213
- package/contracts/registry/ReleaseManager.sol +0 -375
- package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/shared/ComponentVerifyingService.sol +0 -111
- package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -41,31 +41,20 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
-
{
|
45
|
-
"inputs": [],
|
46
|
-
"name": "ErrorComponentNameLengthZero",
|
47
|
-
"type": "error"
|
48
|
-
},
|
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
|
-
"inputs": [
|
62
|
-
|
63
|
-
"internalType": "NftId",
|
64
|
-
"name": "instanceNftId",
|
65
|
-
"type": "uint96"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"name": "ErrorComponentNotInstance",
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorComponentNameLengthZero",
|
69
58
|
"type": "error"
|
70
59
|
},
|
71
60
|
{
|
@@ -76,17 +65,17 @@
|
|
76
65
|
"type": "address"
|
77
66
|
}
|
78
67
|
],
|
79
|
-
"name": "
|
68
|
+
"name": "ErrorComponentNotChainNft",
|
80
69
|
"type": "error"
|
81
70
|
},
|
82
71
|
{
|
83
72
|
"inputs": [],
|
84
|
-
"name": "
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
85
74
|
"type": "error"
|
86
75
|
},
|
87
76
|
{
|
88
77
|
"inputs": [],
|
89
|
-
"name": "
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
90
79
|
"type": "error"
|
91
80
|
},
|
92
81
|
{
|
@@ -99,35 +88,41 @@
|
|
99
88
|
"name": "ErrorComponentWalletAddressZero",
|
100
89
|
"type": "error"
|
101
90
|
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ErrorComponentWalletNotComponent",
|
94
|
+
"type": "error"
|
95
|
+
},
|
102
96
|
{
|
103
97
|
"inputs": [
|
104
98
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"internalType": "address",
|
111
|
-
"name": "newWallet",
|
112
|
-
"type": "address"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"internalType": "uint256",
|
116
|
-
"name": "allowance",
|
117
|
-
"type": "uint256"
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "nftId",
|
101
|
+
"type": "uint96"
|
118
102
|
},
|
119
103
|
{
|
120
|
-
"internalType": "
|
121
|
-
"name": "
|
122
|
-
"type": "
|
104
|
+
"internalType": "ObjectType",
|
105
|
+
"name": "objectType",
|
106
|
+
"type": "uint8"
|
123
107
|
}
|
124
108
|
],
|
125
|
-
"name": "
|
109
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
126
110
|
"type": "error"
|
127
111
|
},
|
128
112
|
{
|
129
|
-
"inputs": [
|
130
|
-
|
113
|
+
"inputs": [
|
114
|
+
{
|
115
|
+
"internalType": "ObjectType",
|
116
|
+
"name": "requiredType",
|
117
|
+
"type": "uint8"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "ObjectType",
|
121
|
+
"name": "objectType",
|
122
|
+
"type": "uint8"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
131
126
|
"type": "error"
|
132
127
|
},
|
133
128
|
{
|
@@ -157,6 +152,22 @@
|
|
157
152
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
158
153
|
"type": "error"
|
159
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",
|
169
|
+
"type": "error"
|
170
|
+
},
|
160
171
|
{
|
161
172
|
"inputs": [
|
162
173
|
{
|
@@ -179,6 +190,11 @@
|
|
179
190
|
"name": "ErrorNotRegistry",
|
180
191
|
"type": "error"
|
181
192
|
},
|
193
|
+
{
|
194
|
+
"inputs": [],
|
195
|
+
"name": "ErrorRegisterableNotActive",
|
196
|
+
"type": "error"
|
197
|
+
},
|
182
198
|
{
|
183
199
|
"anonymous": false,
|
184
200
|
"inputs": [
|
@@ -195,6 +211,12 @@
|
|
195
211
|
{
|
196
212
|
"anonymous": false,
|
197
213
|
"inputs": [
|
214
|
+
{
|
215
|
+
"indexed": false,
|
216
|
+
"internalType": "address",
|
217
|
+
"name": "tokenHandler",
|
218
|
+
"type": "address"
|
219
|
+
},
|
198
220
|
{
|
199
221
|
"indexed": false,
|
200
222
|
"internalType": "address",
|
@@ -203,9 +225,15 @@
|
|
203
225
|
},
|
204
226
|
{
|
205
227
|
"indexed": false,
|
206
|
-
"internalType": "
|
228
|
+
"internalType": "Amount",
|
207
229
|
"name": "limit",
|
208
|
-
"type": "
|
230
|
+
"type": "uint96"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"indexed": false,
|
234
|
+
"internalType": "bool",
|
235
|
+
"name": "isMaxAmount",
|
236
|
+
"type": "bool"
|
209
237
|
}
|
210
238
|
],
|
211
239
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -256,17 +284,23 @@
|
|
256
284
|
"type": "event"
|
257
285
|
},
|
258
286
|
{
|
287
|
+
"anonymous": false,
|
259
288
|
"inputs": [
|
260
289
|
{
|
261
|
-
"
|
262
|
-
"
|
263
|
-
"
|
290
|
+
"indexed": false,
|
291
|
+
"internalType": "NftId",
|
292
|
+
"name": "nftId",
|
293
|
+
"type": "uint96"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"indexed": false,
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "owner",
|
299
|
+
"type": "address"
|
264
300
|
}
|
265
301
|
],
|
266
|
-
"name": "
|
267
|
-
"
|
268
|
-
"stateMutability": "nonpayable",
|
269
|
-
"type": "function"
|
302
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
303
|
+
"type": "event"
|
270
304
|
},
|
271
305
|
{
|
272
306
|
"inputs": [],
|
@@ -361,57 +395,12 @@
|
|
361
395
|
},
|
362
396
|
{
|
363
397
|
"inputs": [],
|
364
|
-
"name": "
|
365
|
-
"outputs": [
|
366
|
-
{
|
367
|
-
"components": [
|
368
|
-
{
|
369
|
-
"internalType": "string",
|
370
|
-
"name": "name",
|
371
|
-
"type": "string"
|
372
|
-
},
|
373
|
-
{
|
374
|
-
"internalType": "NftId",
|
375
|
-
"name": "productNftId",
|
376
|
-
"type": "uint96"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"internalType": "contract IERC20Metadata",
|
380
|
-
"name": "token",
|
381
|
-
"type": "address"
|
382
|
-
},
|
383
|
-
{
|
384
|
-
"internalType": "contract TokenHandler",
|
385
|
-
"name": "tokenHandler",
|
386
|
-
"type": "address"
|
387
|
-
},
|
388
|
-
{
|
389
|
-
"internalType": "address",
|
390
|
-
"name": "wallet",
|
391
|
-
"type": "address"
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"internalType": "bytes",
|
395
|
-
"name": "data",
|
396
|
-
"type": "bytes"
|
397
|
-
}
|
398
|
-
],
|
399
|
-
"internalType": "struct IComponents.ComponentInfo",
|
400
|
-
"name": "info",
|
401
|
-
"type": "tuple"
|
402
|
-
}
|
403
|
-
],
|
404
|
-
"stateMutability": "view",
|
405
|
-
"type": "function"
|
406
|
-
},
|
407
|
-
{
|
408
|
-
"inputs": [],
|
409
|
-
"name": "getDistributionNftId",
|
398
|
+
"name": "getAuthorization",
|
410
399
|
"outputs": [
|
411
400
|
{
|
412
|
-
"internalType": "
|
413
|
-
"name": "
|
414
|
-
"type": "
|
401
|
+
"internalType": "contract IAuthorization",
|
402
|
+
"name": "authorization",
|
403
|
+
"type": "address"
|
415
404
|
}
|
416
405
|
],
|
417
406
|
"stateMutability": "view",
|
@@ -419,7 +408,7 @@
|
|
419
408
|
},
|
420
409
|
{
|
421
410
|
"inputs": [],
|
422
|
-
"name": "
|
411
|
+
"name": "getComponentInfo",
|
423
412
|
"outputs": [
|
424
413
|
{
|
425
414
|
"components": [
|
@@ -428,26 +417,11 @@
|
|
428
417
|
"name": "name",
|
429
418
|
"type": "string"
|
430
419
|
},
|
431
|
-
{
|
432
|
-
"internalType": "NftId",
|
433
|
-
"name": "productNftId",
|
434
|
-
"type": "uint96"
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"internalType": "contract IERC20Metadata",
|
438
|
-
"name": "token",
|
439
|
-
"type": "address"
|
440
|
-
},
|
441
420
|
{
|
442
421
|
"internalType": "contract TokenHandler",
|
443
422
|
"name": "tokenHandler",
|
444
423
|
"type": "address"
|
445
424
|
},
|
446
|
-
{
|
447
|
-
"internalType": "address",
|
448
|
-
"name": "wallet",
|
449
|
-
"type": "address"
|
450
|
-
},
|
451
425
|
{
|
452
426
|
"internalType": "bytes",
|
453
427
|
"name": "data",
|
@@ -464,38 +438,18 @@
|
|
464
438
|
},
|
465
439
|
{
|
466
440
|
"inputs": [],
|
467
|
-
"name": "
|
441
|
+
"name": "getInitialComponentInfo",
|
468
442
|
"outputs": [
|
469
443
|
{
|
470
444
|
"components": [
|
471
445
|
{
|
472
|
-
"internalType": "
|
473
|
-
"name": "
|
474
|
-
"type": "
|
475
|
-
},
|
476
|
-
{
|
477
|
-
"internalType": "NftId",
|
478
|
-
"name": "parentNftId",
|
479
|
-
"type": "uint96"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"internalType": "ObjectType",
|
483
|
-
"name": "objectType",
|
484
|
-
"type": "uint8"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"internalType": "bool",
|
488
|
-
"name": "isInterceptor",
|
489
|
-
"type": "bool"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"internalType": "address",
|
493
|
-
"name": "objectAddress",
|
494
|
-
"type": "address"
|
446
|
+
"internalType": "string",
|
447
|
+
"name": "name",
|
448
|
+
"type": "string"
|
495
449
|
},
|
496
450
|
{
|
497
|
-
"internalType": "
|
498
|
-
"name": "
|
451
|
+
"internalType": "contract TokenHandler",
|
452
|
+
"name": "tokenHandler",
|
499
453
|
"type": "address"
|
500
454
|
},
|
501
455
|
{
|
@@ -504,8 +458,8 @@
|
|
504
458
|
"type": "bytes"
|
505
459
|
}
|
506
460
|
],
|
507
|
-
"internalType": "struct
|
508
|
-
"name": "",
|
461
|
+
"internalType": "struct IComponents.ComponentInfo",
|
462
|
+
"name": "info",
|
509
463
|
"type": "tuple"
|
510
464
|
}
|
511
465
|
],
|
@@ -514,31 +468,21 @@
|
|
514
468
|
},
|
515
469
|
{
|
516
470
|
"inputs": [],
|
517
|
-
"name": "
|
471
|
+
"name": "getInitialFeeInfo",
|
518
472
|
"outputs": [
|
519
473
|
{
|
520
474
|
"components": [
|
521
|
-
{
|
522
|
-
"internalType": "NftId",
|
523
|
-
"name": "distributionNftId",
|
524
|
-
"type": "uint96"
|
525
|
-
},
|
526
|
-
{
|
527
|
-
"internalType": "NftId",
|
528
|
-
"name": "poolNftId",
|
529
|
-
"type": "uint96"
|
530
|
-
},
|
531
475
|
{
|
532
476
|
"components": [
|
533
477
|
{
|
534
478
|
"internalType": "UFixed",
|
535
479
|
"name": "fractionalFee",
|
536
|
-
"type": "
|
480
|
+
"type": "uint160"
|
537
481
|
},
|
538
482
|
{
|
539
|
-
"internalType": "
|
483
|
+
"internalType": "Amount",
|
540
484
|
"name": "fixedFee",
|
541
|
-
"type": "
|
485
|
+
"type": "uint96"
|
542
486
|
}
|
543
487
|
],
|
544
488
|
"internalType": "struct Fee",
|
@@ -550,12 +494,12 @@
|
|
550
494
|
{
|
551
495
|
"internalType": "UFixed",
|
552
496
|
"name": "fractionalFee",
|
553
|
-
"type": "
|
497
|
+
"type": "uint160"
|
554
498
|
},
|
555
499
|
{
|
556
|
-
"internalType": "
|
500
|
+
"internalType": "Amount",
|
557
501
|
"name": "fixedFee",
|
558
|
-
"type": "
|
502
|
+
"type": "uint96"
|
559
503
|
}
|
560
504
|
],
|
561
505
|
"internalType": "struct Fee",
|
@@ -567,12 +511,12 @@
|
|
567
511
|
{
|
568
512
|
"internalType": "UFixed",
|
569
513
|
"name": "fractionalFee",
|
570
|
-
"type": "
|
514
|
+
"type": "uint160"
|
571
515
|
},
|
572
516
|
{
|
573
|
-
"internalType": "
|
517
|
+
"internalType": "Amount",
|
574
518
|
"name": "fixedFee",
|
575
|
-
"type": "
|
519
|
+
"type": "uint96"
|
576
520
|
}
|
577
521
|
],
|
578
522
|
"internalType": "struct Fee",
|
@@ -584,12 +528,12 @@
|
|
584
528
|
{
|
585
529
|
"internalType": "UFixed",
|
586
530
|
"name": "fractionalFee",
|
587
|
-
"type": "
|
531
|
+
"type": "uint160"
|
588
532
|
},
|
589
533
|
{
|
590
|
-
"internalType": "
|
534
|
+
"internalType": "Amount",
|
591
535
|
"name": "fixedFee",
|
592
|
-
"type": "
|
536
|
+
"type": "uint96"
|
593
537
|
}
|
594
538
|
],
|
595
539
|
"internalType": "struct Fee",
|
@@ -601,12 +545,12 @@
|
|
601
545
|
{
|
602
546
|
"internalType": "UFixed",
|
603
547
|
"name": "fractionalFee",
|
604
|
-
"type": "
|
548
|
+
"type": "uint160"
|
605
549
|
},
|
606
550
|
{
|
607
|
-
"internalType": "
|
551
|
+
"internalType": "Amount",
|
608
552
|
"name": "fixedFee",
|
609
|
-
"type": "
|
553
|
+
"type": "uint96"
|
610
554
|
}
|
611
555
|
],
|
612
556
|
"internalType": "struct Fee",
|
@@ -618,12 +562,12 @@
|
|
618
562
|
{
|
619
563
|
"internalType": "UFixed",
|
620
564
|
"name": "fractionalFee",
|
621
|
-
"type": "
|
565
|
+
"type": "uint160"
|
622
566
|
},
|
623
567
|
{
|
624
|
-
"internalType": "
|
568
|
+
"internalType": "Amount",
|
625
569
|
"name": "fixedFee",
|
626
|
-
"type": "
|
570
|
+
"type": "uint96"
|
627
571
|
}
|
628
572
|
],
|
629
573
|
"internalType": "struct Fee",
|
@@ -635,12 +579,12 @@
|
|
635
579
|
{
|
636
580
|
"internalType": "UFixed",
|
637
581
|
"name": "fractionalFee",
|
638
|
-
"type": "
|
582
|
+
"type": "uint160"
|
639
583
|
},
|
640
584
|
{
|
641
|
-
"internalType": "
|
585
|
+
"internalType": "Amount",
|
642
586
|
"name": "fixedFee",
|
643
|
-
"type": "
|
587
|
+
"type": "uint96"
|
644
588
|
}
|
645
589
|
],
|
646
590
|
"internalType": "struct Fee",
|
@@ -648,6 +592,111 @@
|
|
648
592
|
"type": "tuple"
|
649
593
|
}
|
650
594
|
],
|
595
|
+
"internalType": "struct IComponents.FeeInfo",
|
596
|
+
"name": "info",
|
597
|
+
"type": "tuple"
|
598
|
+
}
|
599
|
+
],
|
600
|
+
"stateMutability": "view",
|
601
|
+
"type": "function"
|
602
|
+
},
|
603
|
+
{
|
604
|
+
"inputs": [],
|
605
|
+
"name": "getInitialInfo",
|
606
|
+
"outputs": [
|
607
|
+
{
|
608
|
+
"components": [
|
609
|
+
{
|
610
|
+
"internalType": "NftId",
|
611
|
+
"name": "nftId",
|
612
|
+
"type": "uint96"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"internalType": "NftId",
|
616
|
+
"name": "parentNftId",
|
617
|
+
"type": "uint96"
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"internalType": "ObjectType",
|
621
|
+
"name": "objectType",
|
622
|
+
"type": "uint8"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"internalType": "bool",
|
626
|
+
"name": "isInterceptor",
|
627
|
+
"type": "bool"
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"internalType": "address",
|
631
|
+
"name": "objectAddress",
|
632
|
+
"type": "address"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"internalType": "address",
|
636
|
+
"name": "initialOwner",
|
637
|
+
"type": "address"
|
638
|
+
},
|
639
|
+
{
|
640
|
+
"internalType": "bytes",
|
641
|
+
"name": "data",
|
642
|
+
"type": "bytes"
|
643
|
+
}
|
644
|
+
],
|
645
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
646
|
+
"name": "",
|
647
|
+
"type": "tuple"
|
648
|
+
}
|
649
|
+
],
|
650
|
+
"stateMutability": "view",
|
651
|
+
"type": "function"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"inputs": [],
|
655
|
+
"name": "getInitialProductInfo",
|
656
|
+
"outputs": [
|
657
|
+
{
|
658
|
+
"components": [
|
659
|
+
{
|
660
|
+
"internalType": "bool",
|
661
|
+
"name": "isProcessingFundedClaims",
|
662
|
+
"type": "bool"
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"internalType": "bool",
|
666
|
+
"name": "isInterceptingPolicyTransfers",
|
667
|
+
"type": "bool"
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"internalType": "bool",
|
671
|
+
"name": "hasDistribution",
|
672
|
+
"type": "bool"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"internalType": "uint8",
|
676
|
+
"name": "expectedNumberOfOracles",
|
677
|
+
"type": "uint8"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"internalType": "uint8",
|
681
|
+
"name": "numberOfOracles",
|
682
|
+
"type": "uint8"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"internalType": "NftId",
|
686
|
+
"name": "poolNftId",
|
687
|
+
"type": "uint96"
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"internalType": "NftId",
|
691
|
+
"name": "distributionNftId",
|
692
|
+
"type": "uint96"
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"internalType": "NftId[]",
|
696
|
+
"name": "oracleNftId",
|
697
|
+
"type": "uint96[]"
|
698
|
+
}
|
699
|
+
],
|
651
700
|
"internalType": "struct IComponents.ProductInfo",
|
652
701
|
"name": "info",
|
653
702
|
"type": "tuple"
|
@@ -710,25 +759,12 @@
|
|
710
759
|
},
|
711
760
|
{
|
712
761
|
"inputs": [],
|
713
|
-
"name": "
|
714
|
-
"outputs": [
|
715
|
-
{
|
716
|
-
"internalType": "NftId",
|
717
|
-
"name": "poolNftId",
|
718
|
-
"type": "uint96"
|
719
|
-
}
|
720
|
-
],
|
721
|
-
"stateMutability": "view",
|
722
|
-
"type": "function"
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"inputs": [],
|
726
|
-
"name": "getProductNftId",
|
762
|
+
"name": "getRegistry",
|
727
763
|
"outputs": [
|
728
764
|
{
|
729
|
-
"internalType": "
|
730
|
-
"name": "
|
731
|
-
"type": "
|
765
|
+
"internalType": "contract IRegistry",
|
766
|
+
"name": "",
|
767
|
+
"type": "address"
|
732
768
|
}
|
733
769
|
],
|
734
770
|
"stateMutability": "view",
|
@@ -736,12 +772,12 @@
|
|
736
772
|
},
|
737
773
|
{
|
738
774
|
"inputs": [],
|
739
|
-
"name": "
|
775
|
+
"name": "getRelease",
|
740
776
|
"outputs": [
|
741
777
|
{
|
742
|
-
"internalType": "
|
743
|
-
"name": "",
|
744
|
-
"type": "
|
778
|
+
"internalType": "VersionPart",
|
779
|
+
"name": "release",
|
780
|
+
"type": "uint8"
|
745
781
|
}
|
746
782
|
],
|
747
783
|
"stateMutability": "view",
|
@@ -786,6 +822,19 @@
|
|
786
822
|
"stateMutability": "view",
|
787
823
|
"type": "function"
|
788
824
|
},
|
825
|
+
{
|
826
|
+
"inputs": [],
|
827
|
+
"name": "isActive",
|
828
|
+
"outputs": [
|
829
|
+
{
|
830
|
+
"internalType": "bool",
|
831
|
+
"name": "active",
|
832
|
+
"type": "bool"
|
833
|
+
}
|
834
|
+
],
|
835
|
+
"stateMutability": "view",
|
836
|
+
"type": "function"
|
837
|
+
},
|
789
838
|
{
|
790
839
|
"inputs": [],
|
791
840
|
"name": "isConsumingScheduledOp",
|
@@ -828,32 +877,13 @@
|
|
828
877
|
{
|
829
878
|
"inputs": [],
|
830
879
|
"name": "linkToRegisteredNftId",
|
831
|
-
"outputs": [
|
832
|
-
"stateMutability": "nonpayable",
|
833
|
-
"type": "function"
|
834
|
-
},
|
835
|
-
{
|
836
|
-
"inputs": [],
|
837
|
-
"name": "lock",
|
838
|
-
"outputs": [],
|
839
|
-
"stateMutability": "nonpayable",
|
840
|
-
"type": "function"
|
841
|
-
},
|
842
|
-
{
|
843
|
-
"inputs": [
|
844
|
-
{
|
845
|
-
"internalType": "address",
|
846
|
-
"name": "to",
|
847
|
-
"type": "address"
|
848
|
-
},
|
880
|
+
"outputs": [
|
849
881
|
{
|
850
|
-
"internalType": "
|
851
|
-
"name": "
|
852
|
-
"type": "
|
882
|
+
"internalType": "NftId",
|
883
|
+
"name": "",
|
884
|
+
"type": "uint96"
|
853
885
|
}
|
854
886
|
],
|
855
|
-
"name": "nftMint",
|
856
|
-
"outputs": [],
|
857
887
|
"stateMutability": "nonpayable",
|
858
888
|
"type": "function"
|
859
889
|
},
|
@@ -873,6 +903,11 @@
|
|
873
903
|
"internalType": "uint256",
|
874
904
|
"name": "tokenId",
|
875
905
|
"type": "uint256"
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"internalType": "address",
|
909
|
+
"name": "operator",
|
910
|
+
"type": "address"
|
876
911
|
}
|
877
912
|
],
|
878
913
|
"name": "nftTransferFrom",
|
@@ -880,22 +915,25 @@
|
|
880
915
|
"stateMutability": "nonpayable",
|
881
916
|
"type": "function"
|
882
917
|
},
|
883
|
-
{
|
884
|
-
"inputs": [],
|
885
|
-
"name": "register",
|
886
|
-
"outputs": [],
|
887
|
-
"stateMutability": "nonpayable",
|
888
|
-
"type": "function"
|
889
|
-
},
|
890
918
|
{
|
891
919
|
"inputs": [
|
892
920
|
{
|
893
|
-
"internalType": "
|
894
|
-
"name": "",
|
895
|
-
"type": "
|
921
|
+
"internalType": "NftId",
|
922
|
+
"name": "policyNftId",
|
923
|
+
"type": "uint96"
|
924
|
+
},
|
925
|
+
{
|
926
|
+
"internalType": "ClaimId",
|
927
|
+
"name": "claimId",
|
928
|
+
"type": "uint16"
|
929
|
+
},
|
930
|
+
{
|
931
|
+
"internalType": "Amount",
|
932
|
+
"name": "availableAmount",
|
933
|
+
"type": "uint96"
|
896
934
|
}
|
897
935
|
],
|
898
|
-
"name": "
|
936
|
+
"name": "processFundedClaim",
|
899
937
|
"outputs": [],
|
900
938
|
"stateMutability": "nonpayable",
|
901
939
|
"type": "function"
|
@@ -903,42 +941,19 @@
|
|
903
941
|
{
|
904
942
|
"inputs": [
|
905
943
|
{
|
906
|
-
"
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
"internalType": "uint256",
|
914
|
-
"name": "fixedFee",
|
915
|
-
"type": "uint256"
|
916
|
-
}
|
917
|
-
],
|
918
|
-
"internalType": "struct Fee",
|
919
|
-
"name": "productFee",
|
920
|
-
"type": "tuple"
|
921
|
-
},
|
944
|
+
"internalType": "address",
|
945
|
+
"name": "component",
|
946
|
+
"type": "address"
|
947
|
+
}
|
948
|
+
],
|
949
|
+
"name": "registerComponent",
|
950
|
+
"outputs": [
|
922
951
|
{
|
923
|
-
"
|
924
|
-
|
925
|
-
|
926
|
-
"name": "fractionalFee",
|
927
|
-
"type": "uint256"
|
928
|
-
},
|
929
|
-
{
|
930
|
-
"internalType": "uint256",
|
931
|
-
"name": "fixedFee",
|
932
|
-
"type": "uint256"
|
933
|
-
}
|
934
|
-
],
|
935
|
-
"internalType": "struct Fee",
|
936
|
-
"name": "processingFee",
|
937
|
-
"type": "tuple"
|
952
|
+
"internalType": "NftId",
|
953
|
+
"name": "componentNftId",
|
954
|
+
"type": "uint96"
|
938
955
|
}
|
939
956
|
],
|
940
|
-
"name": "setFees",
|
941
|
-
"outputs": [],
|
942
957
|
"stateMutability": "nonpayable",
|
943
958
|
"type": "function"
|
944
959
|
},
|
@@ -946,11 +961,11 @@
|
|
946
961
|
"inputs": [
|
947
962
|
{
|
948
963
|
"internalType": "address",
|
949
|
-
"name": "
|
964
|
+
"name": "",
|
950
965
|
"type": "address"
|
951
966
|
}
|
952
967
|
],
|
953
|
-
"name": "
|
968
|
+
"name": "setAuthority",
|
954
969
|
"outputs": [],
|
955
970
|
"stateMutability": "nonpayable",
|
956
971
|
"type": "function"
|
@@ -975,9 +990,21 @@
|
|
975
990
|
"type": "function"
|
976
991
|
},
|
977
992
|
{
|
978
|
-
"inputs": [
|
979
|
-
|
980
|
-
|
993
|
+
"inputs": [
|
994
|
+
{
|
995
|
+
"internalType": "Amount",
|
996
|
+
"name": "amount",
|
997
|
+
"type": "uint96"
|
998
|
+
}
|
999
|
+
],
|
1000
|
+
"name": "withdrawFees",
|
1001
|
+
"outputs": [
|
1002
|
+
{
|
1003
|
+
"internalType": "Amount",
|
1004
|
+
"name": "withdrawnAmount",
|
1005
|
+
"type": "uint96"
|
1006
|
+
}
|
1007
|
+
],
|
981
1008
|
"stateMutability": "nonpayable",
|
982
1009
|
"type": "function"
|
983
1010
|
}
|