@etherisc/gif-next 0.0.2-da2c7dd-538 → 0.0.2-da87b00-860
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +57 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +91 -45
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +573 -288
- 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 +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +295 -47
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +452 -210
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +119 -14
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +246 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +420 -27
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +64 -142
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +275 -59
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -88
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +448 -148
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +143 -77
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -87
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +296 -20
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +109 -100
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +274 -58
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -124
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +274 -58
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +126 -166
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +274 -58
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -63
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -138
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +274 -58
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -180
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +274 -58
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +427 -28
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +335 -12
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +430 -62
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +822 -402
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +299 -58
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +619 -402
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +367 -64
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -55
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +448 -374
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
- 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/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +33 -35
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +294 -53
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +19 -21
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -21
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +87 -42
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +96 -50
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -69
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +274 -58
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +124 -58
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -31
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -31
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +346 -87
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +121 -63
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +273 -50
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +103 -41
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -48
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +274 -58
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +113 -75
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +208 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +50 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -42
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +224 -18
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +118 -72
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +116 -114
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +100 -70
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +40 -42
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +258 -44
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +84 -42
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +704 -472
- 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 +47 -18
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +76 -38
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +710 -407
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +184 -128
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +19 -21
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +212 -232
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +113 -71
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +130 -39
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -21
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +119 -147
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -21
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -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 +29 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -21
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1450 -140
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +161 -110
- 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 +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1624 -272
- 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 +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +135 -68
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +200 -157
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +86 -52
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1600 -818
- 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 +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +159 -87
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
- 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 +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -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 +1 -1
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +65 -27
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
- package/contracts/accounting/AccountingService.sol +15 -3
- package/contracts/accounting/IAccountingService.sol +4 -2
- package/contracts/authorization/AccessAdmin.sol +389 -298
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +40 -31
- package/contracts/authorization/Authorization.sol +60 -228
- package/contracts/authorization/IAccess.sol +25 -7
- package/contracts/authorization/IAccessAdmin.sol +81 -80
- package/contracts/authorization/IAuthorization.sol +3 -51
- package/contracts/authorization/IServiceAuthorization.sol +55 -17
- package/contracts/authorization/ServiceAuthorization.sol +248 -34
- package/contracts/distribution/BasicDistribution.sol +6 -6
- package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
- package/contracts/distribution/Distribution.sol +10 -52
- package/contracts/distribution/DistributionService.sol +154 -64
- package/contracts/distribution/IDistributionComponent.sol +3 -10
- package/contracts/distribution/IDistributionService.sol +24 -10
- package/contracts/examples/fire/FirePool.sol +0 -4
- package/contracts/examples/fire/FireProduct.sol +6 -10
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
- package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
- package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
- package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -23
- package/contracts/instance/IInstance.sol +87 -12
- package/contracts/instance/IInstanceService.sol +52 -7
- package/contracts/instance/Instance.sol +148 -48
- package/contracts/instance/InstanceAdmin.sol +227 -281
- package/contracts/instance/InstanceAuthorizationV3.sol +79 -26
- package/contracts/instance/InstanceReader.sol +375 -380
- package/contracts/instance/InstanceService.sol +230 -134
- package/contracts/instance/RiskSet.sol +10 -2
- package/contracts/instance/base/BalanceStore.sol +4 -6
- package/contracts/instance/base/ObjectLifecycle.sol +2 -6
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +16 -5
- package/contracts/instance/module/IDistribution.sol +19 -7
- package/contracts/instance/module/IPolicy.sol +28 -8
- package/contracts/instance/module/IRisk.sol +2 -0
- package/contracts/oracle/BasicOracle.sol +2 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/Oracle.sol +2 -4
- package/contracts/oracle/OracleService.sol +8 -8
- package/contracts/pool/BasicPool.sol +3 -16
- package/contracts/pool/BasicPoolAuthorization.sol +10 -5
- package/contracts/pool/BundleService.sol +34 -43
- package/contracts/pool/IBundleService.sol +14 -13
- package/contracts/pool/IPoolService.sol +7 -2
- package/contracts/pool/Pool.sol +4 -16
- package/contracts/pool/PoolLib.sol +127 -2
- package/contracts/pool/PoolService.sol +41 -184
- package/contracts/product/ApplicationService.sol +83 -15
- package/contracts/product/BasicProduct.sol +1 -3
- package/contracts/product/BasicProductAuthorization.sol +11 -4
- package/contracts/product/ClaimService.sol +56 -58
- package/contracts/product/IApplicationService.sol +24 -2
- package/contracts/product/IClaimService.sol +5 -4
- package/contracts/product/IPolicyService.sol +9 -2
- package/contracts/product/IPricingService.sol +1 -0
- package/contracts/product/IRiskService.sol +21 -3
- package/contracts/product/PolicyService.sol +31 -68
- package/contracts/product/PolicyServiceLib.sol +79 -5
- package/contracts/product/PricingService.sol +33 -31
- package/contracts/product/Product.sol +38 -14
- package/contracts/product/RiskService.sol +55 -9
- package/contracts/registry/IRegistry.sol +15 -9
- package/contracts/registry/IRelease.sol +6 -3
- package/contracts/registry/Registry.sol +15 -9
- package/contracts/registry/RegistryAdmin.sol +100 -263
- package/contracts/registry/RegistryAuthorization.sol +336 -0
- package/contracts/registry/RegistryService.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +62 -112
- package/contracts/registry/ReleaseRegistry.sol +57 -43
- package/contracts/registry/ServiceAuthorizationV3.sol +128 -33
- package/contracts/registry/TokenRegistry.sol +56 -52
- package/contracts/shared/Component.sol +18 -31
- package/contracts/shared/ComponentService.sol +239 -244
- package/contracts/shared/ContractLib.sol +134 -75
- package/contracts/shared/IComponent.sol +1 -4
- package/contracts/shared/IComponentService.sol +21 -22
- package/contracts/shared/IKeyValueStore.sol +1 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IRegisterable.sol +0 -1
- package/contracts/shared/InitializableERC165.sol +9 -1
- package/contracts/shared/InstanceLinkedComponent.sol +4 -7
- package/contracts/shared/KeyValueStore.sol +3 -3
- package/contracts/shared/NftOwnable.sol +4 -2
- package/contracts/shared/PolicyHolder.sol +3 -2
- package/contracts/shared/Registerable.sol +1 -4
- package/contracts/shared/Service.sol +6 -4
- package/contracts/shared/TokenHandler.sol +5 -4
- package/contracts/staking/IStaking.sol +266 -64
- package/contracts/staking/IStakingService.sol +44 -82
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +473 -202
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
- package/contracts/staking/StakingManager.sol +4 -3
- package/contracts/staking/StakingReader.sol +58 -77
- package/contracts/staking/StakingService.sol +49 -158
- package/contracts/staking/StakingServiceManager.sol +1 -0
- package/contracts/staking/StakingStore.sol +1089 -330
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +69 -46
- package/contracts/type/Amount.sol +4 -0
- package/contracts/type/Blocknumber.sol +15 -15
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/NftId.sol +3 -3
- package/contracts/type/ObjectType.sol +21 -17
- package/contracts/type/RoleId.sol +57 -59
- package/contracts/type/Seconds.sol +19 -0
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +4 -2
- package/contracts/type/UFixed.sol +28 -10
- package/contracts/type/Version.sol +39 -0
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +25 -11
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
- package/contracts/upgradeability/Versionable.sol +6 -3
- package/package.json +2 -2
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
- package/contracts/shared/ComponentVerifyingService.sol +0 -128
- package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -56,27 +56,22 @@
|
|
56
56
|
"inputs": [
|
57
57
|
{
|
58
58
|
"internalType": "address",
|
59
|
-
"name": "
|
59
|
+
"name": "caller",
|
60
60
|
"type": "address"
|
61
61
|
}
|
62
62
|
],
|
63
|
-
"name": "
|
63
|
+
"name": "ErrorComponentServiceCallerNotInstance",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
66
|
{
|
67
67
|
"inputs": [
|
68
68
|
{
|
69
69
|
"internalType": "address",
|
70
|
-
"name": "
|
70
|
+
"name": "caller",
|
71
71
|
"type": "address"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"internalType": "VersionPart",
|
75
|
-
"name": "instanceVersion",
|
76
|
-
"type": "uint8"
|
77
72
|
}
|
78
73
|
],
|
79
|
-
"name": "
|
74
|
+
"name": "ErrorComponentServiceCallerNotProduct",
|
80
75
|
"type": "error"
|
81
76
|
},
|
82
77
|
{
|
@@ -85,24 +80,9 @@
|
|
85
80
|
"internalType": "address",
|
86
81
|
"name": "component",
|
87
82
|
"type": "address"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"internalType": "ObjectType",
|
91
|
-
"name": "requiredType",
|
92
|
-
"type": "uint8"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"internalType": "ObjectType",
|
96
|
-
"name": "componentType",
|
97
|
-
"type": "uint8"
|
98
83
|
}
|
99
84
|
],
|
100
|
-
"name": "
|
101
|
-
"type": "error"
|
102
|
-
},
|
103
|
-
{
|
104
|
-
"inputs": [],
|
105
|
-
"name": "ErrorComponentServiceNewWalletAddressZero",
|
85
|
+
"name": "ErrorComponentServiceComponentAlreadyRegistered",
|
106
86
|
"type": "error"
|
107
87
|
},
|
108
88
|
{
|
@@ -111,25 +91,19 @@
|
|
111
91
|
"internalType": "address",
|
112
92
|
"name": "component",
|
113
93
|
"type": "address"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
"name": "ErrorComponentServiceNotComponent",
|
117
|
-
"type": "error"
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"inputs": [
|
94
|
+
},
|
121
95
|
{
|
122
|
-
"internalType": "
|
123
|
-
"name": "
|
124
|
-
"type": "
|
96
|
+
"internalType": "NftId",
|
97
|
+
"name": "required",
|
98
|
+
"type": "uint96"
|
125
99
|
},
|
126
100
|
{
|
127
|
-
"internalType": "
|
128
|
-
"name": "
|
129
|
-
"type": "
|
101
|
+
"internalType": "NftId",
|
102
|
+
"name": "actual",
|
103
|
+
"type": "uint96"
|
130
104
|
}
|
131
105
|
],
|
132
|
-
"name": "
|
106
|
+
"name": "ErrorComponentServiceComponentParentInvalid",
|
133
107
|
"type": "error"
|
134
108
|
},
|
135
109
|
{
|
@@ -138,52 +112,40 @@
|
|
138
112
|
"internalType": "address",
|
139
113
|
"name": "component",
|
140
114
|
"type": "address"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"internalType": "VersionPart",
|
118
|
+
"name": "serviceRelease",
|
119
|
+
"type": "uint8"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "VersionPart",
|
123
|
+
"name": "componentRelease",
|
124
|
+
"type": "uint8"
|
141
125
|
}
|
142
126
|
],
|
143
|
-
"name": "
|
127
|
+
"name": "ErrorComponentServiceComponentReleaseMismatch",
|
144
128
|
"type": "error"
|
145
129
|
},
|
146
130
|
{
|
147
131
|
"inputs": [
|
148
132
|
{
|
149
133
|
"internalType": "address",
|
150
|
-
"name": "
|
134
|
+
"name": "component",
|
151
135
|
"type": "address"
|
152
|
-
}
|
153
|
-
],
|
154
|
-
"name": "ErrorComponentServiceNotRegistered",
|
155
|
-
"type": "error"
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"inputs": [
|
159
|
-
{
|
160
|
-
"internalType": "NftId",
|
161
|
-
"name": "nftId",
|
162
|
-
"type": "uint96"
|
163
136
|
},
|
164
137
|
{
|
165
138
|
"internalType": "ObjectType",
|
166
|
-
"name": "
|
139
|
+
"name": "invalid",
|
167
140
|
"type": "uint8"
|
168
141
|
}
|
169
142
|
],
|
170
|
-
"name": "
|
143
|
+
"name": "ErrorComponentServiceComponentTypeNotSupported",
|
171
144
|
"type": "error"
|
172
145
|
},
|
173
146
|
{
|
174
|
-
"inputs": [
|
175
|
-
|
176
|
-
"internalType": "NftId",
|
177
|
-
"name": "nftId",
|
178
|
-
"type": "uint96"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"internalType": "ObjectType",
|
182
|
-
"name": "objectType",
|
183
|
-
"type": "uint8"
|
184
|
-
}
|
185
|
-
],
|
186
|
-
"name": "ErrorComponentServiceParentNotProduct",
|
147
|
+
"inputs": [],
|
148
|
+
"name": "ErrorComponentServiceNewWalletAddressZero",
|
187
149
|
"type": "error"
|
188
150
|
},
|
189
151
|
{
|
@@ -192,62 +154,42 @@
|
|
192
154
|
"internalType": "address",
|
193
155
|
"name": "component",
|
194
156
|
"type": "address"
|
195
|
-
},
|
196
|
-
{
|
197
|
-
"internalType": "VersionPart",
|
198
|
-
"name": "componentRelease",
|
199
|
-
"type": "uint8"
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"internalType": "VersionPart",
|
203
|
-
"name": "parentRelease",
|
204
|
-
"type": "uint8"
|
205
157
|
}
|
206
158
|
],
|
207
|
-
"name": "
|
159
|
+
"name": "ErrorComponentServiceNotComponent",
|
208
160
|
"type": "error"
|
209
161
|
},
|
210
162
|
{
|
211
163
|
"inputs": [
|
212
164
|
{
|
213
|
-
"internalType": "
|
214
|
-
"name": "
|
215
|
-
"type": "
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"internalType": "NftId",
|
219
|
-
"name": "compnentParentNftId",
|
220
|
-
"type": "uint96"
|
165
|
+
"internalType": "address",
|
166
|
+
"name": "component",
|
167
|
+
"type": "address"
|
221
168
|
}
|
222
169
|
],
|
223
|
-
"name": "
|
170
|
+
"name": "ErrorComponentServiceNotInstanceLinkedComponent",
|
224
171
|
"type": "error"
|
225
172
|
},
|
226
173
|
{
|
227
174
|
"inputs": [
|
228
175
|
{
|
229
176
|
"internalType": "address",
|
230
|
-
"name": "
|
177
|
+
"name": "product",
|
231
178
|
"type": "address"
|
232
179
|
}
|
233
180
|
],
|
234
|
-
"name": "
|
181
|
+
"name": "ErrorComponentServiceNotProduct",
|
235
182
|
"type": "error"
|
236
183
|
},
|
237
184
|
{
|
238
185
|
"inputs": [
|
239
186
|
{
|
240
187
|
"internalType": "address",
|
241
|
-
"name": "
|
188
|
+
"name": "token",
|
242
189
|
"type": "address"
|
243
|
-
},
|
244
|
-
{
|
245
|
-
"internalType": "ObjectType",
|
246
|
-
"name": "invalidType",
|
247
|
-
"type": "uint8"
|
248
190
|
}
|
249
191
|
],
|
250
|
-
"name": "
|
192
|
+
"name": "ErrorComponentServiceTokenInvalid",
|
251
193
|
"type": "error"
|
252
194
|
},
|
253
195
|
{
|
@@ -447,6 +389,16 @@
|
|
447
389
|
"name": "ErrorRegisterableNotActive",
|
448
390
|
"type": "error"
|
449
391
|
},
|
392
|
+
{
|
393
|
+
"inputs": [],
|
394
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
395
|
+
"type": "error"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"inputs": [],
|
399
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
400
|
+
"type": "error"
|
401
|
+
},
|
450
402
|
{
|
451
403
|
"anonymous": false,
|
452
404
|
"inputs": [
|
@@ -491,6 +443,25 @@
|
|
491
443
|
"name": "LogComponentServiceComponentFeesWithdrawn",
|
492
444
|
"type": "event"
|
493
445
|
},
|
446
|
+
{
|
447
|
+
"anonymous": false,
|
448
|
+
"inputs": [
|
449
|
+
{
|
450
|
+
"indexed": false,
|
451
|
+
"internalType": "address",
|
452
|
+
"name": "component",
|
453
|
+
"type": "address"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"indexed": false,
|
457
|
+
"internalType": "bool",
|
458
|
+
"name": "locked",
|
459
|
+
"type": "bool"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"name": "LogComponentServiceComponentLocked",
|
463
|
+
"type": "event"
|
464
|
+
},
|
494
465
|
{
|
495
466
|
"anonymous": false,
|
496
467
|
"inputs": [
|
@@ -592,25 +563,25 @@
|
|
592
563
|
"indexed": false,
|
593
564
|
"internalType": "UFixed",
|
594
565
|
"name": "previousFractionalFee",
|
595
|
-
"type": "
|
566
|
+
"type": "uint160"
|
596
567
|
},
|
597
568
|
{
|
598
569
|
"indexed": false,
|
599
|
-
"internalType": "
|
570
|
+
"internalType": "Amount",
|
600
571
|
"name": "previousFixedFee",
|
601
|
-
"type": "
|
572
|
+
"type": "uint96"
|
602
573
|
},
|
603
574
|
{
|
604
575
|
"indexed": false,
|
605
576
|
"internalType": "UFixed",
|
606
577
|
"name": "newFractionalFee",
|
607
|
-
"type": "
|
578
|
+
"type": "uint160"
|
608
579
|
},
|
609
580
|
{
|
610
581
|
"indexed": false,
|
611
|
-
"internalType": "
|
582
|
+
"internalType": "Amount",
|
612
583
|
"name": "newFixedFee",
|
613
|
-
"type": "
|
584
|
+
"type": "uint96"
|
614
585
|
}
|
615
586
|
],
|
616
587
|
"name": "LogComponentServiceUpdateFee",
|
@@ -672,6 +643,25 @@
|
|
672
643
|
"name": "LogComponentServiceWalletTokensTransferred",
|
673
644
|
"type": "event"
|
674
645
|
},
|
646
|
+
{
|
647
|
+
"anonymous": false,
|
648
|
+
"inputs": [
|
649
|
+
{
|
650
|
+
"indexed": false,
|
651
|
+
"internalType": "NftId",
|
652
|
+
"name": "nftId",
|
653
|
+
"type": "uint96"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"indexed": false,
|
657
|
+
"internalType": "address",
|
658
|
+
"name": "owner",
|
659
|
+
"type": "address"
|
660
|
+
}
|
661
|
+
],
|
662
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
663
|
+
"type": "event"
|
664
|
+
},
|
675
665
|
{
|
676
666
|
"inputs": [
|
677
667
|
{
|
@@ -926,6 +916,11 @@
|
|
926
916
|
"internalType": "address",
|
927
917
|
"name": "product",
|
928
918
|
"type": "address"
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"internalType": "address",
|
922
|
+
"name": "token",
|
923
|
+
"type": "address"
|
929
924
|
}
|
930
925
|
],
|
931
926
|
"name": "registerProduct",
|
@@ -959,12 +954,12 @@
|
|
959
954
|
{
|
960
955
|
"internalType": "UFixed",
|
961
956
|
"name": "fractionalFee",
|
962
|
-
"type": "
|
957
|
+
"type": "uint160"
|
963
958
|
},
|
964
959
|
{
|
965
|
-
"internalType": "
|
960
|
+
"internalType": "Amount",
|
966
961
|
"name": "fixedFee",
|
967
|
-
"type": "
|
962
|
+
"type": "uint96"
|
968
963
|
}
|
969
964
|
],
|
970
965
|
"internalType": "struct Fee",
|
@@ -976,12 +971,12 @@
|
|
976
971
|
{
|
977
972
|
"internalType": "UFixed",
|
978
973
|
"name": "fractionalFee",
|
979
|
-
"type": "
|
974
|
+
"type": "uint160"
|
980
975
|
},
|
981
976
|
{
|
982
|
-
"internalType": "
|
977
|
+
"internalType": "Amount",
|
983
978
|
"name": "fixedFee",
|
984
|
-
"type": "
|
979
|
+
"type": "uint96"
|
985
980
|
}
|
986
981
|
],
|
987
982
|
"internalType": "struct Fee",
|
@@ -996,36 +991,13 @@
|
|
996
991
|
},
|
997
992
|
{
|
998
993
|
"inputs": [
|
999
|
-
{
|
1000
|
-
"internalType": "address",
|
1001
|
-
"name": "componentAddress",
|
1002
|
-
"type": "address"
|
1003
|
-
},
|
1004
|
-
{
|
1005
|
-
"internalType": "bool",
|
1006
|
-
"name": "locked",
|
1007
|
-
"type": "bool"
|
1008
|
-
}
|
1009
|
-
],
|
1010
|
-
"name": "setLockedFromComponent",
|
1011
|
-
"outputs": [],
|
1012
|
-
"stateMutability": "nonpayable",
|
1013
|
-
"type": "function"
|
1014
|
-
},
|
1015
|
-
{
|
1016
|
-
"inputs": [
|
1017
|
-
{
|
1018
|
-
"internalType": "address",
|
1019
|
-
"name": "componentAddress",
|
1020
|
-
"type": "address"
|
1021
|
-
},
|
1022
994
|
{
|
1023
995
|
"internalType": "bool",
|
1024
996
|
"name": "locked",
|
1025
997
|
"type": "bool"
|
1026
998
|
}
|
1027
999
|
],
|
1028
|
-
"name": "
|
1000
|
+
"name": "setLocked",
|
1029
1001
|
"outputs": [],
|
1030
1002
|
"stateMutability": "nonpayable",
|
1031
1003
|
"type": "function"
|
@@ -1037,12 +1009,12 @@
|
|
1037
1009
|
{
|
1038
1010
|
"internalType": "UFixed",
|
1039
1011
|
"name": "fractionalFee",
|
1040
|
-
"type": "
|
1012
|
+
"type": "uint160"
|
1041
1013
|
},
|
1042
1014
|
{
|
1043
|
-
"internalType": "
|
1015
|
+
"internalType": "Amount",
|
1044
1016
|
"name": "fixedFee",
|
1045
|
-
"type": "
|
1017
|
+
"type": "uint96"
|
1046
1018
|
}
|
1047
1019
|
],
|
1048
1020
|
"internalType": "struct Fee",
|
@@ -1054,12 +1026,12 @@
|
|
1054
1026
|
{
|
1055
1027
|
"internalType": "UFixed",
|
1056
1028
|
"name": "fractionalFee",
|
1057
|
-
"type": "
|
1029
|
+
"type": "uint160"
|
1058
1030
|
},
|
1059
1031
|
{
|
1060
|
-
"internalType": "
|
1032
|
+
"internalType": "Amount",
|
1061
1033
|
"name": "fixedFee",
|
1062
|
-
"type": "
|
1034
|
+
"type": "uint96"
|
1063
1035
|
}
|
1064
1036
|
],
|
1065
1037
|
"internalType": "struct Fee",
|
@@ -1071,12 +1043,12 @@
|
|
1071
1043
|
{
|
1072
1044
|
"internalType": "UFixed",
|
1073
1045
|
"name": "fractionalFee",
|
1074
|
-
"type": "
|
1046
|
+
"type": "uint160"
|
1075
1047
|
},
|
1076
1048
|
{
|
1077
|
-
"internalType": "
|
1049
|
+
"internalType": "Amount",
|
1078
1050
|
"name": "fixedFee",
|
1079
|
-
"type": "
|
1051
|
+
"type": "uint96"
|
1080
1052
|
}
|
1081
1053
|
],
|
1082
1054
|
"internalType": "struct Fee",
|
@@ -1096,12 +1068,12 @@
|
|
1096
1068
|
{
|
1097
1069
|
"internalType": "UFixed",
|
1098
1070
|
"name": "fractionalFee",
|
1099
|
-
"type": "
|
1071
|
+
"type": "uint160"
|
1100
1072
|
},
|
1101
1073
|
{
|
1102
|
-
"internalType": "
|
1074
|
+
"internalType": "Amount",
|
1103
1075
|
"name": "fixedFee",
|
1104
|
-
"type": "
|
1076
|
+
"type": "uint96"
|
1105
1077
|
}
|
1106
1078
|
],
|
1107
1079
|
"internalType": "struct Fee",
|
@@ -1113,12 +1085,12 @@
|
|
1113
1085
|
{
|
1114
1086
|
"internalType": "UFixed",
|
1115
1087
|
"name": "fractionalFee",
|
1116
|
-
"type": "
|
1088
|
+
"type": "uint160"
|
1117
1089
|
},
|
1118
1090
|
{
|
1119
|
-
"internalType": "
|
1091
|
+
"internalType": "Amount",
|
1120
1092
|
"name": "fixedFee",
|
1121
|
-
"type": "
|
1093
|
+
"type": "uint96"
|
1122
1094
|
}
|
1123
1095
|
],
|
1124
1096
|
"internalType": "struct Fee",
|
package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json
CHANGED
@@ -78,17 +78,6 @@
|
|
78
78
|
"name": "ErrorComponentProductNftIdZero",
|
79
79
|
"type": "error"
|
80
80
|
},
|
81
|
-
{
|
82
|
-
"inputs": [
|
83
|
-
{
|
84
|
-
"internalType": "address",
|
85
|
-
"name": "token",
|
86
|
-
"type": "address"
|
87
|
-
}
|
88
|
-
],
|
89
|
-
"name": "ErrorComponentTokenInvalid",
|
90
|
-
"type": "error"
|
91
|
-
},
|
92
81
|
{
|
93
82
|
"inputs": [],
|
94
83
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
@@ -294,6 +283,25 @@
|
|
294
283
|
"name": "LogComponentWalletTokensTransferred",
|
295
284
|
"type": "event"
|
296
285
|
},
|
286
|
+
{
|
287
|
+
"anonymous": false,
|
288
|
+
"inputs": [
|
289
|
+
{
|
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"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
303
|
+
"type": "event"
|
304
|
+
},
|
297
305
|
{
|
298
306
|
"inputs": [],
|
299
307
|
"name": "authority",
|
@@ -331,11 +339,6 @@
|
|
331
339
|
"name": "name",
|
332
340
|
"type": "string"
|
333
341
|
},
|
334
|
-
{
|
335
|
-
"internalType": "contract IERC20Metadata",
|
336
|
-
"name": "token",
|
337
|
-
"type": "address"
|
338
|
-
},
|
339
342
|
{
|
340
343
|
"internalType": "contract TokenHandler",
|
341
344
|
"name": "tokenHandler",
|
@@ -366,11 +369,6 @@
|
|
366
369
|
"name": "name",
|
367
370
|
"type": "string"
|
368
371
|
},
|
369
|
-
{
|
370
|
-
"internalType": "contract IERC20Metadata",
|
371
|
-
"name": "token",
|
372
|
-
"type": "address"
|
373
|
-
},
|
374
372
|
{
|
375
373
|
"internalType": "contract TokenHandler",
|
376
374
|
"name": "tokenHandler",
|
@@ -205,7 +205,7 @@
|
|
205
205
|
"indexed": false,
|
206
206
|
"internalType": "Blocknumber",
|
207
207
|
"name": "lastUpdatedIn",
|
208
|
-
"type": "
|
208
|
+
"type": "uint40"
|
209
209
|
}
|
210
210
|
],
|
211
211
|
"name": "LogInfoUpdated",
|
@@ -254,7 +254,7 @@
|
|
254
254
|
"indexed": false,
|
255
255
|
"internalType": "Blocknumber",
|
256
256
|
"name": "lastUpdatedIn",
|
257
|
-
"type": "
|
257
|
+
"type": "uint40"
|
258
258
|
}
|
259
259
|
],
|
260
260
|
"name": "LogStateUpdated",
|
@@ -306,12 +306,12 @@
|
|
306
306
|
{
|
307
307
|
"internalType": "Blocknumber",
|
308
308
|
"name": "updatedIn",
|
309
|
-
"type": "
|
309
|
+
"type": "uint40"
|
310
310
|
},
|
311
311
|
{
|
312
312
|
"internalType": "Blocknumber",
|
313
313
|
"name": "createdIn",
|
314
|
-
"type": "
|
314
|
+
"type": "uint40"
|
315
315
|
}
|
316
316
|
],
|
317
317
|
"internalType": "struct IKeyValueStore.Metadata",
|
@@ -395,12 +395,12 @@
|
|
395
395
|
{
|
396
396
|
"internalType": "Blocknumber",
|
397
397
|
"name": "updatedIn",
|
398
|
-
"type": "
|
398
|
+
"type": "uint40"
|
399
399
|
},
|
400
400
|
{
|
401
401
|
"internalType": "Blocknumber",
|
402
402
|
"name": "createdIn",
|
403
|
-
"type": "
|
403
|
+
"type": "uint40"
|
404
404
|
}
|
405
405
|
],
|
406
406
|
"internalType": "struct IKeyValueStore.Metadata",
|
@@ -68,6 +68,25 @@
|
|
68
68
|
"name": "ErrorNotRegistry",
|
69
69
|
"type": "error"
|
70
70
|
},
|
71
|
+
{
|
72
|
+
"anonymous": false,
|
73
|
+
"inputs": [
|
74
|
+
{
|
75
|
+
"indexed": false,
|
76
|
+
"internalType": "NftId",
|
77
|
+
"name": "nftId",
|
78
|
+
"type": "uint96"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"indexed": false,
|
82
|
+
"internalType": "address",
|
83
|
+
"name": "owner",
|
84
|
+
"type": "address"
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
88
|
+
"type": "event"
|
89
|
+
},
|
71
90
|
{
|
72
91
|
"inputs": [],
|
73
92
|
"name": "getNftId",
|