@etherisc/gif-next 0.0.2-f78c672-338 → 0.0.2-f78f882-351
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +63 -312
- 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 +111 -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 +655 -299
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -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 +331 -56
- 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 +501 -231
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +131 -16
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -59
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +322 -67
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -33
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +379 -150
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +160 -78
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -32
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +233 -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 -110
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +321 -66
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -134
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +321 -66
- 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 +82 -84
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +321 -66
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -73
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -148
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +321 -66
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -190
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +321 -66
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
- 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/IBaseStore.sol/IBaseStore.dbg.json +4 -0
- package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +450 -28
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +355 -12
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +488 -85
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +942 -471
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +289 -78
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +595 -532
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +387 -64
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -52
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1316 -2015
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
- 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 -45
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +340 -60
- 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 -31
- 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 -31
- 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 +116 -50
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -79
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +321 -66
- 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 +144 -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 -41
- 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 -41
- 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 +141 -63
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +218 -61
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +113 -43
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -58
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +321 -66
- 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 +128 -70
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +166 -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 +29 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -52
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +203 -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 +138 -72
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +91 -118
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +113 -67
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +40 -52
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +231 -46
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -43
- 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 +799 -472
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -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 +96 -38
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +841 -419
- 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 +197 -129
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -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 -31
- 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 +133 -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 -31
- 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 -31
- 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 -31
- 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 +1453 -153
- 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 +1565 -239
- 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 +146 -67
- 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 +98 -44
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1633 -819
- 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 +64 -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 +81 -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 +361 -371
- package/contracts/authorization/AccessAdminLib.sol +678 -0
- package/contracts/authorization/AccessManagerCloneable.sol +23 -32
- package/contracts/authorization/Authorization.sol +82 -229
- package/contracts/authorization/IAccess.sol +29 -12
- package/contracts/authorization/IAccessAdmin.sol +83 -84
- package/contracts/authorization/IAuthorization.sol +3 -51
- package/contracts/authorization/IServiceAuthorization.sol +55 -17
- package/contracts/authorization/ServiceAuthorization.sol +228 -34
- package/contracts/distribution/BasicDistribution.sol +5 -7
- package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
- package/contracts/distribution/Distribution.sol +12 -17
- package/contracts/distribution/DistributionService.sol +129 -66
- package/contracts/distribution/IDistributionComponent.sol +3 -1
- package/contracts/distribution/IDistributionService.sol +21 -9
- package/contracts/examples/fire/FirePool.sol +0 -4
- package/contracts/examples/fire/FireProduct.sol +6 -10
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +4 -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/BaseStore.sol +93 -0
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +98 -12
- package/contracts/instance/IInstanceService.sol +54 -7
- package/contracts/instance/Instance.sol +165 -61
- package/contracts/instance/InstanceAdmin.sol +183 -313
- package/contracts/instance/InstanceAuthorizationV3.sol +123 -61
- package/contracts/instance/InstanceReader.sol +350 -394
- package/contracts/instance/InstanceService.sol +283 -173
- package/contracts/instance/InstanceStore.sol +153 -128
- package/contracts/instance/ProductStore.sol +290 -0
- package/contracts/instance/RiskSet.sol +10 -2
- package/contracts/instance/TargetNames.sol +10 -0
- 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 +15 -6
- package/contracts/instance/module/IDistribution.sol +17 -7
- package/contracts/instance/module/IPolicy.sol +28 -8
- package/contracts/instance/module/IRisk.sol +2 -0
- package/contracts/oracle/BasicOracle.sol +3 -6
- package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/Oracle.sol +4 -8
- package/contracts/oracle/OracleService.sol +8 -8
- package/contracts/pool/BasicPool.sol +4 -18
- 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 +6 -20
- package/contracts/pool/PoolLib.sol +127 -2
- package/contracts/pool/PoolService.sol +41 -184
- package/contracts/product/ApplicationService.sol +65 -12
- package/contracts/product/BasicProduct.sol +2 -5
- package/contracts/product/BasicProductAuthorization.sol +11 -4
- package/contracts/product/ClaimService.sol +99 -105
- package/contracts/product/IApplicationService.sol +21 -2
- package/contracts/product/IClaimService.sol +5 -4
- package/contracts/product/IPolicyService.sol +9 -2
- package/contracts/product/IRiskService.sol +18 -3
- package/contracts/product/PolicyService.sol +40 -77
- package/contracts/product/PolicyServiceLib.sol +79 -5
- package/contracts/product/PricingService.sol +29 -32
- package/contracts/product/Product.sol +40 -18
- package/contracts/product/RiskService.sol +50 -15
- 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 +85 -266
- package/contracts/registry/RegistryAuthorization.sol +337 -0
- package/contracts/registry/RegistryService.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +70 -116
- 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 +20 -37
- package/contracts/shared/ComponentService.sol +249 -250
- package/contracts/shared/ContractLib.sol +134 -75
- package/contracts/shared/IComponent.sol +1 -4
- package/contracts/shared/IComponentService.sol +21 -22
- 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 +6 -11
- 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 +265 -64
- package/contracts/staking/IStakingService.sol +44 -82
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +475 -204
- 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 +1093 -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 +17 -22
- 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 +26 -12
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
- package/contracts/upgradeability/Versionable.sol +6 -3
- package/package.json +1 -1
- 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/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
- 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/shared/IKeyValueStore.sol +0 -54
- package/contracts/shared/KeyValueStore.sol +0 -131
- 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,20 +339,10 @@
|
|
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",
|
342
345
|
"type": "address"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"internalType": "bytes",
|
346
|
-
"name": "data",
|
347
|
-
"type": "bytes"
|
348
346
|
}
|
349
347
|
],
|
350
348
|
"internalType": "struct IComponents.ComponentInfo",
|
@@ -366,20 +364,10 @@
|
|
366
364
|
"name": "name",
|
367
365
|
"type": "string"
|
368
366
|
},
|
369
|
-
{
|
370
|
-
"internalType": "contract IERC20Metadata",
|
371
|
-
"name": "token",
|
372
|
-
"type": "address"
|
373
|
-
},
|
374
367
|
{
|
375
368
|
"internalType": "contract TokenHandler",
|
376
369
|
"name": "tokenHandler",
|
377
370
|
"type": "address"
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"internalType": "bytes",
|
381
|
-
"name": "data",
|
382
|
-
"type": "bytes"
|
383
371
|
}
|
384
372
|
],
|
385
373
|
"internalType": "struct IComponents.ComponentInfo",
|
@@ -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",
|
@@ -135,6 +135,25 @@
|
|
135
135
|
"name": "AuthorityUpdated",
|
136
136
|
"type": "event"
|
137
137
|
},
|
138
|
+
{
|
139
|
+
"anonymous": false,
|
140
|
+
"inputs": [
|
141
|
+
{
|
142
|
+
"indexed": false,
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"indexed": false,
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "owner",
|
151
|
+
"type": "address"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
155
|
+
"type": "event"
|
156
|
+
},
|
138
157
|
{
|
139
158
|
"inputs": [],
|
140
159
|
"name": "authority",
|